@atlaskit/editor-toolbar 0.10.0 → 0.11.0
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 +13 -0
- package/dist/cjs/ui/icons/SubscriptIcon.js +7 -30
- package/dist/cjs/ui/icons/SuperscriptIcon.js +7 -30
- package/dist/es2019/ui/icons/SubscriptIcon.js +2 -25
- package/dist/es2019/ui/icons/SuperscriptIcon.js +2 -25
- package/dist/esm/ui/icons/SubscriptIcon.js +2 -28
- package/dist/esm/ui/icons/SuperscriptIcon.js +2 -28
- package/dist/types/ui/icons/SubscriptIcon.d.ts +1 -2
- package/dist/types/ui/icons/SuperscriptIcon.d.ts +1 -2
- package/dist/types-ts4.5/ui/icons/SubscriptIcon.d.ts +1 -2
- package/dist/types-ts4.5/ui/icons/SuperscriptIcon.d.ts +1 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-toolbar
|
|
2
2
|
|
|
3
|
+
## 0.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`2ca00c96d410c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2ca00c96d410c) -
|
|
8
|
+
update icons used for subscript and superscript
|
|
9
|
+
|
|
10
|
+
## 0.10.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 0.10.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -4,33 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
style: {
|
|
15
|
-
width: "var(--ds-space-200, 16px)",
|
|
16
|
-
height: "var(--ds-space-200, 16px)",
|
|
17
|
-
display: 'flex',
|
|
18
|
-
justifyContent: 'center',
|
|
19
|
-
alignItems: 'center'
|
|
20
|
-
}
|
|
21
|
-
}, children);
|
|
22
|
-
};
|
|
23
|
-
var SubscriptIcon = exports.SubscriptIcon = function SubscriptIcon() {
|
|
24
|
-
return /*#__PURE__*/_react.default.createElement(SVGContainer, null, /*#__PURE__*/_react.default.createElement("svg", {
|
|
25
|
-
width: "16",
|
|
26
|
-
height: "16",
|
|
27
|
-
viewBox: "0 0 16 16",
|
|
28
|
-
fill: "none",
|
|
29
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
30
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
31
|
-
"fill-rule": "evenodd",
|
|
32
|
-
"clip-rule": "evenodd",
|
|
33
|
-
d: "M5.10609 6.54799L7.88895 2.09448L9.16102 2.88936L5.99047 7.9633L9.21219 13.1191L7.94012 13.914L5.10609 9.37861L2.27207 13.914L1 13.1191L4.2217 7.9633L1.05117 2.88939L2.32324 2.09451L5.10609 6.54799ZM10.858 15.0001V13.696H12.3499V10.3153L10.8418 11.4343V9.86413L12.3138 8.83114H13.8161V13.696H14.9999V15.0001H10.858Z",
|
|
34
|
-
fill: "currentColor"
|
|
35
|
-
})));
|
|
36
|
-
};
|
|
7
|
+
Object.defineProperty(exports, "SubscriptIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _textSubscript.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _textSubscript = _interopRequireDefault(require("@atlaskit/icon-lab/core/text-subscript"));
|
|
@@ -4,33 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
style: {
|
|
15
|
-
width: "var(--ds-space-200, 16px)",
|
|
16
|
-
height: "var(--ds-space-200, 16px)",
|
|
17
|
-
display: 'flex',
|
|
18
|
-
justifyContent: 'center',
|
|
19
|
-
alignItems: 'center'
|
|
20
|
-
}
|
|
21
|
-
}, children);
|
|
22
|
-
};
|
|
23
|
-
var SuperscriptIcon = exports.SuperscriptIcon = function SuperscriptIcon() {
|
|
24
|
-
return /*#__PURE__*/_react.default.createElement(SVGContainer, null, /*#__PURE__*/_react.default.createElement("svg", {
|
|
25
|
-
width: "16",
|
|
26
|
-
height: "16",
|
|
27
|
-
viewBox: "0 0 16 16",
|
|
28
|
-
fill: "none",
|
|
29
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
30
|
-
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
31
|
-
"fill-rule": "evenodd",
|
|
32
|
-
"clip-rule": "evenodd",
|
|
33
|
-
d: "M10.858 7.16892V5.86487H12.3499V2.4842L10.8418 3.60312V2.03298L12.3138 1H13.8161V5.86487H14.9999V7.16892H10.858ZM5.10609 6.5479L7.88895 2.09439L9.16102 2.88927L5.99047 7.96321L9.21219 13.119L7.94012 13.9139L5.10609 9.37852L2.27207 13.9139L1 13.119L4.2217 7.96321L1.05117 2.8893L2.32324 2.09442L5.10609 6.5479Z",
|
|
34
|
-
fill: "currentColor"
|
|
35
|
-
})));
|
|
36
|
-
};
|
|
7
|
+
Object.defineProperty(exports, "SuperscriptIcon", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function get() {
|
|
10
|
+
return _textSuperscript.default;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _textSuperscript = _interopRequireDefault(require("@atlaskit/icon-lab/core/text-superscript"));
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const SVGContainer = ({
|
|
4
|
-
children
|
|
5
|
-
}) => /*#__PURE__*/React.createElement("span", {
|
|
6
|
-
style: {
|
|
7
|
-
width: "var(--ds-space-200, 16px)",
|
|
8
|
-
height: "var(--ds-space-200, 16px)",
|
|
9
|
-
display: 'flex',
|
|
10
|
-
justifyContent: 'center',
|
|
11
|
-
alignItems: 'center'
|
|
12
|
-
}
|
|
13
|
-
}, children);
|
|
14
|
-
export const SubscriptIcon = () => /*#__PURE__*/React.createElement(SVGContainer, null, /*#__PURE__*/React.createElement("svg", {
|
|
15
|
-
width: "16",
|
|
16
|
-
height: "16",
|
|
17
|
-
viewBox: "0 0 16 16",
|
|
18
|
-
fill: "none",
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
20
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
"fill-rule": "evenodd",
|
|
22
|
-
"clip-rule": "evenodd",
|
|
23
|
-
d: "M5.10609 6.54799L7.88895 2.09448L9.16102 2.88936L5.99047 7.9633L9.21219 13.1191L7.94012 13.914L5.10609 9.37861L2.27207 13.914L1 13.1191L4.2217 7.9633L1.05117 2.88939L2.32324 2.09451L5.10609 6.54799ZM10.858 15.0001V13.696H12.3499V10.3153L10.8418 11.4343V9.86413L12.3138 8.83114H13.8161V13.696H14.9999V15.0001H10.858Z",
|
|
24
|
-
fill: "currentColor"
|
|
25
|
-
})));
|
|
1
|
+
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
2
|
+
export { default as SubscriptIcon } from '@atlaskit/icon-lab/core/text-subscript';
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const SVGContainer = ({
|
|
4
|
-
children
|
|
5
|
-
}) => /*#__PURE__*/React.createElement("span", {
|
|
6
|
-
style: {
|
|
7
|
-
width: "var(--ds-space-200, 16px)",
|
|
8
|
-
height: "var(--ds-space-200, 16px)",
|
|
9
|
-
display: 'flex',
|
|
10
|
-
justifyContent: 'center',
|
|
11
|
-
alignItems: 'center'
|
|
12
|
-
}
|
|
13
|
-
}, children);
|
|
14
|
-
export const SuperscriptIcon = () => /*#__PURE__*/React.createElement(SVGContainer, null, /*#__PURE__*/React.createElement("svg", {
|
|
15
|
-
width: "16",
|
|
16
|
-
height: "16",
|
|
17
|
-
viewBox: "0 0 16 16",
|
|
18
|
-
fill: "none",
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
20
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
21
|
-
"fill-rule": "evenodd",
|
|
22
|
-
"clip-rule": "evenodd",
|
|
23
|
-
d: "M10.858 7.16892V5.86487H12.3499V2.4842L10.8418 3.60312V2.03298L12.3138 1H13.8161V5.86487H14.9999V7.16892H10.858ZM5.10609 6.5479L7.88895 2.09439L9.16102 2.88927L5.99047 7.96321L9.21219 13.119L7.94012 13.9139L5.10609 9.37852L2.27207 13.9139L1 13.119L4.2217 7.96321L1.05117 2.8893L2.32324 2.09442L5.10609 6.5479Z",
|
|
24
|
-
fill: "currentColor"
|
|
25
|
-
})));
|
|
1
|
+
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
2
|
+
export { default as SuperscriptIcon } from '@atlaskit/icon-lab/core/text-superscript';
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var SVGContainer = function SVGContainer(_ref) {
|
|
4
|
-
var children = _ref.children;
|
|
5
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
6
|
-
style: {
|
|
7
|
-
width: "var(--ds-space-200, 16px)",
|
|
8
|
-
height: "var(--ds-space-200, 16px)",
|
|
9
|
-
display: 'flex',
|
|
10
|
-
justifyContent: 'center',
|
|
11
|
-
alignItems: 'center'
|
|
12
|
-
}
|
|
13
|
-
}, children);
|
|
14
|
-
};
|
|
15
|
-
export var SubscriptIcon = function SubscriptIcon() {
|
|
16
|
-
return /*#__PURE__*/React.createElement(SVGContainer, null, /*#__PURE__*/React.createElement("svg", {
|
|
17
|
-
width: "16",
|
|
18
|
-
height: "16",
|
|
19
|
-
viewBox: "0 0 16 16",
|
|
20
|
-
fill: "none",
|
|
21
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
23
|
-
"fill-rule": "evenodd",
|
|
24
|
-
"clip-rule": "evenodd",
|
|
25
|
-
d: "M5.10609 6.54799L7.88895 2.09448L9.16102 2.88936L5.99047 7.9633L9.21219 13.1191L7.94012 13.914L5.10609 9.37861L2.27207 13.914L1 13.1191L4.2217 7.9633L1.05117 2.88939L2.32324 2.09451L5.10609 6.54799ZM10.858 15.0001V13.696H12.3499V10.3153L10.8418 11.4343V9.86413L12.3138 8.83114H13.8161V13.696H14.9999V15.0001H10.858Z",
|
|
26
|
-
fill: "currentColor"
|
|
27
|
-
})));
|
|
28
|
-
};
|
|
1
|
+
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
2
|
+
export { default as SubscriptIcon } from '@atlaskit/icon-lab/core/text-subscript';
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var SVGContainer = function SVGContainer(_ref) {
|
|
4
|
-
var children = _ref.children;
|
|
5
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
6
|
-
style: {
|
|
7
|
-
width: "var(--ds-space-200, 16px)",
|
|
8
|
-
height: "var(--ds-space-200, 16px)",
|
|
9
|
-
display: 'flex',
|
|
10
|
-
justifyContent: 'center',
|
|
11
|
-
alignItems: 'center'
|
|
12
|
-
}
|
|
13
|
-
}, children);
|
|
14
|
-
};
|
|
15
|
-
export var SuperscriptIcon = function SuperscriptIcon() {
|
|
16
|
-
return /*#__PURE__*/React.createElement(SVGContainer, null, /*#__PURE__*/React.createElement("svg", {
|
|
17
|
-
width: "16",
|
|
18
|
-
height: "16",
|
|
19
|
-
viewBox: "0 0 16 16",
|
|
20
|
-
fill: "none",
|
|
21
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
22
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
23
|
-
"fill-rule": "evenodd",
|
|
24
|
-
"clip-rule": "evenodd",
|
|
25
|
-
d: "M10.858 7.16892V5.86487H12.3499V2.4842L10.8418 3.60312V2.03298L12.3138 1H13.8161V5.86487H14.9999V7.16892H10.858ZM5.10609 6.5479L7.88895 2.09439L9.16102 2.88927L5.99047 7.96321L9.21219 13.119L7.94012 13.9139L5.10609 9.37852L2.27207 13.9139L1 13.119L4.2217 7.96321L1.05117 2.8893L2.32324 2.09442L5.10609 6.5479Z",
|
|
26
|
-
fill: "currentColor"
|
|
27
|
-
})));
|
|
28
|
-
};
|
|
1
|
+
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
2
|
+
export { default as SuperscriptIcon } from '@atlaskit/icon-lab/core/text-superscript';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SubscriptIcon: () => React.JSX.Element;
|
|
1
|
+
export { default as SubscriptIcon } from '@atlaskit/icon-lab/core/text-subscript';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SuperscriptIcon: () => React.JSX.Element;
|
|
1
|
+
export { default as SuperscriptIcon } from '@atlaskit/icon-lab/core/text-superscript';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SubscriptIcon: () => React.JSX.Element;
|
|
1
|
+
export { default as SubscriptIcon } from '@atlaskit/icon-lab/core/text-subscript';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const SuperscriptIcon: () => React.JSX.Element;
|
|
1
|
+
export { default as SuperscriptIcon } from '@atlaskit/icon-lab/core/text-superscript';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"registry": "https://registry.npmjs.org/"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.11.0",
|
|
7
7
|
"description": "Common UI for Toolbars across the platform",
|
|
8
8
|
"atlassian": {
|
|
9
9
|
"team": "Editor: Jenga",
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
],
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@atlaskit/badge": "^18.
|
|
24
|
+
"@atlaskit/badge": "^18.2.0",
|
|
25
25
|
"@atlaskit/button": "^23.4.0",
|
|
26
26
|
"@atlaskit/css": "^0.14.0",
|
|
27
27
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
28
28
|
"@atlaskit/icon": "^28.3.0",
|
|
29
|
-
"@atlaskit/icon-lab": "^5.
|
|
30
|
-
"@atlaskit/logo": "^19.
|
|
29
|
+
"@atlaskit/icon-lab": "^5.8.0",
|
|
30
|
+
"@atlaskit/logo": "^19.8.0",
|
|
31
31
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
32
32
|
"@atlaskit/platform-feature-flags-react": "^0.3.0",
|
|
33
33
|
"@atlaskit/popup": "^4.4.0",
|
|
34
34
|
"@atlaskit/primitives": "^14.15.0",
|
|
35
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
36
|
-
"@atlaskit/tokens": "^6.
|
|
37
|
-
"@atlaskit/tooltip": "^20.
|
|
35
|
+
"@atlaskit/tmp-editor-statsig": "^13.0.0",
|
|
36
|
+
"@atlaskit/tokens": "^6.4.0",
|
|
37
|
+
"@atlaskit/tooltip": "^20.5.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0",
|
|
39
39
|
"@compiled/react": "^0.18.3",
|
|
40
40
|
"chromatism": "^2.6.0"
|