@atlaskit/editor-plugin-card 0.3.2 → 0.3.4
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 +12 -0
- package/dist/cjs/nodeviews/datasource.js +0 -5
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/nodeviews/datasource.js +1 -6
- package/dist/es2019/version.json +1 -1
- package/dist/esm/nodeviews/datasource.js +1 -6
- package/dist/esm/version.json +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 0.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.3.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`02d1ab1d57d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/02d1ab1d57d) - Improve DnD Experience in Datasource Table view
|
|
14
|
+
|
|
3
15
|
## 0.3.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -23,10 +23,6 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
23
23
|
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
24
|
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); }; }
|
|
25
25
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
|
|
26
|
-
var containerStyles = (0, _react2.css)({
|
|
27
|
-
height: '500px',
|
|
28
|
-
overflow: 'auto'
|
|
29
|
-
});
|
|
30
26
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
31
27
|
var DatasourceComponent = /*#__PURE__*/function (_React$PureComponent) {
|
|
32
28
|
(0, _inherits2.default)(DatasourceComponent, _React$PureComponent);
|
|
@@ -157,7 +153,6 @@ var Datasource = /*#__PURE__*/function (_ReactNodeView) {
|
|
|
157
153
|
var calculatedWidth = this.calcTableWidth(attrs.layout, this.tableWidth);
|
|
158
154
|
return (0, _react2.jsx)("div", {
|
|
159
155
|
className: _styles.DATASOURCE_INNER_CONTAINER_CLASSNAME,
|
|
160
|
-
css: containerStyles,
|
|
161
156
|
style: {
|
|
162
157
|
minWidth: calculatedWidth
|
|
163
158
|
}
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import {
|
|
4
|
+
import { jsx } from '@emotion/react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
7
7
|
import { DATASOURCE_INNER_CONTAINER_CLASSNAME, SmartCardSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
8
8
|
import { calcBreakoutWidthPx } from '@atlaskit/editor-common/utils';
|
|
9
9
|
import { DatasourceTableView } from '@atlaskit/link-datasource';
|
|
10
|
-
const containerStyles = css({
|
|
11
|
-
height: '500px',
|
|
12
|
-
overflow: 'auto'
|
|
13
|
-
});
|
|
14
10
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
15
11
|
export class DatasourceComponent extends React.PureComponent {
|
|
16
12
|
constructor(props) {
|
|
@@ -124,7 +120,6 @@ export class Datasource extends ReactNodeView {
|
|
|
124
120
|
const calculatedWidth = this.calcTableWidth(attrs.layout, this.tableWidth);
|
|
125
121
|
return jsx("div", {
|
|
126
122
|
className: DATASOURCE_INNER_CONTAINER_CLASSNAME,
|
|
127
|
-
css: containerStyles,
|
|
128
123
|
style: {
|
|
129
124
|
minWidth: calculatedWidth
|
|
130
125
|
}
|
package/dist/es2019/version.json
CHANGED
|
@@ -11,16 +11,12 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
11
11
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
12
12
|
/** @jsx jsx */
|
|
13
13
|
import React from 'react';
|
|
14
|
-
import {
|
|
14
|
+
import { jsx } from '@emotion/react';
|
|
15
15
|
import PropTypes from 'prop-types';
|
|
16
16
|
import ReactNodeView from '@atlaskit/editor-common/react-node-view';
|
|
17
17
|
import { DATASOURCE_INNER_CONTAINER_CLASSNAME, SmartCardSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
18
18
|
import { calcBreakoutWidthPx } from '@atlaskit/editor-common/utils';
|
|
19
19
|
import { DatasourceTableView } from '@atlaskit/link-datasource';
|
|
20
|
-
var containerStyles = css({
|
|
21
|
-
height: '500px',
|
|
22
|
-
overflow: 'auto'
|
|
23
|
-
});
|
|
24
20
|
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
25
21
|
export var DatasourceComponent = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
22
|
_inherits(DatasourceComponent, _React$PureComponent);
|
|
@@ -150,7 +146,6 @@ export var Datasource = /*#__PURE__*/function (_ReactNodeView) {
|
|
|
150
146
|
var calculatedWidth = this.calcTableWidth(attrs.layout, this.tableWidth);
|
|
151
147
|
return jsx("div", {
|
|
152
148
|
className: DATASOURCE_INNER_CONTAINER_CLASSNAME,
|
|
153
|
-
css: containerStyles,
|
|
154
149
|
style: {
|
|
155
150
|
minWidth: calculatedWidth
|
|
156
151
|
}
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^26.4.0",
|
|
35
35
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
36
|
-
"@atlaskit/editor-common": "^74.
|
|
36
|
+
"@atlaskit/editor-common": "^74.32.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^0.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^0.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-feature-flags": "^0.1.0",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@atlaskit/editor-shared-styles": "^2.5.0",
|
|
46
46
|
"@atlaskit/icon": "^21.12.0",
|
|
47
47
|
"@atlaskit/link-analytics": "^8.2.0",
|
|
48
|
-
"@atlaskit/link-datasource": "^0.
|
|
48
|
+
"@atlaskit/link-datasource": "^0.32.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
50
|
-
"@atlaskit/smart-card": "^26.
|
|
50
|
+
"@atlaskit/smart-card": "^26.14.0",
|
|
51
51
|
"@atlaskit/theme": "^12.5.0",
|
|
52
52
|
"@atlaskit/tokens": "^1.13.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|