@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: 'UIKit.RichTextBody.boldButtonLabel',
1466
- description: 'Label for the bold button',
1467
- defaultMessage: 'Bold'
1465
+ id: "UIKit.RichTextBody.boldButtonLabel",
1466
+ defaultMessage: [{
1467
+ "type": 0,
1468
+ "value": "Bold"
1469
+ }]
1468
1470
  },
1469
1471
  expandButtonLabel: {
1470
- id: 'UIKit.RichTextBody.expandButtonLabel',
1471
- description: 'Label for the expand button',
1472
- defaultMessage: 'Expand'
1472
+ id: "UIKit.RichTextBody.expandButtonLabel",
1473
+ defaultMessage: [{
1474
+ "type": 0,
1475
+ "value": "Expand"
1476
+ }]
1473
1477
  },
1474
1478
  italicButtonLabel: {
1475
- id: 'UIKit.RichTextBody.italicButtonLabel',
1476
- description: 'Label for the italic button',
1477
- defaultMessage: 'Italic'
1479
+ id: "UIKit.RichTextBody.italicButtonLabel",
1480
+ defaultMessage: [{
1481
+ "type": 0,
1482
+ "value": "Italic"
1483
+ }]
1478
1484
  },
1479
1485
  moreStylesDropdownLabel: {
1480
- id: 'UIKit.RichTextBody.moreStylesDropdownLabel',
1481
- description: 'Label for the more styles dropdown',
1482
- defaultMessage: 'More styles'
1486
+ id: "UIKit.RichTextBody.moreStylesDropdownLabel",
1487
+ defaultMessage: [{
1488
+ "type": 0,
1489
+ "value": "More styles"
1490
+ }]
1483
1491
  },
1484
1492
  moreStylesDropdownOptionStrikethrough: {
1485
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough',
1486
- description: 'label for the more styles `strikethrough` option',
1487
- defaultMessage: 'Strikethrough'
1493
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough",
1494
+ defaultMessage: [{
1495
+ "type": 0,
1496
+ "value": "Strikethrough"
1497
+ }]
1488
1498
  },
1489
1499
  moreStylesDropdownOptionSuperscript: {
1490
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionSuperscript',
1491
- description: 'label for the more styles `superscript` option',
1492
- defaultMessage: 'Superscript'
1500
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionSuperscript",
1501
+ defaultMessage: [{
1502
+ "type": 0,
1503
+ "value": "Superscript"
1504
+ }]
1493
1505
  },
1494
1506
  moreStylesDropdownOptionSubscript: {
1495
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionSubscript',
1496
- description: 'label for the more styles `subscript` option',
1497
- defaultMessage: 'Subscript'
1507
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionSubscript",
1508
+ defaultMessage: [{
1509
+ "type": 0,
1510
+ "value": "Subscript"
1511
+ }]
1498
1512
  },
1499
1513
  orderedListButtonLabel: {
1500
- id: 'UIKit.RichTextBody.orderedListButtonLabel',
1501
- description: 'Label for the numbered list button',
1502
- defaultMessage: 'Numbered list'
1514
+ id: "UIKit.RichTextBody.orderedListButtonLabel",
1515
+ defaultMessage: [{
1516
+ "type": 0,
1517
+ "value": "Numbered list"
1518
+ }]
1503
1519
  },
1504
1520
  redoButtonLabel: {
1505
- id: 'UIKit.RichTextBody.redoButtonLabel',
1506
- description: 'Label for the redo button',
1507
- defaultMessage: 'Redo'
1521
+ id: "UIKit.RichTextBody.redoButtonLabel",
1522
+ defaultMessage: [{
1523
+ "type": 0,
1524
+ "value": "Redo"
1525
+ }]
1508
1526
  },
1509
1527
  styleDropdownLabel: {
1510
- id: 'UIKit.RichTextBody.styleDropdownLabel',
1511
- description: 'Label for the style dropdown',
1512
- defaultMessage: 'Text styles'
1528
+ id: "UIKit.RichTextBody.styleDropdownLabel",
1529
+ defaultMessage: [{
1530
+ "type": 0,
1531
+ "value": "Text styles"
1532
+ }]
1513
1533
  },
