@atlaskit/editor-plugin-list 0.1.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 ADDED
@@ -0,0 +1 @@
1
+ # @atlaskit/editor-plugin-list
package/LICENSE.md ADDED
@@ -0,0 +1,13 @@
1
+ Copyright 2023 Atlassian Pty Ltd
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # EditorPluginList
2
+
3
+ List plugin for @atlaskit/editor-core
4
+
5
+ ## Usage
6
+
7
+ `import EditorPluginList from '@atlaskit/editor-plugin-list';`
8
+
9
+ Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/editor/editor-plugin-list).
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export type { ListPlugin, ListPluginOptions } from './types';
@@ -0,0 +1,12 @@
1
+ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
+ import type { FeatureFlags } from '@atlaskit/editor-common/types';
3
+ import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
4
+ import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
5
+ export type ListPluginOptions = Pick<FeatureFlags, 'restartNumberedLists'>;
6
+ export type ListPlugin = NextEditorPlugin<'list', {
7
+ pluginConfiguration: ListPluginOptions | undefined;
8
+ dependencies: [
9
+ typeof featureFlagsPlugin,
10
+ OptionalPlugin<typeof analyticsPlugin>
11
+ ];
12
+ }>;
@@ -0,0 +1 @@
1
+ export type { ListPlugin, ListPluginOptions } from './types';
@@ -0,0 +1,12 @@
1
+ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
2
+ import type { FeatureFlags } from '@atlaskit/editor-common/types';
3
+ import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
4
+ import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
5
+ export type ListPluginOptions = Pick<FeatureFlags, 'restartNumberedLists'>;
6
+ export type ListPlugin = NextEditorPlugin<'list', {
7
+ pluginConfiguration: ListPluginOptions | undefined;
8
+ dependencies: [
9
+ typeof featureFlagsPlugin,
10
+ OptionalPlugin<typeof analyticsPlugin>
11
+ ];
12
+ }>;
package/package.json ADDED
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "@atlaskit/editor-plugin-list",
3
+ "version": "0.1.0",
4
+ "description": "List 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",
12
+ "releaseModel": "continuous",
13
+ "singleton": true
14
+ },
15
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
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
+ "af:exports": {
31
+ ".": "./src/index.ts"
32
+ },
33
+ "dependencies": {
34
+ "@atlaskit/editor-common": "^74.45.0",
35
+ "@atlaskit/editor-plugin-analytics": "^0.1.0",
36
+ "@atlaskit/editor-plugin-feature-flags": "^0.1.0",
37
+ "@babel/runtime": "^7.0.0"
38
+ },
39
+ "peerDependencies": {
40
+ "react": "^16.8.0"
41
+ },
42
+ "devDependencies": {
43
+ "@af/visual-regression": "*",
44
+ "@atlaskit/visual-regression": "*",
45
+ "@atlaskit/webdriver-runner": "*",
46
+ "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
47
+ "@testing-library/react": "^12.1.5",
48
+ "react-dom": "^16.8.0",
49
+ "typescript": "~4.9.5",
50
+ "wait-for-expect": "^1.2.0"
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
+ "static",
80
+ "emotion"
81
+ ],
82
+ "imports": [
83
+ "import-no-extraneous-disable-for-examples-and-docs"
84
+ ]
85
+ }
86
+ },
87
+ "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
88
+ }
package/report.api.md ADDED
@@ -0,0 +1,54 @@
1
+ <!-- API Report Version: 2.3 -->
2
+
3
+ ## API Report File for "@atlaskit/editor-plugin-list"
4
+
5
+ > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
6
+ > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
+
8
+ ### Table of contents
9
+
10
+ - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
12
+
13
+ ### Main Entry Types
14
+
15
+ <!--SECTION START: Main Entry Types-->
16
+
17
+ ```ts
18
+ import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
19
+ import type { FeatureFlags } from '@atlaskit/editor-common/types';
20
+ import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
21
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
22
+ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
23
+
24
+ // @public (undocumented)
25
+ export type ListPlugin = NextEditorPlugin<
26
+ 'list',
27
+ {
28
+ pluginConfiguration: ListPluginOptions | undefined;
29
+ dependencies: [
30
+ typeof featureFlagsPlugin,
31
+ OptionalPlugin<typeof analyticsPlugin>,
32
+ ];
33
+ }
34
+ >;
35
+
36
+ // @public (undocumented)
37
+ export type ListPluginOptions = Pick<FeatureFlags, 'restartNumberedLists'>;
38
+
39
+ // (No @packageDocumentation comment for this package)
40
+ ```
41
+
42
+ <!--SECTION END: Main Entry Types-->
43
+
44
+ ### Peer Dependencies
45
+
46
+ <!--SECTION START: Peer Dependencies-->
47
+
48
+ ```json
49
+ {
50
+ "react": "^16.8.0"
51
+ }
52
+ ```
53
+
54
+ <!--SECTION END: Peer Dependencies-->
@@ -0,0 +1,27 @@
1
+ ## API Report File for "@atlaskit/editor-plugin-list"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
8
+ import type { FeatureFlags } from '@atlaskit/editor-common/types';
9
+ import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
10
+ import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
11
+ import type { OptionalPlugin } from '@atlaskit/editor-common/types';
12
+
13
+ // @public (undocumented)
14
+ export type ListPlugin = NextEditorPlugin<'list', {
15
+ pluginConfiguration: ListPluginOptions | undefined;
16
+ dependencies: [
17
+ typeof featureFlagsPlugin,
18
+ OptionalPlugin<typeof analyticsPlugin>
19
+ ];
20
+ }>;
21
+
22
+ // @public (undocumented)
23
+ export type ListPluginOptions = Pick<FeatureFlags, 'restartNumberedLists'>;
24
+
25
+ // (No @packageDocumentation comment for this package)
26
+
27
+ ```