@vaadin/rich-text-editor 25.0.0-beta7 → 25.0.0-rc1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/rich-text-editor",
3
- "version": "25.0.0-beta7",
3
+ "version": "25.0.0-rc1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,22 +35,22 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "25.0.0-beta7",
39
- "@vaadin/button": "25.0.0-beta7",
40
- "@vaadin/component-base": "25.0.0-beta7",
41
- "@vaadin/confirm-dialog": "25.0.0-beta7",
42
- "@vaadin/overlay": "25.0.0-beta7",
43
- "@vaadin/text-field": "25.0.0-beta7",
44
- "@vaadin/tooltip": "25.0.0-beta7",
45
- "@vaadin/vaadin-themable-mixin": "25.0.0-beta7",
38
+ "@vaadin/a11y-base": "25.0.0-rc1",
39
+ "@vaadin/button": "25.0.0-rc1",
40
+ "@vaadin/component-base": "25.0.0-rc1",
41
+ "@vaadin/confirm-dialog": "25.0.0-rc1",
42
+ "@vaadin/overlay": "25.0.0-rc1",
43
+ "@vaadin/text-field": "25.0.0-rc1",
44
+ "@vaadin/tooltip": "25.0.0-rc1",
45
+ "@vaadin/vaadin-themable-mixin": "25.0.0-rc1",
46
46
  "lit": "^3.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@vaadin/a11y-base": "25.0.0-alpha17",
50
- "@vaadin/chai-plugins": "25.0.0-beta7",
51
- "@vaadin/test-runner-commands": "25.0.0-beta7",
50
+ "@vaadin/chai-plugins": "25.0.0-rc1",
51
+ "@vaadin/test-runner-commands": "25.0.0-rc1",
52
52
  "@vaadin/testing-helpers": "^2.0.0",
53
- "@vaadin/vaadin-lumo-styles": "25.0.0-beta7",
53
+ "@vaadin/vaadin-lumo-styles": "25.0.0-rc1",
54
54
  "sinon": "^21.0.0"
55
55
  },
56
56
  "cvdlName": "vaadin-rich-text-editor",
@@ -58,5 +58,5 @@
58
58
  "web-types.json",
59
59
  "web-types.lit.json"
60
60
  ],
61
- "gitHead": "f12f14c37d2c0a72f708baff4a95230168d58dcc"
61
+ "gitHead": "cea5e86ad18824e5631b63c11150b4d7701869c5"
62
62
  }
@@ -92,6 +92,25 @@ export interface RichTextEditorEventMap extends HTMLElementEventMap, RichTextEdi
92
92
  * `toolbar-button-code-block` | The "code block" button
93
93
  * `toolbar-button-clean` | The "clean formatting" button
94
94
  *
95
+ * The following custom CSS properties are available for styling:
96
+ *
97
+ * Custom CSS property |
98
+ * :-------------------------------|
99
+ * `--vaadin-rich-text-editor-background` |
100
+ * `--vaadin-rich-text-editor-content-color` |
101
+ * `--vaadin-rich-text-editor-content-font-size` |
102
+ * `--vaadin-rich-text-editor-content-line-height` |
103
+ * `--vaadin-rich-text-editor-content-padding` |
104
+ * `--vaadin-rich-text-editor-toolbar-background` |
105
+ * `--vaadin-rich-text-editor-toolbar-gap` |
106
+ * `--vaadin-rich-text-editor-toolbar-padding` |
107
+ * `--vaadin-rich-text-editor-toolbar-button-background` |
108
+ * `--vaadin-rich-text-editor-toolbar-button-border-width` |
109
+ * `--vaadin-rich-text-editor-toolbar-button-border-color` |
110
+ * `--vaadin-rich-text-editor-toolbar-button-border-radius` |
111
+ * `--vaadin-rich-text-editor-toolbar-button-text-color` |
112
+ * `--vaadin-rich-text-editor-toolbar-button-padding` |
113
+ *
95
114
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
96
115
  *
97
116
  * @fires {Event} change - Fired when the user commits a value change.
