@portabletext/plugin-input-rule 0.6.0 → 0.6.2

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-input-rule",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "Easily configure input rules in the Portable Text Editor",
5
5
  "keywords": [
6
6
  "portabletext",
@@ -52,12 +52,12 @@
52
52
  "typescript": "5.9.3",
53
53
  "typescript-eslint": "^8.46.1",
54
54
  "vitest": "^4.0.6",
55
- "racejar": "2.0.0",
55
+ "@portabletext/editor": "2.21.2",
56
56
  "@portabletext/schema": "2.0.0",
57
- "@portabletext/editor": "2.21.0"
57
+ "racejar": "2.0.0"
58
58
  },
59
59
  "peerDependencies": {
60
- "@portabletext/editor": "^2.21.0",
60
+ "@portabletext/editor": "^2.21.2",
61
61
  "react": "^18.3 || ^19"
62
62
  },
63
63
  "engines": {
@@ -1,8 +1,7 @@
1
1
  Feature: Edge Cases
2
2
 
3
3
  Background:
4
- Given the editor is focused
5
- And a global keymap
4
+ Given a global keymap
6
5
 
7
6
  Scenario Outline: Longer Transform
8
7
  Given the text <text>
@@ -1,8 +1,5 @@
1
1
  Feature: Emoji Picker Rules
2
2
 
3
- Background:
4
- Given the editor is focused
5
-
6
3
  Scenario: Trigger Rule
7
4
  Given the text ""
8
5
  When ":" is typed
@@ -1,9 +1,5 @@
1
1
  Feature: Stock Ticker Rule
2
2
 
3
- Background:
4
- Given the editor is focused
5
- And a global keymap
6
-
7
3
  Scenario Outline: Transforms plain text into stock ticker
8
4
  Given the text <text>
9
5
  When <inserted text> is inserted