@portabletext/plugin-emoji-picker 1.0.1 → 1.0.3

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/index.d.cts CHANGED
@@ -81,14 +81,14 @@ export declare type EmojiPicker<
81
81
  TEmojiMatch extends BaseEmojiMatch = BaseEmojiMatch,
82
82
  > = {
83
83
  /**
84
- * The matched keyword, including colons.
84
+ * The matched keyword.
85
85
  *
86
86
  * Can be used to display the keyword in the UI or conditionally render the
87
87
  * list of matches.
88
88
  *
89
89
  * @example
90
90
  * ```tsx
91
- * if (keyword.length < 2) {
91
+ * if (keyword.length < 1) {
92
92
  * return null
93
93
  * }
94
94
  * ```
@@ -187,13 +187,6 @@ export declare type MatchEmojis<
187
187
  TEmojiMatch extends BaseEmojiMatch = BaseEmojiMatch,
188
188
  > = (query: {keyword: string}) => ReadonlyArray<TEmojiMatch>
189
189
 
190
- /**
191
- * Proposed, but not required, default implementation of `MatchEmojis`.
192
- *
193
- * @beta
194
- */
195
- export declare const matchEmojis: MatchEmojis<EmojiMatch>
196
-
197
190
  /**
198
191
  * Handles the state and logic needed to create an emoji picker.
199
192
  *
package/dist/index.d.ts CHANGED
@@ -81,14 +81,14 @@ export declare type EmojiPicker<
81
81
  TEmojiMatch extends BaseEmojiMatch = BaseEmojiMatch,
82
82
  > = {
83
83
  /**
84
- * The matched keyword, including colons.
84
+ * The matched keyword.
85
85
  *
86
86
  * Can be used to display the keyword in the UI or conditionally render the
87
87
  * list of matches.
88
88
  *
89
89
  * @example
90
90
  * ```tsx
91
- * if (keyword.length < 2) {
91
+ * if (keyword.length < 1) {
92
92
  * return null
93
93
  * }
94
94
  * ```
@@ -187,13 +187,6 @@ export declare type MatchEmojis<
187
187
  TEmojiMatch extends BaseEmojiMatch = BaseEmojiMatch,
188
188
  > = (query: {keyword: string}) => ReadonlyArray<TEmojiMatch>
189
189
 
190
- /**
191
- * Proposed, but not required, default implementation of `MatchEmojis`.
192
- *
193
- * @beta
194
- */
195
- export declare const matchEmojis: MatchEmojis<EmojiMatch>
196
-
197
190
  /**
198
191
  * Handles the state and logic needed to create an emoji picker.
199
192
  *