@@ -91,6 +91,25 @@ import { RichTextEditorMixin } from './vaadin-rich-text-editor-mixin.js';
91
91
  * `toolbar-button-code-block` | The "code block" button
92
92
  * `toolbar-button-clean` | The "clean formatting" button
93
93
  *
94
+ * The following custom CSS properties are available for styling:
95
+ *
96
+ * Custom CSS property |
97
+ * :-------------------------------|
98
+ * `--vaadin-rich-text-editor-background` |
99
+ * `--vaadin-rich-text-editor-content-color` |
100
+ * `--vaadin-rich-text-editor-content-font-size` |
101
+ * `--vaadin-rich-text-editor-content-line-height` |
102
+ * `--vaadin-rich-text-editor-content-padding` |
103
+ * `--vaadin-rich-text-editor-toolbar-background` |
104
+ * `--vaadin-rich-text-editor-toolbar-gap` |
105
+ * `--vaadin-rich-text-editor-toolbar-padding` |
106
+ * `--vaadin-rich-text-editor-toolbar-button-background` |
107
+ * `--vaadin-rich-text-editor-toolbar-button-border-width` |
108
+ * `--vaadin-rich-text-editor-toolbar-button-border-color` |
109
+ * `--vaadin-rich-text-editor-toolbar-button-border-radius` |
110
+ * `--vaadin-rich-text-editor-toolbar-button-text-color` |
111
+ * `--vaadin-rich-text-editor-toolbar-button-padding` |
112
+ *
94
113
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
95
114
  *
