@pie-lib/editable-html-tip-tap 1.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.
- package/CHANGELOG.json +32 -0
- package/CHANGELOG.md +2280 -0
- package/lib/__tests__/editor.test.js +470 -0
- package/lib/__tests__/serialization.test.js +246 -0
- package/lib/__tests__/utils.js +106 -0
- package/lib/block-tags.js +25 -0
- package/lib/constants.js +16 -0
- package/lib/editor.js +1356 -0
- package/lib/extensions/MediaView.js +112 -0
- package/lib/extensions/characters.js +65 -0
- package/lib/extensions/component.js +325 -0
- package/lib/extensions/css.js +252 -0
- package/lib/extensions/custom-toolbar-wrapper.js +124 -0
- package/lib/extensions/image.js +106 -0
- package/lib/extensions/math.js +330 -0
- package/lib/extensions/media.js +276 -0
- package/lib/extensions/responseArea.js +278 -0
- package/lib/index.js +1213 -0
- package/lib/old-index.js +269 -0
- package/lib/parse-html.js +16 -0
- package/lib/plugins/characters/custom-popper.js +73 -0
- package/lib/plugins/characters/index.js +305 -0
- package/lib/plugins/characters/utils.js +381 -0
- package/lib/plugins/css/icons/index.js +37 -0
- package/lib/plugins/css/index.js +390 -0
- package/lib/plugins/customPlugin/index.js +114 -0
- package/lib/plugins/html/icons/index.js +38 -0
- package/lib/plugins/html/index.js +81 -0
- package/lib/plugins/image/__tests__/component.test.js +51 -0
- package/lib/plugins/image/__tests__/image-toolbar-logic.test.js +56 -0
- package/lib/plugins/image/__tests__/image-toolbar.test.js +26 -0
- package/lib/plugins/image/__tests__/index.test.js +98 -0
- package/lib/plugins/image/__tests__/insert-image-handler.test.js +125 -0
- package/lib/plugins/image/__tests__/mock-change.js +25 -0
- package/lib/plugins/image/alt-dialog.js +129 -0
- package/lib/plugins/image/component.js +419 -0
- package/lib/plugins/image/image-toolbar.js +177 -0
- package/lib/plugins/image/index.js +263 -0
- package/lib/plugins/image/insert-image-handler.js +117 -0
- package/lib/plugins/index.js +413 -0
- package/lib/plugins/list/__tests__/index.test.js +79 -0
- package/lib/plugins/list/index.js +334 -0
- package/lib/plugins/math/__tests__/index.test.js +300 -0
- package/lib/plugins/math/index.js +454 -0
- package/lib/plugins/media/__tests__/index.test.js +71 -0
- package/lib/plugins/media/index.js +387 -0
- package/lib/plugins/media/media-dialog.js +709 -0
- package/lib/plugins/media/media-toolbar.js +101 -0
- package/lib/plugins/media/media-wrapper.js +93 -0
- package/lib/plugins/rendering/index.js +46 -0
- package/lib/plugins/respArea/drag-in-the-blank/choice.js +289 -0
- package/lib/plugins/respArea/drag-in-the-blank/index.js +94 -0
- package/lib/plugins/respArea/explicit-constructed-response/index.js +120 -0
- package/lib/plugins/respArea/icons/index.js +95 -0
- package/lib/plugins/respArea/index.js +341 -0
- package/lib/plugins/respArea/inline-dropdown/index.js +126 -0
- package/lib/plugins/respArea/math-templated/index.js +130 -0
- package/lib/plugins/respArea/utils.js +125 -0
- package/lib/plugins/table/CustomTablePlugin.js +133 -0
- package/lib/plugins/table/__tests__/index.test.js +442 -0
- package/lib/plugins/table/__tests__/table-toolbar.test.js +54 -0
- package/lib/plugins/table/icons/index.js +69 -0
- package/lib/plugins/table/index.js +483 -0
- package/lib/plugins/table/table-toolbar.js +187 -0
- package/lib/plugins/textAlign/icons/index.js +194 -0
- package/lib/plugins/textAlign/index.js +34 -0
- package/lib/plugins/toolbar/__tests__/default-toolbar.test.js +128 -0
- package/lib/plugins/toolbar/__tests__/editor-and-toolbar.test.js +51 -0
- package/lib/plugins/toolbar/__tests__/toolbar-buttons.test.js +54 -0
- package/lib/plugins/toolbar/__tests__/toolbar.test.js +120 -0
- package/lib/plugins/toolbar/default-toolbar.js +229 -0
- package/lib/plugins/toolbar/done-button.js +53 -0
- package/lib/plugins/toolbar/editor-and-toolbar.js +286 -0
- package/lib/plugins/toolbar/index.js +34 -0
- package/lib/plugins/toolbar/toolbar-buttons.js +194 -0
- package/lib/plugins/toolbar/toolbar.js +376 -0
- package/lib/plugins/utils.js +62 -0
- package/lib/serialization.js +677 -0
- package/lib/shared/alert-dialog.js +75 -0
- package/lib/theme.js +9 -0
- package/package.json +69 -0
- package/src/__tests__/editor.test.jsx +363 -0
- package/src/__tests__/serialization.test.js +291 -0
- package/src/__tests__/utils.js +36 -0
- package/src/block-tags.js +17 -0
- package/src/constants.js +7 -0
- package/src/editor.jsx +1197 -0
- package/src/extensions/characters.js +46 -0
- package/src/extensions/component.jsx +294 -0
- package/src/extensions/css.js +217 -0
- package/src/extensions/custom-toolbar-wrapper.jsx +100 -0
- package/src/extensions/image.js +55 -0
- package/src/extensions/math.js +259 -0
- package/src/extensions/media.js +182 -0
- package/src/extensions/responseArea.js +205 -0
- package/src/index.jsx +1462 -0
- package/src/old-index.jsx +162 -0
- package/src/parse-html.js +8 -0
- package/src/plugins/README.md +27 -0
- package/src/plugins/characters/custom-popper.js +48 -0
- package/src/plugins/characters/index.jsx +284 -0
- package/src/plugins/characters/utils.js +447 -0
- package/src/plugins/css/icons/index.jsx +17 -0
- package/src/plugins/css/index.jsx +340 -0
- package/src/plugins/customPlugin/index.jsx +85 -0
- package/src/plugins/html/icons/index.jsx +19 -0
- package/src/plugins/html/index.jsx +72 -0
- package/src/plugins/image/__tests__/__snapshots__/component.test.jsx.snap +51 -0
- package/src/plugins/image/__tests__/__snapshots__/image-toolbar-logic.test.jsx.snap +27 -0
- package/src/plugins/image/__tests__/__snapshots__/image-toolbar.test.jsx.snap +44 -0
- package/src/plugins/image/__tests__/component.test.jsx +41 -0
- package/src/plugins/image/__tests__/image-toolbar-logic.test.jsx +42 -0
- package/src/plugins/image/__tests__/image-toolbar.test.jsx +11 -0
- package/src/plugins/image/__tests__/index.test.js +95 -0
- package/src/plugins/image/__tests__/insert-image-handler.test.js +113 -0
- package/src/plugins/image/__tests__/mock-change.js +15 -0
- package/src/plugins/image/alt-dialog.jsx +82 -0
- package/src/plugins/image/component.jsx +343 -0
- package/src/plugins/image/image-toolbar.jsx +100 -0
- package/src/plugins/image/index.jsx +227 -0
- package/src/plugins/image/insert-image-handler.js +79 -0
- package/src/plugins/index.jsx +377 -0
- package/src/plugins/list/__tests__/index.test.js +54 -0
- package/src/plugins/list/index.jsx +305 -0
- package/src/plugins/math/__tests__/__snapshots__/index.test.jsx.snap +48 -0
- package/src/plugins/math/__tests__/index.test.jsx +245 -0
- package/src/plugins/math/index.jsx +379 -0
- package/src/plugins/media/__tests__/index.test.js +75 -0
- package/src/plugins/media/index.jsx +325 -0
- package/src/plugins/media/media-dialog.js +624 -0
- package/src/plugins/media/media-toolbar.jsx +56 -0
- package/src/plugins/media/media-wrapper.jsx +43 -0
- package/src/plugins/rendering/index.js +31 -0
- package/src/plugins/respArea/drag-in-the-blank/choice.jsx +215 -0
- package/src/plugins/respArea/drag-in-the-blank/index.jsx +70 -0
- package/src/plugins/respArea/explicit-constructed-response/index.jsx +92 -0
- package/src/plugins/respArea/icons/index.jsx +71 -0
- package/src/plugins/respArea/index.jsx +299 -0
- package/src/plugins/respArea/inline-dropdown/index.jsx +108 -0
- package/src/plugins/respArea/math-templated/index.jsx +104 -0
- package/src/plugins/respArea/utils.jsx +90 -0
- package/src/plugins/table/CustomTablePlugin.js +113 -0
- package/src/plugins/table/__tests__/__snapshots__/table-toolbar.test.jsx.snap +44 -0
- package/src/plugins/table/__tests__/index.test.jsx +401 -0
- package/src/plugins/table/__tests__/table-toolbar.test.jsx +42 -0
- package/src/plugins/table/icons/index.jsx +53 -0
- package/src/plugins/table/index.jsx +427 -0
- package/src/plugins/table/table-toolbar.jsx +136 -0
- package/src/plugins/textAlign/icons/index.jsx +114 -0
- package/src/plugins/textAlign/index.jsx +23 -0
- package/src/plugins/toolbar/__tests__/__snapshots__/default-toolbar.test.jsx.snap +923 -0
- package/src/plugins/toolbar/__tests__/__snapshots__/editor-and-toolbar.test.jsx.snap +20 -0
- package/src/plugins/toolbar/__tests__/__snapshots__/toolbar-buttons.test.jsx.snap +36 -0
- package/src/plugins/toolbar/__tests__/__snapshots__/toolbar.test.jsx.snap +46 -0
- package/src/plugins/toolbar/__tests__/default-toolbar.test.jsx +94 -0
- package/src/plugins/toolbar/__tests__/editor-and-toolbar.test.jsx +37 -0
- package/src/plugins/toolbar/__tests__/toolbar-buttons.test.jsx +51 -0
- package/src/plugins/toolbar/__tests__/toolbar.test.jsx +106 -0
- package/src/plugins/toolbar/default-toolbar.jsx +206 -0
- package/src/plugins/toolbar/done-button.jsx +38 -0
- package/src/plugins/toolbar/editor-and-toolbar.jsx +257 -0
- package/src/plugins/toolbar/index.jsx +23 -0
- package/src/plugins/toolbar/toolbar-buttons.jsx +138 -0
- package/src/plugins/toolbar/toolbar.jsx +338 -0
- package/src/plugins/utils.js +31 -0
- package/src/serialization.jsx +621 -0
- package/src/theme.js +1 -0
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
export const spanishConfig = {
|
|
2
|
+
characters: [
|
|
3
|
+
['á', 'é', 'í', 'ó', 'ú'],
|
|
4
|
+
['Á', 'É', 'Í', 'Ó', 'Ú'],
|
|
5
|
+
['—', '«', '»', 'ñ', 'ü'],
|
|
6
|
+
['-', '¿', '¡', 'Ñ', 'Ü'],
|
|
7
|
+
],
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const specialConfig = {
|
|
11
|
+
hasPreview: true,
|
|
12
|
+
characters: [
|
|
13
|
+
[
|
|
14
|
+
{
|
|
15
|
+
unicode: 'U+00A2',
|
|
16
|
+
description: 'CENT SIGN',
|
|
17
|
+
write: '¢',
|
|
18
|
+
label: '¢',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
unicode: 'U+00BF',
|
|
22
|
+
description: 'INVERTED QUESTION MARK',
|
|
23
|
+
write: '¿',
|
|
24
|
+
label: '¿',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
unicode: 'U+00B4',
|
|
28
|
+
description: 'ACUTE ACCENT',
|
|
29
|
+
write: '´',
|
|
30
|
+
label: '´',
|
|
31
|
+
extraProps: { style: { gridRow: 'span 2' } },
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
unicode: 'U+00E1',
|
|
35
|
+
description: 'LATIN SMALL LETTER A WITH ACUTE',
|
|
36
|
+
write: 'á',
|
|
37
|
+
label: 'á',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
unicode: 'U+00E9',
|
|
41
|
+
description: 'LATIN SMALL LETTER E WITH ACUTE',
|
|
42
|
+
write: 'é',
|
|
43
|
+
label: 'é',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
unicode: 'U+00ED',
|
|
47
|
+
description: 'LATIN SMALL LETTER I WITH ACUTE',
|
|
48
|
+
write: 'í',
|
|
49
|
+
label: 'í',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
unicode: 'U+00F3',
|
|
53
|
+
description: 'LATIN SMALL LETTER O WITH ACUTE',
|
|
54
|
+
write: 'ó',
|
|
55
|
+
label: 'ó',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
unicode: 'U+00FA',
|
|
59
|
+
description: 'LATIN SMALL LETTER U WITH ACUTE',
|
|
60
|
+
write: 'ú',
|
|
61
|
+
label: 'ú',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
unicode: 'U+00F1',
|
|
65
|
+
description: 'LATIN SMALL LETTER N WITH TILDE',
|
|
66
|
+
write: 'ñ',
|
|
67
|
+
label: 'ñ',
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
[
|
|
71
|
+
{
|
|
72
|
+
unicode: 'U+20AC',
|
|
73
|
+
description: 'EURO SIGN',
|
|
74
|
+
write: '€',
|
|
75
|
+
label: '€',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
unicode: 'U+00A1',
|
|
79
|
+
description: 'INVERTED EXCLAMATION MARK',
|
|
80
|
+
write: '¡',
|
|
81
|
+
label: '¡',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
unicode: 'U+00C1',
|
|
85
|
+
description: 'LATIN CAPITAL LETTER A WITH ACUTE',
|
|
86
|
+
write: 'Á',
|
|
87
|
+
label: 'Á',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
unicode: 'U+00C9',
|
|
91
|
+
description: 'LATIN CAPITAL LETTER E WITH ACUTE',
|
|
92
|
+
write: 'É',
|
|
93
|
+
label: 'É',
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
unicode: 'U+00CD',
|
|
97
|
+
description: 'LATIN CAPITAL LETTER I WITH ACUTE',
|
|
98
|
+
write: 'Í',
|
|
99
|
+
label: 'Í',
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
unicode: 'U+00D3',
|
|
103
|
+
description: 'LATIN CAPITAL LETTER O WITH ACUTE',
|
|
104
|
+
write: 'Ó',
|
|
105
|
+
label: 'Ó',
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
unicode: 'U+00DA',
|
|
109
|
+
description: 'LATIN CAPITAL LETTER U WITH ACUTE',
|
|
110
|
+
write: 'Ú',
|
|
111
|
+
label: 'Ú',
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
unicode: 'U+00D1',
|
|
115
|
+
description: 'LATIN CAPITAL LETTER N WITH TILDE',
|
|
116
|
+
write: 'Ñ',
|
|
117
|
+
label: 'Ñ',
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
[
|
|
121
|
+
{
|
|
122
|
+
unicode: 'U+00A3',
|
|
123
|
+
description: 'POUND SIGN',
|
|
124
|
+
write: '£',
|
|
125
|
+
label: '£',
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
unicode: 'U+00AB',
|
|
129
|
+
description: 'LEFT-POINTING DOUBLE ANGLE QUOTATION MARK',
|
|
130
|
+
write: '«',
|
|
131
|
+
label: '«',
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
unicode: 'U+005E',
|
|
135
|
+
description: 'CIRCUMFLEX ACCENT',
|
|
136
|
+
write: '^',
|
|
137
|
+
label: '^',
|
|
138
|
+
extraProps: { style: { gridRow: 'span 2' } },
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
unicode: 'U+00E2',
|
|
142
|
+
description: 'LATIN SMALL LETTER A WITH CIRCUMFLEX',
|
|
143
|
+
write: 'â',
|
|
144
|
+
label: 'â',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
unicode: 'U+00EA',
|
|
148
|
+
description: 'LATIN SMALL LETTER E WITH CIRCUMFLEX',
|
|
149
|
+
write: 'ê',
|
|
150
|
+
label: 'ê',
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
unicode: 'U+00EE',
|
|
154
|
+
description: 'LATIN SMALL LETTER I WITH CIRCUMFLEX',
|
|
155
|
+
write: 'î',
|
|
156
|
+
label: 'î',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
unicode: 'U+00F4',
|
|
160
|
+
description: 'LATIN SMALL LETTER O WITH CIRCUMFLEX',
|
|
161
|
+
write: 'ô',
|
|
162
|
+
label: 'ô',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
unicode: 'U+00FB',
|
|
166
|
+
description: 'LATIN SMALL LETTER U WITH CIRCUMFLEX',
|
|
167
|
+
write: 'û',
|
|
168
|
+
label: 'û',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
unicode: 'U+00E7',
|
|
172
|
+
description: 'LATIN SMALL LETTER C WITH CEDILLA',
|
|
173
|
+
write: 'ç',
|
|
174
|
+
label: 'ç',
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
[
|
|
178
|
+
{
|
|
179
|
+
unicode: 'U+00A5',
|
|
180
|
+
description: 'YEN SIGN',
|
|
181
|
+
write: '¥',
|
|
182
|
+
label: '¥',
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
unicode: 'U+00BB',
|
|
186
|
+
description: 'RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK',
|
|
187
|
+
write: '»',
|
|
188
|
+
label: '»',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
unicode: 'U+00C2',
|
|
192
|
+
description: 'LATIN CAPITAL LETTER A WITH CIRCUMFLEX',
|
|
193
|
+
write: 'Â',
|
|
194
|
+
label: 'Â',
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
unicode: 'U+00CA',
|
|
198
|
+
description: 'LATIN CAPITAL LETTER E WITH CIRCUMFLEX',
|
|
199
|
+
write: 'Ê',
|
|
200
|
+
label: 'Ê',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
unicode: 'U+00CE',
|
|
204
|
+
description: 'LATIN CAPITAL LETTER I WITH CIRCUMFLEX',
|
|
205
|
+
write: 'Î',
|
|
206
|
+
label: 'Î',
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
unicode: 'U+00D4',
|
|
210
|
+
description: 'LATIN CAPITAL LETTER O WITH CIRCUMFLEX',
|
|
211
|
+
write: 'Ô',
|
|
212
|
+
label: 'Ô',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
unicode: 'U+00DB',
|
|
216
|
+
description: 'LATIN CAPITAL LETTER U WITH CIRCUMFLEX',
|
|
217
|
+
write: 'Û',
|
|
218
|
+
label: 'Û',
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
unicode: 'U+00C7',
|
|
222
|
+
description: 'LATIN CAPITAL LETTER C WITH CEDILLA',
|
|
223
|
+
write: 'Ç',
|
|
224
|
+
label: 'Ç',
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
[
|
|
228
|
+
{
|
|
229
|
+
unicode: 'U+200A',
|
|
230
|
+
description: 'HAIR SPACE',
|
|
231
|
+
write: String.fromCodePoint('0x200A'),
|
|
232
|
+
label: ' ',
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
unicode: 'U+00A7',
|
|
236
|
+
description: 'SECTION SIGN',
|
|
237
|
+
write: '§',
|
|
238
|
+
label: '§',
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
unicode: 'U+00A8',
|
|
242
|
+
description: 'DIAERESIS',
|
|
243
|
+
write: '¨',
|
|
244
|
+
label: '¨',
|
|
245
|
+
extraProps: { style: { gridRow: 'span 2' } },
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
unicode: 'U+00E4',
|
|
249
|
+
description: 'LATIN SMALL LETTER A WITH DIAERESIS',
|
|
250
|
+
write: 'ä',
|
|
251
|
+
label: 'ä',
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
unicode: 'U+00EB',
|
|
255
|
+
description: 'LATIN SMALL LETTER E WITH DIAERESIS',
|
|
256
|
+
write: 'ë',
|
|
257
|
+
label: 'ë',
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
unicode: 'U+00EF',
|
|
261
|
+
description: 'LATIN SMALL LETTER I WITH DIAERESIS',
|
|
262
|
+
write: 'ï',
|
|
263
|
+
label: 'ï',
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
unicode: 'U+00F6',
|
|
267
|
+
description: 'LATIN SMALL LETTER O WITH DIAERESIS',
|
|
268
|
+
write: 'ö',
|
|
269
|
+
label: 'ö',
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
unicode: 'U+00FC',
|
|
273
|
+
description: 'LATIN SMALL LETTER U WITH DIAERESIS',
|
|
274
|
+
write: 'ü',
|
|
275
|
+
label: 'ü',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
unicode: 'U+00DF',
|
|
279
|
+
description: 'LATIN SMALL LETTER SHARP S',
|
|
280
|
+
write: 'ß',
|
|
281
|
+
label: 'ß',
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
[
|
|
285
|
+
{
|
|
286
|
+
unicode: 'U+2009',
|
|
287
|
+
description: 'THIN SPACE',
|
|
288
|
+
write: String.fromCodePoint('0x2009'),
|
|
289
|
+
label: ' ',
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
unicode: 'U+2026',
|
|
293
|
+
description: 'HORIZONTAL ELLIPSIS',
|
|
294
|
+
write: '…',
|
|
295
|
+
label: '…',
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
unicode: 'U+00C4',
|
|
299
|
+
description: 'LATIN CAPITAL LETTER A WITH DIAERESIS',
|
|
300
|
+
write: 'Ä',
|
|
301
|
+
label: 'Ä',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
unicode: 'U+00CB',
|
|
305
|
+
description: 'LATIN CAPITAL LETTER E WITH DIAERESIS',
|
|
306
|
+
write: 'Ë',
|
|
307
|
+
label: 'Ë',
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
unicode: 'U+00CF',
|
|
311
|
+
description: 'LATIN CAPITAL LETTER I WITH DIAERESIS',
|
|
312
|
+
write: 'Ï',
|
|
313
|
+
label: 'Ï',
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
unicode: 'U+00D6',
|
|
317
|
+
description: 'LATIN CAPITAL LETTER O WITH DIAERESIS',
|
|
318
|
+
write: 'Ö',
|
|
319
|
+
label: 'Ö',
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
unicode: 'U+00DC',
|
|
323
|
+
description: 'LATIN CAPITAL LETTER U WITH DIAERESIS',
|
|
324
|
+
write: 'Ü',
|
|
325
|
+
label: 'Ü',
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
unicode: 'U+2212',
|
|
329
|
+
description: 'MINUS SIGN',
|
|
330
|
+
write: '−',
|
|
331
|
+
label: '−',
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
[
|
|
335
|
+
{
|
|
336
|
+
unicode: 'U+00A0',
|
|
337
|
+
description: 'NO-BREAK SPACE',
|
|
338
|
+
write: String.fromCodePoint('0x00A0'),
|
|
339
|
+
label: ' ',
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
unicode: 'U+2022',
|
|
343
|
+
description: 'BULLET',
|
|
344
|
+
write: '•',
|
|
345
|
+
label: '•',
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
unicode: 'U+0060',
|
|
349
|
+
description: 'GRAVE ACCENT',
|
|
350
|
+
write: '`',
|
|
351
|
+
label: '`',
|
|
352
|
+
extraProps: { style: { gridRow: 'span 2' } },
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
unicode: 'U+00E0',
|
|
356
|
+
description: 'LATIN SMALL LETTER A WITH GRAVE',
|
|
357
|
+
write: 'à',
|
|
358
|
+
label: 'à',
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
unicode: 'U+00E8',
|
|
362
|
+
description: 'LATIN SMALL LETTER E WITH GRAVE',
|
|
363
|
+
write: 'è',
|
|
364
|
+
label: 'è',
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
unicode: 'U+00EC',
|
|
368
|
+
description: 'LATIN SMALL LETTER I WITH GRAVE',
|
|
369
|
+
write: 'ì',
|
|
370
|
+
label: 'ì',
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
unicode: 'U+00F2',
|
|
374
|
+
description: 'LATIN SMALL LETTER O WITH GRAVE',
|
|
375
|
+
write: 'ò',
|
|
376
|
+
label: 'ò',
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
unicode: 'U+00F9',
|
|
380
|
+
description: 'LATIN SMALL LETTER U WITH GRAVE',
|
|
381
|
+
write: 'ù',
|
|
382
|
+
label: 'ù',
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
unicode: 'U+2013',
|
|
386
|
+
description: 'EN DASH',
|
|
387
|
+
write: '–',
|
|
388
|
+
label: '–',
|
|
389
|
+
},
|
|
390
|
+
],
|
|
391
|
+
[
|
|
392
|
+
{
|
|
393
|
+
unicode: 'U+2003',
|
|
394
|
+
description: 'EM SPACE',
|
|
395
|
+
write: String.fromCodePoint('0x2003'),
|
|
396
|
+
label: ' ',
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
unicode: 'U+25E6',
|
|
400
|
+
description: 'WHITE BULLET',
|
|
401
|
+
write: '◦',
|
|
402
|
+
label: '◦',
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
unicode: 'U+00C0',
|
|
406
|
+
description: 'LATIN CAPITAL LETTER A WITH GRAVE',
|
|
407
|
+
write: 'À',
|
|
408
|
+
label: 'À',
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
unicode: 'U+00C8',
|
|
412
|
+
description: 'LATIN CAPITAL LETTER E WITH GRAVE',
|
|
413
|
+
write: 'È',
|
|
414
|
+
label: 'È',
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
unicode: 'U+00CC',
|
|
418
|
+
description: 'LATIN CAPITAL LETTER I WITH GRAVE',
|
|
419
|
+
write: 'Ì',
|
|
420
|
+
label: 'Ì',
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
unicode: 'U+00D2',
|
|
424
|
+
description: 'LATIN CAPITAL LETTER O WITH GRAVE',
|
|
425
|
+
write: 'Ò',
|
|
426
|
+
label: 'Ò',
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
unicode: 'U+00D9',
|
|
430
|
+
description: 'LATIN CAPITAL LETTER U WITH GRAVE',
|
|
431
|
+
write: 'Ù',
|
|
432
|
+
label: 'Ù',
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
unicode: 'U+2014',
|
|
436
|
+
description: 'EM DASH',
|
|
437
|
+
write: '—',
|
|
438
|
+
label: '—',
|
|
439
|
+
},
|
|
440
|
+
],
|
|
441
|
+
],
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
export const characterIcons = {
|
|
445
|
+
spanish: 'ñ',
|
|
446
|
+
special: '€',
|
|
447
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { withStyles } from '@material-ui/core/styles';
|
|
3
|
+
|
|
4
|
+
const styles = (theme) => ({
|
|
5
|
+
icon: {
|
|
6
|
+
fontFamily: 'Cerebri Sans, Arial, sans-serif',
|
|
7
|
+
fontSize: theme.typography.fontSize,
|
|
8
|
+
fontWeight: 'bold',
|
|
9
|
+
lineHeight: '14px',
|
|
10
|
+
position: 'relative',
|
|
11
|
+
whiteSpace: 'nowrap',
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
const CssIcon = ({ classes }) => <div className={classes.icon}>CSS</div>;
|
|
16
|
+
|
|
17
|
+
export default withStyles(styles)(CssIcon);
|