1514
1534
  styleDropdownOptionParagraph: {
1515
- id: 'UIKit.RichTextBody.styleDropdownOptionParagraph',
1516
- description: 'Label for the `paragraph` option',
1517
- defaultMessage: 'Paragraph'
1535
+ id: "UIKit.RichTextBody.styleDropdownOptionParagraph",
1536
+ defaultMessage: [{
1537
+ "type": 0,
1538
+ "value": "Paragraph"
1539
+ }]
1518
1540
  },
1519
1541
  styleDropdownOptionH1: {
1520
- id: 'UIKit.RichTextBody.styleDropdownOptionH1',
1521
- description: 'Label for the `headline-one` option',
1522
- defaultMessage: 'Headline H1'
1542
+ id: "UIKit.RichTextBody.styleDropdownOptionH1",
1543
+ defaultMessage: [{
1544
+ "type": 0,
1545
+ "value": "Headline H1"
1546
+ }]
1523
1547
  },
1524
1548
  styleDropdownOptionH2: {
1525
- id: 'UIKit.RichTextBody.styleDropdownOptionH2',
1526
- description: 'Label for the `headline-two` option',
1527
- defaultMessage: 'Headline H2'
1549
+ id: "UIKit.RichTextBody.styleDropdownOptionH2",
1550
+ defaultMessage: [{
1551
+ "type": 0,
1552
+ "value": "Headline H2"
1553
+ }]
1528
1554
  },
1529
1555
  styleDropdownOptionH3: {
1530
- id: 'UIKit.RichTextBody.styleDropdownOptionH3',
1531
- description: 'Label for the `headline-three` option',
1532
- defaultMessage: 'Headline H3'
1556
+ id: "UIKit.RichTextBody.styleDropdownOptionH3",
1557
+ defaultMessage: [{
1558
+ "type": 0,
1559
+ "value": "Headline H3"
1560
+ }]
1533
1561
  },
1534
1562
  styleDropdownOptionH4: {
1535
- id: 'UIKit.RichTextBody.styleDropdownOptionH4',
1536
- description: 'Label for the `headline-four` option',
1537
- defaultMessage: 'Headline H4'
1563
+ id: "UIKit.RichTextBody.styleDropdownOptionH4",
1564
+ defaultMessage: [{
1565
+ "type": 0,
1566
+ "value": "Headline H4"
1567
+ }]
1538
1568
  },
1539
1569
  styleDropdownOptionH5: {
1540
- id: 'UIKit.RichTextBody.styleDropdownOptionH5',
1541
- description: 'Label for the `headline-five` option',
1542
- defaultMessage: 'Headline H5'
1570
+ id: "UIKit.RichTextBody.styleDropdownOptionH5",
1571
+ defaultMessage: [{
1572
+ "type": 0,
1573
+ "value": "Headline H5"
1574
+ }]
1543
1575
  },
1544
1576
  styleDropdownOptionQuote: {
1545
- id: 'UIKit.RichTextBody.styleDropdownOptionQuote',
1546
- description: 'Label for the `quote` option',
1547
- defaultMessage: 'Quote'
1577
+ id: "UIKit.RichTextBody.styleDropdownOptionQuote",
1578
+ defaultMessage: [{
1579
+ "type": 0,
1580
+ "value": "Quote"
1581
+ }]
1548
1582
  },
1549
1583
  styleDropdownOptionPreformatted: {
1550
- id: 'UIKit.RichTextBody.styleDropdownOptionPreformatted',
1551
- description: 'Label for the `code` option',
1552
- defaultMessage: 'Preformatted'
1584
+ id: "UIKit.RichTextBody.styleDropdownOptionPreformatted",
1585
+ defaultMessage: [{
1586
+ "type": 0,
1587
+ "value": "Preformatted"
1588
+ }]
1553
1589
  },
