@atlaskit/inline-edit 12.2.10 → 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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/inline-edit
2
2
 
3
+ ## 12.2.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
8
+
9
+ ## 12.2.11
10
+
11
+ ### Patch Changes
12
+
13
+ - [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
14
+ - Updated dependencies
15
+
3
16
  ## 12.2.10
4
17
 
5
18
  ### Patch Changes
@@ -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.10"
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
  });
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-edit",
3
- "version": "12.2.10",
3
+ "version": "12.2.12",
4
4
  "sideEffects": false
5
5
  }
@@ -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.10"
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
  });
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-edit",
3
- "version": "12.2.10",
3
+ "version": "12.2.12",
4
4
  "sideEffects": false
5
5
  }
@@ -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.10"
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
  });
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-edit",
3
- "version": "12.2.10",
3
+ "version": "12.2.12",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/inline-edit",
3
- "version": "12.2.10",
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/"
@@ -16,7 +16,6 @@
16
16
  "atlaskit:src": "src/index.ts",
17
17
  "homepage": "https://atlassian.design/components/inline-edit/",
18
18
  "atlassian": {
19
- "disableProductCI": true,
20
19
  "team": "Design System Team",
21
20
  "releaseModel": "scheduled",
22
21
  "website": {
@@ -26,13 +25,13 @@
26
25
  },
27
26
  "dependencies": {
28
27
  "@atlaskit/analytics-next": "^9.0.0",
29
- "@atlaskit/button": "^16.5.0",
28
+ "@atlaskit/button": "^16.6.0",
30
29
  "@atlaskit/codemod-utils": "^4.1.0",
31
- "@atlaskit/form": "^8.8.0",
30
+ "@atlaskit/form": "^8.9.0",
32
31
  "@atlaskit/icon": "^21.11.0",
33
- "@atlaskit/inline-dialog": "^13.4.0",
32
+ "@atlaskit/inline-dialog": "^13.5.0",
34
33
  "@atlaskit/textfield": "^5.3.0",
35
- "@atlaskit/theme": "^12.2.0",
34
+ "@atlaskit/theme": "^12.4.0",
36
35
  "@atlaskit/tokens": "^1.2.0",
37
36
  "@babel/runtime": "^7.0.0",
38
37
  "@emotion/react": "^11.7.1"
package/report.api.md CHANGED
@@ -8,6 +8,7 @@
8
8
  ### Table of contents
9
9
 
10
10
  - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
11
12
 
12
13
  ### Main Entry Types
13
14
 
@@ -82,3 +83,15 @@ export interface InlineEditProps<FieldValue> extends CommonProps {
82
83
  ```
83
84
 
84
85
  <!--SECTION END: Main Entry Types-->
86
+
87
+ ### Peer Dependencies
88
+
89
+ <!--SECTION START: Peer Dependencies-->
90
+
91
+ ```json
92
+ {
93
+ "react": "^16.8.0"
94
+ }
95
+ ```
96
+
97
+ <!--SECTION END: Peer Dependencies-->