@atlaskit/inline-edit 12.2.11 → 12.2.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 +6 -0
- package/dist/cjs/inline-edit.js +2 -2
- package/dist/cjs/inline-editable-textfield.js +1 -0
- package/dist/cjs/internal/buttons.js +2 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/inline-edit.js +1 -1
- package/dist/es2019/internal/buttons.js +2 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/inline-edit.js +1 -1
- package/dist/esm/internal/buttons.js +2 -0
- package/dist/esm/version.json +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/cjs/inline-edit.js
CHANGED
|
@@ -21,7 +21,7 @@ var _readView = _interopRequireDefault(require("./internal/read-view"));
|
|
|
21
21
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
22
22
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
23
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
24
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
24
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /** @jsx jsx */
|
|
25
25
|
var fieldStyles = (0, _react2.css)({
|
|
26
26
|
maxWidth: '100%',
|
|
27
27
|
position: 'relative'
|
|
@@ -32,7 +32,7 @@ var buttonStyles = (0, _react2.css)({
|
|
|
32
32
|
var analyticsAttributes = {
|
|
33
33
|
componentName: 'inlineEdit',
|
|
34
34
|
packageName: "@atlaskit/inline-edit",
|
|
35
|
-
packageVersion: "12.2.
|
|
35
|
+
packageVersion: "12.2.12"
|
|
36
36
|
};
|
|
37
37
|
var noop = function noop() {};
|
|
38
38
|
var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
@@ -15,6 +15,7 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
15
15
|
var _inlineEdit = _interopRequireDefault(require("./inline-edit"));
|
|
16
16
|
var _constants = require("./internal/constants");
|
|
17
17
|
var _excluded = ["errorMessage", "isInvalid"];
|
|
18
|
+
/** @jsx jsx */
|
|
18
19
|
var errorIconContainerStyles = (0, _react.css)({
|
|
19
20
|
paddingRight: "var(--ds-space-075, 6px)",
|
|
20
21
|
lineHeight: '100%'
|
|
@@ -17,7 +17,9 @@ var buttonsContainerStyles = (0, _react.css)({
|
|
|
17
17
|
display: 'flex',
|
|
18
18
|
marginTop: "var(--ds-space-075, 6px)",
|
|
19
19
|
position: 'absolute',
|
|
20
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
20
21
|
top: '100%',
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
21
23
|
right: 0,
|
|
22
24
|
flexShrink: 0
|
|
23
25
|
});
|
package/dist/cjs/version.json
CHANGED
|
@@ -19,7 +19,7 @@ const buttonStyles = css({
|
|
|
19
19
|
const analyticsAttributes = {
|
|
20
20
|
componentName: 'inlineEdit',
|
|
21
21
|
packageName: "@atlaskit/inline-edit",
|
|
22
|
-
packageVersion: "12.2.
|
|
22
|
+
packageVersion: "12.2.12"
|
|
23
23
|
};
|
|
24
24
|
const noop = () => {};
|
|
25
25
|
const InnerInlineEdit = props => {
|
|
@@ -10,7 +10,9 @@ const buttonsContainerStyles = css({
|
|
|
10
10
|
display: 'flex',
|
|
11
11
|
marginTop: "var(--ds-space-075, 6px)",
|
|
12
12
|
position: 'absolute',
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
13
14
|
top: '100%',
|
|
15
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
14
16
|
right: 0,
|
|
15
17
|
flexShrink: 0
|
|
16
18
|
});
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/inline-edit.js
CHANGED
|
@@ -23,7 +23,7 @@ var buttonStyles = css({
|
|
|
23
23
|
var analyticsAttributes = {
|
|
24
24
|
componentName: 'inlineEdit',
|
|
25
25
|
packageName: "@atlaskit/inline-edit",
|
|
26
|
-
packageVersion: "12.2.
|
|
26
|
+
packageVersion: "12.2.12"
|
|
27
27
|
};
|
|
28
28
|
var noop = function noop() {};
|
|
29
29
|
var InnerInlineEdit = function InnerInlineEdit(props) {
|
|
@@ -10,7 +10,9 @@ var buttonsContainerStyles = css({
|
|
|
10
10
|
display: 'flex',
|
|
11
11
|
marginTop: "var(--ds-space-075, 6px)",
|
|
12
12
|
position: 'absolute',
|
|
13
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
13
14
|
top: '100%',
|
|
15
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
14
16
|
right: 0,
|
|
15
17
|
flexShrink: 0
|
|
16
18
|
});
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-edit",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.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/"
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/analytics-next": "^9.0.0",
|
|
28
|
-
"@atlaskit/button": "^16.
|
|
28
|
+
"@atlaskit/button": "^16.6.0",
|
|
29
29
|
"@atlaskit/codemod-utils": "^4.1.0",
|
|
30
|
-
"@atlaskit/form": "^8.
|
|
30
|
+
"@atlaskit/form": "^8.9.0",
|
|
31
31
|
"@atlaskit/icon": "^21.11.0",
|
|
32
|
-
"@atlaskit/inline-dialog": "^13.
|
|
32
|
+
"@atlaskit/inline-dialog": "^13.5.0",
|
|
33
33
|
"@atlaskit/textfield": "^5.3.0",
|
|
34
|
-
"@atlaskit/theme": "^12.
|
|
34
|
+
"@atlaskit/theme": "^12.4.0",
|
|
35
35
|
"@atlaskit/tokens": "^1.2.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"@emotion/react": "^11.7.1"
|