@portabletext/plugin-typography 1.0.12 → 1.0.13

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": "@portabletext/plugin-typography",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "Automatically transform text to typographic variants",
5
5
  "keywords": [
6
6
  "portabletext",
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "react-compiler-runtime": "1.0.0",
41
- "@portabletext/plugin-input-rule": "~0.3.7"
41
+ "@portabletext/plugin-input-rule": "~0.3.8"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@sanity/pkg-utils": "^8.1.4",
@@ -52,12 +52,12 @@
52
52
  "typescript": "5.9.3",
53
53
  "typescript-eslint": "^8.46.1",
54
54
  "vitest": "^3.2.4",
55
- "@portabletext/editor": "^2.15.1",
55
+ "@portabletext/editor": "^2.15.2",
56
56
  "@portabletext/schema": "^1.2.0",
57
57
  "racejar": "1.3.2"
58
58
  },
59
59
  "peerDependencies": {
60
- "@portabletext/editor": "^2.15.1",
60
+ "@portabletext/editor": "^2.15.2",
61
61
  "react": "^19.1.1"
62
62
  },
63
63
  "publishConfig": {
@@ -76,13 +76,13 @@ Feature: Ellipsis Input Rule
76
76
  Scenario Outline: Smart undo aborted after text changes
77
77
  Given the text <text>
78
78
  When <inserted text> is inserted
79
- And <new text> is inserted
79
+ And <new text> is typed
80
80
  And "{Backspace}" is pressed
81
81
  Then the text is <final text>
82
82
 
83
83
  Examples:
84
84
  | text | inserted text | new text | final text |
85
- | "" | "..." | "new" | "…ne" |
85
+ | "" | "..." | "n" | "…" |
86
86
 
87
87
  Scenario Outline: Smart undo aborted after selection changes
88
88
  Given the text <text>
@@ -84,13 +84,13 @@ Feature: Em Dash Input Rule
84
84
  Scenario Outline: Smart undo aborted after text changes
85
85
  Given the text <text>
86
86
  When <inserted text> is inserted
87
- And <new text> is inserted
87
+ And <new text> is typed
88
88
  And "{Backspace}" is pressed
89
89
  Then the text is <final text>
90
90
 
91
91
  Examples:
92
92
  | text | inserted text | new text | final text |
93
- | "" | "--" | "new" | "—ne" |
93
+ | "" | "--" | "n" | "—" |
94
94
 
95
95
  Scenario Outline: Smart undo aborted after selection changes
96
96
  Given the text <text>