@ckeditor/ckeditor5-special-characters 40.0.0 → 40.2.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 (34) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/LICENSE.md +2 -2
  3. package/build/translations/pt-br.js +1 -1
  4. package/lang/translations/pt-br.po +1 -1
  5. package/package.json +2 -2
  6. package/src/augmentation.d.ts +24 -24
  7. package/src/augmentation.js +5 -5
  8. package/src/index.d.ts +16 -16
  9. package/src/index.js +15 -15
  10. package/src/specialcharacters.d.ts +96 -96
  11. package/src/specialcharacters.js +206 -206
  12. package/src/specialcharactersarrows.d.ts +30 -30
  13. package/src/specialcharactersarrows.js +60 -60
  14. package/src/specialcharactersconfig.d.ts +51 -51
  15. package/src/specialcharactersconfig.js +5 -5
  16. package/src/specialcharacterscurrency.d.ts +30 -30
  17. package/src/specialcharacterscurrency.js +74 -74
  18. package/src/specialcharactersessentials.d.ts +35 -35
  19. package/src/specialcharactersessentials.js +45 -45
  20. package/src/specialcharacterslatin.d.ts +30 -30
  21. package/src/specialcharacterslatin.js +166 -166
  22. package/src/specialcharactersmathematical.d.ts +30 -30
  23. package/src/specialcharactersmathematical.js +82 -82
  24. package/src/specialcharacterstext.d.ts +30 -30
  25. package/src/specialcharacterstext.js +65 -65
  26. package/src/ui/charactergridview.d.ts +94 -94
  27. package/src/ui/charactergridview.js +129 -129
  28. package/src/ui/characterinfoview.d.ts +35 -35
  29. package/src/ui/characterinfoview.js +71 -71
  30. package/src/ui/specialcharactersnavigationview.d.ts +59 -59
  31. package/src/ui/specialcharactersnavigationview.js +95 -95
  32. package/src/ui/specialcharactersview.d.ts +65 -65
  33. package/src/ui/specialcharactersview.js +78 -78
  34. package/build/special-characters.js.map +0 -1
