@atlaskit/editor-plugin-primary-toolbar 1.1.0 → 1.1.2
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/.eslintrc.js +4 -4
- package/CHANGELOG.md +12 -0
- package/LICENSE.md +6 -8
- package/dist/cjs/ui/separator.js +9 -5
- package/dist/es2019/ui/separator.js +4 -1
- package/dist/esm/ui/separator.js +9 -5
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +85 -87
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
package/LICENSE.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Copyright 2023 Atlassian Pty Ltd
|
|
2
2
|
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
package/dist/cjs/ui/separator.js
CHANGED
|
@@ -7,10 +7,14 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
9
9
|
/** @jsx jsx */
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
11
|
var _default = exports.default = function _default() {
|
|
11
|
-
return (
|
|
12
|
-
css
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
return (
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
14
|
+
(0, _react.jsx)("span", {
|
|
15
|
+
css: _styles.wrapperStyle
|
|
16
|
+
}, (0, _react.jsx)("span", {
|
|
17
|
+
css: _styles.separatorStyles
|
|
18
|
+
}))
|
|
19
|
+
);
|
|
16
20
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles';
|
|
4
|
-
export default (() =>
|
|
5
|
+
export default (() =>
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
7
|
+
jsx("span", {
|
|
5
8
|
css: wrapperStyle
|
|
6
9
|
}, jsx("span", {
|
|
7
10
|
css: separatorStyles
|
package/dist/esm/ui/separator.js
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
4
|
import { separatorStyles, wrapperStyle } from '@atlaskit/editor-common/styles';
|
|
4
5
|
export default (function () {
|
|
5
|
-
return
|
|
6
|
-
css
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
return (
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
8
|
+
jsx("span", {
|
|
9
|
+
css: wrapperStyle
|
|
10
|
+
}, jsx("span", {
|
|
11
|
+
css: separatorStyles
|
|
12
|
+
}))
|
|
13
|
+
);
|
|
10
14
|
});
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { primaryToolbarPlugin } from './plugin';
|
|
2
|
-
export type { PrimaryToolbarPlugin, PrimaryToolbarPluginState, ToolbarElementNames
|
|
2
|
+
export type { PrimaryToolbarPlugin, PrimaryToolbarPluginState, ToolbarElementNames } from './types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { primaryToolbarPlugin } from './plugin';
|
|
2
|
-
export type { PrimaryToolbarPlugin, PrimaryToolbarPluginState, ToolbarElementNames
|
|
2
|
+
export type { PrimaryToolbarPlugin, PrimaryToolbarPluginState, ToolbarElementNames } from './types';
|
package/package.json
CHANGED
|
@@ -1,88 +1,86 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
88
|
-
}
|
|
2
|
+
"name": "@atlaskit/editor-plugin-primary-toolbar",
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "Primary toolbar plugin for @atlaskit/editor-core",
|
|
5
|
+
"author": "Atlassian Pty Ltd",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"registry": "https://registry.npmjs.org/"
|
|
9
|
+
},
|
|
10
|
+
"atlassian": {
|
|
11
|
+
"team": "Editor: Core Experiences",
|
|
12
|
+
"inPublicMirror": false,
|
|
13
|
+
"releaseModel": "continuous",
|
|
14
|
+
"website": {
|
|
15
|
+
"name": "EditorPluginPrimaryToolbar",
|
|
16
|
+
"category": "Components"
|
|
17
|
+
},
|
|
18
|
+
"runReact18": false
|
|
19
|
+
},
|
|
20
|
+
"repository": "https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
|
|
21
|
+
"main": "dist/cjs/index.js",
|
|
22
|
+
"module": "dist/esm/index.js",
|
|
23
|
+
"module:es2019": "dist/es2019/index.js",
|
|
24
|
+
"types": "dist/types/index.d.ts",
|
|
25
|
+
"typesVersions": {
|
|
26
|
+
">=4.5 <5.4": {
|
|
27
|
+
"*": [
|
|
28
|
+
"dist/types-ts4.5/*",
|
|
29
|
+
"dist/types-ts4.5/index.d.ts"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"sideEffects": [
|
|
34
|
+
"*.compiled.css"
|
|
35
|
+
],
|
|
36
|
+
"atlaskit:src": "src/index.ts",
|
|
37
|
+
"af:exports": {
|
|
38
|
+
".": "./src/index.ts"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@atlaskit/editor-common": "^83.0.0",
|
|
42
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
43
|
+
"@babel/runtime": "^7.0.0",
|
|
44
|
+
"@emotion/react": "^11.7.1"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"react": "^16.8.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"typescript": "~5.4.2"
|
|
51
|
+
},
|
|
52
|
+
"techstack": {
|
|
53
|
+
"@atlassian/frontend": {
|
|
54
|
+
"import-structure": [
|
|
55
|
+
"atlassian-conventions"
|
|
56
|
+
],
|
|
57
|
+
"circular-dependencies": [
|
|
58
|
+
"file-and-folder-level"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"@repo/internal": {
|
|
62
|
+
"dom-events": "use-bind-event-listener",
|
|
63
|
+
"analytics": [
|
|
64
|
+
"analytics-next"
|
|
65
|
+
],
|
|
66
|
+
"design-tokens": [
|
|
67
|
+
"color"
|
|
68
|
+
],
|
|
69
|
+
"theming": [
|
|
70
|
+
"react-context"
|
|
71
|
+
],
|
|
72
|
+
"ui-components": [
|
|
73
|
+
"lite-mode"
|
|
74
|
+
],
|
|
75
|
+
"deprecation": [
|
|
76
|
+
"no-deprecated-imports"
|
|
77
|
+
],
|
|
78
|
+
"styling": [
|
|
79
|
+
"emotion"
|
|
80
|
+
],
|
|
81
|
+
"imports": [
|
|
82
|
+
"import-no-extraneous-disable-for-examples-and-docs"
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|