@mborecki/find-words-react 0.1.0 → 0.2.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mborecki/find-words-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@stencil/react-output-target": "^1.2.0",
|
|
21
|
-
"@mborecki/find-words": "0.
|
|
21
|
+
"@mborecki/find-words": "0.2.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": "^19.2.3"
|
|
@@ -13,14 +13,14 @@ import type { EventName, StencilReactComponent } from '@stencil/react-output-tar
|
|
|
13
13
|
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
14
14
|
import React from 'react';
|
|
15
15
|
|
|
16
|
-
export type MbFindWordsEvents =
|
|
16
|
+
export type MbFindWordsEvents = { onCompleted: EventName<CustomEvent<void>> };
|
|
17
17
|
|
|
18
18
|
export const MbFindWords: StencilReactComponent<MbFindWordsElement, MbFindWordsEvents> = /*@__PURE__*/ createComponent<MbFindWordsElement, MbFindWordsEvents>({
|
|
19
19
|
tagName: 'mb-find-words',
|
|
20
20
|
elementClass: MbFindWordsElement,
|
|
21
21
|
// @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
|
|
22
22
|
react: React,
|
|
23
|
-
events: {} as MbFindWordsEvents,
|
|
23
|
+
events: { onCompleted: 'completed' } as MbFindWordsEvents,
|
|
24
24
|
defineCustomElement: defineMbFindWords
|
|
25
25
|
});
|
|
26
26
|
|