1554
1590
  underlinedButtonLabel: {
1555
- id: 'UIKit.RichTextBody.underlinedButtonLabel',
1556
- description: 'Label for the underline button',
1557
- defaultMessage: 'Underline'
1591
+ id: "UIKit.RichTextBody.underlinedButtonLabel",
1592
+ defaultMessage: [{
1593
+ "type": 0,
1594
+ "value": "Underline"
1595
+ }]
1558
1596
  },
1559
1597
  undoButtonLabel: {
1560
- id: 'UIKit.RichTextBody.undoButtonLabel',
1561
- description: 'Label for the undo button',
1562
- defaultMessage: 'Undo'
1598
+ id: "UIKit.RichTextBody.undoButtonLabel",
1599
+ defaultMessage: [{
1600
+ "type": 0,
1601
+ "value": "Undo"
1602
+ }]
1563
1603
  },
1564
1604
  unorderedListButtonLabel: {
1565
- id: 'UIKit.RichTextBody.unorderedListButtonLabel',
1566
- description: 'Label for the bullet list button',
1567
- defaultMessage: 'Bullet list'
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.0";
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: 'UIKit.RichTextBody.boldButtonLabel',
1421
- description: 'Label for the bold button',
1422
- defaultMessage: 'Bold'
1420
+ id: "UIKit.RichTextBody.boldButtonLabel",
1421
+ defaultMessage: [{
1422
+ "type": 0,
1423
+ "value": "Bold"
1424
+ }]
1423
1425
  },
1424
1426
  expandButtonLabel: {
1425
- id: 'UIKit.RichTextBody.expandButtonLabel',
1426
- description: 'Label for the expand button',
1427
- defaultMessage: 'Expand'
1427
+ id: "UIKit.RichTextBody.expandButtonLabel",
1428
+ defaultMessage: [{
1429
+ "type": 0,
1430
+ "value": "Expand"
1431
+ }]
1428
1432
  },
1429
1433
  italicButtonLabel: {
1430
- id: 'UIKit.RichTextBody.italicButtonLabel',
1431
- description: 'Label for the italic button',
1432
- defaultMessage: 'Italic'
1434
+ id: "UIKit.RichTextBody.italicButtonLabel",
1435
+ defaultMessage: [{
1436
+ "type": 0,
1437
+ "value": "Italic"
1438
+ }]
1433
1439
  },
1434
1440
  moreStylesDropdownLabel: {
1435
- id: 'UIKit.RichTextBody.moreStylesDropdownLabel',
1436
- description: 'Label for the more styles dropdown',
1437
- defaultMessage: 'More styles'
1441
+ id: "UIKit.RichTextBody.moreStylesDropdownLabel",
1442
+ defaultMessage: [{
1443
+ "type": 0,
1444
+ "value": "More styles"
1445
+ }]
1438
1446
  },
1439
1447
  moreStylesDropdownOptionStrikethrough: {
1440
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough',
1441
- description: 'label for the more styles `strikethrough` option',
1442
- defaultMessage: 'Strikethrough'
1448
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough",
1449
+ defaultMessage: [{
1450
+ "type": 0,
1451
+ "value": "Strikethrough"
1452
+ }]
1443
1453
  },
1444
1454
  moreStylesDropdownOptionSuperscript: {
1445
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionSuperscript',
1446
- description: 'label for the more styles `superscript` option',
1447
- defaultMessage: 'Superscript'
1455
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionSuperscript",
1456
+ defaultMessage: [{
1457
+ "type": 0,
1458
+ "value": "Superscript"
1459
+ }]
1448
1460
  },
1449
1461
  moreStylesDropdownOptionSubscript: {
1450
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionSubscript',
1451
- description: 'label for the more styles `subscript` option',
1452
- defaultMessage: 'Subscript'
1462
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionSubscript",
1463
+ defaultMessage: [{
1464
+ "type": 0,
1465
+ "value": "Subscript"
1466
+ }]
1453
1467
  },
