@atlaskit/editor-plugin-panel 0.2.6 → 0.3.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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#68790](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68790) [`c6d8affc52d1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c6d8affc52d1) - Support maybeAdd plugins in usePreset. Add typing support for universal preset.
8
+
9
+ Now when using the editor API with the universal preset
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 0.2.7
16
+
17
+ ### Patch Changes
18
+
19
+ - [#67948](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67948) [`28fcdf6793a4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/28fcdf6793a4) - Expand/collapse for panel and table color pickers
20
+
3
21
  ## 0.2.6
4
22
 
5
23
  ### Patch Changes
@@ -195,6 +195,7 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
195
195
  var colorPicker = {
196
196
  id: 'editor.panel.colorPicker',
197
197
  title: formatMessage(_message.messages.backgroundColor),
198
+ isAriaExpanded: true,
198
199
  type: 'select',
199
200
  selectType: 'color',
200
201
  defaultValue: defaultPalette,
@@ -185,6 +185,7 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
185
185
  const colorPicker = {
186
186
  id: 'editor.panel.colorPicker',
187
187
  title: formatMessage(messages.backgroundColor),
188
+ isAriaExpanded: true,
188
189
  type: 'select',
189
190
  selectType: 'color',
190
191
  defaultValue: defaultPalette,
@@ -188,6 +188,7 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
188
188
  var colorPicker = {
189
189
  id: 'editor.panel.colorPicker',
190
190
  title: formatMessage(messages.backgroundColor),
191
+ isAriaExpanded: true,
191
192
  type: 'select',
192
193
  selectType: 'color',
193
194
  defaultValue: defaultPalette,
@@ -1,3 +1,3 @@
1
1
  export { default as panelPlugin } from './plugin';
2
2
  export type { PanelPlugin } from './plugin';
3
- export type { PanelPluginConfig } from './types';
3
+ export type { PanelPluginConfig, PanelPluginOptions } from './types';
@@ -1,3 +1,3 @@
1
1
  export { default as panelPlugin } from './plugin';
2
2
  export type { PanelPlugin } from './plugin';
3
- export type { PanelPluginConfig } from './types';
3
+ export type { PanelPluginConfig, PanelPluginOptions } from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-panel",
3
- "version": "0.2.6",
3
+ "version": "0.3.0",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/adf-schema": "^35.3.0",
37
- "@atlaskit/editor-common": "^77.0.0",
37
+ "@atlaskit/editor-common": "^77.1.0",
38
38
  "@atlaskit/editor-palette": "1.5.2",
39
39
  "@atlaskit/editor-plugin-analytics": "^0.4.0",
40
40
  "@atlaskit/editor-plugin-decorations": "^0.2.0",
@@ -52,18 +52,11 @@
52
52
  "react-intl-next": "npm:react-intl@^5.18.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@af/integration-testing": "*",
56
- "@af/visual-regression": "*",
57
- "@atlaskit/editor-plugin-emoji": "^1.0.0",
58
55
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
59
- "@atlaskit/ssr": "*",
60
56
  "@atlaskit/util-data-test": "^17.8.0",
61
- "@atlaskit/visual-regression": "*",
62
57
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
63
- "@testing-library/react": "^12.1.5",
64
58
  "react-dom": "^16.8.0",
65
- "typescript": "~4.9.5",
66
- "wait-for-expect": "^1.2.0"
59
+ "typescript": "~4.9.5"
67
60
  },
68
61
  "techstack": {
69
62
  "@atlassian/frontend": {
@@ -108,5 +101,10 @@
108
101
  "platform.editor.allow-extended-panel": {
109
102
  "type": "boolean"
110
103
  }
104
+ },
105
+ "stricter": {
106
+ "no-unused-dependencies": {
107
+ "checkDevDependencies": true
108
+ }
111
109
  }
112
110
  }