@commercetools-uikit/rich-text-utils 20.3.0 → 20.3.1
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.
|
@@ -1462,109 +1462,151 @@ var Dropdown$1 = Dropdown;
|
|
|
1462
1462
|
|
|
1463
1463
|
var messages = reactIntl.defineMessages({
|
|
1464
1464
|
boldButtonLabel: {
|
|
1465
|
-
id:
|
|
1466
|
-
|
|
1467
|
-
|
|
1465
|
+
id: "UIKit.RichTextBody.boldButtonLabel",
|
|
1466
|
+
defaultMessage: [{
|
|
1467
|
+
"type": 0,
|
|
1468
|
+
"value": "Bold"
|
|
1469
|
+
}]
|
|
1468
1470
|
},
|
|
1469
1471
|
expandButtonLabel: {
|
|
1470
|
-
id:
|
|
1471
|
-
|
|
1472
|
-
|
|
1472
|
+
id: "UIKit.RichTextBody.expandButtonLabel",
|
|
1473
|
+
defaultMessage: [{
|
|
1474
|
+
"type": 0,
|
|
1475
|
+
"value": "Expand"
|
|
1476
|
+
}]
|
|
1473
1477
|
},
|
|
1474
1478
|
italicButtonLabel: {
|
|
1475
|
-
id:
|
|
1476
|
-
|
|
1477
|
-
|
|
1479
|
+
id: "UIKit.RichTextBody.italicButtonLabel",
|
|
1480
|
+
defaultMessage: [{
|
|
1481
|
+
"type": 0,
|
|
1482
|
+
"value": "Italic"
|
|
1483
|
+
}]
|
|
1478
1484
|
},
|
|
1479
1485
|
moreStylesDropdownLabel: {
|
|
1480
|
-
id:
|
|
1481
|
-
|
|
1482
|
-
|
|
1486
|
+
id: "UIKit.RichTextBody.moreStylesDropdownLabel",
|
|
1487
|
+
defaultMessage: [{
|
|
1488
|
+
"type": 0,
|
|
1489
|
+
"value": "More styles"
|
|
1490
|
+
}]
|
|
1483
1491
|
},
|
|
1484
1492
|
moreStylesDropdownOptionStrikethrough: {
|
|
1485
|
-
id:
|
|
1486
|
-
|
|
1487
|
-
|
|
1493
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough",
|
|
1494
|
+
defaultMessage: [{
|
|
1495
|
+
"type": 0,
|
|
1496
|
+
"value": "Strikethrough"
|
|
1497
|
+
}]
|
|
1488
1498
|
},
|
|
1489
1499
|
moreStylesDropdownOptionSuperscript: {
|
|
1490
|
-
id:
|
|
1491
|
-
|
|
1492
|
-
|
|
1500
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionSuperscript",
|
|
1501
|
+
defaultMessage: [{
|
|
1502
|
+
"type": 0,
|
|
1503
|
+
"value": "Superscript"
|
|
1504
|
+
}]
|
|
1493
1505
|
},
|
|
1494
1506
|
moreStylesDropdownOptionSubscript: {
|
|
1495
|
-
id:
|
|
1496
|
-
|
|
1497
|
-
|
|
1507
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionSubscript",
|
|
1508
|
+
defaultMessage: [{
|
|
1509
|
+
"type": 0,
|
|
1510
|
+
"value": "Subscript"
|
|
1511
|
+
}]
|
|
1498
1512
|
},
|
|
1499
1513
|
orderedListButtonLabel: {
|
|
1500
|
-
id:
|
|
1501
|
-
|
|
1502
|
-
|
|
1514
|
+
id: "UIKit.RichTextBody.orderedListButtonLabel",
|
|
1515
|
+
defaultMessage: [{
|
|
1516
|
+
"type": 0,
|
|
1517
|
+
"value": "Numbered list"
|
|
1518
|
+
}]
|
|
1503
1519
|
},
|
|
1504
1520
|
redoButtonLabel: {
|
|
1505
|
-
id:
|
|
1506
|
-
|
|
1507
|
-
|
|
1521
|
+
id: "UIKit.RichTextBody.redoButtonLabel",
|
|
1522
|
+
defaultMessage: [{
|
|
1523
|
+
"type": 0,
|
|
1524
|
+
"value": "Redo"
|
|
1525
|
+
}]
|
|
1508
1526
|
},
|
|
1509
1527
|
styleDropdownLabel: {
|
|
1510
|
-
id:
|
|
1511
|
-
|
|
1512
|
-
|
|
1528
|
+
id: "UIKit.RichTextBody.styleDropdownLabel",
|
|
1529
|
+
defaultMessage: [{
|
|
1530
|
+
"type": 0,
|
|
1531
|
+
"value": "Text styles"
|
|
1532
|
+
}]
|
|
1513
1533
|
},
|
|
1514
1534
|
styleDropdownOptionParagraph: {
|
|
1515
|
-
id:
|
|
1516
|
-
|
|
1517
|
-
|
|
1535
|
+
id: "UIKit.RichTextBody.styleDropdownOptionParagraph",
|
|
1536
|
+
defaultMessage: [{
|
|
1537
|
+
"type": 0,
|
|
1538
|
+
"value": "Paragraph"
|
|
1539
|
+
}]
|
|
1518
1540
|
},
|
|
1519
1541
|
styleDropdownOptionH1: {
|
|
1520
|
-
id:
|
|
1521
|
-
|
|
1522
|
-
|
|
1542
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH1",
|
|
1543
|
+
defaultMessage: [{
|
|
1544
|
+
"type": 0,
|
|
1545
|
+
"value": "Headline H1"
|
|
1546
|
+
}]
|
|
1523
1547
|
},
|
|
1524
1548
|
styleDropdownOptionH2: {
|
|
1525
|
-
id:
|
|
1526
|
-
|
|
1527
|
-
|
|
1549
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH2",
|
|
1550
|
+
defaultMessage: [{
|
|
1551
|
+
"type": 0,
|
|
1552
|
+
"value": "Headline H2"
|
|
1553
|
+
}]
|
|
1528
1554
|
},
|
|
1529
1555
|
styleDropdownOptionH3: {
|
|
1530
|
-
id:
|
|
1531
|
-
|
|
1532
|
-
|
|
1556
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH3",
|
|
1557
|
+
defaultMessage: [{
|
|
1558
|
+
"type": 0,
|
|
1559
|
+
"value": "Headline H3"
|
|
1560
|
+
}]
|
|
1533
1561
|
},
|
|
1534
1562
|
styleDropdownOptionH4: {
|
|
1535
|
-
id:
|
|
1536
|
-
|
|
1537
|
-
|
|
1563
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH4",
|
|
1564
|
+
defaultMessage: [{
|
|
1565
|
+
"type": 0,
|
|
1566
|
+
"value": "Headline H4"
|
|
1567
|
+
}]
|
|
1538
1568
|
},
|
|
1539
1569
|
styleDropdownOptionH5: {
|
|
1540
|
-
id:
|
|
1541
|
-
|
|
1542
|
-
|
|
1570
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH5",
|
|
1571
|
+
defaultMessage: [{
|
|
1572
|
+
"type": 0,
|
|
1573
|
+
"value": "Headline H5"
|
|
1574
|
+
}]
|
|
1543
1575
|
},
|
|
1544
1576
|
styleDropdownOptionQuote: {
|
|
1545
|
-
id:
|
|
1546
|
-
|
|
1547
|
-
|
|
1577
|
+
id: "UIKit.RichTextBody.styleDropdownOptionQuote",
|
|
1578
|
+
defaultMessage: [{
|
|
1579
|
+
"type": 0,
|
|
1580
|
+
"value": "Quote"
|
|
1581
|
+
}]
|
|
1548
1582
|
},
|
|
1549
1583
|
styleDropdownOptionPreformatted: {
|
|
1550
|
-
id:
|
|
1551
|
-
|
|
1552
|
-
|
|
1584
|
+
id: "UIKit.RichTextBody.styleDropdownOptionPreformatted",
|
|
1585
|
+
defaultMessage: [{
|
|
1586
|
+
"type": 0,
|
|
1587
|
+
"value": "Preformatted"
|
|
1588
|
+
}]
|
|
1553
1589
|
},
|
|
1554
1590
|
underlinedButtonLabel: {
|
|
1555
|
-
id:
|
|
1556
|
-
|
|
1557
|
-
|
|
1591
|
+
id: "UIKit.RichTextBody.underlinedButtonLabel",
|
|
1592
|
+
defaultMessage: [{
|
|
1593
|
+
"type": 0,
|
|
1594
|
+
"value": "Underline"
|
|
1595
|
+
}]
|
|
1558
1596
|
},
|
|
1559
1597
|
undoButtonLabel: {
|
|
1560
|
-
id:
|
|
1561
|
-
|
|
1562
|
-
|
|
1598
|
+
id: "UIKit.RichTextBody.undoButtonLabel",
|
|
1599
|
+
defaultMessage: [{
|
|
1600
|
+
"type": 0,
|
|
1601
|
+
"value": "Undo"
|
|
1602
|
+
}]
|
|
1563
1603
|
},
|
|
1564
1604
|
unorderedListButtonLabel: {
|
|
1565
|
-
id:
|
|
1566
|
-
|
|
1567
|
-
|
|
1605
|
+
id: "UIKit.RichTextBody.unorderedListButtonLabel",
|
|
1606
|
+
defaultMessage: [{
|
|
1607
|
+
"type": 0,
|
|
1608
|
+
"value": "Bullet list"
|
|
1609
|
+
}]
|
|
1568
1610
|
}
|
|
1569
1611
|
});
|
|
1570
1612
|
|
|
@@ -1930,7 +1972,7 @@ RichTextEditorBody.displayName = 'RichTextEditorBody';
|
|
|
1930
1972
|
var RichTextEditorBody$1 = RichTextEditorBody;
|
|
1931
1973
|
|
|
1932
1974
|
// NOTE: This string will be replaced on build time with the package version.
|
|
1933
|
-
var version = "20.3.
|
|
1975
|
+
var version = "20.3.1";
|
|
1934
1976
|
|
|
1935
1977
|
exports.Element = Element;
|
|
1936
1978
|
exports.HiddenInput = HiddenInput$1;
|
|
@@ -1417,109 +1417,151 @@ var Dropdown$1 = Dropdown;
|
|
|
1417
1417
|
|
|
1418
1418
|
var messages = reactIntl.defineMessages({
|
|
1419
1419
|
boldButtonLabel: {
|
|
1420
|
-
id:
|
|
1421
|
-
|
|
1422
|
-
|
|
1420
|
+
id: "UIKit.RichTextBody.boldButtonLabel",
|
|
1421
|
+
defaultMessage: [{
|
|
1422
|
+
"type": 0,
|
|
1423
|
+
"value": "Bold"
|
|
1424
|
+
}]
|
|
1423
1425
|
},
|
|
1424
1426
|
expandButtonLabel: {
|
|
1425
|
-
id:
|
|
1426
|
-
|
|
1427
|
-
|
|
1427
|
+
id: "UIKit.RichTextBody.expandButtonLabel",
|
|
1428
|
+
defaultMessage: [{
|
|
1429
|
+
"type": 0,
|
|
1430
|
+
"value": "Expand"
|
|
1431
|
+
}]
|
|
1428
1432
|
},
|
|
1429
1433
|
italicButtonLabel: {
|
|
1430
|
-
id:
|
|
1431
|
-
|
|
1432
|
-
|
|
1434
|
+
id: "UIKit.RichTextBody.italicButtonLabel",
|
|
1435
|
+
defaultMessage: [{
|
|
1436
|
+
"type": 0,
|
|
1437
|
+
"value": "Italic"
|
|
1438
|
+
}]
|
|
1433
1439
|
},
|
|
1434
1440
|
moreStylesDropdownLabel: {
|
|
1435
|
-
id:
|
|
1436
|
-
|
|
1437
|
-
|
|
1441
|
+
id: "UIKit.RichTextBody.moreStylesDropdownLabel",
|
|
1442
|
+
defaultMessage: [{
|
|
1443
|
+
"type": 0,
|
|
1444
|
+
"value": "More styles"
|
|
1445
|
+
}]
|
|
1438
1446
|
},
|
|
1439
1447
|
moreStylesDropdownOptionStrikethrough: {
|
|
1440
|
-
id:
|
|
1441
|
-
|
|
1442
|
-
|
|
1448
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough",
|
|
1449
|
+
defaultMessage: [{
|
|
1450
|
+
"type": 0,
|
|
1451
|
+
"value": "Strikethrough"
|
|
1452
|
+
}]
|
|
1443
1453
|
},
|
|
1444
1454
|
moreStylesDropdownOptionSuperscript: {
|
|
1445
|
-
id:
|
|
1446
|
-
|
|
1447
|
-
|
|
1455
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionSuperscript",
|
|
1456
|
+
defaultMessage: [{
|
|
1457
|
+
"type": 0,
|
|
1458
|
+
"value": "Superscript"
|
|
1459
|
+
}]
|
|
1448
1460
|
},
|
|
1449
1461
|
moreStylesDropdownOptionSubscript: {
|
|
1450
|
-
id:
|
|
1451
|
-
|
|
1452
|
-
|
|
1462
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionSubscript",
|
|
1463
|
+
defaultMessage: [{
|
|
1464
|
+
"type": 0,
|
|
1465
|
+
"value": "Subscript"
|
|
1466
|
+
}]
|
|
1453
1467
|
},
|
|
1454
1468
|
orderedListButtonLabel: {
|
|
1455
|
-
id:
|
|
1456
|
-
|
|
1457
|
-
|
|
1469
|
+
id: "UIKit.RichTextBody.orderedListButtonLabel",
|
|
1470
|
+
defaultMessage: [{
|
|
1471
|
+
"type": 0,
|
|
1472
|
+
"value": "Numbered list"
|
|
1473
|
+
}]
|
|
1458
1474
|
},
|
|
1459
1475
|
redoButtonLabel: {
|
|
1460
|
-
id:
|
|
1461
|
-
|
|
1462
|
-
|
|
1476
|
+
id: "UIKit.RichTextBody.redoButtonLabel",
|
|
1477
|
+
defaultMessage: [{
|
|
1478
|
+
"type": 0,
|
|
1479
|
+
"value": "Redo"
|
|
1480
|
+
}]
|
|
1463
1481
|
},
|
|
1464
1482
|
styleDropdownLabel: {
|
|
1465
|
-
id:
|
|
1466
|
-
|
|
1467
|
-
|
|
1483
|
+
id: "UIKit.RichTextBody.styleDropdownLabel",
|
|
1484
|
+
defaultMessage: [{
|
|
1485
|
+
"type": 0,
|
|
1486
|
+
"value": "Text styles"
|
|
1487
|
+
}]
|
|
1468
1488
|
},
|
|
1469
1489
|
styleDropdownOptionParagraph: {
|
|
1470
|
-
id:
|
|
1471
|
-
|
|
1472
|
-
|
|
1490
|
+
id: "UIKit.RichTextBody.styleDropdownOptionParagraph",
|
|
1491
|
+
defaultMessage: [{
|
|
1492
|
+
"type": 0,
|
|
1493
|
+
"value": "Paragraph"
|
|
1494
|
+
}]
|
|
1473
1495
|
},
|
|
1474
1496
|
styleDropdownOptionH1: {
|
|
1475
|
-
id:
|
|
1476
|
-
|
|
1477
|
-
|
|
1497
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH1",
|
|
1498
|
+
defaultMessage: [{
|
|
1499
|
+
"type": 0,
|
|
1500
|
+
"value": "Headline H1"
|
|
1501
|
+
}]
|
|
1478
1502
|
},
|
|
1479
1503
|
styleDropdownOptionH2: {
|
|
1480
|
-
id:
|
|
1481
|
-
|
|
1482
|
-
|
|
1504
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH2",
|
|
1505
|
+
defaultMessage: [{
|
|
1506
|
+
"type": 0,
|
|
1507
|
+
"value": "Headline H2"
|
|
1508
|
+
}]
|
|
1483
1509
|
},
|
|
1484
1510
|
styleDropdownOptionH3: {
|
|
1485
|
-
id:
|
|
1486
|
-
|
|
1487
|
-
|
|
1511
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH3",
|
|
1512
|
+
defaultMessage: [{
|
|
1513
|
+
"type": 0,
|
|
1514
|
+
"value": "Headline H3"
|
|
1515
|
+
}]
|
|
1488
1516
|
},
|
|
1489
1517
|
styleDropdownOptionH4: {
|
|
1490
|
-
id:
|
|
1491
|
-
|
|
1492
|
-
|
|
1518
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH4",
|
|
1519
|
+
defaultMessage: [{
|
|
1520
|
+
"type": 0,
|
|
1521
|
+
"value": "Headline H4"
|
|
1522
|
+
}]
|
|
1493
1523
|
},
|
|
1494
1524
|
styleDropdownOptionH5: {
|
|
1495
|
-
id:
|
|
1496
|
-
|
|
1497
|
-
|
|
1525
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH5",
|
|
1526
|
+
defaultMessage: [{
|
|
1527
|
+
"type": 0,
|
|
1528
|
+
"value": "Headline H5"
|
|
1529
|
+
}]
|
|
1498
1530
|
},
|
|
1499
1531
|
styleDropdownOptionQuote: {
|
|
1500
|
-
id:
|
|
1501
|
-
|
|
1502
|
-
|
|
1532
|
+
id: "UIKit.RichTextBody.styleDropdownOptionQuote",
|
|
1533
|
+
defaultMessage: [{
|
|
1534
|
+
"type": 0,
|
|
1535
|
+
"value": "Quote"
|
|
1536
|
+
}]
|
|
1503
1537
|
},
|
|
1504
1538
|
styleDropdownOptionPreformatted: {
|
|
1505
|
-
id:
|
|
1506
|
-
|
|
1507
|
-
|
|
1539
|
+
id: "UIKit.RichTextBody.styleDropdownOptionPreformatted",
|
|
1540
|
+
defaultMessage: [{
|
|
1541
|
+
"type": 0,
|
|
1542
|
+
"value": "Preformatted"
|
|
1543
|
+
}]
|
|
1508
1544
|
},
|
|
1509
1545
|
underlinedButtonLabel: {
|
|
1510
|
-
id:
|
|
1511
|
-
|
|
1512
|
-
|
|
1546
|
+
id: "UIKit.RichTextBody.underlinedButtonLabel",
|
|
1547
|
+
defaultMessage: [{
|
|
1548
|
+
"type": 0,
|
|
1549
|
+
"value": "Underline"
|
|
1550
|
+
}]
|
|
1513
1551
|
},
|
|
1514
1552
|
undoButtonLabel: {
|
|
1515
|
-
id:
|
|
1516
|
-
|
|
1517
|
-
|
|
1553
|
+
id: "UIKit.RichTextBody.undoButtonLabel",
|
|
1554
|
+
defaultMessage: [{
|
|
1555
|
+
"type": 0,
|
|
1556
|
+
"value": "Undo"
|
|
1557
|
+
}]
|
|
1518
1558
|
},
|
|
1519
1559
|
unorderedListButtonLabel: {
|
|
1520
|
-
id:
|
|
1521
|
-
|
|
1522
|
-
|
|
1560
|
+
id: "UIKit.RichTextBody.unorderedListButtonLabel",
|
|
1561
|
+
defaultMessage: [{
|
|
1562
|
+
"type": 0,
|
|
1563
|
+
"value": "Bullet list"
|
|
1564
|
+
}]
|
|
1523
1565
|
}
|
|
1524
1566
|
});
|
|
1525
1567
|
|
|
@@ -1871,7 +1913,7 @@ RichTextEditorBody.displayName = 'RichTextEditorBody';
|
|
|
1871
1913
|
var RichTextEditorBody$1 = RichTextEditorBody;
|
|
1872
1914
|
|
|
1873
1915
|
// NOTE: This string will be replaced on build time with the package version.
|
|
1874
|
-
var version = "20.3.
|
|
1916
|
+
var version = "20.3.1";
|
|
1875
1917
|
|
|
1876
1918
|
exports.Element = Element;
|
|
1877
1919
|
exports.HiddenInput = HiddenInput$1;
|
|
@@ -1423,109 +1423,151 @@ var Dropdown$1 = Dropdown;
|
|
|
1423
1423
|
|
|
1424
1424
|
var messages = defineMessages({
|
|
1425
1425
|
boldButtonLabel: {
|
|
1426
|
-
id:
|
|
1427
|
-
|
|
1428
|
-
|
|
1426
|
+
id: "UIKit.RichTextBody.boldButtonLabel",
|
|
1427
|
+
defaultMessage: [{
|
|
1428
|
+
"type": 0,
|
|
1429
|
+
"value": "Bold"
|
|
1430
|
+
}]
|
|
1429
1431
|
},
|
|
1430
1432
|
expandButtonLabel: {
|
|
1431
|
-
id:
|
|
1432
|
-
|
|
1433
|
-
|
|
1433
|
+
id: "UIKit.RichTextBody.expandButtonLabel",
|
|
1434
|
+
defaultMessage: [{
|
|
1435
|
+
"type": 0,
|
|
1436
|
+
"value": "Expand"
|
|
1437
|
+
}]
|
|
1434
1438
|
},
|
|
1435
1439
|
italicButtonLabel: {
|
|
1436
|
-
id:
|
|
1437
|
-
|
|
1438
|
-
|
|
1440
|
+
id: "UIKit.RichTextBody.italicButtonLabel",
|
|
1441
|
+
defaultMessage: [{
|
|
1442
|
+
"type": 0,
|
|
1443
|
+
"value": "Italic"
|
|
1444
|
+
}]
|
|
1439
1445
|
},
|
|
1440
1446
|
moreStylesDropdownLabel: {
|
|
1441
|
-
id:
|
|
1442
|
-
|
|
1443
|
-
|
|
1447
|
+
id: "UIKit.RichTextBody.moreStylesDropdownLabel",
|
|
1448
|
+
defaultMessage: [{
|
|
1449
|
+
"type": 0,
|
|
1450
|
+
"value": "More styles"
|
|
1451
|
+
}]
|
|
1444
1452
|
},
|
|
1445
1453
|
moreStylesDropdownOptionStrikethrough: {
|
|
1446
|
-
id:
|
|
1447
|
-
|
|
1448
|
-
|
|
1454
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough",
|
|
1455
|
+
defaultMessage: [{
|
|
1456
|
+
"type": 0,
|
|
1457
|
+
"value": "Strikethrough"
|
|
1458
|
+
}]
|
|
1449
1459
|
},
|
|
1450
1460
|
moreStylesDropdownOptionSuperscript: {
|
|
1451
|
-
id:
|
|
1452
|
-
|
|
1453
|
-
|
|
1461
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionSuperscript",
|
|
1462
|
+
defaultMessage: [{
|
|
1463
|
+
"type": 0,
|
|
1464
|
+
"value": "Superscript"
|
|
1465
|
+
}]
|
|
1454
1466
|
},
|
|
1455
1467
|
moreStylesDropdownOptionSubscript: {
|
|
1456
|
-
id:
|
|
1457
|
-
|
|
1458
|
-
|
|
1468
|
+
id: "UIKit.RichTextBody.moreStylesDropdownOptionSubscript",
|
|
1469
|
+
defaultMessage: [{
|
|
1470
|
+
"type": 0,
|
|
1471
|
+
"value": "Subscript"
|
|
1472
|
+
}]
|
|
1459
1473
|
},
|
|
1460
1474
|
orderedListButtonLabel: {
|
|
1461
|
-
id:
|
|
1462
|
-
|
|
1463
|
-
|
|
1475
|
+
id: "UIKit.RichTextBody.orderedListButtonLabel",
|
|
1476
|
+
defaultMessage: [{
|
|
1477
|
+
"type": 0,
|
|
1478
|
+
"value": "Numbered list"
|
|
1479
|
+
}]
|
|
1464
1480
|
},
|
|
1465
1481
|
redoButtonLabel: {
|
|
1466
|
-
id:
|
|
1467
|
-
|
|
1468
|
-
|
|
1482
|
+
id: "UIKit.RichTextBody.redoButtonLabel",
|
|
1483
|
+
defaultMessage: [{
|
|
1484
|
+
"type": 0,
|
|
1485
|
+
"value": "Redo"
|
|
1486
|
+
}]
|
|
1469
1487
|
},
|
|
1470
1488
|
styleDropdownLabel: {
|
|
1471
|
-
id:
|
|
1472
|
-
|
|
1473
|
-
|
|
1489
|
+
id: "UIKit.RichTextBody.styleDropdownLabel",
|
|
1490
|
+
defaultMessage: [{
|
|
1491
|
+
"type": 0,
|
|
1492
|
+
"value": "Text styles"
|
|
1493
|
+
}]
|
|
1474
1494
|
},
|
|
1475
1495
|
styleDropdownOptionParagraph: {
|
|
1476
|
-
id:
|
|
1477
|
-
|
|
1478
|
-
|
|
1496
|
+
id: "UIKit.RichTextBody.styleDropdownOptionParagraph",
|
|
1497
|
+
defaultMessage: [{
|
|
1498
|
+
"type": 0,
|
|
1499
|
+
"value": "Paragraph"
|
|
1500
|
+
}]
|
|
1479
1501
|
},
|
|
1480
1502
|
styleDropdownOptionH1: {
|
|
1481
|
-
id:
|
|
1482
|
-
|
|
1483
|
-
|
|
1503
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH1",
|
|
1504
|
+
defaultMessage: [{
|
|
1505
|
+
"type": 0,
|
|
1506
|
+
"value": "Headline H1"
|
|
1507
|
+
}]
|
|
1484
1508
|
},
|
|
1485
1509
|
styleDropdownOptionH2: {
|
|
1486
|
-
id:
|
|
1487
|
-
|
|
1488
|
-
|
|
1510
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH2",
|
|
1511
|
+
defaultMessage: [{
|
|
1512
|
+
"type": 0,
|
|
1513
|
+
"value": "Headline H2"
|
|
1514
|
+
}]
|
|
1489
1515
|
},
|
|
1490
1516
|
styleDropdownOptionH3: {
|
|
1491
|
-
id:
|
|
1492
|
-
|
|
1493
|
-
|
|
1517
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH3",
|
|
1518
|
+
defaultMessage: [{
|
|
1519
|
+
"type": 0,
|
|
1520
|
+
"value": "Headline H3"
|
|
1521
|
+
}]
|
|
1494
1522
|
},
|
|
1495
1523
|
styleDropdownOptionH4: {
|
|
1496
|
-
id:
|
|
1497
|
-
|
|
1498
|
-
|
|
1524
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH4",
|
|
1525
|
+
defaultMessage: [{
|
|
1526
|
+
"type": 0,
|
|
1527
|
+
"value": "Headline H4"
|
|
1528
|
+
}]
|
|
1499
1529
|
},
|
|
1500
1530
|
styleDropdownOptionH5: {
|
|
1501
|
-
id:
|
|
1502
|
-
|
|
1503
|
-
|
|
1531
|
+
id: "UIKit.RichTextBody.styleDropdownOptionH5",
|
|
1532
|
+
defaultMessage: [{
|
|
1533
|
+
"type": 0,
|
|
1534
|
+
"value": "Headline H5"
|
|
1535
|
+
}]
|
|
1504
1536
|
},
|
|
1505
1537
|
styleDropdownOptionQuote: {
|
|
1506
|
-
id:
|
|
1507
|
-
|
|
1508
|
-
|
|
1538
|
+
id: "UIKit.RichTextBody.styleDropdownOptionQuote",
|
|
1539
|
+
defaultMessage: [{
|
|
1540
|
+
"type": 0,
|
|
1541
|
+
"value": "Quote"
|
|
1542
|
+
}]
|
|
1509
1543
|
},
|
|
1510
1544
|
styleDropdownOptionPreformatted: {
|
|
1511
|
-
id:
|
|
1512
|
-
|
|
1513
|
-
|
|
1545
|
+
id: "UIKit.RichTextBody.styleDropdownOptionPreformatted",
|
|
1546
|
+
defaultMessage: [{
|
|
1547
|
+
"type": 0,
|
|
1548
|
+
"value": "Preformatted"
|
|
1549
|
+
}]
|
|
1514
1550
|
},
|
|
1515
1551
|
underlinedButtonLabel: {
|
|
1516
|
-
id:
|
|
1517
|
-
|
|
1518
|
-
|
|
1552
|
+
id: "UIKit.RichTextBody.underlinedButtonLabel",
|
|
1553
|
+
defaultMessage: [{
|
|
1554
|
+
"type": 0,
|
|
1555
|
+
"value": "Underline"
|
|
1556
|
+
}]
|
|
1519
1557
|
},
|
|
1520
1558
|
undoButtonLabel: {
|
|
1521
|
-
id:
|
|
1522
|
-
|
|
1523
|
-
|
|
1559
|
+
id: "UIKit.RichTextBody.undoButtonLabel",
|
|
1560
|
+
defaultMessage: [{
|
|
1561
|
+
"type": 0,
|
|
1562
|
+
"value": "Undo"
|
|
1563
|
+
}]
|
|
1524
1564
|
},
|
|
1525
1565
|
unorderedListButtonLabel: {
|
|
1526
|
-
id:
|
|
1527
|
-
|
|
1528
|
-
|
|
1566
|
+
id: "UIKit.RichTextBody.unorderedListButtonLabel",
|
|
1567
|
+
defaultMessage: [{
|
|
1568
|
+
"type": 0,
|
|
1569
|
+
"value": "Bullet list"
|
|
1570
|
+
}]
|
|
1529
1571
|
}
|
|
1530
1572
|
});
|
|
1531
1573
|
|
|
@@ -1891,6 +1933,6 @@ RichTextEditorBody.displayName = 'RichTextEditorBody';
|
|
|
1891
1933
|
var RichTextEditorBody$1 = RichTextEditorBody;
|
|
1892
1934
|
|
|
1893
1935
|
// NOTE: This string will be replaced on build time with the package version.
|
|
1894
|
-
var version = "20.3.
|
|
1936
|
+
var version = "20.3.1";
|
|
1895
1937
|
|
|
1896
1938
|
export { Element, HiddenInput$1 as HiddenInput, Leaf, RichTextEditorBody$1 as RichTextBody, Softbreaker, focusEditor, html$1 as html, isBlockActive, isRichTextEmpty as isEmpty, isMarkActive, index as localized, resetEditor, toggleBlock, toggleMark, validSlateStateAdapter, version, withLinks };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/rich-text-utils",
|
|
3
3
|
"description": "Utilities for working with rich-text components.",
|
|
4
|
-
"version": "20.3.
|
|
4
|
+
"version": "20.3.1",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@babel/runtime": "^7.20.13",
|
|
26
26
|
"@babel/runtime-corejs3": "^7.20.13",
|
|
27
|
-
"@commercetools-uikit/design-system": "20.3.
|
|
28
|
-
"@commercetools-uikit/icons": "20.3.
|
|
29
|
-
"@commercetools-uikit/input-utils": "20.3.
|
|
30
|
-
"@commercetools-uikit/spacings-inline": "20.3.
|
|
31
|
-
"@commercetools-uikit/tooltip": "20.3.
|
|
32
|
-
"@commercetools-uikit/utils": "20.3.
|
|
27
|
+
"@commercetools-uikit/design-system": "20.3.1",
|
|
28
|
+
"@commercetools-uikit/icons": "20.3.1",
|
|
29
|
+
"@commercetools-uikit/input-utils": "20.3.1",
|
|
30
|
+
"@commercetools-uikit/spacings-inline": "20.3.1",
|
|
31
|
+
"@commercetools-uikit/tooltip": "20.3.1",
|
|
32
|
+
"@commercetools-uikit/utils": "20.3.1",
|
|
33
33
|
"@emotion/react": "^11.10.5",
|
|
34
34
|
"@emotion/styled": "^11.10.5",
|
|
35
35
|
"@types/escape-html": "1.0.4",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"escape-html": "1.0.3",
|
|
38
38
|
"is-hotkey": "0.2.0",
|
|
39
39
|
"is-url": "^1.2.4",
|
|
40
|
-
"lodash": "4.17.
|
|
40
|
+
"lodash": "4.17.23",
|
|
41
41
|
"slate": "0.75.0",
|
|
42
42
|
"slate-history": "0.113.1",
|
|
43
43
|
"slate-hyperscript": "0.100.0",
|