@atlaskit/editor-plugin-ui-control-registry 0.0.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/LICENSE.md +11 -0
- package/README.md +1 -0
- package/afm-cc/tsconfig.json +26 -0
- package/afm-jira/tsconfig.json +26 -0
- package/afm-products/tsconfig.json +26 -0
- package/dist/cjs/index.js +12 -0
- package/dist/cjs/uiControlRegistryPlugin.js +11 -0
- package/dist/cjs/uiControlRegistryPluginType.js +5 -0
- package/dist/es2019/index.js +4 -0
- package/dist/es2019/uiControlRegistryPlugin.js +3 -0
- package/dist/es2019/uiControlRegistryPluginType.js +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/uiControlRegistryPlugin.js +5 -0
- package/dist/esm/uiControlRegistryPluginType.js +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/uiControlRegistryPlugin.d.ts +2 -0
- package/dist/types/uiControlRegistryPluginType.d.ts +2 -0
- package/dist/types-ts4.5/index.d.ts +2 -0
- package/dist/types-ts4.5/uiControlRegistryPlugin.d.ts +2 -0
- package/dist/types-ts4.5/uiControlRegistryPluginType.d.ts +2 -0
- package/docs/0-intro.tsx +43 -0
- package/package.json +76 -0
- package/tsconfig.json +8 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Copyright 2019 Atlassian Pty Ltd
|
|
2
|
+
|
|
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
|
|
5
|
+
|
|
6
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
|
|
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/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Editor plugin ui control-registry
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.local-consumption.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "es5",
|
|
5
|
+
"outDir": "../../../../../confluence/tsDist/@atlaskit__editor-plugin-ui-control-registry",
|
|
6
|
+
"rootDir": "../",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"noCheck": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/mocks/*",
|
|
19
|
+
"../src/**/examples.*"
|
|
20
|
+
],
|
|
21
|
+
"references": [
|
|
22
|
+
{
|
|
23
|
+
"path": "../../editor-common/afm-cc/tsconfig.json"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.local-consumption.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "es5",
|
|
5
|
+
"outDir": "../../../../../jira/tsDist/@atlaskit__editor-plugin-ui-control-registry/app",
|
|
6
|
+
"rootDir": "../",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"noCheck": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/mocks/*",
|
|
19
|
+
"../src/**/examples.*"
|
|
20
|
+
],
|
|
21
|
+
"references": [
|
|
22
|
+
{
|
|
23
|
+
"path": "../../editor-common/afm-jira/tsconfig.json"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.local-consumption.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "es5",
|
|
5
|
+
"outDir": "../../../../../tsDist/@atlaskit__editor-plugin-ui-control-registry/app",
|
|
6
|
+
"rootDir": "../",
|
|
7
|
+
"composite": true,
|
|
8
|
+
"noCheck": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/mocks/*",
|
|
19
|
+
"../src/**/examples.*"
|
|
20
|
+
],
|
|
21
|
+
"references": [
|
|
22
|
+
{
|
|
23
|
+
"path": "../../editor-common/afm-products/tsconfig.json"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "uiControlRegistryPlugin", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _uiControlRegistryPlugin.uiControlRegistryPlugin;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _uiControlRegistryPlugin = require("./uiControlRegistryPlugin");
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.uiControlRegistryPlugin = void 0;
|
|
7
|
+
var uiControlRegistryPlugin = exports.uiControlRegistryPlugin = function uiControlRegistryPlugin() {
|
|
8
|
+
return {
|
|
9
|
+
name: 'uiControlRegistry'
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/docs/0-intro.tsx
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { AtlassianInternalWarning, code, md } from '@atlaskit/docs';
|
|
4
|
+
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
5
|
+
import { createEditorUseOnlyNotice } from '@atlaskit/editor-common/doc-utils';
|
|
6
|
+
import { token } from '@atlaskit/tokens';
|
|
7
|
+
|
|
8
|
+
export default md`
|
|
9
|
+
|
|
10
|
+
${createEditorUseOnlyNotice('Editor Plugin Ui Control Registry', [
|
|
11
|
+
{ name: 'Editor Core', link: '/packages/editor/editor-core' },
|
|
12
|
+
])}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
${
|
|
16
|
+
(
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
18
|
+
<div style={{ marginTop: token('space.100', '8px') }}>
|
|
19
|
+
<AtlassianInternalWarning />
|
|
20
|
+
</div>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
This package includes the ui control registry plugin used by \`@atlaskit/editor-core\`.
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
The \`dependencies\`, \`configuration\`, \`state\`, \`actions\`, and \`commands\` of the plugin are defined
|
|
30
|
+
below:
|
|
31
|
+
|
|
32
|
+
${code`
|
|
33
|
+
type UiControlRegistryPlugin = NextEditorPlugin<'uiControlRegistry'>
|
|
34
|
+
`}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Support
|
|
38
|
+
---
|
|
39
|
+
For internal Atlassian, visit the slack channel [#help-editor](https://atlassian.slack.com/archives/CFG3PSQ9E) for support or visit [go/editor-help](https://go/editor-help) to submit a bug.
|
|
40
|
+
## License
|
|
41
|
+
---
|
|
42
|
+
Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.
|
|
43
|
+
`;
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-plugin-ui-control-registry",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"description": "UiControlRegistry 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: Jenga",
|
|
12
|
+
"releaseModel": "continuous",
|
|
13
|
+
"singleton": true
|
|
14
|
+
},
|
|
15
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
16
|
+
"main": "dist/cjs/index.js",
|
|
17
|
+
"module": "dist/esm/index.js",
|
|
18
|
+
"module:es2019": "dist/es2019/index.js",
|
|
19
|
+
"types": "dist/types/index.d.ts",
|
|
20
|
+
"typesVersions": {
|
|
21
|
+
">=4.5 <4.9": {
|
|
22
|
+
"*": [
|
|
23
|
+
"dist/types-ts4.5/*",
|
|
24
|
+
"dist/types-ts4.5/index.d.ts"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"atlaskit:src": "src/index.ts",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@babel/runtime": "^7.0.0"
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@atlaskit/editor-common": "^111.18.0",
|
|
35
|
+
"react": "^18.2.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"typescript": "5.9.2"
|
|
39
|
+
},
|
|
40
|
+
"techstack": {
|
|
41
|
+
"@atlassian/frontend": {
|
|
42
|
+
"code-structure": [
|
|
43
|
+
"editor-plugin"
|
|
44
|
+
],
|
|
45
|
+
"import-structure": [
|
|
46
|
+
"atlassian-conventions"
|
|
47
|
+
],
|
|
48
|
+
"circular-dependencies": [
|
|
49
|
+
"file-and-folder-level"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"@repo/internal": {
|
|
53
|
+
"dom-events": "use-bind-event-listener",
|
|
54
|
+
"analytics": [
|
|
55
|
+
"analytics-next"
|
|
56
|
+
],
|
|
57
|
+
"design-tokens": [
|
|
58
|
+
"color"
|
|
59
|
+
],
|
|
60
|
+
"theming": [
|
|
61
|
+
"react-context"
|
|
62
|
+
],
|
|
63
|
+
"ui-components": [
|
|
64
|
+
"lite-mode"
|
|
65
|
+
],
|
|
66
|
+
"deprecation": "no-deprecated-imports",
|
|
67
|
+
"styling": [
|
|
68
|
+
"emotion",
|
|
69
|
+
"emotion"
|
|
70
|
+
],
|
|
71
|
+
"imports": [
|
|
72
|
+
"import-no-extraneous-disable-for-examples-and-docs"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|