1454
1468
  orderedListButtonLabel: {
1455
- id: 'UIKit.RichTextBody.orderedListButtonLabel',
1456
- description: 'Label for the numbered list button',
1457
- defaultMessage: 'Numbered list'
1469
+ id: "UIKit.RichTextBody.orderedListButtonLabel",
1470
+ defaultMessage: [{
1471
+ "type": 0,
1472
+ "value": "Numbered list"
1473
+ }]
1458
1474
  },
1459
1475
  redoButtonLabel: {
1460
- id: 'UIKit.RichTextBody.redoButtonLabel',
1461
- description: 'Label for the redo button',
1462
- defaultMessage: 'Redo'
1476
+ id: "UIKit.RichTextBody.redoButtonLabel",
1477
+ defaultMessage: [{
1478
+ "type": 0,
1479
+ "value": "Redo"
1480
+ }]
1463
1481
  },
1464
1482
  styleDropdownLabel: {
1465
- id: 'UIKit.RichTextBody.styleDropdownLabel',
1466
- description: 'Label for the style dropdown',
1467
- defaultMessage: 'Text styles'
1483
+ id: "UIKit.RichTextBody.styleDropdownLabel",
1484
+ defaultMessage: [{
1485
+ "type": 0,
1486
+ "value": "Text styles"
1487
+ }]
1468
1488
  },
1469
1489
  styleDropdownOptionParagraph: {
1470
- id: 'UIKit.RichTextBody.styleDropdownOptionParagraph',
1471
- description: 'Label for the `paragraph` option',
1472
- defaultMessage: 'Paragraph'
1490
+ id: "UIKit.RichTextBody.styleDropdownOptionParagraph",
1491
+ defaultMessage: [{
1492
+ "type": 0,
1493
+ "value": "Paragraph"
1494
+ }]
1473
1495
  },
1474
1496
  styleDropdownOptionH1: {
1475
- id: 'UIKit.RichTextBody.styleDropdownOptionH1',
1476
- description: 'Label for the `headline-one` option',
1477
- defaultMessage: 'Headline H1'
1497
+ id: "UIKit.RichTextBody.styleDropdownOptionH1",
1498
+ defaultMessage: [{
1499
+ "type": 0,
1500
+ "value": "Headline H1"
1501
+ }]
1478
1502
  },
1479
1503
  styleDropdownOptionH2: {
1480
- id: 'UIKit.RichTextBody.styleDropdownOptionH2',
1481
- description: 'Label for the `headline-two` option',
1482
- defaultMessage: 'Headline H2'
1504
+ id: "UIKit.RichTextBody.styleDropdownOptionH2",
1505
+ defaultMessage: [{
1506
+ "type": 0,
1507
+ "value": "Headline H2"
1508
+ }]
1483
1509
  },
1484
1510
  styleDropdownOptionH3: {
1485
- id: 'UIKit.RichTextBody.styleDropdownOptionH3',
1486
- description: 'Label for the `headline-three` option',
1487
- defaultMessage: 'Headline H3'
1511
+ id: "UIKit.RichTextBody.styleDropdownOptionH3",
1512
+ defaultMessage: [{
1513
+ "type": 0,
1514
+ "value": "Headline H3"
1515
+ }]
1488
1516
  },
1489
1517
  styleDropdownOptionH4: {
1490
- id: 'UIKit.RichTextBody.styleDropdownOptionH4',
1491
- description: 'Label for the `headline-four` option',
1492
- defaultMessage: 'Headline H4'
1518
+ id: "UIKit.RichTextBody.styleDropdownOptionH4",
1519
+ defaultMessage: [{
1520
+ "type": 0,
1521
+ "value": "Headline H4"
1522
+ }]
1493
1523
  },
1494
1524
  styleDropdownOptionH5: {
1495
- id: 'UIKit.RichTextBody.styleDropdownOptionH5',
1496
- description: 'Label for the `headline-five` option',
1497
- defaultMessage: 'Headline H5'
1525
+ id: "UIKit.RichTextBody.styleDropdownOptionH5",
1526
+ defaultMessage: [{
1527
+ "type": 0,
1528
+ "value": "Headline H5"
1529
+ }]
1498
1530
  },
