@atlaskit/embedded-document 0.9.47 → 0.9.48

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,11 @@
1
1
  # @atlaskit/embedded-document
2
2
 
3
+ ## 0.9.48
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 0.9.47
4
10
 
5
11
  ### Patch Changes
@@ -12,6 +12,8 @@ var _buttonGroup = _interopRequireDefault(require("@atlaskit/button/button-group
12
12
  var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
13
13
  var _styledComponents = _interopRequireDefault(require("styled-components"));
14
14
  var _withDocumentActions = _interopRequireDefault(require("../consumers/with-document-actions"));
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
+
15
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
16
18
  var Toolbar = _styledComponents.default.div({
17
19
  display: 'flex',
@@ -23,13 +23,14 @@ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
23
23
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
24
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
25
25
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
26
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
26
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
27
  var akEditorFullPageMaxWidth = exports.akEditorFullPageMaxWidth = 680;
28
28
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
29
29
  var Content = _styledComponents.default.div({
30
30
  lineHeight: '24px',
31
31
  height: '100%',
32
32
  width: '100%',
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
33
34
  maxWidth: "".concat(akEditorFullPageMaxWidth + (0, _editorSharedStyles.akEditorGutterPaddingDynamic)() * 2, "px"),
34
35
  paddingTop: "var(--ds-space-600, 48px)",
35
36
  margin: '0 auto',
@@ -37,6 +38,7 @@ var Content = _styledComponents.default.div({
37
38
  flexDirection: 'column',
38
39
  flexGrow: 1,
39
40
  paddingBottom: "var(--ds-space-600, 48px)",
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
40
42
  '& > *': {
41
43
  padding: "0 ".concat("var(--ds-space-400, 32px)")
42
44
  }
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
2
  import ButtonGroup from '@atlaskit/button/button-group';
3
3
  import Button from '@atlaskit/button/custom-theme-button';
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import styled from 'styled-components';
5
6
  import WithDocumentActions from '../consumers/with-document-actions';
6
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
@@ -1,6 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React from 'react';
3
3
  import { Component } from 'react';
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
5
  import styled from 'styled-components';
5
6
  import { Context } from './context';
6
7
  import { getProvider } from '../provider';
@@ -11,6 +12,7 @@ const Content = styled.div({
11
12
  lineHeight: '24px',
12
13
  height: '100%',
13
14
  width: '100%',
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
14
16
  maxWidth: `${akEditorFullPageMaxWidth + akEditorGutterPaddingDynamic() * 2}px`,
15
17
  paddingTop: "var(--ds-space-600, 48px)",
16
18
  margin: '0 auto',
@@ -18,6 +20,7 @@ const Content = styled.div({
18
20
  flexDirection: 'column',
19
21
  flexGrow: 1,
20
22
  paddingBottom: "var(--ds-space-600, 48px)",
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
21
24
  '& > *': {
22
25
  padding: `0 ${"var(--ds-space-400, 32px)"}`
23
26
  }
@@ -3,6 +3,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
3
3
  import React from 'react';
4
4
  import ButtonGroup from '@atlaskit/button/button-group';
5
5
  import Button from '@atlaskit/button/custom-theme-button';
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
6
7
  import styled from 'styled-components';
7
8
  import WithDocumentActions from '../consumers/with-document-actions';
8
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
@@ -11,6 +11,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
11
11
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
12
12
  import React from 'react';
13
13
  import { Component } from 'react';
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
15
  import styled from 'styled-components';
15
16
  import { Context } from './context';
16
17
  import { getProvider } from '../provider';
@@ -21,6 +22,7 @@ var Content = styled.div({
21
22
  lineHeight: '24px',
22
23
  height: '100%',
23
24
  width: '100%',
25
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
24
26
  maxWidth: "".concat(akEditorFullPageMaxWidth + akEditorGutterPaddingDynamic() * 2, "px"),
25
27
  paddingTop: "var(--ds-space-600, 48px)",
26
28
  margin: '0 auto',
@@ -28,6 +30,7 @@ var Content = styled.div({
28
30
  flexDirection: 'column',
29
31
  flexGrow: 1,
30
32
  paddingBottom: "var(--ds-space-600, 48px)",
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
31
34
  '& > *': {
32
35
  padding: "0 ".concat("var(--ds-space-400, 32px)")
33
36
  }
package/package.json CHANGED
@@ -1,58 +1,58 @@
1
1
  {
2
- "name": "@atlaskit/embedded-document",
3
- "version": "0.9.47",
4
- "description": "DEPRECATED Embedded Document component",
5
- "publishConfig": {
6
- "registry": "https://registry.npmjs.org/"
7
- },
8
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
- "author": "Atlassian Pty Ltd",
10
- "license": "Apache-2.0",
11
- "main": "dist/cjs/index.js",
12
- "module": "dist/esm/index.js",
13
- "module:es2019": "dist/es2019/index.js",
14
- "types": "dist/types/index.d.ts",
15
- "typesVersions": {
16
- ">=4.5 <4.9": {
17
- "*": [
18
- "dist/types-ts4.5/*",
19
- "dist/types-ts4.5/index.d.ts"
20
- ]
21
- }
22
- },
23
- "sideEffects": false,
24
- "atlaskit:src": "src/index.ts",
25
- "af:exports": {
26
- ".": "./src/index.ts"
27
- },
28
- "atlassian": {
29
- "team": "Editor: Collaboration",
30
- "inPublicMirror": true,
31
- "releaseModel": "continuous",
32
- "website": {
33
- "name": "embedded-document",
34
- "deprecated": "This package is no longer being used and will not be actively maintained"
35
- },
36
- "runReact18": false
37
- },
38
- "dependencies": {
39
- "@atlaskit/button": "^17.17.0",
40
- "@atlaskit/editor-common": "^82.3.0",
41
- "@atlaskit/editor-core": "^193.26.0",
42
- "@atlaskit/editor-shared-styles": "^2.12.0",
43
- "@atlaskit/renderer": "^109.32.0",
44
- "@atlaskit/tokens": "1.50.0",
45
- "@atlaskit/util-service-support": "^6.2.0",
46
- "@babel/runtime": "^7.0.0"
47
- },
48
- "peerDependencies": {
49
- "react": "^16.8.0",
50
- "styled-components": "^3.2.6"
51
- },
52
- "devDependencies": {
53
- "enzyme": "^3.10.0",
54
- "fetch-mock": "^8.0.0",
55
- "react": "^16.8.0",
56
- "typescript": "~5.4.2"
57
- }
58
- }
2
+ "name": "@atlaskit/embedded-document",
3
+ "version": "0.9.48",
4
+ "description": "DEPRECATED Embedded Document component",
5
+ "publishConfig": {
6
+ "registry": "https://registry.npmjs.org/"
7
+ },
8
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
9
+ "author": "Atlassian Pty Ltd",
10
+ "license": "Apache-2.0",
11
+ "main": "dist/cjs/index.js",
12
+ "module": "dist/esm/index.js",
13
+ "module:es2019": "dist/es2019/index.js",
14
+ "types": "dist/types/index.d.ts",
15
+ "typesVersions": {
16
+ ">=4.5 <4.9": {
17
+ "*": [
18
+ "dist/types-ts4.5/*",
19
+ "dist/types-ts4.5/index.d.ts"
20
+ ]
21
+ }
22
+ },
23
+ "sideEffects": false,
24
+ "atlaskit:src": "src/index.ts",
25
+ "af:exports": {
26
+ ".": "./src/index.ts"
27
+ },
28
+ "atlassian": {
29
+ "team": "Editor: Collaboration",
30
+ "inPublicMirror": true,
31
+ "releaseModel": "continuous",
32
+ "website": {
33
+ "name": "embedded-document",
34
+ "deprecated": "This package is no longer being used and will not be actively maintained"
35
+ },
36
+ "runReact18": false
37
+ },
38
+ "dependencies": {
39
+ "@atlaskit/button": "^17.17.0",
40
+ "@atlaskit/editor-common": "^82.8.0",
41
+ "@atlaskit/editor-core": "^193.27.0",
42
+ "@atlaskit/editor-shared-styles": "^2.12.0",
43
+ "@atlaskit/renderer": "^109.32.0",
44
+ "@atlaskit/tokens": "1.51.0",
45
+ "@atlaskit/util-service-support": "^6.2.0",
46
+ "@babel/runtime": "^7.0.0"
47
+ },
48
+ "peerDependencies": {
49
+ "react": "^16.8.0",
50
+ "styled-components": "^3.2.6"
51
+ },
52
+ "devDependencies": {
53
+ "enzyme": "^3.10.0",
54
+ "fetch-mock": "^8.0.0",
55
+ "react": "^16.8.0",
56
+ "typescript": "~5.4.2"
57
+ }
58
+ }