@mborecki/sliding-puzzle-react 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 ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@mborecki/sliding-puzzle-react",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "description": "",
6
+ "main": "src/index.ts",
7
+ "type": "module",
8
+ "keywords": [],
9
+ "author": "",
10
+ "license": "ISC",
11
+ "files": [
12
+ "src"
13
+ ],
14
+ "devDependencies": {
15
+ "@types/react": "^19.2.7",
16
+ "react": "^19.2.3",
17
+ "typescript": "5.9.3"
18
+ },
19
+ "dependencies": {
20
+ "@stencil/react-output-target": "^1.2.0",
21
+ "@mborecki/sliding-puzzle": "0.1.0"
22
+ },
23
+ "peerDependencies": {
24
+ "react": "^19.2.3"
25
+ }
26
+ }
@@ -0,0 +1,24 @@
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 { MbSlidingPuzzle as MbSlidingPuzzleElement, defineCustomElement as defineMbSlidingPuzzle } from "@mborecki/sliding-puzzle/dist/components/mb-sliding-puzzle.js";
11
+ import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
12
+ import { createComponent } from '@stencil/react-output-target/runtime';
13
+ import React from 'react';
14
+
15
+ export type MbSlidingPuzzleEvents = NonNullable<unknown>;
16
+
17
+ export const MbSlidingPuzzle: StencilReactComponent<MbSlidingPuzzleElement, MbSlidingPuzzleEvents> = /*@__PURE__*/ createComponent<MbSlidingPuzzleElement, MbSlidingPuzzleEvents>({
18
+ tagName: 'mb-sliding-puzzle',
19
+ elementClass: MbSlidingPuzzleElement,
20
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
21
+ react: React,
22
+ events: {} as MbSlidingPuzzleEvents,
23
+ defineCustomElement: defineMbSlidingPuzzle
24
+ });
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './generated/components';