@atlaskit/editor-plugin-block-type 1.0.3 → 3.0.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/dist/cjs/i18n/cs.js +2 -3
  3. package/dist/cjs/i18n/da.js +2 -3
  4. package/dist/cjs/i18n/de.js +2 -3
  5. package/dist/cjs/i18n/en.js +2 -3
  6. package/dist/cjs/i18n/en_GB.js +2 -3
  7. package/dist/cjs/i18n/en_ZZ.js +2 -3
  8. package/dist/cjs/i18n/es.js +2 -3
  9. package/dist/cjs/i18n/fi.js +2 -3
  10. package/dist/cjs/i18n/fr.js +2 -3
  11. package/dist/cjs/i18n/hu.js +2 -3
  12. package/dist/cjs/i18n/it.js +2 -3
  13. package/dist/cjs/i18n/ja.js +2 -3
  14. package/dist/cjs/i18n/ko.js +2 -3
  15. package/dist/cjs/i18n/nb.js +2 -3
  16. package/dist/cjs/i18n/nl.js +8 -9
  17. package/dist/cjs/i18n/pl.js +2 -3
  18. package/dist/cjs/i18n/pt_BR.js +2 -3
  19. package/dist/cjs/i18n/ru.js +2 -3
  20. package/dist/cjs/i18n/sv.js +2 -3
  21. package/dist/cjs/i18n/th.js +2 -3
  22. package/dist/cjs/i18n/tr.js +2 -3
  23. package/dist/cjs/i18n/uk.js +2 -3
  24. package/dist/cjs/i18n/vi.js +2 -3
  25. package/dist/cjs/i18n/zh.js +2 -3
  26. package/dist/cjs/i18n/zh_TW.js +2 -3
  27. package/dist/cjs/plugin/block-types.js +29 -45
  28. package/dist/cjs/plugin/commands/block-type.js +95 -60
  29. package/dist/cjs/plugin/commands/delete-and-move-cursor.js +2 -3
  30. package/dist/cjs/plugin/commands/index.js +1 -8
  31. package/dist/cjs/plugin/consts.js +1 -2
  32. package/dist/cjs/plugin/index.js +26 -26
  33. package/dist/cjs/plugin/pm-plugins/input-rule.js +1 -2
  34. package/dist/cjs/plugin/pm-plugins/main.js +12 -12
  35. package/dist/cjs/plugin/styles.js +2 -3
  36. package/dist/cjs/plugin/ui/ToolbarBlockType/blocktype-button.js +5 -13
  37. package/dist/cjs/plugin/ui/ToolbarBlockType/index.js +2 -3
  38. package/dist/cjs/plugin/ui/ToolbarBlockType/styled.js +7 -14
  39. package/dist/cjs/plugin/utils.js +3 -6
  40. package/dist/es2019/i18n/nl.js +6 -6
  41. package/dist/es2019/plugin/block-types.js +1 -1
  42. package/dist/es2019/plugin/commands/block-type.js +101 -46
  43. package/dist/es2019/plugin/commands/index.js +1 -6
  44. package/dist/es2019/plugin/index.js +18 -19
  45. package/dist/es2019/plugin/pm-plugins/main.js +10 -8
  46. package/dist/es2019/plugin/ui/ToolbarBlockType/blocktype-button.js +3 -9
  47. package/dist/es2019/plugin/ui/ToolbarBlockType/index.js +1 -1
  48. package/dist/esm/i18n/nl.js +6 -6
  49. package/dist/esm/plugin/block-types.js +1 -1
  50. package/dist/esm/plugin/commands/block-type.js +90 -53
  51. package/dist/esm/plugin/commands/index.js +1 -6
  52. package/dist/esm/plugin/index.js +20 -19
  53. package/dist/esm/plugin/pm-plugins/main.js +10 -8
  54. package/dist/esm/plugin/ui/ToolbarBlockType/blocktype-button.js +3 -9
  55. package/dist/esm/plugin/ui/ToolbarBlockType/index.js +1 -1
  56. package/dist/types/index.d.ts +1 -0
  57. package/dist/types/plugin/block-types.d.ts +1 -0
  58. package/dist/types/plugin/commands/block-type.d.ts +8 -6
  59. package/dist/types/plugin/commands/index.d.ts +0 -5
  60. package/dist/types/plugin/index.d.ts +5 -2
  61. package/dist/types/plugin/pm-plugins/main.d.ts +3 -2
  62. package/dist/types/plugin/ui/ToolbarBlockType/blocktype-button.d.ts +0 -7
  63. package/dist/types/plugin/ui/ToolbarBlockType/index.d.ts +2 -1
  64. package/dist/types-ts4.5/index.d.ts +1 -0
  65. package/dist/types-ts4.5/plugin/block-types.d.ts +1 -0
  66. package/dist/types-ts4.5/plugin/commands/block-type.d.ts +8 -6
  67. package/dist/types-ts4.5/plugin/commands/index.d.ts +0 -5
  68. package/dist/types-ts4.5/plugin/index.d.ts +5 -2
  69. package/dist/types-ts4.5/plugin/pm-plugins/main.d.ts +3 -2
  70. package/dist/types-ts4.5/plugin/ui/ToolbarBlockType/blocktype-button.d.ts +0 -7
  71. package/dist/types-ts4.5/plugin/ui/ToolbarBlockType/index.d.ts +2 -1
  72. package/package.json +3 -4
  73. package/report.api.md +17 -1
  74. package/tmp/api-report-tmp.d.ts +7 -1
  75. package/dist/cjs/messages.js +0 -19
  76. package/dist/cjs/plugin/messages.js +0 -160
  77. package/dist/cjs/plugin/ui/ToolbarBlockType/toolbar-messages.js +0 -15
  78. package/dist/es2019/messages.js +0 -2
  79. package/dist/es2019/plugin/messages.js +0 -153
  80. package/dist/es2019/plugin/ui/ToolbarBlockType/toolbar-messages.js +0 -8
  81. package/dist/esm/messages.js +0 -2
  82. package/dist/esm/plugin/messages.js +0 -153
  83. package/dist/esm/plugin/ui/ToolbarBlockType/toolbar-messages.js +0 -8
  84. package/dist/types/messages.d.ts +0 -2
  85. package/dist/types/plugin/messages.d.ts +0 -152
  86. package/dist/types/plugin/ui/ToolbarBlockType/toolbar-messages.d.ts +0 -7
  87. package/dist/types-ts4.5/messages.d.ts +0 -2
  88. package/dist/types-ts4.5/plugin/messages.d.ts +0 -152
  89. package/dist/types-ts4.5/plugin/ui/ToolbarBlockType/toolbar-messages.d.ts +0 -7
  90. package/messages/package.json +0 -15