96
115
  * @fires {Event} change - Fired when the user commits a value change.
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/rich-text-editor",
4
- "version": "25.0.0-beta7",
4
+ "version": "25.0.0-rc1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-rich-text-editor",
11
- "description": "`<vaadin-rich-text-editor>` is a Web Component for rich text editing.\nIt provides a set of toolbar controls to apply formatting on the content,\nwhich is stored and can be accessed as HTML5 or JSON string.\n\n```html\n<vaadin-rich-text-editor></vaadin-rich-text-editor>\n```\n\nVaadin Rich Text Editor focuses on the structure, not the styling of content.\nTherefore, the semantic HTML5 tags such as `<h1>`, `<strong>` and `<ul>` are used,\nand CSS usage is limited to most common cases, like horizontal text alignment.\n\n### Styling\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-------------|------------------------------\n`disabled` | Set to a disabled text editor\n`readonly` | Set to a readonly text editor\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n-------------------------------------|----------------\n`content` | The content wrapper\n`toolbar` | The toolbar wrapper\n`toolbar-group` | The group for toolbar controls\n`toolbar-group-history` | The group for history controls\n`toolbar-group-emphasis` | The group for emphasis controls\n`toolbar-group-heading` | The group for heading controls\n`toolbar-group-style` | The group for style controls\n`toolbar-group-glyph-transformation` | The group for glyph transformation controls\n`toolbar-group-list` | The group for list controls\n`toolbar-group-indent` | The group for indentation controls\n`toolbar-group-alignment` | The group for alignment controls\n`toolbar-group-rich-text` | The group for rich text controls\n`toolbar-group-block` | The group for preformatted block controls\n`toolbar-group-format` | The group for format controls\n`toolbar-button` | The toolbar button (applies to all buttons)\n`toolbar-button-pressed` | The toolbar button in pressed state (applies to all buttons)\n`toolbar-button-undo` | The \"undo\" button\n`toolbar-button-redo` | The \"redo\" button\n`toolbar-button-bold` | The \"bold\" button\n`toolbar-button-italic` | The \"italic\" button\n`toolbar-button-underline` | The \"underline\" button\n`toolbar-button-strike` | The \"strike-through\" button\n`toolbar-button-color` | The \"color\" button\n`toolbar-button-background` | The \"background\" button\n`toolbar-button-h1` | The \"header 1\" button\n`toolbar-button-h2` | The \"header 2\" button\n`toolbar-button-h3` | The \"header 3\" button\n`toolbar-button-subscript` | The \"subscript\" button\n`toolbar-button-superscript` | The \"superscript\" button\n`toolbar-button-list-ordered` | The \"ordered list\" button\n`toolbar-button-list-bullet` | The \"bullet list\" button\n`toolbar-button-outdent` | The \"decrease indentation\" button\n`toolbar-button-indent` | The \"increase indentation\" button\n`toolbar-button-align-left` | The \"left align\" button\n`toolbar-button-align-center` | The \"center align\" button\n`toolbar-button-align-right` | The \"right align\" button\n`toolbar-button-image` | The \"image\" button\n`toolbar-button-link` | The \"link\" button\n`toolbar-button-blockquote` | The \"blockquote\" button\n`toolbar-button-code-block` | The \"code block\" button\n`toolbar-button-clean` | The \"clean formatting\" button\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
11
+ "description": "`<vaadin-rich-text-editor>` is a Web Component for rich text editing.\nIt provides a set of toolbar controls to apply formatting on the content,\nwhich is stored and can be accessed as HTML5 or JSON string.\n\n```html\n<vaadin-rich-text-editor></vaadin-rich-text-editor>\n```\n\nVaadin Rich Text Editor focuses on the structure, not the styling of content.\nTherefore, the semantic HTML5 tags such as `<h1>`, `<strong>` and `<ul>` are used,\nand CSS usage is limited to most common cases, like horizontal text alignment.\n\n### Styling\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-------------|------------------------------\n`disabled` | Set to a disabled text editor\n`readonly` | Set to a readonly text editor\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n-------------------------------------|----------------\n`content` | The content wrapper\n`toolbar` | The toolbar wrapper\n`toolbar-group` | The group for toolbar controls\n`toolbar-group-history` | The group for history controls\n`toolbar-group-emphasis` | The group for emphasis controls\n`toolbar-group-heading` | The group for heading controls\n`toolbar-group-style` | The group for style controls\n`toolbar-group-glyph-transformation` | The group for glyph transformation controls\n`toolbar-group-list` | The group for list controls\n`toolbar-group-indent` | The group for indentation controls\n`toolbar-group-alignment` | The group for alignment controls\n`toolbar-group-rich-text` | The group for rich text controls\n`toolbar-group-block` | The group for preformatted block controls\n`toolbar-group-format` | The group for format controls\n`toolbar-button` | The toolbar button (applies to all buttons)\n`toolbar-button-pressed` | The toolbar button in pressed state (applies to all buttons)\n`toolbar-button-undo` | The \"undo\" button\n`toolbar-button-redo` | The \"redo\" button\n`toolbar-button-bold` | The \"bold\" button\n`toolbar-button-italic` | The \"italic\" button\n`toolbar-button-underline` | The \"underline\" button\n`toolbar-button-strike` | The \"strike-through\" button\n`toolbar-button-color` | The \"color\" button\n`toolbar-button-background` | The \"background\" button\n`toolbar-button-h1` | The \"header 1\" button\n`toolbar-button-h2` | The \"header 2\" button\n`toolbar-button-h3` | The \"header 3\" button\n`toolbar-button-subscript` | The \"subscript\" button\n`toolbar-button-superscript` | The \"superscript\" button\n`toolbar-button-list-ordered` | The \"ordered list\" button\n`toolbar-button-list-bullet` | The \"bullet list\" button\n`toolbar-button-outdent` | The \"decrease indentation\" button\n`toolbar-button-indent` | The \"increase indentation\" button\n`toolbar-button-align-left` | The \"left align\" button\n`toolbar-button-align-center` | The \"center align\" button\n`toolbar-button-align-right` | The \"right align\" button\n`toolbar-button-image` | The \"image\" button\n`toolbar-button-link` | The \"link\" button\n`toolbar-button-blockquote` | The \"blockquote\" button\n`toolbar-button-code-block` | The \"code block\" button\n`toolbar-button-clean` | The \"clean formatting\" button\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:-------------------------------|\n`--vaadin-rich-text-editor-background` |\n`--vaadin-rich-text-editor-content-color` |\n`--vaadin-rich-text-editor-content-font-size` |\n`--vaadin-rich-text-editor-content-line-height` |\n`--vaadin-rich-text-editor-content-padding` |\n`--vaadin-rich-text-editor-toolbar-background` |\n`--vaadin-rich-text-editor-toolbar-gap` |\n`--vaadin-rich-text-editor-toolbar-padding` |\n`--vaadin-rich-text-editor-toolbar-button-background` |\n`--vaadin-rich-text-editor-toolbar-button-border-width` |\n`--vaadin-rich-text-editor-toolbar-button-border-color` |\n`--vaadin-rich-text-editor-toolbar-button-border-radius` |\n`--vaadin-rich-text-editor-toolbar-button-text-color` |\n`--vaadin-rich-text-editor-toolbar-button-padding` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "value",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/rich-text-editor",
4
- "version": "25.0.0-beta7",
4
+ "version": "25.0.0-rc1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -16,7 +16,7 @@
16
16
  "elements": [
17
17
  {
18
18
  "name": "vaadin-rich-text-editor",
19
- "description": "`<vaadin-rich-text-editor>` is a Web Component for rich text editing.\nIt provides a set of toolbar controls to apply formatting on the content,\nwhich is stored and can be accessed as HTML5 or JSON string.\n\n```html\n<vaadin-rich-text-editor></vaadin-rich-text-editor>\n```\n\nVaadin Rich Text Editor focuses on the structure, not the styling of content.\nTherefore, the semantic HTML5 tags such as `<h1>`, `<strong>` and `<ul>` are used,\nand CSS usage is limited to most common cases, like horizontal text alignment.\n\n### Styling\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-------------|------------------------------\n`disabled` | Set to a disabled text editor\n`readonly` | Set to a readonly text editor\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n-------------------------------------|----------------\n`content` | The content wrapper\n`toolbar` | The toolbar wrapper\n`toolbar-group` | The group for toolbar controls\n`toolbar-group-history` | The group for history controls\n`toolbar-group-emphasis` | The group for emphasis controls\n`toolbar-group-heading` | The group for heading controls\n`toolbar-group-style` | The group for style controls\n`toolbar-group-glyph-transformation` | The group for glyph transformation controls\n`toolbar-group-list` | The group for list controls\n`toolbar-group-indent` | The group for indentation controls\n`toolbar-group-alignment` | The group for alignment controls\n`toolbar-group-rich-text` | The group for rich text controls\n`toolbar-group-block` | The group for preformatted block controls\n`toolbar-group-format` | The group for format controls\n`toolbar-button` | The toolbar button (applies to all buttons)\n`toolbar-button-pressed` | The toolbar button in pressed state (applies to all buttons)\n`toolbar-button-undo` | The \"undo\" button\n`toolbar-button-redo` | The \"redo\" button\n`toolbar-button-bold` | The \"bold\" button\n`toolbar-button-italic` | The \"italic\" button\n`toolbar-button-underline` | The \"underline\" button\n`toolbar-button-strike` | The \"strike-through\" button\n`toolbar-button-color` | The \"color\" button\n`toolbar-button-background` | The \"background\" button\n`toolbar-button-h1` | The \"header 1\" button\n`toolbar-button-h2` | The \"header 2\" button\n`toolbar-button-h3` | The \"header 3\" button\n`toolbar-button-subscript` | The \"subscript\" button\n`toolbar-button-superscript` | The \"superscript\" button\n`toolbar-button-list-ordered` | The \"ordered list\" button\n`toolbar-button-list-bullet` | The \"bullet list\" button\n`toolbar-button-outdent` | The \"decrease indentation\" button\n`toolbar-button-indent` | The \"increase indentation\" button\n`toolbar-button-align-left` | The \"left align\" button\n`toolbar-button-align-center` | The \"center align\" button\n`toolbar-button-align-right` | The \"right align\" button\n`toolbar-button-image` | The \"image\" button\n`toolbar-button-link` | The \"link\" button\n`toolbar-button-blockquote` | The \"blockquote\" button\n`toolbar-button-code-block` | The \"code block\" button\n`toolbar-button-clean` | The \"clean formatting\" button\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
19
+ "description": "`<vaadin-rich-text-editor>` is a Web Component for rich text editing.\nIt provides a set of toolbar controls to apply formatting on the content,\nwhich is stored and can be accessed as HTML5 or JSON string.\n\n```html\n<vaadin-rich-text-editor></vaadin-rich-text-editor>\n```\n\nVaadin Rich Text Editor focuses on the structure, not the styling of content.\nTherefore, the semantic HTML5 tags such as `<h1>`, `<strong>` and `<ul>` are used,\nand CSS usage is limited to most common cases, like horizontal text alignment.\n\n### Styling\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-------------|------------------------------\n`disabled` | Set to a disabled text editor\n`readonly` | Set to a readonly text editor\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n-------------------------------------|----------------\n`content` | The content wrapper\n`toolbar` | The toolbar wrapper\n`toolbar-group` | The group for toolbar controls\n`toolbar-group-history` | The group for history controls\n`toolbar-group-emphasis` | The group for emphasis controls\n`toolbar-group-heading` | The group for heading controls\n`toolbar-group-style` | The group for style controls\n`toolbar-group-glyph-transformation` | The group for glyph transformation controls\n`toolbar-group-list` | The group for list controls\n`toolbar-group-indent` | The group for indentation controls\n`toolbar-group-alignment` | The group for alignment controls\n`toolbar-group-rich-text` | The group for rich text controls\n`toolbar-group-block` | The group for preformatted block controls\n`toolbar-group-format` | The group for format controls\n`toolbar-button` | The toolbar button (applies to all buttons)\n`toolbar-button-pressed` | The toolbar button in pressed state (applies to all buttons)\n`toolbar-button-undo` | The \"undo\" button\n`toolbar-button-redo` | The \"redo\" button\n`toolbar-button-bold` | The \"bold\" button\n`toolbar-button-italic` | The \"italic\" button\n`toolbar-button-underline` | The \"underline\" button\n`toolbar-button-strike` | The \"strike-through\" button\n`toolbar-button-color` | The \"color\" button\n`toolbar-button-background` | The \"background\" button\n`toolbar-button-h1` | The \"header 1\" button\n`toolbar-button-h2` | The \"header 2\" button\n`toolbar-button-h3` | The \"header 3\" button\n`toolbar-button-subscript` | The \"subscript\" button\n`toolbar-button-superscript` | The \"superscript\" button\n`toolbar-button-list-ordered` | The \"ordered list\" button\n`toolbar-button-list-bullet` | The \"bullet list\" button\n`toolbar-button-outdent` | The \"decrease indentation\" button\n`toolbar-button-indent` | The \"increase indentation\" button\n`toolbar-button-align-left` | The \"left align\" button\n`toolbar-button-align-center` | The \"center align\" button\n`toolbar-button-align-right` | The \"right align\" button\n`toolbar-button-image` | The \"image\" button\n`toolbar-button-link` | The \"link\" button\n`toolbar-button-blockquote` | The \"blockquote\" button\n`toolbar-button-code-block` | The \"code block\" button\n`toolbar-button-clean` | The \"clean formatting\" button\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:-------------------------------|\n`--vaadin-rich-text-editor-background` |\n`--vaadin-rich-text-editor-content-color` |\n`--vaadin-rich-text-editor-content-font-size` |\n`--vaadin-rich-text-editor-content-line-height` |\n`--vaadin-rich-text-editor-content-padding` |\n`--vaadin-rich-text-editor-toolbar-background` |\n`--vaadin-rich-text-editor-toolbar-gap` |\n`--vaadin-rich-text-editor-toolbar-padding` |\n`--vaadin-rich-text-editor-toolbar-button-background` |\n`--vaadin-rich-text-editor-toolbar-button-border-width` |\n`--vaadin-rich-text-editor-toolbar-button-border-color` |\n`--vaadin-rich-text-editor-toolbar-button-border-radius` |\n`--vaadin-rich-text-editor-toolbar-button-text-color` |\n`--vaadin-rich-text-editor-toolbar-button-padding` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {