@coco-vexel/coco-office-editor 1.0.9 → 1.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coco-vexel/coco-office-editor",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -73,7 +73,7 @@
73
73
  "THIRD_PARTY_NOTICES.md"
74
74
  ],
75
75
  "dependencies": {
76
- "@coco-vexel/coco-office": "^1.0.9",
76
+ "@coco-vexel/coco-office": "^1.0.10",
77
77
  "prosemirror-commands": "^1.7.2",
78
78
  "prosemirror-keymap": "^1.2.3",
79
79
  "prosemirror-model": "^1.25.12",
@@ -86,7 +86,7 @@
86
86
  "jszip": "^3.10.2",
87
87
  "vite": "^8.3.5",
88
88
  "vitest": "^5.0.5",
89
- "@coco-vexel/coco-office-oojson": "^1.0.9"
89
+ "@coco-vexel/coco-office-oojson": "^1.0.10"
90
90
  },
91
91
  "scripts": {
92
92
  "build": "tsup",
@@ -729,7 +729,7 @@ coco-word-native-p.has-tab-stops {
729
729
  display: grid;
730
730
  grid-template-columns: minmax(0, 1fr) auto;
731
731
  align-items: baseline;
732
- width: 100%;
732
+ width: min(100%, var(--coco-word-tab-stop, 100%));
733
733
  column-gap: 12pt;
734
734
  }
735
735
 
@@ -737,7 +737,8 @@ coco-word-native-p.has-tab-stops {
737
737
  .coco-word-tab-row.has-leader-hyphen,
738
738
  .coco-word-tab-row.has-leader-underscore,
739
739
  .coco-word-tab-row.has-leader-heavy,
740
- .coco-word-tab-row.has-leader-middleDot {
740
+ .coco-word-tab-row.has-leader-middleDot,
741
+ .coco-word-tab-row.has-underlined-tab {
741
742
  column-gap: 4pt;
742
743
  line-height: 2;
743
744
  }
@@ -754,7 +755,8 @@ coco-word-native-p.has-tab-stops {
754
755
  text-align: left;
755
756
  }
756
757
 
757
- .coco-word-tab-row.is-right-tab[class*="has-leader-"] .coco-word-tab-segment.is-segment-0 {
758
+ .coco-word-tab-row.is-right-tab[class*="has-leader-"] .coco-word-tab-segment.is-segment-0,
759
+ .coco-word-tab-row.is-right-tab.has-underlined-tab .coco-word-tab-segment.is-segment-0 {
758
760
  display: flex;
759
761
  align-items: baseline;
760
762
  white-space: nowrap;
@@ -764,9 +766,9 @@ coco-word-native-p.has-tab-stops {
764
766
  content: "";
765
767
  flex: 1 1 auto;
766
768
  min-width: 12pt;
767
- margin: 0 3pt;
769
+ margin: 0;
768
770
  border-bottom: 1px dotted currentColor;
769
- transform: translateY(-0.25em);
771
+ transform: translateY(0.08em);
770
772
  }
771
773
 
772
774
  .coco-word-tab-row.is-right-tab.has-leader-hyphen .coco-word-tab-segment.is-segment-0::after {
@@ -782,6 +784,14 @@ coco-word-native-p.has-tab-stops {
782
784
  border-bottom-width: 2px;
783
785
  }
784
786
 
787
+ .coco-word-tab-row.is-right-tab.has-underlined-tab .coco-word-underlined-tab-run {
788
+ flex: 1 1 auto;
789
+ min-width: 12pt;
790
+ box-sizing: border-box;
791
+ border-bottom: 1px solid currentColor;
792
+ text-decoration-line: none !important;
793
+ }
794
+
785
795
  .coco-word-tab-segment.is-segment-1 {
786
796
  text-align: center;
787
797
  }