1499
1531
  styleDropdownOptionQuote: {
1500
- id: 'UIKit.RichTextBody.styleDropdownOptionQuote',
1501
- description: 'Label for the `quote` option',
1502
- defaultMessage: 'Quote'
1532
+ id: "UIKit.RichTextBody.styleDropdownOptionQuote",
1533
+ defaultMessage: [{
1534
+ "type": 0,
1535
+ "value": "Quote"
1536
+ }]
1503
1537
  },
1504
1538
  styleDropdownOptionPreformatted: {
1505
- id: 'UIKit.RichTextBody.styleDropdownOptionPreformatted',
1506
- description: 'Label for the `code` option',
1507
- defaultMessage: 'Preformatted'
1539
+ id: "UIKit.RichTextBody.styleDropdownOptionPreformatted",
1540
+ defaultMessage: [{
1541
+ "type": 0,
1542
+ "value": "Preformatted"
1543
+ }]
1508
1544
  },
1509
1545
  underlinedButtonLabel: {
1510
- id: 'UIKit.RichTextBody.underlinedButtonLabel',
1511
- description: 'Label for the underline button',
1512
- defaultMessage: 'Underline'
1546
+ id: "UIKit.RichTextBody.underlinedButtonLabel",
1547
+ defaultMessage: [{
1548
+ "type": 0,
1549
+ "value": "Underline"
1550
+ }]
1513
1551
  },
1514
1552
  undoButtonLabel: {
1515
- id: 'UIKit.RichTextBody.undoButtonLabel',
1516
- description: 'Label for the undo button',
1517
- defaultMessage: 'Undo'
1553
+ id: "UIKit.RichTextBody.undoButtonLabel",
1554
+ defaultMessage: [{
1555
+ "type": 0,
1556
+ "value": "Undo"
1557
+ }]
1518
1558
  },
1519
1559
  unorderedListButtonLabel: {
1520
- id: 'UIKit.RichTextBody.unorderedListButtonLabel',
1521
- description: 'Label for the bullet list button',
1522
- defaultMessage: 'Bullet list'
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.0";
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: 'UIKit.RichTextBody.boldButtonLabel',
1427
- description: 'Label for the bold button',
1428
- defaultMessage: 'Bold'
1426
+ id: "UIKit.RichTextBody.boldButtonLabel",
1427
+ defaultMessage: [{
1428
+ "type": 0,
1429
+ "value": "Bold"
1430
+ }]
1429
1431
  },
1430
1432
  expandButtonLabel: {
1431
- id: 'UIKit.RichTextBody.expandButtonLabel',
1432
- description: 'Label for the expand button',
1433
- defaultMessage: 'Expand'
1433
+ id: "UIKit.RichTextBody.expandButtonLabel",
1434
+ defaultMessage: [{
1435
+ "type": 0,
1436
+ "value": "Expand"
1437
+ }]
1434
1438
  },
1435
1439
  italicButtonLabel: {
1436
- id: 'UIKit.RichTextBody.italicButtonLabel',
1437
- description: 'Label for the italic button',
1438
- defaultMessage: 'Italic'
1440
+ id: "UIKit.RichTextBody.italicButtonLabel",
1441
+ defaultMessage: [{
1442
+ "type": 0,
1443
+ "value": "Italic"
1444
+ }]
1439
1445
  },
1440
1446
  moreStylesDropdownLabel: {
1441
- id: 'UIKit.RichTextBody.moreStylesDropdownLabel',
1442
- description: 'Label for the more styles dropdown',
1443
- defaultMessage: 'More styles'
1447
+ id: "UIKit.RichTextBody.moreStylesDropdownLabel",
1448
+ defaultMessage: [{
1449
+ "type": 0,
1450
+ "value": "More styles"
1451
+ }]
1444
1452
  },
