@atlaskit/editor-plugin-decorations 8.0.1 → 8.0.3

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +16 -2
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @atlaskit/editor-plugin-decorations
2
2
 
3
+ ## 8.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`5985f38f7104e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5985f38f7104e) -
14
+ Update README.md and 0-intro.tsx
15
+
3
16
  ## 8.0.1
4
17
 
5
18
  ### Patch Changes
package/README.md CHANGED
@@ -1,10 +1,23 @@
1
- # Editor plugin decorations
1
+ # Editor Plugin Decorations
2
2
 
3
3
  Decorations plugin for @atlaskit/editor-core
4
4
 
5
5
  **Note:** This component is designed for internal Atlassian development.
6
6
  External contributors will be able to use this component but will not be able to submit issues.
7
7
 
8
+ ## Overview
9
+
10
+ The Decorations plugin provides visual styling capabilities for editor nodes through ProseMirror decorations. It enables hover effects and danger state styling on nodes, such as layouts, tables, and other container elements. The plugin integrates seamlessly with `@atlaskit/editor-core` to manage decoration state and lifecycle.
11
+
12
+ ## Key features
13
+
14
+ - **Node decorations** - Apply visual decorations to specific nodes in the editor
15
+ - **Hover effects** - Add hover-based styling to nodes and their contents
16
+ - **Danger state styling** - Highlight nodes with danger styling (e.g., for destructive actions)
17
+ - **Table support** - Apply decorations to tables and their individual cells
18
+ - **Layout support** - Apply decorations to layout sections and columns with nested content handling
19
+ - **State management** - Automatic decoration state tracking and cleanup
20
+
8
21
  ## Install
9
22
  ---
10
23
  - **Install** - *yarn add @atlaskit/editor-plugin-decorations*
@@ -25,6 +38,7 @@ Please see [Atlaskit - Editor plugin decorations](https://atlaskit.atlassian.com
25
38
  ## Support
26
39
  ---
27
40
  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.
41
+
28
42
  ## License
29
43
  ---
30
- Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.
44
+ Please see [Atlassian Frontend - License](https://hello.atlassian.net/wiki/spaces/AF/pages/2589099144/Documentation#License) for more licensing information.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-decorations",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "description": "Decorations plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -21,11 +21,11 @@
21
21
  "dependencies": {
22
22
  "@atlaskit/editor-prosemirror": "^7.3.0",
23
23
  "@atlaskit/editor-tables": "^2.9.0",
24
- "@atlaskit/tmp-editor-statsig": "^36.0.0",
24
+ "@atlaskit/tmp-editor-statsig": "^37.0.0",
25
25
  "@babel/runtime": "^7.0.0"
26
26
  },
27
27
  "peerDependencies": {
28
- "@atlaskit/editor-common": "^112.0.0",
28
+ "@atlaskit/editor-common": "^112.2.0",
29
29
  "react": "^18.2.0",
30
30
  "react-dom": "^18.2.0"
31
31
  },