@contentful/field-editor-markdown 2.0.8 → 2.0.9-canary.9
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.
|
@@ -25,7 +25,6 @@ const _f36icons = require("@contentful/f36-icons");
|
|
|
25
25
|
const _f36tokens = /*#__PURE__*/ _interop_require_default(require("@contentful/f36-tokens"));
|
|
26
26
|
const _css = require("@emotion/css");
|
|
27
27
|
const _HeadingSelector = require("./HeadingSelector");
|
|
28
|
-
const _icons = /*#__PURE__*/ _interop_require_wildcard(require("./icons"));
|
|
29
28
|
const _InsertLinkSelector = require("./InsertLinkSelector");
|
|
30
29
|
function _interop_require_default(obj) {
|
|
31
30
|
return obj && obj.__esModule ? obj : {
|
|
@@ -94,10 +93,13 @@ const styles = {
|
|
|
94
93
|
verticalAlign: 'middle'
|
|
95
94
|
}),
|
|
96
95
|
zenButton: (0, _css.css)({
|
|
97
|
-
marginLeft: _f36tokens.default.spacingXs
|
|
96
|
+
marginLeft: _f36tokens.default.spacingXs,
|
|
97
|
+
marginRight: '0px'
|
|
98
98
|
}),
|
|
99
99
|
zenButtonPressed: (0, _css.css)({
|
|
100
|
-
|
|
100
|
+
'&:active': {
|
|
101
|
+
backgroundColor: _f36tokens.default.gray400
|
|
102
|
+
}
|
|
101
103
|
}),
|
|
102
104
|
tooltip: (0, _css.css)({
|
|
103
105
|
zIndex: Number(_f36tokens.default.zIndexTooltip),
|
|
@@ -231,8 +233,8 @@ function AdditionalButtons(props) {
|
|
|
231
233
|
tooltip: "Strike out",
|
|
232
234
|
tooltipPlace: tooltipPlace,
|
|
233
235
|
onClick: props.actions.simple.strike
|
|
234
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
235
|
-
label: "Strike out",
|
|
236
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.TextStrikethroughIcon, {
|
|
237
|
+
"aria-label": "Strike out",
|
|
236
238
|
className: styles.icon
|
|
237
239
|
})), /*#__PURE__*/ _react.createElement(ToolbarButton, {
|
|
238
240
|
isDisabled: props.disabled,
|
|
@@ -258,8 +260,8 @@ function AdditionalButtons(props) {
|
|
|
258
260
|
tooltip: "Increase indentation",
|
|
259
261
|
tooltipPlace: tooltipPlace,
|
|
260
262
|
onClick: props.actions.simple.indent
|
|
261
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
262
|
-
label: "Increase indentation",
|
|
263
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.TextIndentIcon, {
|
|
264
|
+
"aria-label": "Increase indentation",
|
|
263
265
|
className: styles.icon
|
|
264
266
|
})), /*#__PURE__*/ _react.createElement(ToolbarButton, {
|
|
265
267
|
isDisabled: props.disabled,
|
|
@@ -267,8 +269,8 @@ function AdditionalButtons(props) {
|
|
|
267
269
|
tooltip: "Decrease indentation",
|
|
268
270
|
tooltipPlace: tooltipPlace,
|
|
269
271
|
onClick: props.actions.simple.dedent
|
|
270
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
271
|
-
label: "Decrease indentation",
|
|
272
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.TextOutdentIcon, {
|
|
273
|
+
"aria-label": "Decrease indentation",
|
|
272
274
|
className: styles.icon
|
|
273
275
|
})), /*#__PURE__*/ _react.createElement(ToolbarButton, {
|
|
274
276
|
isDisabled: props.disabled,
|
|
@@ -276,8 +278,8 @@ function AdditionalButtons(props) {
|
|
|
276
278
|
tooltip: "Embed external content",
|
|
277
279
|
tooltipPlace: tooltipPlace,
|
|
278
280
|
onClick: props.actions.embedExternalContent
|
|
279
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
280
|
-
label: "Embed external content",
|
|
281
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.CubesThreeIcon, {
|
|
282
|
+
"aria-label": "Embed external content",
|
|
281
283
|
className: styles.icon
|
|
282
284
|
})), /*#__PURE__*/ _react.createElement(ToolbarButton, {
|
|
283
285
|
isDisabled: props.disabled,
|
|
@@ -285,8 +287,8 @@ function AdditionalButtons(props) {
|
|
|
285
287
|
tooltip: "Insert table",
|
|
286
288
|
tooltipPlace: tooltipPlace,
|
|
287
289
|
onClick: props.actions.insertTable
|
|
288
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
289
|
-
label: "Insert table",
|
|
290
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.TableIcon, {
|
|
291
|
+
"aria-label": "Insert table",
|
|
290
292
|
className: styles.icon
|
|
291
293
|
})), /*#__PURE__*/ _react.createElement(ToolbarButton, {
|
|
292
294
|
isDisabled: props.disabled,
|
|
@@ -294,8 +296,8 @@ function AdditionalButtons(props) {
|
|
|
294
296
|
tooltip: "Insert special character",
|
|
295
297
|
tooltipPlace: tooltipPlace,
|
|
296
298
|
onClick: props.actions.insertSpecialCharacter
|
|
297
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
298
|
-
label: "Insert special character",
|
|
299
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.CurrencyEurIcon, {
|
|
300
|
+
"aria-label": "Insert special character",
|
|
299
301
|
className: styles.icon
|
|
300
302
|
})), /*#__PURE__*/ _react.createElement(ToolbarButton, {
|
|
301
303
|
isDisabled: props.disabled,
|
|
@@ -303,8 +305,8 @@ function AdditionalButtons(props) {
|
|
|
303
305
|
tooltip: "Organize links",
|
|
304
306
|
tooltipPlace: tooltipPlace,
|
|
305
307
|
onClick: props.actions.organizeLinks
|
|
306
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
307
|
-
label: "Organize links",
|
|
308
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.TreeStructureIcon, {
|
|
309
|
+
"aria-label": "Organize links",
|
|
308
310
|
className: styles.icon
|
|
309
311
|
})), /*#__PURE__*/ _react.createElement(ToolbarButton, {
|
|
310
312
|
isDisabled: props.disabled,
|
|
@@ -312,8 +314,8 @@ function AdditionalButtons(props) {
|
|
|
312
314
|
tooltip: "Undo",
|
|
313
315
|
tooltipPlace: tooltipPlace,
|
|
314
316
|
onClick: props.actions.history.undo
|
|
315
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
316
|
-
label: "Undo",
|
|
317
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.ArrowCounterClockwiseIcon, {
|
|
318
|
+
"aria-label": "Undo",
|
|
317
319
|
className: styles.icon
|
|
318
320
|
})), /*#__PURE__*/ _react.createElement(ToolbarButton, {
|
|
319
321
|
isDisabled: props.disabled,
|
|
@@ -321,8 +323,8 @@ function AdditionalButtons(props) {
|
|
|
321
323
|
tooltip: "Redo",
|
|
322
324
|
tooltipPlace: tooltipPlace,
|
|
323
325
|
onClick: props.actions.history.redo
|
|
324
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
325
|
-
label: "Redo",
|
|
326
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.ArrowClockwiseIcon, {
|
|
327
|
+
"aria-label": "Redo",
|
|
326
328
|
className: styles.icon
|
|
327
329
|
})));
|
|
328
330
|
}
|
|
@@ -358,8 +360,8 @@ function DefaultMarkdownToolbar(props) {
|
|
|
358
360
|
onClick: props.actions.openZenMode,
|
|
359
361
|
className: styles.zenButton,
|
|
360
362
|
tooltip: "Expand"
|
|
361
|
-
}, /*#__PURE__*/ _react.createElement(
|
|
362
|
-
label: "Expand",
|
|
363
|
+
}, /*#__PURE__*/ _react.createElement(_f36icons.ArrowsOutIcon, {
|
|
364
|
+
"aria-label": "Expand",
|
|
363
365
|
className: styles.icon
|
|
364
366
|
})))), showAdditional && /*#__PURE__*/ _react.createElement(_f36components.Flex, {
|
|
365
367
|
justifyContent: "space-between",
|
|
@@ -387,8 +389,8 @@ function ZenMarkdownToolbar(props) {
|
|
|
387
389
|
onClick: ()=>{
|
|
388
390
|
props.actions.closeZenMode();
|
|
389
391
|
},
|
|
390
|
-
icon: /*#__PURE__*/ _react.createElement(
|
|
391
|
-
label: "Collapse",
|
|
392
|
+
icon: /*#__PURE__*/ _react.createElement(_f36icons.ArrowsOutIcon, {
|
|
393
|
+
"aria-label": "Collapse",
|
|
392
394
|
className: styles.icon
|
|
393
395
|
}),
|
|
394
396
|
"aria-label": "Collapse"
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Flex, IconButton } from '@contentful/f36-components';
|
|
3
|
-
import { CodeSimpleIcon, TextBIcon, TextItalicIcon, TextHIcon, MinusIcon, LinkSimpleIcon, ListBulletsIcon, ListNumbersIcon, DotsThreeIcon, QuotesIcon } from '@contentful/f36-icons';
|
|
3
|
+
import { CodeSimpleIcon, TextBIcon, TextItalicIcon, TextHIcon, MinusIcon, LinkSimpleIcon, ListBulletsIcon, ListNumbersIcon, DotsThreeIcon, QuotesIcon, TextStrikethroughIcon, TextIndentIcon, TextOutdentIcon, CubesThreeIcon, TableIcon, CurrencyEurIcon, TreeStructureIcon, ArrowCounterClockwiseIcon, ArrowClockwiseIcon, ArrowsOutIcon } from '@contentful/f36-icons';
|
|
4
4
|
import tokens from '@contentful/f36-tokens';
|
|
5
5
|
import { css, cx } from '@emotion/css';
|
|
6
6
|
import { HeadingSelector } from './HeadingSelector';
|
|
7
|
-
import * as Icons from './icons';
|
|
8
7
|
import { InsertLinkSelector } from './InsertLinkSelector';
|
|
9
8
|
const styles = {
|
|
10
9
|
root: css({
|
|
@@ -27,10 +26,13 @@ const styles = {
|
|
|
27
26
|
verticalAlign: 'middle'
|
|
28
27
|
}),
|
|
29
28
|
zenButton: css({
|
|
30
|
-
marginLeft: tokens.spacingXs
|
|
29
|
+
marginLeft: tokens.spacingXs,
|
|
30
|
+
marginRight: '0px'
|
|
31
31
|
}),
|
|
32
32
|
zenButtonPressed: css({
|
|
33
|
-
|
|
33
|
+
'&:active': {
|
|
34
|
+
backgroundColor: tokens.gray400
|
|
35
|
+
}
|
|
34
36
|
}),
|
|
35
37
|
tooltip: css({
|
|
36
38
|
zIndex: Number(tokens.zIndexTooltip),
|
|
@@ -164,8 +166,8 @@ function AdditionalButtons(props) {
|
|
|
164
166
|
tooltip: "Strike out",
|
|
165
167
|
tooltipPlace: tooltipPlace,
|
|
166
168
|
onClick: props.actions.simple.strike
|
|
167
|
-
}, /*#__PURE__*/ React.createElement(
|
|
168
|
-
label: "Strike out",
|
|
169
|
+
}, /*#__PURE__*/ React.createElement(TextStrikethroughIcon, {
|
|
170
|
+
"aria-label": "Strike out",
|
|
169
171
|
className: styles.icon
|
|
170
172
|
})), /*#__PURE__*/ React.createElement(ToolbarButton, {
|
|
171
173
|
isDisabled: props.disabled,
|
|
@@ -191,8 +193,8 @@ function AdditionalButtons(props) {
|
|
|
191
193
|
tooltip: "Increase indentation",
|
|
192
194
|
tooltipPlace: tooltipPlace,
|
|
193
195
|
onClick: props.actions.simple.indent
|
|
194
|
-
}, /*#__PURE__*/ React.createElement(
|
|
195
|
-
label: "Increase indentation",
|
|
196
|
+
}, /*#__PURE__*/ React.createElement(TextIndentIcon, {
|
|
197
|
+
"aria-label": "Increase indentation",
|
|
196
198
|
className: styles.icon
|
|
197
199
|
})), /*#__PURE__*/ React.createElement(ToolbarButton, {
|
|
198
200
|
isDisabled: props.disabled,
|
|
@@ -200,8 +202,8 @@ function AdditionalButtons(props) {
|
|
|
200
202
|
tooltip: "Decrease indentation",
|
|
201
203
|
tooltipPlace: tooltipPlace,
|
|
202
204
|
onClick: props.actions.simple.dedent
|
|
203
|
-
}, /*#__PURE__*/ React.createElement(
|
|
204
|
-
label: "Decrease indentation",
|
|
205
|
+
}, /*#__PURE__*/ React.createElement(TextOutdentIcon, {
|
|
206
|
+
"aria-label": "Decrease indentation",
|
|
205
207
|
className: styles.icon
|
|
206
208
|
})), /*#__PURE__*/ React.createElement(ToolbarButton, {
|
|
207
209
|
isDisabled: props.disabled,
|
|
@@ -209,8 +211,8 @@ function AdditionalButtons(props) {
|
|
|
209
211
|
tooltip: "Embed external content",
|
|
210
212
|
tooltipPlace: tooltipPlace,
|
|
211
213
|
onClick: props.actions.embedExternalContent
|
|
212
|
-
}, /*#__PURE__*/ React.createElement(
|
|
213
|
-
label: "Embed external content",
|
|
214
|
+
}, /*#__PURE__*/ React.createElement(CubesThreeIcon, {
|
|
215
|
+
"aria-label": "Embed external content",
|
|
214
216
|
className: styles.icon
|
|
215
217
|
})), /*#__PURE__*/ React.createElement(ToolbarButton, {
|
|
216
218
|
isDisabled: props.disabled,
|
|
@@ -218,8 +220,8 @@ function AdditionalButtons(props) {
|
|
|
218
220
|
tooltip: "Insert table",
|
|
219
221
|
tooltipPlace: tooltipPlace,
|
|
220
222
|
onClick: props.actions.insertTable
|
|
221
|
-
}, /*#__PURE__*/ React.createElement(
|
|
222
|
-
label: "Insert table",
|
|
223
|
+
}, /*#__PURE__*/ React.createElement(TableIcon, {
|
|
224
|
+
"aria-label": "Insert table",
|
|
223
225
|
className: styles.icon
|
|
224
226
|
})), /*#__PURE__*/ React.createElement(ToolbarButton, {
|
|
225
227
|
isDisabled: props.disabled,
|
|
@@ -227,8 +229,8 @@ function AdditionalButtons(props) {
|
|
|
227
229
|
tooltip: "Insert special character",
|
|
228
230
|
tooltipPlace: tooltipPlace,
|
|
229
231
|
onClick: props.actions.insertSpecialCharacter
|
|
230
|
-
}, /*#__PURE__*/ React.createElement(
|
|
231
|
-
label: "Insert special character",
|
|
232
|
+
}, /*#__PURE__*/ React.createElement(CurrencyEurIcon, {
|
|
233
|
+
"aria-label": "Insert special character",
|
|
232
234
|
className: styles.icon
|
|
233
235
|
})), /*#__PURE__*/ React.createElement(ToolbarButton, {
|
|
234
236
|
isDisabled: props.disabled,
|
|
@@ -236,8 +238,8 @@ function AdditionalButtons(props) {
|
|
|
236
238
|
tooltip: "Organize links",
|
|
237
239
|
tooltipPlace: tooltipPlace,
|
|
238
240
|
onClick: props.actions.organizeLinks
|
|
239
|
-
}, /*#__PURE__*/ React.createElement(
|
|
240
|
-
label: "Organize links",
|
|
241
|
+
}, /*#__PURE__*/ React.createElement(TreeStructureIcon, {
|
|
242
|
+
"aria-label": "Organize links",
|
|
241
243
|
className: styles.icon
|
|
242
244
|
})), /*#__PURE__*/ React.createElement(ToolbarButton, {
|
|
243
245
|
isDisabled: props.disabled,
|
|
@@ -245,8 +247,8 @@ function AdditionalButtons(props) {
|
|
|
245
247
|
tooltip: "Undo",
|
|
246
248
|
tooltipPlace: tooltipPlace,
|
|
247
249
|
onClick: props.actions.history.undo
|
|
248
|
-
}, /*#__PURE__*/ React.createElement(
|
|
249
|
-
label: "Undo",
|
|
250
|
+
}, /*#__PURE__*/ React.createElement(ArrowCounterClockwiseIcon, {
|
|
251
|
+
"aria-label": "Undo",
|
|
250
252
|
className: styles.icon
|
|
251
253
|
})), /*#__PURE__*/ React.createElement(ToolbarButton, {
|
|
252
254
|
isDisabled: props.disabled,
|
|
@@ -254,8 +256,8 @@ function AdditionalButtons(props) {
|
|
|
254
256
|
tooltip: "Redo",
|
|
255
257
|
tooltipPlace: tooltipPlace,
|
|
256
258
|
onClick: props.actions.history.redo
|
|
257
|
-
}, /*#__PURE__*/ React.createElement(
|
|
258
|
-
label: "Redo",
|
|
259
|
+
}, /*#__PURE__*/ React.createElement(ArrowClockwiseIcon, {
|
|
260
|
+
"aria-label": "Redo",
|
|
259
261
|
className: styles.icon
|
|
260
262
|
})));
|
|
261
263
|
}
|
|
@@ -291,8 +293,8 @@ export function DefaultMarkdownToolbar(props) {
|
|
|
291
293
|
onClick: props.actions.openZenMode,
|
|
292
294
|
className: styles.zenButton,
|
|
293
295
|
tooltip: "Expand"
|
|
294
|
-
}, /*#__PURE__*/ React.createElement(
|
|
295
|
-
label: "Expand",
|
|
296
|
+
}, /*#__PURE__*/ React.createElement(ArrowsOutIcon, {
|
|
297
|
+
"aria-label": "Expand",
|
|
296
298
|
className: styles.icon
|
|
297
299
|
})))), showAdditional && /*#__PURE__*/ React.createElement(Flex, {
|
|
298
300
|
justifyContent: "space-between",
|
|
@@ -320,8 +322,8 @@ export function ZenMarkdownToolbar(props) {
|
|
|
320
322
|
onClick: ()=>{
|
|
321
323
|
props.actions.closeZenMode();
|
|
322
324
|
},
|
|
323
|
-
icon: /*#__PURE__*/ React.createElement(
|
|
324
|
-
label: "Collapse",
|
|
325
|
+
icon: /*#__PURE__*/ React.createElement(ArrowsOutIcon, {
|
|
326
|
+
"aria-label": "Collapse",
|
|
325
327
|
className: styles.icon
|
|
326
328
|
}),
|
|
327
329
|
"aria-label": "Collapse"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/field-editor-markdown",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9-canary.9+11badc08",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"registry": "https://npm.pkg.github.com/"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "11badc08d8c51d63ab54ca779624da84d0fdf04e"
|
|
68
68
|
}
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: all[name]
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
Cubes: function() {
|
|
13
|
-
return Cubes;
|
|
14
|
-
},
|
|
15
|
-
Dedent: function() {
|
|
16
|
-
return Dedent;
|
|
17
|
-
},
|
|
18
|
-
Indent: function() {
|
|
19
|
-
return Indent;
|
|
20
|
-
},
|
|
21
|
-
OrgLinks: function() {
|
|
22
|
-
return OrgLinks;
|
|
23
|
-
},
|
|
24
|
-
Redo: function() {
|
|
25
|
-
return Redo;
|
|
26
|
-
},
|
|
27
|
-
SpecialChar: function() {
|
|
28
|
-
return SpecialChar;
|
|
29
|
-
},
|
|
30
|
-
Strikethrough: function() {
|
|
31
|
-
return Strikethrough;
|
|
32
|
-
},
|
|
33
|
-
Table: function() {
|
|
34
|
-
return Table;
|
|
35
|
-
},
|
|
36
|
-
Undo: function() {
|
|
37
|
-
return Undo;
|
|
38
|
-
},
|
|
39
|
-
Zen: function() {
|
|
40
|
-
return Zen;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
|
|
44
|
-
const _css = require("@emotion/css");
|
|
45
|
-
function _getRequireWildcardCache(nodeInterop) {
|
|
46
|
-
if (typeof WeakMap !== "function") return null;
|
|
47
|
-
var cacheBabelInterop = new WeakMap();
|
|
48
|
-
var cacheNodeInterop = new WeakMap();
|
|
49
|
-
return (_getRequireWildcardCache = function(nodeInterop) {
|
|
50
|
-
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
51
|
-
})(nodeInterop);
|
|
52
|
-
}
|
|
53
|
-
function _interop_require_wildcard(obj, nodeInterop) {
|
|
54
|
-
if (!nodeInterop && obj && obj.__esModule) {
|
|
55
|
-
return obj;
|
|
56
|
-
}
|
|
57
|
-
if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
|
|
58
|
-
return {
|
|
59
|
-
default: obj
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
var cache = _getRequireWildcardCache(nodeInterop);
|
|
63
|
-
if (cache && cache.has(obj)) {
|
|
64
|
-
return cache.get(obj);
|
|
65
|
-
}
|
|
66
|
-
var newObj = {
|
|
67
|
-
__proto__: null
|
|
68
|
-
};
|
|
69
|
-
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
70
|
-
for(var key in obj){
|
|
71
|
-
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
72
|
-
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
|
|
73
|
-
if (desc && (desc.get || desc.set)) {
|
|
74
|
-
Object.defineProperty(newObj, key, desc);
|
|
75
|
-
} else {
|
|
76
|
-
newObj[key] = obj[key];
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
newObj.default = obj;
|
|
81
|
-
if (cache) {
|
|
82
|
-
cache.set(obj, newObj);
|
|
83
|
-
}
|
|
84
|
-
return newObj;
|
|
85
|
-
}
|
|
86
|
-
const srOnly = (0, _css.css)({
|
|
87
|
-
position: 'absolute',
|
|
88
|
-
width: '1px',
|
|
89
|
-
height: '1px',
|
|
90
|
-
padding: '0',
|
|
91
|
-
margin: '-1px',
|
|
92
|
-
overflow: 'hidden',
|
|
93
|
-
clip: 'rect(0, 0, 0, 0)',
|
|
94
|
-
border: '0'
|
|
95
|
-
});
|
|
96
|
-
const Zen = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
97
|
-
width: 14,
|
|
98
|
-
height: 14,
|
|
99
|
-
viewBox: "0 0 1792 1792",
|
|
100
|
-
...rest
|
|
101
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
102
|
-
d: "M1411 541l-355 355 355 355 144-144q29-31 70-14 39 17 39 59v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l144-144-355-355-355 355 144 144q31 30 14 69-17 40-59 40H192q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l144 144 355-355-355-355-144 144q-19 19-45 19-12 0-24-5-40-17-40-59V192q0-26 19-45t45-19h448q42 0 59 40 17 39-14 69L541 381l355 355 355-355-144-144q-31-30-14-69 17-40 59-40h448q26 0 45 19t19 45v448q0 42-39 59-13 5-25 5-26 0-45-19z"
|
|
103
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
104
|
-
className: srOnly
|
|
105
|
-
}, label));
|
|
106
|
-
const Strikethrough = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
107
|
-
width: 14,
|
|
108
|
-
height: 14,
|
|
109
|
-
viewBox: "0 0 1792 1792",
|
|
110
|
-
...rest
|
|
111
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
112
|
-
d: "M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zM483 832q-28-35-51-80-48-98-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52H483zm507 256h411q7 39 7 92 0 111-41 212-23 56-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"
|
|
113
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
114
|
-
className: srOnly
|
|
115
|
-
}, label));
|
|
116
|
-
const Indent = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
117
|
-
width: 14,
|
|
118
|
-
height: 14,
|
|
119
|
-
viewBox: "0 0 1792 1792",
|
|
120
|
-
...rest
|
|
121
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
122
|
-
d: "M352 832q0 14-9 23L55 1143q-9 9-23 9-13 0-22.5-9.5T0 1120V544q0-13 9.5-22.5T32 512q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5H32q-13 0-22.5-9.5T0 1504v-192q0-13 9.5-22.5T32 1280h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5H672q-13 0-22.5-9.5T640 1120V928q0-13 9.5-22.5T672 896h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 768H672q-13 0-22.5-9.5T640 736V544q0-13 9.5-22.5T672 512h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 384H32q-13 0-22.5-9.5T0 352V160q0-13 9.5-22.5T32 128h1728q13 0 22.5 9.5t9.5 22.5z"
|
|
123
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
124
|
-
className: srOnly
|
|
125
|
-
}, label));
|
|
126
|
-
const Dedent = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
127
|
-
width: 14,
|
|
128
|
-
height: 14,
|
|
129
|
-
viewBox: "0 0 1792 1792",
|
|
130
|
-
...rest
|
|
131
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
132
|
-
d: "M384 544v576q0 13-9.5 22.5T352 1152q-14 0-23-9L41 855q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5T384 544zm1408 768v192q0 13-9.5 22.5t-22.5 9.5H32q-13 0-22.5-9.5T0 1504v-192q0-13 9.5-22.5T32 1280h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5H672q-13 0-22.5-9.5T640 1120V928q0-13 9.5-22.5T672 896h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 768H672q-13 0-22.5-9.5T640 736V544q0-13 9.5-22.5T672 512h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 384H32q-13 0-22.5-9.5T0 352V160q0-13 9.5-22.5T32 128h1728q13 0 22.5 9.5t9.5 22.5z"
|
|
133
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
134
|
-
className: srOnly
|
|
135
|
-
}, label));
|
|
136
|
-
const Cubes = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
137
|
-
width: 18,
|
|
138
|
-
height: 14,
|
|
139
|
-
viewBox: "0 0 2304 1792",
|
|
140
|
-
...rest
|
|
141
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
142
|
-
d: "M640 1632l384-192v-314l-384 164v342zm-64-454l404-173-404-173-404 173zm1088 454l384-192v-314l-384 164v342zm-64-454l404-173-404-173-404 173zm-448-293l384-165V454l-384 164v267zm-64-379l441-189-441-189-441 189zm1088 518v416q0 36-19 67t-52 47l-448 224q-25 14-57 14t-57-14l-448-224q-4-2-7-4-2 2-7 4l-448 224q-25 14-57 14t-57-14L71 1554q-33-16-52-47t-19-67v-416q0-38 21.5-70T78 906l434-186V320q0-38 21.5-70t56.5-48l448-192q23-10 50-10t50 10l448 192q35 16 56.5 48t21.5 70v400l434 186q36 16 57 48t21 70z"
|
|
143
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
144
|
-
className: srOnly
|
|
145
|
-
}, label));
|
|
146
|
-
const Table = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
147
|
-
width: 14,
|
|
148
|
-
height: 14,
|
|
149
|
-
viewBox: "0 0 1792 1792",
|
|
150
|
-
...rest
|
|
151
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
152
|
-
d: "M576 1376v-192q0-14-9-23t-23-9H224q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384V800q0-14-9-23t-23-9H224q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9H736q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zM576 608V416q0-14-9-23t-23-9H224q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384V800q0-14-9-23t-23-9H736q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768V416q0-14-9-23t-23-9H736q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384V800q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384V416q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47H224q-66 0-113-47t-47-113V288q0-66 47-113t113-47h1344q66 0 113 47t47 113z"
|
|
153
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
154
|
-
className: srOnly
|
|
155
|
-
}, label));
|
|
156
|
-
const SpecialChar = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
157
|
-
width: 14,
|
|
158
|
-
height: 14,
|
|
159
|
-
viewBox: "0 0 1792 1792",
|
|
160
|
-
...rest
|
|
161
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
162
|
-
d: "M1360 1307l35 159q3 12-3 22.5t-17 14.5l-5 1q-4 2-10.5 3.5t-16 4.5-21.5 5.5-25.5 5-30 5-33.5 4.5-36.5 3-38.5 1q-234 0-409-130.5T511 1054h-95q-13 0-22.5-9.5T384 1022V909q0-13 9.5-22.5T416 877h66q-2-57 1-105h-67q-14 0-23-9t-9-23V626q0-14 9-23t23-9h98q67-210 243.5-338T1158 128q102 0 194 23 11 3 20 15 6 11 3 24l-43 159q-3 13-14 19.5t-24 2.5l-4-1q-4-1-11.5-2.5L1261 364l-22.5-3.5-26-3-29-2.5-29.5-1q-126 0-226 64T778 594h468q16 0 25 12 10 12 7 26l-24 114q-5 26-32 26H734q-3 37 0 105h459q15 0 25 12 9 12 6 27l-24 112q-2 11-11 18.5t-20 7.5H782q48 117 149.5 185.5T1160 1308q18 0 36-1.5t33.5-3.5 29.5-4.5 24.5-5 18.5-4.5l12-3 5-2q13-5 26 2 12 7 15 21z"
|
|
163
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
164
|
-
className: srOnly
|
|
165
|
-
}, label));
|
|
166
|
-
const OrgLinks = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
167
|
-
width: 14,
|
|
168
|
-
height: 14,
|
|
169
|
-
viewBox: "0 0 1792 1792",
|
|
170
|
-
...rest
|
|
171
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
172
|
-
d: "M1792 1248v320q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960H960v192h96q40 0 68 28t28 68v320q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960H320v192h96q40 0 68 28t28 68v320q0 40-28 68t-68 28H96q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960q0-52 38-90t90-38h512V640h-96q-40 0-68-28t-28-68V224q0-40 28-68t68-28h320q40 0 68 28t28 68v320q0 40-28 68t-68 28h-96v192h512q52 0 90 38t38 90v192h96q40 0 68 28t28 68z"
|
|
173
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
174
|
-
className: srOnly
|
|
175
|
-
}, label));
|
|
176
|
-
const Undo = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
177
|
-
width: 14,
|
|
178
|
-
height: 14,
|
|
179
|
-
viewBox: "0 0 1792 1792",
|
|
180
|
-
...rest
|
|
181
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
182
|
-
d: "M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5T305 1387q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5T1258 1258t109.5-163.5T1408 896t-40.5-198.5T1258 534t-163.5-109.5T896 384q-98 0-188 35.5T548 521l137 138q31 30 14 69-17 40-59 40H192q-26 0-45-19t-19-45V256q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5T896 128q156 0 298 61t245 164 164 245 61 298z"
|
|
183
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
184
|
-
className: srOnly
|
|
185
|
-
}, label));
|
|
186
|
-
const Redo = ({ label, ...rest })=>/*#__PURE__*/ _react.createElement("svg", {
|
|
187
|
-
width: 14,
|
|
188
|
-
height: 14,
|
|
189
|
-
viewBox: "0 0 1792 1792",
|
|
190
|
-
...rest
|
|
191
|
-
}, /*#__PURE__*/ _react.createElement("path", {
|
|
192
|
-
d: "M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5T534 534 424.5 697.5 384 896t40.5 198.5T534 1258t163.5 109.5T896 1408q119 0 225-52t179-147q7-10 23-12 15 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5T896 1664q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5T1425 340l130-129q29-31 70-14 39 17 39 59z"
|
|
193
|
-
}), /*#__PURE__*/ _react.createElement("span", {
|
|
194
|
-
className: srOnly
|
|
195
|
-
}, label));
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { css } from '@emotion/css';
|
|
3
|
-
const srOnly = css({
|
|
4
|
-
position: 'absolute',
|
|
5
|
-
width: '1px',
|
|
6
|
-
height: '1px',
|
|
7
|
-
padding: '0',
|
|
8
|
-
margin: '-1px',
|
|
9
|
-
overflow: 'hidden',
|
|
10
|
-
clip: 'rect(0, 0, 0, 0)',
|
|
11
|
-
border: '0'
|
|
12
|
-
});
|
|
13
|
-
export const Zen = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
14
|
-
width: 14,
|
|
15
|
-
height: 14,
|
|
16
|
-
viewBox: "0 0 1792 1792",
|
|
17
|
-
...rest
|
|
18
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
19
|
-
d: "M1411 541l-355 355 355 355 144-144q29-31 70-14 39 17 39 59v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l144-144-355-355-355 355 144 144q31 30 14 69-17 40-59 40H192q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l144 144 355-355-355-355-144 144q-19 19-45 19-12 0-24-5-40-17-40-59V192q0-26 19-45t45-19h448q42 0 59 40 17 39-14 69L541 381l355 355 355-355-144-144q-31-30-14-69 17-40 59-40h448q26 0 45 19t19 45v448q0 42-39 59-13 5-25 5-26 0-45-19z"
|
|
20
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
21
|
-
className: srOnly
|
|
22
|
-
}, label));
|
|
23
|
-
export const Strikethrough = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
24
|
-
width: 14,
|
|
25
|
-
height: 14,
|
|
26
|
-
viewBox: "0 0 1792 1792",
|
|
27
|
-
...rest
|
|
28
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
29
|
-
d: "M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9H32q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zM483 832q-28-35-51-80-48-98-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52H483zm507 256h411q7 39 7 92 0 111-41 212-23 56-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"
|
|
30
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
31
|
-
className: srOnly
|
|
32
|
-
}, label));
|
|
33
|
-
export const Indent = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
34
|
-
width: 14,
|
|
35
|
-
height: 14,
|
|
36
|
-
viewBox: "0 0 1792 1792",
|
|
37
|
-
...rest
|
|
38
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
39
|
-
d: "M352 832q0 14-9 23L55 1143q-9 9-23 9-13 0-22.5-9.5T0 1120V544q0-13 9.5-22.5T32 512q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5H32q-13 0-22.5-9.5T0 1504v-192q0-13 9.5-22.5T32 1280h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5H672q-13 0-22.5-9.5T640 1120V928q0-13 9.5-22.5T672 896h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 768H672q-13 0-22.5-9.5T640 736V544q0-13 9.5-22.5T672 512h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 384H32q-13 0-22.5-9.5T0 352V160q0-13 9.5-22.5T32 128h1728q13 0 22.5 9.5t9.5 22.5z"
|
|
40
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
41
|
-
className: srOnly
|
|
42
|
-
}, label));
|
|
43
|
-
export const Dedent = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
44
|
-
width: 14,
|
|
45
|
-
height: 14,
|
|
46
|
-
viewBox: "0 0 1792 1792",
|
|
47
|
-
...rest
|
|
48
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
49
|
-
d: "M384 544v576q0 13-9.5 22.5T352 1152q-14 0-23-9L41 855q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5T384 544zm1408 768v192q0 13-9.5 22.5t-22.5 9.5H32q-13 0-22.5-9.5T0 1504v-192q0-13 9.5-22.5T32 1280h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5H672q-13 0-22.5-9.5T640 1120V928q0-13 9.5-22.5T672 896h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 768H672q-13 0-22.5-9.5T640 736V544q0-13 9.5-22.5T672 512h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5T1760 384H32q-13 0-22.5-9.5T0 352V160q0-13 9.5-22.5T32 128h1728q13 0 22.5 9.5t9.5 22.5z"
|
|
50
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
51
|
-
className: srOnly
|
|
52
|
-
}, label));
|
|
53
|
-
export const Cubes = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
54
|
-
width: 18,
|
|
55
|
-
height: 14,
|
|
56
|
-
viewBox: "0 0 2304 1792",
|
|
57
|
-
...rest
|
|
58
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
59
|
-
d: "M640 1632l384-192v-314l-384 164v342zm-64-454l404-173-404-173-404 173zm1088 454l384-192v-314l-384 164v342zm-64-454l404-173-404-173-404 173zm-448-293l384-165V454l-384 164v267zm-64-379l441-189-441-189-441 189zm1088 518v416q0 36-19 67t-52 47l-448 224q-25 14-57 14t-57-14l-448-224q-4-2-7-4-2 2-7 4l-448 224q-25 14-57 14t-57-14L71 1554q-33-16-52-47t-19-67v-416q0-38 21.5-70T78 906l434-186V320q0-38 21.5-70t56.5-48l448-192q23-10 50-10t50 10l448 192q35 16 56.5 48t21.5 70v400l434 186q36 16 57 48t21 70z"
|
|
60
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
61
|
-
className: srOnly
|
|
62
|
-
}, label));
|
|
63
|
-
export const Table = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
64
|
-
width: 14,
|
|
65
|
-
height: 14,
|
|
66
|
-
viewBox: "0 0 1792 1792",
|
|
67
|
-
...rest
|
|
68
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
69
|
-
d: "M576 1376v-192q0-14-9-23t-23-9H224q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384V800q0-14-9-23t-23-9H224q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9H736q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zM576 608V416q0-14-9-23t-23-9H224q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384V800q0-14-9-23t-23-9H736q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768V416q0-14-9-23t-23-9H736q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384V800q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384V416q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47H224q-66 0-113-47t-47-113V288q0-66 47-113t113-47h1344q66 0 113 47t47 113z"
|
|
70
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
71
|
-
className: srOnly
|
|
72
|
-
}, label));
|
|
73
|
-
export const SpecialChar = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
74
|
-
width: 14,
|
|
75
|
-
height: 14,
|
|
76
|
-
viewBox: "0 0 1792 1792",
|
|
77
|
-
...rest
|
|
78
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
79
|
-
d: "M1360 1307l35 159q3 12-3 22.5t-17 14.5l-5 1q-4 2-10.5 3.5t-16 4.5-21.5 5.5-25.5 5-30 5-33.5 4.5-36.5 3-38.5 1q-234 0-409-130.5T511 1054h-95q-13 0-22.5-9.5T384 1022V909q0-13 9.5-22.5T416 877h66q-2-57 1-105h-67q-14 0-23-9t-9-23V626q0-14 9-23t23-9h98q67-210 243.5-338T1158 128q102 0 194 23 11 3 20 15 6 11 3 24l-43 159q-3 13-14 19.5t-24 2.5l-4-1q-4-1-11.5-2.5L1261 364l-22.5-3.5-26-3-29-2.5-29.5-1q-126 0-226 64T778 594h468q16 0 25 12 10 12 7 26l-24 114q-5 26-32 26H734q-3 37 0 105h459q15 0 25 12 9 12 6 27l-24 112q-2 11-11 18.5t-20 7.5H782q48 117 149.5 185.5T1160 1308q18 0 36-1.5t33.5-3.5 29.5-4.5 24.5-5 18.5-4.5l12-3 5-2q13-5 26 2 12 7 15 21z"
|
|
80
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
81
|
-
className: srOnly
|
|
82
|
-
}, label));
|
|
83
|
-
export const OrgLinks = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
84
|
-
width: 14,
|
|
85
|
-
height: 14,
|
|
86
|
-
viewBox: "0 0 1792 1792",
|
|
87
|
-
...rest
|
|
88
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
89
|
-
d: "M1792 1248v320q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960H960v192h96q40 0 68 28t28 68v320q0 40-28 68t-68 28H736q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960H320v192h96q40 0 68 28t28 68v320q0 40-28 68t-68 28H96q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h96V960q0-52 38-90t90-38h512V640h-96q-40 0-68-28t-28-68V224q0-40 28-68t68-28h320q40 0 68 28t28 68v320q0 40-28 68t-68 28h-96v192h512q52 0 90 38t38 90v192h96q40 0 68 28t28 68z"
|
|
90
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
91
|
-
className: srOnly
|
|
92
|
-
}, label));
|
|
93
|
-
export const Undo = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
94
|
-
width: 14,
|
|
95
|
-
height: 14,
|
|
96
|
-
viewBox: "0 0 1792 1792",
|
|
97
|
-
...rest
|
|
98
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
99
|
-
d: "M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5T305 1387q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5T1258 1258t109.5-163.5T1408 896t-40.5-198.5T1258 534t-163.5-109.5T896 384q-98 0-188 35.5T548 521l137 138q31 30 14 69-17 40-59 40H192q-26 0-45-19t-19-45V256q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5T896 128q156 0 298 61t245 164 164 245 61 298z"
|
|
100
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
101
|
-
className: srOnly
|
|
102
|
-
}, label));
|
|
103
|
-
export const Redo = ({ label, ...rest })=>/*#__PURE__*/ React.createElement("svg", {
|
|
104
|
-
width: 14,
|
|
105
|
-
height: 14,
|
|
106
|
-
viewBox: "0 0 1792 1792",
|
|
107
|
-
...rest
|
|
108
|
-
}, /*#__PURE__*/ React.createElement("path", {
|
|
109
|
-
d: "M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5T534 534 424.5 697.5 384 896t40.5 198.5T534 1258t163.5 109.5T896 1408q119 0 225-52t179-147q7-10 23-12 15 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5T896 1664q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5T1425 340l130-129q29-31 70-14 39 17 39 59z"
|
|
110
|
-
}), /*#__PURE__*/ React.createElement("span", {
|
|
111
|
-
className: srOnly
|
|
112
|
-
}, label));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type IconProps = {
|
|
3
|
-
width?: number;
|
|
4
|
-
height?: number;
|
|
5
|
-
className?: string;
|
|
6
|
-
label: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const Zen: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
9
|
-
export declare const Strikethrough: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
10
|
-
export declare const Indent: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
11
|
-
export declare const Dedent: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
12
|
-
export declare const Cubes: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
13
|
-
export declare const Table: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
14
|
-
export declare const SpecialChar: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
15
|
-
export declare const OrgLinks: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
16
|
-
export declare const Undo: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
17
|
-
export declare const Redo: ({ label, ...rest }: IconProps) => React.JSX.Element;
|
|
18
|
-
export {};
|