1445
1453
  moreStylesDropdownOptionStrikethrough: {
1446
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough',
1447
- description: 'label for the more styles `strikethrough` option',
1448
- defaultMessage: 'Strikethrough'
1454
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionStrikethrough",
1455
+ defaultMessage: [{
1456
+ "type": 0,
1457
+ "value": "Strikethrough"
1458
+ }]
1449
1459
  },
1450
1460
  moreStylesDropdownOptionSuperscript: {
1451
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionSuperscript',
1452
- description: 'label for the more styles `superscript` option',
1453
- defaultMessage: 'Superscript'
1461
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionSuperscript",
1462
+ defaultMessage: [{
1463
+ "type": 0,
1464
+ "value": "Superscript"
1465
+ }]
1454
1466
  },
1455
1467
  moreStylesDropdownOptionSubscript: {
1456
- id: 'UIKit.RichTextBody.moreStylesDropdownOptionSubscript',
1457
- description: 'label for the more styles `subscript` option',
1458
- defaultMessage: 'Subscript'
1468
+ id: "UIKit.RichTextBody.moreStylesDropdownOptionSubscript",
1469
+ defaultMessage: [{
1470
+ "type": 0,
1471
+ "value": "Subscript"
1472
+ }]
1459
1473
  },
1460
1474
  orderedListButtonLabel: {
1461
- id: 'UIKit.RichTextBody.orderedListButtonLabel',
1462
- description: 'Label for the numbered list button',
1463
- defaultMessage: 'Numbered list'
1475
+ id: "UIKit.RichTextBody.orderedListButtonLabel",
1476
+ defaultMessage: [{
1477
+ "type": 0,
1478
+ "value": "Numbered list"
1479
+ }]
1464
1480
  },
1465
1481
  redoButtonLabel: {
1466
- id: 'UIKit.RichTextBody.redoButtonLabel',
1467
- description: 'Label for the redo button',
1468
- defaultMessage: 'Redo'
1482
+ id: "UIKit.RichTextBody.redoButtonLabel",
1483
+ defaultMessage: [{
1484
+ "type": 0,
1485
+ "value": "Redo"
1486
+ }]
1469
1487
  },
1470
1488
  styleDropdownLabel: {
1471
- id: 'UIKit.RichTextBody.styleDropdownLabel',
1472
- description: 'Label for the style dropdown',
1473
- defaultMessage: 'Text styles'
1489
+ id: "UIKit.RichTextBody.styleDropdownLabel",
1490
+ defaultMessage: [{
1491
+ "type": 0,
1492
+ "value": "Text styles"
1493
+ }]
1474
1494
  },
1475
1495
  styleDropdownOptionParagraph: {
1476
- id: 'UIKit.RichTextBody.styleDropdownOptionParagraph',
1477
- description: 'Label for the `paragraph` option',
1478
- defaultMessage: 'Paragraph'
1496
+ id: "UIKit.RichTextBody.styleDropdownOptionParagraph",
1497
+ defaultMessage: [{
1498
+ "type": 0,
1499
+ "value": "Paragraph"
1500
+ }]
1479
1501
  },
1480
1502
  styleDropdownOptionH1: {
1481
- id: 'UIKit.RichTextBody.styleDropdownOptionH1',
1482
- description: 'Label for the `headline-one` option',
1483
- defaultMessage: 'Headline H1'
1503
+ id: "UIKit.RichTextBody.styleDropdownOptionH1",
1504
+ defaultMessage: [{
1505
+ "type": 0,
1506
+ "value": "Headline H1"
1507
+ }]
1484
1508
  },
1485
1509
  styleDropdownOptionH2: {
1486
- id: 'UIKit.RichTextBody.styleDropdownOptionH2',
1487
- description: 'Label for the `headline-two` option',
1488
- defaultMessage: 'Headline H2'
1510
+ id: "UIKit.RichTextBody.styleDropdownOptionH2",
1511
+ defaultMessage: [{
1512
+ "type": 0,
1513
+ "value": "Headline H2"
1514
+ }]
1489
1515
  },
