@atlaskit/editor-plugin-help-dialog 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/.eslintrc.js +6 -0
- package/CHANGELOG.md +11 -0
- package/LICENSE.md +13 -0
- package/README.md +30 -0
- package/dist/cjs/index.js +5 -0
- package/dist/cjs/types.js +5 -0
- package/dist/es2019/index.js +1 -0
- package/dist/es2019/types.js +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/types.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types.d.ts +15 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/dist/types-ts4.5/types.d.ts +15 -0
- package/package.json +78 -0
- package/report.api.md +59 -0
- package/tmp/api-report-tmp.d.ts +32 -0
package/.eslintrc.js
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @atlaskit/editor-plugin-help-dialog
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#41020](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41020) [`ab49509530f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ab49509530f) - Add editor-plugin-help-dialog
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
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,30 @@
|
|
|
1
|
+
# Editor plugin help-dialog
|
|
2
|
+
|
|
3
|
+
Help Dialog plugin for @atlaskit/editor-core
|
|
4
|
+
|
|
5
|
+
**Note:** This component is designed for internal Atlassian development.
|
|
6
|
+
External contributors will be able to use this component but will not be able to submit issues.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
---
|
|
10
|
+
- **Install** - *yarn add @atlaskit/editor-plugin-help-dialog*
|
|
11
|
+
- **npm** - [@atlaskit/editor-plugin-help-dialog](https://www.npmjs.com/package/@atlaskit/editor-plugin-help-dialog)
|
|
12
|
+
- **Source** - [Bitbucket](https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/editor/editor-plugin-help-dialog)
|
|
13
|
+
- **Bundle** - [unpkg.com](https://unpkg.com/@atlaskit/editor-plugin-help-dialog/dist/)
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
---
|
|
17
|
+
**Internal use only**
|
|
18
|
+
|
|
19
|
+
@atlaskit/editor-plugin-help-dialog is intended for internal use by the @atlaskit/editor-core and as a plugin dependency of the Editor within your product.
|
|
20
|
+
|
|
21
|
+
Direct use of this component is not supported.
|
|
22
|
+
|
|
23
|
+
Please see [Atlaskit - Editor plugin Help Dialog](https://atlaskit.atlassian.com/packages/editor/editor-plugin-help-dialog) for documentation and examples for this package.
|
|
24
|
+
|
|
25
|
+
## Support
|
|
26
|
+
---
|
|
27
|
+
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.
|
|
28
|
+
## License
|
|
29
|
+
---
|
|
30
|
+
Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.
|
|
@@ -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 { HelpDialogPlugin, HelpDialogSharedState } from './types';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
|
+
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
4
|
+
export interface HelpDialogSharedState {
|
|
5
|
+
isVisible: boolean;
|
|
6
|
+
imageEnabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
|
|
9
|
+
dependencies: [
|
|
10
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
11
|
+
OptionalPlugin<QuickInsertPlugin>
|
|
12
|
+
];
|
|
13
|
+
pluginConfiguration: boolean;
|
|
14
|
+
sharedState: HelpDialogSharedState | null;
|
|
15
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { HelpDialogPlugin, HelpDialogSharedState } from './types';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
|
+
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
4
|
+
export interface HelpDialogSharedState {
|
|
5
|
+
isVisible: boolean;
|
|
6
|
+
imageEnabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
|
|
9
|
+
dependencies: [
|
|
10
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
11
|
+
OptionalPlugin<QuickInsertPlugin>
|
|
12
|
+
];
|
|
13
|
+
pluginConfiguration: boolean;
|
|
14
|
+
sharedState: HelpDialogSharedState | null;
|
|
15
|
+
}>;
|
package/package.json
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-plugin-help-dialog",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Help Dialog 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: Lego",
|
|
12
|
+
"singleton": true,
|
|
13
|
+
"releaseModel": "continuous"
|
|
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": "^76.2.0",
|
|
35
|
+
"@atlaskit/editor-plugin-analytics": "^0.2.0",
|
|
36
|
+
"@atlaskit/editor-plugin-quick-insert": "^0.1.0",
|
|
37
|
+
"@babel/runtime": "^7.0.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"react": "^16.8.0"
|
|
44
|
+
},
|
|
45
|
+
"techstack": {
|
|
46
|
+
"@atlassian/frontend": {
|
|
47
|
+
"import-structure": [
|
|
48
|
+
"atlassian-conventions"
|
|
49
|
+
],
|
|
50
|
+
"circular-dependencies": [
|
|
51
|
+
"file-and-folder-level"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"@repo/internal": {
|
|
55
|
+
"dom-events": "use-bind-event-listener",
|
|
56
|
+
"analytics": [
|
|
57
|
+
"analytics-next"
|
|
58
|
+
],
|
|
59
|
+
"design-tokens": [
|
|
60
|
+
"color"
|
|
61
|
+
],
|
|
62
|
+
"theming": [
|
|
63
|
+
"react-context"
|
|
64
|
+
],
|
|
65
|
+
"ui-components": [
|
|
66
|
+
"lite-mode"
|
|
67
|
+
],
|
|
68
|
+
"deprecation": [
|
|
69
|
+
"no-deprecated-imports"
|
|
70
|
+
],
|
|
71
|
+
"styling": [
|
|
72
|
+
"static",
|
|
73
|
+
"emotion"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
|
|
78
|
+
}
|
package/report.api.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<!-- API Report Version: 2.3 -->
|
|
2
|
+
|
|
3
|
+
## API Report File for "@atlaskit/editor-plugin-help-dialog"
|
|
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 { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
20
|
+
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
21
|
+
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
22
|
+
|
|
23
|
+
// @public (undocumented)
|
|
24
|
+
export type HelpDialogPlugin = NextEditorPlugin<
|
|
25
|
+
'helpDialog',
|
|
26
|
+
{
|
|
27
|
+
dependencies: [
|
|
28
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
29
|
+
OptionalPlugin<QuickInsertPlugin>,
|
|
30
|
+
];
|
|
31
|
+
pluginConfiguration: boolean;
|
|
32
|
+
sharedState: HelpDialogSharedState | null;
|
|
33
|
+
}
|
|
34
|
+
>;
|
|
35
|
+
|
|
36
|
+
// @public (undocumented)
|
|
37
|
+
export interface HelpDialogSharedState {
|
|
38
|
+
// (undocumented)
|
|
39
|
+
imageEnabled: boolean;
|
|
40
|
+
// (undocumented)
|
|
41
|
+
isVisible: boolean;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// (No @packageDocumentation comment for this package)
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
<!--SECTION END: Main Entry Types-->
|
|
48
|
+
|
|
49
|
+
### Peer Dependencies
|
|
50
|
+
|
|
51
|
+
<!--SECTION START: Peer Dependencies-->
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"react": "^16.8.0"
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
<!--SECTION END: Peer Dependencies-->
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/editor-plugin-help-dialog"
|
|
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 { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
9
|
+
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
10
|
+
import type { QuickInsertPlugin } from '@atlaskit/editor-plugin-quick-insert';
|
|
11
|
+
|
|
12
|
+
// @public (undocumented)
|
|
13
|
+
export type HelpDialogPlugin = NextEditorPlugin<'helpDialog', {
|
|
14
|
+
dependencies: [
|
|
15
|
+
OptionalPlugin<AnalyticsPlugin>,
|
|
16
|
+
OptionalPlugin<QuickInsertPlugin>
|
|
17
|
+
];
|
|
18
|
+
pluginConfiguration: boolean;
|
|
19
|
+
sharedState: HelpDialogSharedState | null;
|
|
20
|
+
}>;
|
|
21
|
+
|
|
22
|
+
// @public (undocumented)
|
|
23
|
+
export interface HelpDialogSharedState {
|
|
24
|
+
// (undocumented)
|
|
25
|
+
imageEnabled: boolean;
|
|
26
|
+
// (undocumented)
|
|
27
|
+
isVisible: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// (No @packageDocumentation comment for this package)
|
|
31
|
+
|
|
32
|
+
```
|