@mborecki/find-words-react 0.0.1 → 0.1.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.0.1",
3
+ "version": "0.1.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.0.1"
21
+ "@mborecki/find-words": "0.1.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^19.2.3"
@@ -0,0 +1,36 @@
1
+ 'use client';
2
+
3
+ /**
4
+ * This file was automatically generated by the Stencil React Output Target.
5
+ * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
6
+ */
7
+
8
+ /* eslint-disable */
9
+
10
+ import { MbFindWordsBoard as MbFindWordsBoardElement, defineCustomElement as defineMbFindWordsBoard } from "@mborecki/find-words/dist/components/mb-find-words-board.js";
11
+ import { MbFindWords as MbFindWordsElement, defineCustomElement as defineMbFindWords } from "@mborecki/find-words/dist/components/mb-find-words.js";
12
+ import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
13
+ import { createComponent } from '@stencil/react-output-target/runtime';
14
+ import React from 'react';
15
+
16
+ export type MbFindWordsEvents = NonNullable<unknown>;
17
+
18
+ export const MbFindWords: StencilReactComponent<MbFindWordsElement, MbFindWordsEvents> = /*@__PURE__*/ createComponent<MbFindWordsElement, MbFindWordsEvents>({
19
+ tagName: 'mb-find-words',
20
+ elementClass: MbFindWordsElement,
21
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
22
+ react: React,
23
+ events: {} as MbFindWordsEvents,
24
+ defineCustomElement: defineMbFindWords
25
+ });
26
+
27
+ export type MbFindWordsBoardEvents = { onSelectedChanged: EventName<CustomEvent<string>> };
28
+
29
+ export const MbFindWordsBoard: StencilReactComponent<MbFindWordsBoardElement, MbFindWordsBoardEvents> = /*@__PURE__*/ createComponent<MbFindWordsBoardElement, MbFindWordsBoardEvents>({
30
+ tagName: 'mb-find-words-board',
31
+ elementClass: MbFindWordsBoardElement,
32
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
33
+ react: React,
34
+ events: { onSelectedChanged: 'selectedChanged' } as MbFindWordsBoardEvents,
35
+ defineCustomElement: defineMbFindWordsBoard
36
+ });
@@ -1,2 +0,0 @@
1
- *
2
- !.gitignore