1490
1516
  styleDropdownOptionH3: {
1491
- id: 'UIKit.RichTextBody.styleDropdownOptionH3',
1492
- description: 'Label for the `headline-three` option',
1493
- defaultMessage: 'Headline H3'
1517
+ id: "UIKit.RichTextBody.styleDropdownOptionH3",
1518
+ defaultMessage: [{
1519
+ "type": 0,
1520
+ "value": "Headline H3"
1521
+ }]
1494
1522
  },
1495
1523
  styleDropdownOptionH4: {
1496
- id: 'UIKit.RichTextBody.styleDropdownOptionH4',
1497
- description: 'Label for the `headline-four` option',
1498
- defaultMessage: 'Headline H4'
1524
+ id: "UIKit.RichTextBody.styleDropdownOptionH4",
1525
+ defaultMessage: [{
1526
+ "type": 0,
1527
+ "value": "Headline H4"
1528
+ }]
1499
1529
  },
1500
1530
  styleDropdownOptionH5: {
1501
- id: 'UIKit.RichTextBody.styleDropdownOptionH5',
1502
- description: 'Label for the `headline-five` option',
1503
- defaultMessage: 'Headline H5'
1531
+ id: "UIKit.RichTextBody.styleDropdownOptionH5",
1532
+ defaultMessage: [{
1533
+ "type": 0,
1534
+ "value": "Headline H5"
1535
+ }]
1504
1536
  },
1505
1537
  styleDropdownOptionQuote: {
1506
- id: 'UIKit.RichTextBody.styleDropdownOptionQuote',
1507
- description: 'Label for the `quote` option',
1508
- defaultMessage: 'Quote'
1538
+ id: "UIKit.RichTextBody.styleDropdownOptionQuote",
1539
+ defaultMessage: [{
1540
+ "type": 0,
1541
+ "value": "Quote"
1542
+ }]
1509
1543
  },
1510
1544
  styleDropdownOptionPreformatted: {
1511
- id: 'UIKit.RichTextBody.styleDropdownOptionPreformatted',
1512
- description: 'Label for the `code` option',
1513
- defaultMessage: 'Preformatted'
1545
+ id: "UIKit.RichTextBody.styleDropdownOptionPreformatted",
1546
+ defaultMessage: [{
1547
+ "type": 0,
1548
+ "value": "Preformatted"
1549
+ }]
1514
1550
  },
1515
1551
  underlinedButtonLabel: {
1516
- id: 'UIKit.RichTextBody.underlinedButtonLabel',
1517
- description: 'Label for the underline button',
1518
- defaultMessage: 'Underline'
1552
+ id: "UIKit.RichTextBody.underlinedButtonLabel",
1553
+ defaultMessage: [{
1554
+ "type": 0,
1555
+ "value": "Underline"
1556
+ }]
1519
1557
  },
1520
1558
  undoButtonLabel: {
1521
- id: 'UIKit.RichTextBody.undoButtonLabel',
1522
- description: 'Label for the undo button',
1523
- defaultMessage: 'Undo'
1559
+ id: "UIKit.RichTextBody.undoButtonLabel",
1560
+ defaultMessage: [{
1561
+ "type": 0,
1562
+ "value": "Undo"
1563
+ }]
1524
1564
  },
1525
1565
  unorderedListButtonLabel: {
1526
- id: 'UIKit.RichTextBody.unorderedListButtonLabel',
1527
- description: 'Label for the bullet list button',
1528
- defaultMessage: 'Bullet list'
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.0";
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.0",
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.0",
28
- "@commercetools-uikit/icons": "20.3.0",
29
- "@commercetools-uikit/input-utils": "20.3.0",
30
- "@commercetools-uikit/spacings-inline": "20.3.0",
31
- "@commercetools-uikit/tooltip": "20.3.0",
32
- "@commercetools-uikit/utils": "20.3.0",
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.21",
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",