@@ -1,206 +1,206 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module special-characters/specialcharacters
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- import { Typing } from 'ckeditor5/src/typing';
10
- import { createDropdown } from 'ckeditor5/src/ui';
11
- import { CKEditorError } from 'ckeditor5/src/utils';
12
- import SpecialCharactersNavigationView from './ui/specialcharactersnavigationview';
13
- import CharacterGridView from './ui/charactergridview';
14
- import CharacterInfoView from './ui/characterinfoview';
15
- import SpecialCharactersView from './ui/specialcharactersview';
16
- import specialCharactersIcon from '../theme/icons/specialcharacters.svg';
17
- import '../theme/specialcharacters.css';
18
- const ALL_SPECIAL_CHARACTERS_GROUP = 'All';
19
- /**
20
- * The special characters feature.
21
- *
22
- * Introduces the `'specialCharacters'` dropdown.
23
- */
24
- export default class SpecialCharacters extends Plugin {
25
- /**
26
- * @inheritDoc
27
- */
28
- static get requires() {
29
- return [Typing];
30
- }
31
- /**
32
- * @inheritDoc
33
- */
34
- static get pluginName() {
35
- return 'SpecialCharacters';
36
- }
37
- /**
38
- * @inheritDoc
39
- */
40
- constructor(editor) {
41
- super(editor);
42
- const t = editor.t;
43
- this._characters = new Map();
44
- this._groups = new Map();
45
- this._allSpecialCharactersGroupLabel = t('All');
46
- }
47
- /**
48
- * @inheritDoc
49
- */
50
- init() {
51
- const editor = this.editor;
52
- const t = editor.t;
53
- const inputCommand = editor.commands.get('insertText');
54
- // Add the `specialCharacters` dropdown button to feature components.
55
- editor.ui.componentFactory.add('specialCharacters', locale => {
56
- const dropdownView = createDropdown(locale);
57
- let dropdownPanelContent;
58
- dropdownView.buttonView.set({
59
- label: t('Special characters'),
60
- icon: specialCharactersIcon,
61
- tooltip: true
62
- });
63
- dropdownView.bind('isEnabled').to(inputCommand);
64
- // Insert a special character when a tile was clicked.
65
- dropdownView.on('execute', (evt, data) => {
66
- editor.execute('insertText', { text: data.character });
67
- editor.editing.view.focus();
68
- });
69
- dropdownView.on('change:isOpen', () => {
70
- if (!dropdownPanelContent) {
71
- dropdownPanelContent = this._createDropdownPanelContent(locale, dropdownView);
72
- const specialCharactersView = new SpecialCharactersView(locale, dropdownPanelContent.navigationView, dropdownPanelContent.gridView, dropdownPanelContent.infoView);
73
- dropdownView.panelView.children.add(specialCharactersView);
74
- }
75
- dropdownPanelContent.infoView.set({
76
- character: null,
77
- name: null
78
- });
79
- });
80
- return dropdownView;
81
- });
82
- }
83
- /**
84
- * Adds a collection of special characters to the specified group. The title of a special character must be unique.
85
- *
86
- * **Note:** The "All" category name is reserved by the plugin and cannot be used as a new name for a special
87
- * characters category.
88
- */
89
- addItems(groupName, items, options = { label: groupName }) {
90
- if (groupName === ALL_SPECIAL_CHARACTERS_GROUP) {
91
- /**
92
- * The name "All" for a special category group cannot be used because it is a special category that displays all
93
- * available special characters.
94
- *
95
- * @error special-character-invalid-group-name
96
- */
97
- throw new CKEditorError('special-character-invalid-group-name', null);
98
- }
99
- const group = this._getGroup(groupName, options.label);
100
- for (const item of items) {
101
- group.items.add(item.title);
102
- this._characters.set(item.title, item.character);
103
- }
104
- }
105
- /**
106
- * Returns special character groups in an order determined based on configuration and registration sequence.
107
- */
108
- getGroups() {
109
- const groups = Array.from(this._groups.keys());
110
- const order = this.editor.config.get('specialCharacters.order') || [];
111
- const invalidGroup = order.find(item => !groups.includes(item));
112
- if (invalidGroup) {
113
- /**
114
- * One of the special character groups in the "specialCharacters.order" configuration doesn't exist.
115
- *
116
- * @error special-character-invalid-order-group-name
117
- */
118
- throw new CKEditorError('special-character-invalid-order-group-name', null, { invalidGroup });
119
- }
120
- return new Set([
121
- ...order,
122
- ...groups
123
- ]);
124
- }
125
- /**
126
- * Returns a collection of special characters symbol names (titles).
127
- */
128
- getCharactersForGroup(groupName) {
129
- if (groupName === ALL_SPECIAL_CHARACTERS_GROUP) {
130
- return new Set(this._characters.keys());
131
- }
132
- const group = this._groups.get(groupName);
133
- if (group) {
134
- return group.items;
135
- }
136
- }
137
- /**
138
- * Returns the symbol of a special character for the specified name. If the special character could not be found, `undefined`
139
- * is returned.
140
- *
141
- * @param title The title of a special character.
142
- */
143
- getCharacter(title) {
144
- return this._characters.get(title);
145
- }
146
- /**
147
- * Returns a group of special characters. If the group with the specified name does not exist, it will be created.
148
- *
149
- * @param groupName The name of the group to create.
150
- * @param label The label describing the new group.
151
- */
152
- _getGroup(groupName, label) {
153
- if (!this._groups.has(groupName)) {
154
- this._groups.set(groupName, {
155
- items: new Set(),
156
- label
157
- });
158
- }
159
- return this._groups.get(groupName);
160
- }
161
- /**
162
- * Updates the symbol grid depending on the currently selected character group.
163
- */
164
- _updateGrid(currentGroupName, gridView) {
165
- // Updating the grid starts with removing all tiles belonging to the old group.
166
- gridView.tiles.clear();
167
- const characterTitles = this.getCharactersForGroup(currentGroupName);
168
- for (const title of characterTitles) {
169
- const character = this.getCharacter(title);
170
- gridView.tiles.add(gridView.createTile(character, title));
171
- }
172
- }
173
- /**
174
- * Initializes the dropdown, used for lazy loading.
175
- *
176
- * @returns An object with `navigationView`, `gridView` and `infoView` properties, containing UI parts.
177
- */
178
- _createDropdownPanelContent(locale, dropdownView) {
179
- const groupEntries = Array
180
- .from(this.getGroups())
181
- .map(name => ([name, this._groups.get(name).label]));
182
- // The map contains a name of category (an identifier) and its label (a translational string).
183
- const specialCharsGroups = new Map([
184
- // Add a special group that shows all available special characters.
185
- [ALL_SPECIAL_CHARACTERS_GROUP, this._allSpecialCharactersGroupLabel],
186
- ...groupEntries
187
- ]);
188
- const navigationView = new SpecialCharactersNavigationView(locale, specialCharsGroups);
189
- const gridView = new CharacterGridView(locale);
190
- const infoView = new CharacterInfoView(locale);
191
- gridView.delegate('execute').to(dropdownView);
192
- gridView.on('tileHover', (evt, data) => {
193
- infoView.set(data);
194
- });
195
- gridView.on('tileFocus', (evt, data) => {
196
- infoView.set(data);
197
- });
198
- // Update the grid of special characters when a user changed the character group.
199
- navigationView.on('execute', () => {
200
- this._updateGrid(navigationView.currentGroupName, gridView);
201
- });
202
- // Set the initial content of the special characters grid.
203
- this._updateGrid(navigationView.currentGroupName, gridView);
204
- return { navigationView, gridView, infoView };
205
- }
206
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module special-characters/specialcharacters
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ import { Typing } from 'ckeditor5/src/typing';
10
+ import { createDropdown } from 'ckeditor5/src/ui';
11
+ import { CKEditorError } from 'ckeditor5/src/utils';
12
+ import SpecialCharactersNavigationView from './ui/specialcharactersnavigationview';
13
+ import CharacterGridView from './ui/charactergridview';
14
+ import CharacterInfoView from './ui/characterinfoview';
15
+ import SpecialCharactersView from './ui/specialcharactersview';
16
+ import specialCharactersIcon from '../theme/icons/specialcharacters.svg';
17
+ import '../theme/specialcharacters.css';
18
+ const ALL_SPECIAL_CHARACTERS_GROUP = 'All';
19
+ /**
20
+ * The special characters feature.
21
+ *
22
+ * Introduces the `'specialCharacters'` dropdown.
23
+ */
24
+ export default class SpecialCharacters extends Plugin {
25
+ /**
26
+ * @inheritDoc
27
+ */
28
+ static get requires() {
29
+ return [Typing];
30
+ }
31
+ /**
32
+ * @inheritDoc
33
+ */
34
+ static get pluginName() {
35
+ return 'SpecialCharacters';
36
+ }
37
+ /**
38
+ * @inheritDoc
39
+ */
40
+ constructor(editor) {
41
+ super(editor);
42
+ const t = editor.t;
43
+ this._characters = new Map();
44
+ this._groups = new Map();
45
+ this._allSpecialCharactersGroupLabel = t('All');
46
+ }
47
+ /**
48
+ * @inheritDoc
49
+ */
50
+ init() {
51
+ const editor = this.editor;
52
+ const t = editor.t;
53
+ const inputCommand = editor.commands.get('insertText');
54
+ // Add the `specialCharacters` dropdown button to feature components.
55
+ editor.ui.componentFactory.add('specialCharacters', locale => {
56
+ const dropdownView = createDropdown(locale);
57
+ let dropdownPanelContent;
58
+ dropdownView.buttonView.set({
59
+ label: t('Special characters'),
60
+ icon: specialCharactersIcon,
61
+ tooltip: true
62
+ });
63
+ dropdownView.bind('isEnabled').to(inputCommand);
64
+ // Insert a special character when a tile was clicked.
65
+ dropdownView.on('execute', (evt, data) => {
66
+ editor.execute('insertText', { text: data.character });
67
+ editor.editing.view.focus();
68
+ });
69
+ dropdownView.on('change:isOpen', () => {
70
+ if (!dropdownPanelContent) {
71
+ dropdownPanelContent = this._createDropdownPanelContent(locale, dropdownView);
72
+ const specialCharactersView = new SpecialCharactersView(locale, dropdownPanelContent.navigationView, dropdownPanelContent.gridView, dropdownPanelContent.infoView);
73
+ dropdownView.panelView.children.add(specialCharactersView);
74
+ }
75
+ dropdownPanelContent.infoView.set({
76
+ character: null,
77
+ name: null
78
+ });
79
+ });
80
+ return dropdownView;
81
+ });
82
+ }
83
+ /**
84
+ * Adds a collection of special characters to the specified group. The title of a special character must be unique.
85
+ *
86
+ * **Note:** The "All" category name is reserved by the plugin and cannot be used as a new name for a special
87
+ * characters category.
88
+ */
89
+ addItems(groupName, items, options = { label: groupName }) {
90
+ if (groupName === ALL_SPECIAL_CHARACTERS_GROUP) {
91
+ /**
92
+ * The name "All" for a special category group cannot be used because it is a special category that displays all
93
+ * available special characters.
94
+ *
95
+ * @error special-character-invalid-group-name
96
+ */
97
+ throw new CKEditorError('special-character-invalid-group-name', null);
98
+ }
99
+ const group = this._getGroup(groupName, options.label);
100
+ for (const item of items) {
101
+ group.items.add(item.title);
102
+ this._characters.set(item.title, item.character);
103
+ }
104
+ }
105
+ /**
106
+ * Returns special character groups in an order determined based on configuration and registration sequence.
107
+ */
108
+ getGroups() {
109
+ const groups = Array.from(this._groups.keys());
110
+ const order = this.editor.config.get('specialCharacters.order') || [];
111
+ const invalidGroup = order.find(item => !groups.includes(item));
112
+ if (invalidGroup) {
113
+ /**
114
+ * One of the special character groups in the "specialCharacters.order" configuration doesn't exist.
115
+ *
116
+ * @error special-character-invalid-order-group-name
117
+ */
118
+ throw new CKEditorError('special-character-invalid-order-group-name', null, { invalidGroup });
119
+ }
120
+ return new Set([
121
+ ...order,
122
+ ...groups
123
+ ]);
124
+ }
125
+ /**
126
+ * Returns a collection of special characters symbol names (titles).
127
+ */
128
+ getCharactersForGroup(groupName) {
129
+ if (groupName === ALL_SPECIAL_CHARACTERS_GROUP) {
130
+ return new Set(this._characters.keys());
131
+ }
132
+ const group = this._groups.get(groupName);
133
+ if (group) {
134
+ return group.items;
135
+ }
136
+ }
137
+ /**
138
+ * Returns the symbol of a special character for the specified name. If the special character could not be found, `undefined`
139
+ * is returned.
140
+ *
141
+ * @param title The title of a special character.
142
+ */
143
+ getCharacter(title) {
144
+ return this._characters.get(title);
145
+ }
146
+ /**
147
+ * Returns a group of special characters. If the group with the specified name does not exist, it will be created.
148
+ *
149
+ * @param groupName The name of the group to create.
150
+ * @param label The label describing the new group.
151
+ */
152
+ _getGroup(groupName, label) {
153
+ if (!this._groups.has(groupName)) {
154
+ this._groups.set(groupName, {
155
+ items: new Set(),
156
+ label
157
+ });
158
+ }
159
+ return this._groups.get(groupName);
160
+ }
161
+ /**
162
+ * Updates the symbol grid depending on the currently selected character group.
163
+ */
164
+ _updateGrid(currentGroupName, gridView) {
165
+ // Updating the grid starts with removing all tiles belonging to the old group.
166
+ gridView.tiles.clear();
167
+ const characterTitles = this.getCharactersForGroup(currentGroupName);
168
+ for (const title of characterTitles) {
169
+ const character = this.getCharacter(title);
170
+ gridView.tiles.add(gridView.createTile(character, title));
171
+ }
172
+ }
173
+ /**
174
+ * Initializes the dropdown, used for lazy loading.
175
+ *
176
+ * @returns An object with `navigationView`, `gridView` and `infoView` properties, containing UI parts.
177
+ */
178
+ _createDropdownPanelContent(locale, dropdownView) {
179
+ const groupEntries = Array
180
+ .from(this.getGroups())
181
+ .map(name => ([name, this._groups.get(name).label]));
182
+ // The map contains a name of category (an identifier) and its label (a translational string).
183
+ const specialCharsGroups = new Map([
184
+ // Add a special group that shows all available special characters.
185
+ [ALL_SPECIAL_CHARACTERS_GROUP, this._allSpecialCharactersGroupLabel],
186
+ ...groupEntries
187
+ ]);
188
+ const navigationView = new SpecialCharactersNavigationView(locale, specialCharsGroups);
189
+ const gridView = new CharacterGridView(locale);
190
+ const infoView = new CharacterInfoView(locale);
191
+ gridView.delegate('execute').to(dropdownView);
192
+ gridView.on('tileHover', (evt, data) => {
193
+ infoView.set(data);
194
+ });
195
+ gridView.on('tileFocus', (evt, data) => {
196
+ infoView.set(data);
197
+ });
198
+ // Update the grid of special characters when a user changed the character group.
199
+ navigationView.on('execute', () => {
200
+ this._updateGrid(navigationView.currentGroupName, gridView);
201
+ });
202
+ // Set the initial content of the special characters grid.
203
+ this._updateGrid(navigationView.currentGroupName, gridView);
204
+ return { navigationView, gridView, infoView };
205
+ }
206
+ }
@@ -1,30 +1,30 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module special-characters/specialcharactersarrows
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * A plugin that provides special characters for the "Arrows" category.
11
- *
12
- * ```ts
13
- * ClassicEditor
14
- * .create( {
15
- * plugins: [ ..., SpecialCharacters, SpecialCharactersArrows ],
16
- * } )
17
- * .then( ... )
18
- * .catch( ... );
19
- * ```
20
- */
21
- export default class SpecialCharactersArrows extends Plugin {
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName(): "SpecialCharactersArrows";
26
- /**
27
- * @inheritDoc
28
- */
29
- init(): void;
30
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module special-characters/specialcharactersarrows
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * A plugin that provides special characters for the "Arrows" category.
11
+ *
12
+ * ```ts
13
+ * ClassicEditor
14
+ * .create( {
15
+ * plugins: [ ..., SpecialCharacters, SpecialCharactersArrows ],
16
+ * } )
17
+ * .then( ... )
18
+ * .catch( ... );
19
+ * ```
20
+ */
21
+ export default class SpecialCharactersArrows extends Plugin {
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName(): "SpecialCharactersArrows";
26
+ /**
27
+ * @inheritDoc
28
+ */
29
+ init(): void;
30
+ }
@@ -1,60 +1,60 @@
1
- /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
- */
5
- /**
6
- * @module special-characters/specialcharactersarrows
7
- */
8
- import { Plugin } from 'ckeditor5/src/core';
9
- /**
10
- * A plugin that provides special characters for the "Arrows" category.
11
- *
12
- * ```ts
13
- * ClassicEditor
14
- * .create( {
15
- * plugins: [ ..., SpecialCharacters, SpecialCharactersArrows ],
16
- * } )
17
- * .then( ... )
18
- * .catch( ... );
19
- * ```
20
- */
21
- export default class SpecialCharactersArrows extends Plugin {
22
- /**
23
- * @inheritDoc
24
- */
25
- static get pluginName() {
26
- return 'SpecialCharactersArrows';
27
- }
28
- /**
29
- * @inheritDoc
30
- */
31
- init() {
32
- const editor = this.editor;
33
- const t = editor.t;
34
- const plugin = editor.plugins.get('SpecialCharacters');
35
- plugin.addItems('Arrows', [
36
- { title: t('leftwards simple arrow'), character: '←' },
37
- { title: t('rightwards simple arrow'), character: '→' },
38
- { title: t('upwards simple arrow'), character: '↑' },
39
- { title: t('downwards simple arrow'), character: '↓' },
40
- { title: t('leftwards double arrow'), character: '⇐' },
41
- { title: t('rightwards double arrow'), character: '⇒' },
42
- { title: t('upwards double arrow'), character: '⇑' },
43
- { title: t('downwards double arrow'), character: '⇓' },
44
- { title: t('leftwards dashed arrow'), character: '⇠' },
45
- { title: t('rightwards dashed arrow'), character: '⇢' },
46
- { title: t('upwards dashed arrow'), character: '⇡' },
47
- { title: t('downwards dashed arrow'), character: '⇣' },
48
- { title: t('leftwards arrow to bar'), character: '⇤' },
49
- { title: t('rightwards arrow to bar'), character: '⇥' },
50
- { title: t('upwards arrow to bar'), character: '⤒' },
51
- { title: t('downwards arrow to bar'), character: '⤓' },
52
- { title: t('up down arrow with base'), character: '↨' },
53
- { title: t('back with leftwards arrow above'), character: '🔙' },
54
- { title: t('end with leftwards arrow above'), character: '🔚' },
55
- { title: t('on with exclamation mark with left right arrow above'), character: '🔛' },
56
- { title: t('soon with rightwards arrow above'), character: '🔜' },
57
- { title: t('top with upwards arrow above'), character: '🔝' }
58
- ], { label: t('Arrows') });
59
- }
60
- }
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ /**
6
+ * @module special-characters/specialcharactersarrows
7
+ */
8
+ import { Plugin } from 'ckeditor5/src/core';
9
+ /**
10
+ * A plugin that provides special characters for the "Arrows" category.
11
+ *
12
+ * ```ts
13
+ * ClassicEditor
14
+ * .create( {
15
+ * plugins: [ ..., SpecialCharacters, SpecialCharactersArrows ],
16
+ * } )
17
+ * .then( ... )
18
+ * .catch( ... );
19
+ * ```
20
+ */
21
+ export default class SpecialCharactersArrows extends Plugin {
22
+ /**
23
+ * @inheritDoc
24
+ */
25
+ static get pluginName() {
26
+ return 'SpecialCharactersArrows';
27
+ }
28
+ /**
29
+ * @inheritDoc
30
+ */
31
+ init() {
32
+ const editor = this.editor;
33
+ const t = editor.t;
34
+ const plugin = editor.plugins.get('SpecialCharacters');
35
+ plugin.addItems('Arrows', [
36
+ { title: t('leftwards simple arrow'), character: '←' },
37
+ { title: t('rightwards simple arrow'), character: '→' },
38
+ { title: t('upwards simple arrow'), character: '↑' },
39
+ { title: t('downwards simple arrow'), character: '↓' },
40
+ { title: t('leftwards double arrow'), character: '⇐' },
41
+ { title: t('rightwards double arrow'), character: '⇒' },
42
+ { title: t('upwards double arrow'), character: '⇑' },
43
+ { title: t('downwards double arrow'), character: '⇓' },
44
+ { title: t('leftwards dashed arrow'), character: '⇠' },
45
+ { title: t('rightwards dashed arrow'), character: '⇢' },
46
+ { title: t('upwards dashed arrow'), character: '⇡' },
47
+ { title: t('downwards dashed arrow'), character: '⇣' },
48
+ { title: t('leftwards arrow to bar'), character: '⇤' },
49
+ { title: t('rightwards arrow to bar'), character: '⇥' },
50
+ { title: t('upwards arrow to bar'), character: '⤒' },
51
+ { title: t('downwards arrow to bar'), character: '⤓' },
52
+ { title: t('up down arrow with base'), character: '↨' },
53
+ { title: t('back with leftwards arrow above'), character: '🔙' },
54
+ { title: t('end with leftwards arrow above'), character: '🔚' },
55
+ { title: t('on with exclamation mark with left right arrow above'), character: '🔛' },
56
+ { title: t('soon with rightwards arrow above'), character: '🔜' },
57
+ { title: t('top with upwards arrow above'), character: '🔝' }
58
+ ], { label: t('Arrows') });
59
+ }
60
+ }