@mdxeditor/editor 1.9.0 → 1.9.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.
package/dist/style.css CHANGED
@@ -1445,7 +1445,7 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1445
1445
  }
1446
1446
 
1447
1447
 
1448
- :root, ._light-theme_arru1_1 {
1448
+ :root, ._light-theme_1ixgr_1 {
1449
1449
  --blue1: hsl(206, 100%, 99.2%);
1450
1450
  --blue2: hsl(210, 100%, 98.0%);
1451
1451
  --blue3: hsl(209, 100%, 96.5%);
@@ -1459,7 +1459,7 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1459
1459
  --blue11: hsl(211, 100%, 43.2%);
1460
1460
  --blue12: hsl(211, 100%, 15.0%);
1461
1461
  }
1462
- ._dark-theme_arru1_1 {
1462
+ ._dark-theme_1ixgr_1 {
1463
1463
  --blue1: hsl(212, 35.0%, 9.2%);
1464
1464
  --blue2: hsl(216, 50.0%, 11.8%);
1465
1465
  --blue3: hsl(214, 59.4%, 15.3%);
@@ -1473,7 +1473,7 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1473
1473
  --blue11: hsl(210, 100%, 66.1%);
1474
1474
  --blue12: hsl(206, 98.0%, 95.8%);
1475
1475
  }
1476
- :root, ._light-theme_arru1_1 {
1476
+ :root, ._light-theme_1ixgr_1 {
1477
1477
  --slate1: hsl(206, 30.0%, 98.8%);
1478
1478
  --slate2: hsl(210, 16.7%, 97.6%);
1479
1479
  --slate3: hsl(209, 13.3%, 95.3%);
@@ -1487,7 +1487,7 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1487
1487
  --slate11: hsl(206, 6.0%, 43.5%);
1488
1488
  --slate12: hsl(206, 24.0%, 9.0%);
1489
1489
  }
1490
- ._dark-theme_arru1_1 {
1490
+ ._dark-theme_1ixgr_1 {
1491
1491
  --slate1: hsl(200, 7.0%, 8.8%);
1492
1492
  --slate2: hsl(195, 7.1%, 11.0%);
1493
1493
  --slate3: hsl(197, 6.8%, 13.6%);
@@ -1501,7 +1501,7 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1501
1501
  --slate11: hsl(206, 6.0%, 63.0%);
1502
1502
  --slate12: hsl(210, 6.0%, 93.0%);
1503
1503
  }
1504
- :root, ._light-theme_arru1_1 {
1504
+ :root, ._light-theme_1ixgr_1 {
1505
1505
  --grass1: hsl(116, 50.0%, 98.9%);
1506
1506
  --grass2: hsl(120, 60.0%, 97.1%);
1507
1507
  --grass3: hsl(120, 53.6%, 94.8%);
@@ -1515,7 +1515,7 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1515
1515
  --grass11: hsl(133, 50.0%, 32.5%);
1516
1516
  --grass12: hsl(130, 30.0%, 14.9%);
1517
1517
  }
1518
- :root, ._light-theme_arru1_1 {
1518
+ :root, ._light-theme_1ixgr_1 {
1519
1519
  --cyan1: hsl(185, 60.0%, 98.7%);
1520
1520
  --cyan2: hsl(185, 73.3%, 97.1%);
1521
1521
  --cyan3: hsl(186, 70.2%, 94.4%);
@@ -1529,7 +1529,7 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1529
1529
  --cyan11: hsl(192, 85.0%, 31.0%);
1530
1530
  --cyan12: hsl(192, 88.0%, 12.5%);
1531
1531
  }
1532
- :root, ._light-theme_arru1_1 {
1532
+ :root, ._light-theme_1ixgr_1 {
1533
1533
  --amber1: hsl(39, 70.0%, 99.0%);
1534
1534
  --amber2: hsl(40, 100%, 96.5%);
1535
1535
  --amber3: hsl(44, 100%, 91.7%);
@@ -1543,7 +1543,7 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1543
1543
  --amber11: hsl(30, 100%, 34.0%);
1544
1544
  --amber12: hsl(20, 80.0%, 17.0%);
1545
1545
  }
1546
- :root, ._light-theme_arru1_1 {
1546
+ :root, ._light-theme_1ixgr_1 {
1547
1547
  --red1: hsl(359, 100%, 99.4%);
1548
1548
  --red2: hsl(359, 100%, 98.6%);
1549
1549
  --red3: hsl(360, 100%, 96.8%);
@@ -1557,51 +1557,51 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1557
1557
  --red11: hsl(358, 65.0%, 48.7%);
1558
1558
  --red12: hsl(354, 50.0%, 14.6%);
1559
1559
  }
1560
- ._bold_arru1_10 {
1560
+ ._bold_1ixgr_10 {
1561
1561
  font-weight: bold;
1562
1562
  }
1563
- ._italic_arru1_14 {
1563
+ ._italic_1ixgr_14 {
1564
1564
  font-style: italic;
1565
1565
  }
1566
- ._underline_arru1_18 {
1566
+ ._underline_1ixgr_18 {
1567
1567
  text-decoration: underline;
1568
1568
  }
1569
- ._bold_arru1_10 {
1569
+ ._bold_1ixgr_10 {
1570
1570
  font-weight: 700
1571
1571
  }
1572
- ._italic_arru1_14 {
1572
+ ._italic_1ixgr_14 {
1573
1573
  font-style: italic
1574
1574
  }
1575
- ._underline_arru1_18 {
1575
+ ._underline_1ixgr_18 {
1576
1576
  text-decoration: underline
1577
1577
  }
1578
- ._strikethrough_arru1_34 {
1578
+ ._strikethrough_1ixgr_34 {
1579
1579
  text-decoration: line-through
1580
1580
  }
1581
- ._underlineStrikethrough_arru1_38 {
1581
+ ._underlineStrikethrough_1ixgr_38 {
1582
1582
  text-decoration: underline line-through
1583
1583
  }
1584
- ._subscript_arru1_42 {
1584
+ ._subscript_1ixgr_42 {
1585
1585
  font-size: .8em;
1586
1586
  vertical-align: sub!important
1587
1587
  }
1588
- ._superscript_arru1_47 {
1588
+ ._superscript_1ixgr_47 {
1589
1589
  font-size: .8em;
1590
1590
  vertical-align: super
1591
1591
  }
1592
- ._code_arru1_52 {
1592
+ ._code_1ixgr_52 {
1593
1593
  background-color: var(--baseBg);
1594
1594
  padding: 1px .25rem;
1595
1595
  font-family: var(--font-mono);
1596
1596
  font-size: 94%
1597
1597
  }
1598
- ._nestedListItem_arru1_59 {
1598
+ ._nestedListItem_1ixgr_59 {
1599
1599
  list-style:none;
1600
1600
  }
1601
- ._listitem_arru1_63 {
1601
+ ._listitem_1ixgr_63 {
1602
1602
  margin: var(--spacing-2) 0;
1603
1603
  }
1604
- ._listItemChecked_arru1_67, ._listItemUnchecked_arru1_68 {
1604
+ ._listItemChecked_1ixgr_67, ._listItemUnchecked_1ixgr_68 {
1605
1605
  position: relative;
1606
1606
  margin-left: 0;
1607
1607
  margin-right: 0;
@@ -1611,10 +1611,10 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1611
1611
  list-style-type: none;
1612
1612
  outline: none;
1613
1613
  }
1614
- ._listItemChecked_arru1_67 {
1614
+ ._listItemChecked_1ixgr_67 {
1615
1615
  text-decoration: line-through;
1616
1616
  }
1617
- ._listItemUnchecked_arru1_68:before, ._listItemChecked_arru1_67:before {
1617
+ ._listItemUnchecked_1ixgr_68:before, ._listItemChecked_1ixgr_67:before {
1618
1618
  content: '';
1619
1619
  width: var(--spacing-4);
1620
1620
  height: var(--spacing-4);
@@ -1625,25 +1625,25 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1625
1625
  background-size: cover;
1626
1626
  position: absolute;
1627
1627
  }
1628
- ._listItemUnchecked_arru1_68[dir='rtl']:before, ._listItemChecked_arru1_67[dir='rtl']:before {
1628
+ ._listItemUnchecked_1ixgr_68[dir='rtl']:before, ._listItemChecked_1ixgr_67[dir='rtl']:before {
1629
1629
  left: auto;
1630
1630
  right: 0;
1631
1631
  }
1632
- ._listItemUnchecked_arru1_68:focus:before, ._listItemChecked_arru1_67:focus:before {
1632
+ ._listItemUnchecked_1ixgr_68:focus:before, ._listItemChecked_1ixgr_67:focus:before {
1633
1633
  box-shadow: 0 0 0 2px var(--accentBgActive);
1634
1634
  border-radius: var(--radius-small);
1635
1635
  }
1636
- ._listItemUnchecked_arru1_68:before {
1636
+ ._listItemUnchecked_1ixgr_68:before {
1637
1637
  border: 1px solid var(--baseBorder);
1638
1638
  border-radius: var(--radius-small);
1639
1639
  }
1640
- ._listItemChecked_arru1_67:before {
1640
+ ._listItemChecked_1ixgr_67:before {
1641
1641
  border: 1px solid var(--accentBorder);
1642
1642
  border-radius: var(--radius-small);
1643
1643
  background-color: var(--accentSolid);
1644
1644
  background-repeat: no-repeat;
1645
1645
  }
1646
- ._listItemChecked_arru1_67:after {
1646
+ ._listItemChecked_1ixgr_67:after {
1647
1647
  content: '';
1648
1648
  cursor: pointer;
1649
1649
  border-color: var(--baseBase);
@@ -1658,30 +1658,36 @@ form._multiFieldForm_1xops_1086 ._formField_1xops_1092 {
1658
1658
  transform: rotate(45deg);
1659
1659
  border-width: 0 var(--spacing-0_5) var(--spacing-0_5) 0;
1660
1660
  }
1661
- ._admonitionDanger_arru1_136, ._admonitionInfo_arru1_136, ._admonitionNote_arru1_136, ._admonitionTip_arru1_136, ._admonitionCaution_arru1_136 {
1661
+ ._nestedListItem_1ixgr_59 {
1662
+ list-style-type: none;
1663
+ }
1664
+ ._nestedListItem_1ixgr_59:before, ._nestedListItem_1ixgr_59:after {
1665
+ display: none;
1666
+ }
1667
+ ._admonitionDanger_1ixgr_145, ._admonitionInfo_1ixgr_145, ._admonitionNote_1ixgr_145, ._admonitionTip_1ixgr_145, ._admonitionCaution_1ixgr_145 {
1662
1668
  padding: var(--spacing-2);
1663
1669
  margin-top: var(--spacing-2);
1664
1670
  margin-bottom: var(--spacing-2);
1665
1671
  border-left: 3px solid var(--admonitionBorder);
1666
1672
  background-color: var(--admonitionBg);
1667
1673
  }
1668
- ._admonitionInfo_arru1_136 {
1674
+ ._admonitionInfo_1ixgr_145 {
1669
1675
  --admonitionBorder: var(--admonitionInfoBorder);
1670
1676
  --admonitionBg: var(--admonitionInfoBg);
1671
1677
  }
1672
- ._admonitionTip_arru1_136 {
1678
+ ._admonitionTip_1ixgr_145 {
1673
1679
  --admonitionBorder: var(--admonitionTipBorder);
1674
1680
  --admonitionBg: var(--admonitionTipBg);
1675
1681
  }
1676
- ._admonitionCaution_arru1_136 {
1682
+ ._admonitionCaution_1ixgr_145 {
1677
1683
  --admonitionBorder: var(--admonitionCautionBorder);
1678
1684
  --admonitionBg: var(--admonitionCautionBg);
1679
1685
  }
1680
- ._admonitionDanger_arru1_136 {
1686
+ ._admonitionDanger_1ixgr_145 {
1681
1687
  --admonitionBorder: var(--admonitionDangerBorder);
1682
1688
  --admonitionBg: var(--admonitionDangerBg);
1683
1689
  }
1684
- ._admonitionNote_arru1_136 {
1690
+ ._admonitionNote_1ixgr_145 {
1685
1691
  --admonitionBorder: var(--admonitionNoteBorder);
1686
1692
  --admonitionBg: var(--admonitionNoteBg);
1687
1693
  }
@@ -1,22 +1,22 @@
1
- const lightTheme = "_light-theme_arru1_1";
2
- const darkTheme = "_dark-theme_arru1_1";
3
- const bold = "_bold_arru1_10";
4
- const italic = "_italic_arru1_14";
5
- const underline = "_underline_arru1_18";
6
- const strikethrough = "_strikethrough_arru1_34";
7
- const underlineStrikethrough = "_underlineStrikethrough_arru1_38";
8
- const subscript = "_subscript_arru1_42";
9
- const superscript = "_superscript_arru1_47";
10
- const code = "_code_arru1_52";
11
- const nestedListItem = "_nestedListItem_arru1_59";
12
- const listitem = "_listitem_arru1_63";
13
- const listItemChecked = "_listItemChecked_arru1_67";
14
- const listItemUnchecked = "_listItemUnchecked_arru1_68";
15
- const admonitionDanger = "_admonitionDanger_arru1_136";
16
- const admonitionInfo = "_admonitionInfo_arru1_136";
17
- const admonitionNote = "_admonitionNote_arru1_136";
18
- const admonitionTip = "_admonitionTip_arru1_136";
19
- const admonitionCaution = "_admonitionCaution_arru1_136";
1
+ const lightTheme = "_light-theme_1ixgr_1";
2
+ const darkTheme = "_dark-theme_1ixgr_1";
3
+ const bold = "_bold_1ixgr_10";
4
+ const italic = "_italic_1ixgr_14";
5
+ const underline = "_underline_1ixgr_18";
6
+ const strikethrough = "_strikethrough_1ixgr_34";
7
+ const underlineStrikethrough = "_underlineStrikethrough_1ixgr_38";
8
+ const subscript = "_subscript_1ixgr_42";
9
+ const superscript = "_superscript_1ixgr_47";
10
+ const code = "_code_1ixgr_52";
11
+ const nestedListItem = "_nestedListItem_1ixgr_59";
12
+ const listitem = "_listitem_1ixgr_63";
13
+ const listItemChecked = "_listItemChecked_1ixgr_67";
14
+ const listItemUnchecked = "_listItemUnchecked_1ixgr_68";
15
+ const admonitionDanger = "_admonitionDanger_1ixgr_145";
16
+ const admonitionInfo = "_admonitionInfo_1ixgr_145";
17
+ const admonitionNote = "_admonitionNote_1ixgr_145";
18
+ const admonitionTip = "_admonitionTip_1ixgr_145";
19
+ const admonitionCaution = "_admonitionCaution_1ixgr_145";
20
20
  const styles = {
21
21
  lightTheme,
22
22
  darkTheme,
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "private": false,
10
10
  "sideEffects": false,
11
11
  "type": "module",
12
- "version": "1.9.0",
12
+ "version": "1.9.1",
13
13
  "description": "React component for rich text markdown editing",
14
14
  "scripts": {
15
15
  "build": "vite build",