@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 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,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,4 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
4
+ export { uiControlRegistryPlugin } from './uiControlRegistryPlugin';
@@ -0,0 +1,3 @@
1
+ export const uiControlRegistryPlugin = () => ({
2
+ name: 'uiControlRegistry'
3
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ /* eslint-disable @atlaskit/editor/no-re-export */
2
+ // Entry file in package.json
3
+
4
+ export { uiControlRegistryPlugin } from './uiControlRegistryPlugin';
@@ -0,0 +1,5 @@
1
+ export var uiControlRegistryPlugin = function uiControlRegistryPlugin() {
2
+ return {
3
+ name: 'uiControlRegistry'
4
+ };
5
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export { uiControlRegistryPlugin } from './uiControlRegistryPlugin';
2
+ export type { UiControlRegistryPlugin } from './uiControlRegistryPluginType';
@@ -0,0 +1,2 @@
1
+ import type { UiControlRegistryPlugin } from './uiControlRegistryPluginType';
2
+ export declare const uiControlRegistryPlugin: UiControlRegistryPlugin;
@@ -0,0 +1,2 @@
1
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
+ export type UiControlRegistryPlugin = NextEditorPlugin<'uiControlRegistry'>;
@@ -0,0 +1,2 @@
1
+ export { uiControlRegistryPlugin } from './uiControlRegistryPlugin';
2
+ export type { UiControlRegistryPlugin } from './uiControlRegistryPluginType';
@@ -0,0 +1,2 @@
1
+ import type { UiControlRegistryPlugin } from './uiControlRegistryPluginType';
2
+ export declare const uiControlRegistryPlugin: UiControlRegistryPlugin;
@@ -0,0 +1,2 @@
1
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
2
+ export type UiControlRegistryPlugin = NextEditorPlugin<'uiControlRegistry'>;
@@ -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
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "../../../tsconfig.json",
3
+ "include": [
4
+ "src/**/*.ts",
5
+ "src/**/*.tsx"
6
+ ],
7
+ "compilerOptions": {}
8
+ }