@examind/block-editor 0.6.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/dist/index.css +19 -24
  2. package/dist/index.js +1503 -1043
  3. package/dist/index.mjs +1502 -1028
  4. package/package.json +2 -2
package/dist/index.css CHANGED
@@ -1632,38 +1632,33 @@ sl-progress-bar {
1632
1632
  cursor: pointer;
1633
1633
  }
1634
1634
  .excel-copy-text {
1635
- position: relative;
1636
1635
  border-radius: var(--sl-border-radius-small);
1637
1636
  outline-offset: 1px;
1638
- padding-right: 1.4em;
1637
+ padding-right: 0.5em;
1639
1638
  padding-left: 0;
1640
- .excel-copy-text-icon {
1641
- font-size: 11px;
1642
- line-height: 1;
1643
- position: absolute;
1644
- right: 4px;
1645
- top: 4px;
1646
- color: var(--sl-color-neutral-400);
1647
- width: 1em;
1648
- height: 1em;
1649
- display: inline-block;
1650
- user-select: none;
1651
- cursor: pointer;
1652
- }
1653
- .excel-copy-text-icon:hover {
1654
- color: var(--sl-color-primary-500);
1655
- }
1656
- .excel-copy-text-icon::before {
1657
- content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
1658
- display: block;
1659
- width: 100%;
1660
- height: 100%;
1661
- }
1662
1639
  }
1663
1640
  .excel-copy-text[data-selected] {
1664
1641
  outline: 1px dashed var(--sl-color-neutral-500);
1665
1642
  background-color: var(--sl-color-neutral-100);
1666
1643
  }
1644
+ .excel-copy-text::after {
1645
+ background-color: var(--sl-color-neutral-400);
1646
+ content: "";
1647
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center;
1648
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E") no-repeat center;
1649
+ -webkit-mask-size: contain;
1650
+ mask-size: contain;
1651
+ display: inline-block;
1652
+ margin-block: auto;
1653
+ width: 1em;
1654
+ height: 1em;
1655
+ font-size: 11px;
1656
+ line-height: 1;
1657
+ margin-left: 0.5em;
1658
+ }
1659
+ .excel-copy-text:hover::after {
1660
+ background-color: var(--sl-color-primary-500);
1661
+ }
1667
1662
  }
1668
1663
 
1669
1664
  /* src/styles/article-fill-in-the-blank-question.css */