@@ -1,160 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.messages = void 0;
7
- var _reactIntlNext = require("react-intl-next");
8
- var messages = (0, _reactIntlNext.defineMessages)({
9
- normal: {
10
- id: 'fabric.editor.normal',
11
- defaultMessage: 'Normal text',
12
- description: 'This is the default text style'
13
- },
14
- heading1: {
15
- id: 'fabric.editor.heading1',
16
- defaultMessage: 'Heading 1',
17
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
18
- },
19
- heading1Description: {
20
- id: 'fabric.editor.heading1Description',
21
- defaultMessage: 'Use this for a top level heading',
22
- description: 'Description of the main heading, heading 1'
23
- },
24
- heading2: {
25
- id: 'fabric.editor.heading2',
26
- defaultMessage: 'Heading 2',
27
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
28
- },
29
- heading2Description: {
30
- id: 'fabric.editor.heading2Description',
31
- defaultMessage: 'Use this for key sections',
32
- description: 'Description of a subtitle heading or secondary heading'
33
- },
34
- heading3: {
35
- id: 'fabric.editor.heading3',
36
- defaultMessage: 'Heading 3',
37
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
38
- },
39
- heading3Description: {
40
- id: 'fabric.editor.heading3Description',
41
- defaultMessage: 'Use this for sub sections and group headings',
42
- description: ''
43
- },
44
- heading4: {
45
- id: 'fabric.editor.heading4',
46
- defaultMessage: 'Heading 4',
47
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
48
- },
49
- heading4Description: {
50
- id: 'fabric.editor.heading4Description',
51
- defaultMessage: 'Use this for deep headings',
52
- description: ''
53
- },
54
- heading5: {
55
- id: 'fabric.editor.heading5',
56
- defaultMessage: 'Heading 5',
57
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
58
- },
59
- heading5Description: {
60
- id: 'fabric.editor.heading5Description',
61
- defaultMessage: 'Use this for grouping list items',
62
- description: ''
63
- },
64
- heading6: {
65
- id: 'fabric.editor.heading6',
66
- defaultMessage: 'Heading 6',
67
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
68
- },
69
- heading6Description: {
70
- id: 'fabric.editor.heading6Description',
71
- defaultMessage: 'Use this for low level headings',
72
- description: ''
73
- },
74
- blockquote: {
75
- id: 'fabric.editor.blockquote2',
76
- defaultMessage: 'Quote',
77
- description: 'Quote some text'
78
- },
79
- blockquoteDescription: {
80
- id: 'fabric.editor.blockquote.description',
81
- defaultMessage: 'Insert a quote or citation',
82
- description: 'Quote some text'
83
- },
84
- codeblock: {
85
- id: 'fabric.editor.codeblock',
86
- defaultMessage: 'Code snippet',
87
- description: 'Insert a snippet/segment of code (code block)'
88
- },
89
- codeblockDescription: {
90
- id: 'fabric.editor.codeblock.description',
91
- defaultMessage: 'Display code with syntax highlighting',
92
- description: 'Insert a snippet/segment of code (code block)'
93
- },
94
- infoPanel: {
95
- id: 'fabric.editor.infoPanel',
96
- defaultMessage: 'Info panel',
97
- description: 'Visually distinguishes your text by adding a background colour (blue, purple, yellow, green, red)'
98
- },
99
- infoPanelDescription: {
100
- id: 'fabric.editor.infoPanel.description',
101
- defaultMessage: 'Highlight information in a colored panel',
102
- description: 'Visually distinguishes your text by adding a background colour (blue, purple, yellow, green, red)'
103
- },
104
- notePanel: {
105
- id: 'fabric.editor.notePanel',
106
- defaultMessage: 'Note panel',
107
- description: 'Visually distinguishes your text by adding a note panel'
108
- },
109
- notePanelDescription: {
110
- id: 'fabric.editor.notePanel.description',
111
- defaultMessage: 'Add a note in a colored panel',
112
- description: 'Visually distinguishes your text by adding a note panel'
113
- },
114
- successPanel: {
115
- id: 'fabric.editor.successPanel',
116
- defaultMessage: 'Success panel',
117
- description: 'Visually distinguishes your text by adding a success panel'
118
- },
119
- successPanelDescription: {
120
- id: 'fabric.editor.successPanel.description',
121
- defaultMessage: 'Add tips in a colored panel',
122
- description: 'Visually distinguishes your text by adding a success panel'
123
- },
124
- warningPanel: {
125
- id: 'fabric.editor.warningPanel',
126
- defaultMessage: 'Warning panel',
127
- description: 'Visually distinguishes your text by adding a warning panel'
128
- },
129
- warningPanelDescription: {
130
- id: 'fabric.editor.warningPanel.description',
131
- defaultMessage: 'Add a note of caution in a colored panel',
132
- description: 'Visually distinguishes your text by adding a warning panel'
133
- },
134
- errorPanel: {
135
- id: 'fabric.editor.errorPanel',
136
- defaultMessage: 'Error panel',
137
- description: 'Visually distinguishes your text by adding a error panel'
138
- },
139
- errorPanelDescription: {
140
- id: 'fabric.editor.errorPanel.description',
141
- defaultMessage: 'Call out errors in a colored panel',
142
- description: 'Visually distinguishes your text by adding a error panel'
143
- },
144
- customPanel: {
145
- id: 'fabric.editor.customPanel',
146
- defaultMessage: 'Custom panel',
147
- description: 'Visually distinguishes your panel by adding a emoji icon and background color'
148
- },
149
- customPanelDescription: {
150
- id: 'fabric.editor.customPanel.description',
151
- defaultMessage: 'Add a note with an emoji and colored background',
152
- description: 'Visually distinguishes your panel by adding a emoji icon and background color '
153
- },
154
- other: {
155
- id: 'fabric.editor.other',
156
- defaultMessage: 'Others...',
157
- description: 'Other text formatting'
158
- }
159
- });
160
- exports.messages = messages;
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.toolbarMessages = void 0;
7
- var _reactIntlNext = require("react-intl-next");
8
- var toolbarMessages = (0, _reactIntlNext.defineMessages)({
9
- textStyles: {
10
- id: 'fabric.editor.textStyles',
11
- defaultMessage: 'Text styles',
12
- description: 'Menu provides access to various heading styles or normal text'
13
- }
14
- });
15
- exports.toolbarMessages = toolbarMessages;
@@ -1,2 +0,0 @@
1
- export { messages } from './plugin/messages';
2
- export { toolbarMessages } from './plugin/ui/ToolbarBlockType/toolbar-messages';
@@ -1,153 +0,0 @@
1
- import { defineMessages } from 'react-intl-next';
2
- export const messages = defineMessages({
3
- normal: {
4
- id: 'fabric.editor.normal',
5
- defaultMessage: 'Normal text',
6
- description: 'This is the default text style'
7
- },
8
- heading1: {
9
- id: 'fabric.editor.heading1',
10
- defaultMessage: 'Heading 1',
11
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
12
- },
13
- heading1Description: {
14
- id: 'fabric.editor.heading1Description',
15
- defaultMessage: 'Use this for a top level heading',
16
- description: 'Description of the main heading, heading 1'
17
- },
18
- heading2: {
19
- id: 'fabric.editor.heading2',
20
- defaultMessage: 'Heading 2',
21
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
22
- },
23
- heading2Description: {
24
- id: 'fabric.editor.heading2Description',
25
- defaultMessage: 'Use this for key sections',
26
- description: 'Description of a subtitle heading or secondary heading'
27
- },
28
- heading3: {
29
- id: 'fabric.editor.heading3',
30
- defaultMessage: 'Heading 3',
31
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
32
- },
33
- heading3Description: {
34
- id: 'fabric.editor.heading3Description',
35
- defaultMessage: 'Use this for sub sections and group headings',
36
- description: ''
37
- },
38
- heading4: {
39
- id: 'fabric.editor.heading4',
40
- defaultMessage: 'Heading 4',
41
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
42
- },
43
- heading4Description: {
44
- id: 'fabric.editor.heading4Description',
45
- defaultMessage: 'Use this for deep headings',
46
- description: ''
47
- },
48
- heading5: {
49
- id: 'fabric.editor.heading5',
50
- defaultMessage: 'Heading 5',
51
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
52
- },
53
- heading5Description: {
54
- id: 'fabric.editor.heading5Description',
55
- defaultMessage: 'Use this for grouping list items',
56
- description: ''
57
- },
58
- heading6: {
59
- id: 'fabric.editor.heading6',
60
- defaultMessage: 'Heading 6',
61
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
62
- },
63
- heading6Description: {
64
- id: 'fabric.editor.heading6Description',
65
- defaultMessage: 'Use this for low level headings',
66
- description: ''
67
- },
68
- blockquote: {
69
- id: 'fabric.editor.blockquote2',
70
- defaultMessage: 'Quote',
71
- description: 'Quote some text'
72
- },
73
- blockquoteDescription: {
74
- id: 'fabric.editor.blockquote.description',
75
- defaultMessage: 'Insert a quote or citation',
76
- description: 'Quote some text'
77
- },
78
- codeblock: {
79
- id: 'fabric.editor.codeblock',
80
- defaultMessage: 'Code snippet',
81
- description: 'Insert a snippet/segment of code (code block)'
82
- },
83
- codeblockDescription: {
84
- id: 'fabric.editor.codeblock.description',
85
- defaultMessage: 'Display code with syntax highlighting',
86
- description: 'Insert a snippet/segment of code (code block)'
87
- },
88
- infoPanel: {
89
- id: 'fabric.editor.infoPanel',
90
- defaultMessage: 'Info panel',
91
- description: 'Visually distinguishes your text by adding a background colour (blue, purple, yellow, green, red)'
92
- },
93
- infoPanelDescription: {
94
- id: 'fabric.editor.infoPanel.description',
95
- defaultMessage: 'Highlight information in a colored panel',
96
- description: 'Visually distinguishes your text by adding a background colour (blue, purple, yellow, green, red)'
97
- },
98
- notePanel: {
99
- id: 'fabric.editor.notePanel',
100
- defaultMessage: 'Note panel',
101
- description: 'Visually distinguishes your text by adding a note panel'
102
- },
103
- notePanelDescription: {
104
- id: 'fabric.editor.notePanel.description',
105
- defaultMessage: 'Add a note in a colored panel',
106
- description: 'Visually distinguishes your text by adding a note panel'
107
- },
108
- successPanel: {
109
- id: 'fabric.editor.successPanel',
110
- defaultMessage: 'Success panel',
111
- description: 'Visually distinguishes your text by adding a success panel'
112
- },
113
- successPanelDescription: {
114
- id: 'fabric.editor.successPanel.description',
115
- defaultMessage: 'Add tips in a colored panel',
116
- description: 'Visually distinguishes your text by adding a success panel'
117
- },
118
- warningPanel: {
119
- id: 'fabric.editor.warningPanel',
120
- defaultMessage: 'Warning panel',
121
- description: 'Visually distinguishes your text by adding a warning panel'
122
- },
123
- warningPanelDescription: {
124
- id: 'fabric.editor.warningPanel.description',
125
- defaultMessage: 'Add a note of caution in a colored panel',
126
- description: 'Visually distinguishes your text by adding a warning panel'
127
- },
128
- errorPanel: {
129
- id: 'fabric.editor.errorPanel',
130
- defaultMessage: 'Error panel',
131
- description: 'Visually distinguishes your text by adding a error panel'
132
- },
133
- errorPanelDescription: {
134
- id: 'fabric.editor.errorPanel.description',
135
- defaultMessage: 'Call out errors in a colored panel',
136
- description: 'Visually distinguishes your text by adding a error panel'
137
- },
138
- customPanel: {
139
- id: 'fabric.editor.customPanel',
140
- defaultMessage: 'Custom panel',
141
- description: 'Visually distinguishes your panel by adding a emoji icon and background color'
142
- },
143
- customPanelDescription: {
144
- id: 'fabric.editor.customPanel.description',
145
- defaultMessage: 'Add a note with an emoji and colored background',
146
- description: 'Visually distinguishes your panel by adding a emoji icon and background color '
147
- },
148
- other: {
149
- id: 'fabric.editor.other',
150
- defaultMessage: 'Others...',
151
- description: 'Other text formatting'
152
- }
153
- });
@@ -1,8 +0,0 @@
1
- import { defineMessages } from 'react-intl-next';
2
- export const toolbarMessages = defineMessages({
3
- textStyles: {
4
- id: 'fabric.editor.textStyles',
5
- defaultMessage: 'Text styles',
6
- description: 'Menu provides access to various heading styles or normal text'
7
- }
8
- });
@@ -1,2 +0,0 @@
1
- export { messages } from './plugin/messages';
2
- export { toolbarMessages } from './plugin/ui/ToolbarBlockType/toolbar-messages';
@@ -1,153 +0,0 @@
1
- import { defineMessages } from 'react-intl-next';
2
- export var messages = defineMessages({
3
- normal: {
4
- id: 'fabric.editor.normal',
5
- defaultMessage: 'Normal text',
6
- description: 'This is the default text style'
7
- },
8
- heading1: {
9
- id: 'fabric.editor.heading1',
10
- defaultMessage: 'Heading 1',
11
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
12
- },
13
- heading1Description: {
14
- id: 'fabric.editor.heading1Description',
15
- defaultMessage: 'Use this for a top level heading',
16
- description: 'Description of the main heading, heading 1'
17
- },
18
- heading2: {
19
- id: 'fabric.editor.heading2',
20
- defaultMessage: 'Heading 2',
21
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
22
- },
23
- heading2Description: {
24
- id: 'fabric.editor.heading2Description',
25
- defaultMessage: 'Use this for key sections',
26
- description: 'Description of a subtitle heading or secondary heading'
27
- },
28
- heading3: {
29
- id: 'fabric.editor.heading3',
30
- defaultMessage: 'Heading 3',
31
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
32
- },
33
- heading3Description: {
34
- id: 'fabric.editor.heading3Description',
35
- defaultMessage: 'Use this for sub sections and group headings',
36
- description: ''
37
- },
38
- heading4: {
39
- id: 'fabric.editor.heading4',
40
- defaultMessage: 'Heading 4',
41
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
42
- },
43
- heading4Description: {
44
- id: 'fabric.editor.heading4Description',
45
- defaultMessage: 'Use this for deep headings',
46
- description: ''
47
- },
48
- heading5: {
49
- id: 'fabric.editor.heading5',
50
- defaultMessage: 'Heading 5',
51
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
52
- },
53
- heading5Description: {
54
- id: 'fabric.editor.heading5Description',
55
- defaultMessage: 'Use this for grouping list items',
56
- description: ''
57
- },
58
- heading6: {
59
- id: 'fabric.editor.heading6',
60
- defaultMessage: 'Heading 6',
61
- description: 'Used for the title of a section of your document, headings run from 1 (largest size) to 6 (smallest size)'
62
- },
63
- heading6Description: {
64
- id: 'fabric.editor.heading6Description',
65
- defaultMessage: 'Use this for low level headings',
66
- description: ''
67
- },
68
- blockquote: {
69
- id: 'fabric.editor.blockquote2',
70
- defaultMessage: 'Quote',
71
- description: 'Quote some text'
72
- },
73
- blockquoteDescription: {
74
- id: 'fabric.editor.blockquote.description',
75
- defaultMessage: 'Insert a quote or citation',
76
- description: 'Quote some text'
77
- },
78
- codeblock: {
79
- id: 'fabric.editor.codeblock',
80
- defaultMessage: 'Code snippet',
81
- description: 'Insert a snippet/segment of code (code block)'
82
- },
83
- codeblockDescription: {
84
- id: 'fabric.editor.codeblock.description',
85
- defaultMessage: 'Display code with syntax highlighting',
86
- description: 'Insert a snippet/segment of code (code block)'
87
- },
88
- infoPanel: {
89
- id: 'fabric.editor.infoPanel',
90
- defaultMessage: 'Info panel',
91
- description: 'Visually distinguishes your text by adding a background colour (blue, purple, yellow, green, red)'
92
- },
93
- infoPanelDescription: {
94
- id: 'fabric.editor.infoPanel.description',
95
- defaultMessage: 'Highlight information in a colored panel',
96
- description: 'Visually distinguishes your text by adding a background colour (blue, purple, yellow, green, red)'
97
- },
98
- notePanel: {
99
- id: 'fabric.editor.notePanel',
100
- defaultMessage: 'Note panel',
101
- description: 'Visually distinguishes your text by adding a note panel'
102
- },
103
- notePanelDescription: {
104
- id: 'fabric.editor.notePanel.description',
105
- defaultMessage: 'Add a note in a colored panel',
106
- description: 'Visually distinguishes your text by adding a note panel'
107
- },
108
- successPanel: {
109
- id: 'fabric.editor.successPanel',
110
- defaultMessage: 'Success panel',
111
- description: 'Visually distinguishes your text by adding a success panel'
112
- },
113
- successPanelDescription: {
114
- id: 'fabric.editor.successPanel.description',
115
- defaultMessage: 'Add tips in a colored panel',
116
- description: 'Visually distinguishes your text by adding a success panel'
117
- },
118
- warningPanel: {
119
- id: 'fabric.editor.warningPanel',
120
- defaultMessage: 'Warning panel',
121
- description: 'Visually distinguishes your text by adding a warning panel'
122
- },
123
- warningPanelDescription: {
124
- id: 'fabric.editor.warningPanel.description',
125
- defaultMessage: 'Add a note of caution in a colored panel',
126
- description: 'Visually distinguishes your text by adding a warning panel'
127
- },
128
- errorPanel: {
129
- id: 'fabric.editor.errorPanel',
130
- defaultMessage: 'Error panel',
131
- description: 'Visually distinguishes your text by adding a error panel'
132
- },
133
- errorPanelDescription: {
134
- id: 'fabric.editor.errorPanel.description',
135
- defaultMessage: 'Call out errors in a colored panel',
136
- description: 'Visually distinguishes your text by adding a error panel'
137
- },
138
- customPanel: {
139
- id: 'fabric.editor.customPanel',
140
- defaultMessage: 'Custom panel',
141
- description: 'Visually distinguishes your panel by adding a emoji icon and background color'
142
- },
143
- customPanelDescription: {
144
- id: 'fabric.editor.customPanel.description',
145
- defaultMessage: 'Add a note with an emoji and colored background',
146
- description: 'Visually distinguishes your panel by adding a emoji icon and background color '
147
- },
148
- other: {
149
- id: 'fabric.editor.other',
150
- defaultMessage: 'Others...',
151
- description: 'Other text formatting'
152
- }
153
- });
@@ -1,8 +0,0 @@
1
- import { defineMessages } from 'react-intl-next';
2
- export var toolbarMessages = defineMessages({
3
- textStyles: {
4
- id: 'fabric.editor.textStyles',
5
- defaultMessage: 'Text styles',
6
- description: 'Menu provides access to various heading styles or normal text'
7
- }
8
- });
@@ -1,2 +0,0 @@
1
- export { messages } from './plugin/messages';
2
- export { toolbarMessages } from './plugin/ui/ToolbarBlockType/toolbar-messages';
@@ -1,152 +0,0 @@
1
- export declare const messages: {
2
- normal: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- heading1: {
8
- id: string;
9
- defaultMessage: string;
10
- description: string;
11
- };
12
- heading1Description: {
13
- id: string;
14
- defaultMessage: string;
15
- description: string;
16
- };
17
- heading2: {
18
- id: string;
19
- defaultMessage: string;
20
- description: string;
21
- };
22
- heading2Description: {
23
- id: string;
24
- defaultMessage: string;
25
- description: string;
26
- };
27
- heading3: {
28
- id: string;
29
- defaultMessage: string;
30
- description: string;
31
- };
32
- heading3Description: {
33
- id: string;
34
- defaultMessage: string;
35
- description: string;
36
- };
37
- heading4: {
38
- id: string;
39
- defaultMessage: string;
40
- description: string;
41
- };
42
- heading4Description: {
43
- id: string;
44
- defaultMessage: string;
45
- description: string;
46
- };
47
- heading5: {
48
- id: string;
49
- defaultMessage: string;
50
- description: string;
51
- };
52
- heading5Description: {
53
- id: string;
54
- defaultMessage: string;
55
- description: string;
56
- };
57
- heading6: {
58
- id: string;
59
- defaultMessage: string;
60
- description: string;
61
- };
62
- heading6Description: {
63
- id: string;
64
- defaultMessage: string;
65
- description: string;
66
- };
67
- blockquote: {
68
- id: string;
69
- defaultMessage: string;
70
- description: string;
71
- };
72
- blockquoteDescription: {
73
- id: string;
74
- defaultMessage: string;
75
- description: string;
76
- };
77
- codeblock: {
78
- id: string;
79
- defaultMessage: string;
80
- description: string;
81
- };
82
- codeblockDescription: {
83
- id: string;
84
- defaultMessage: string;
85
- description: string;
86
- };
87
- infoPanel: {
88
- id: string;
89
- defaultMessage: string;
90
- description: string;
91
- };
92
- infoPanelDescription: {
93
- id: string;
94
- defaultMessage: string;
95
- description: string;
96
- };
97
- notePanel: {
98
- id: string;
99
- defaultMessage: string;
100
- description: string;
101
- };
102
- notePanelDescription: {
103
- id: string;
104
- defaultMessage: string;
105
- description: string;
106
- };
107
- successPanel: {
108
- id: string;
109
- defaultMessage: string;
110
- description: string;
111
- };
112
- successPanelDescription: {
113
- id: string;
114
- defaultMessage: string;
115
- description: string;
116
- };
117
- warningPanel: {
118
- id: string;
119
- defaultMessage: string;
120
- description: string;
121
- };
122
- warningPanelDescription: {
123
- id: string;
124
- defaultMessage: string;
125
- description: string;
126
- };
127
- errorPanel: {
128
- id: string;
129
- defaultMessage: string;
130
- description: string;
131
- };
132
- errorPanelDescription: {
133
- id: string;
134
- defaultMessage: string;
135
- description: string;
136
- };
137
- customPanel: {
138
- id: string;
139
- defaultMessage: string;
140
- description: string;
141
- };
142
- customPanelDescription: {
143
- id: string;
144
- defaultMessage: string;
145
- description: string;
146
- };
147
- other: {
148
- id: string;
149
- defaultMessage: string;
150
- description: string;
151
- };
152
- };
@@ -1,7 +0,0 @@
1
- export declare const toolbarMessages: {
2
- textStyles: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- };
@@ -1,2 +0,0 @@
1
- export { messages } from './plugin/messages';
2
- export { toolbarMessages } from './plugin/ui/ToolbarBlockType/toolbar-messages';