kritzel-react 0.0.5
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/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { MyButton as MyButtonElement, defineCustomElement as defineMyButton } from "../../../../stencil/dist/components/my-button.js";
|
|
5
|
+
import { MyComponent as MyComponentElement, defineCustomElement as defineMyComponent } from "../../../../stencil/dist/components/my-component.js";
|
|
6
|
+
import { MyList as MyListElement, defineCustomElement as defineMyList } from "../../../../stencil/dist/components/my-list.js";
|
|
7
|
+
import { MyTitle as MyTitleElement, defineCustomElement as defineMyTitle } from "../../../../stencil/dist/components/my-title.js";
|
|
8
|
+
export const MyButton = /*@__PURE__*/ createComponent({
|
|
9
|
+
tagName: 'my-button',
|
|
10
|
+
elementClass: MyButtonElement,
|
|
11
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
12
|
+
react: React,
|
|
13
|
+
events: {},
|
|
14
|
+
defineCustomElement: defineMyButton
|
|
15
|
+
});
|
|
16
|
+
export const MyComponent = /*@__PURE__*/ createComponent({
|
|
17
|
+
tagName: 'my-component',
|
|
18
|
+
elementClass: MyComponentElement,
|
|
19
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
20
|
+
react: React,
|
|
21
|
+
events: {},
|
|
22
|
+
defineCustomElement: defineMyComponent
|
|
23
|
+
});
|
|
24
|
+
export const MyList = /*@__PURE__*/ createComponent({
|
|
25
|
+
tagName: 'my-list',
|
|
26
|
+
elementClass: MyListElement,
|
|
27
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
28
|
+
react: React,
|
|
29
|
+
events: {},
|
|
30
|
+
defineCustomElement: defineMyList
|
|
31
|
+
});
|
|
32
|
+
export const MyTitle = /*@__PURE__*/ createComponent({
|
|
33
|
+
tagName: 'my-title',
|
|
34
|
+
elementClass: MyTitleElement,
|
|
35
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
36
|
+
react: React,
|
|
37
|
+
events: {},
|
|
38
|
+
defineCustomElement: defineMyTitle
|
|
39
|
+
});
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/stencil-generated/components';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
+
import { MyButton as MyButtonElement } from "../../../../stencil/dist/components/my-button.js";
|
|
7
|
+
import { MyComponent as MyComponentElement } from "../../../../stencil/dist/components/my-component.js";
|
|
8
|
+
import { MyList as MyListElement } from "../../../../stencil/dist/components/my-list.js";
|
|
9
|
+
import { MyTitle as MyTitleElement } from "../../../../stencil/dist/components/my-title.js";
|
|
10
|
+
type MyButtonEvents = NonNullable<unknown>;
|
|
11
|
+
export declare const MyButton: StencilReactComponent<MyButtonElement, MyButtonEvents>;
|
|
12
|
+
type MyComponentEvents = NonNullable<unknown>;
|
|
13
|
+
export declare const MyComponent: StencilReactComponent<MyComponentElement, MyComponentEvents>;
|
|
14
|
+
type MyListEvents = NonNullable<unknown>;
|
|
15
|
+
export declare const MyList: StencilReactComponent<MyListElement, MyListEvents>;
|
|
16
|
+
type MyTitleEvents = NonNullable<unknown>;
|
|
17
|
+
export declare const MyTitle: StencilReactComponent<MyTitleElement, MyTitleEvents>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/stencil-generated/components';
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kritzel-react",
|
|
3
|
+
"version": "0.0.5",
|
|
4
|
+
"description": "> TODO: description",
|
|
5
|
+
"author": "kasual1 <seifertluk11@gmail.com>",
|
|
6
|
+
"homepage": "https://gitlab.com/kasual1/kritzel#readme",
|
|
7
|
+
"license": "ISC",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"module": "dist/index.js",
|
|
10
|
+
"types": "dist/types/index.d.ts",
|
|
11
|
+
"directories": {
|
|
12
|
+
"lib": "lib",
|
|
13
|
+
"test": "__tests__"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@stencil/react-output-target": "^0.7.4"
|
|
23
|
+
},
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+ssh://git@gitlab.com/kasual1/kritzel.git"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"test": "node ./__tests__/react-library.test.js",
|
|
30
|
+
"build": "npm run tsc",
|
|
31
|
+
"tsc": "tsc -p . --outDir ./dist",
|
|
32
|
+
"clean": "rimraf dist node_modules",
|
|
33
|
+
"bump": "npm version patch",
|
|
34
|
+
"publish": "cd dist && npm publish"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://gitlab.com/kasual1/kritzel/issues"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/react": "^18.3.12",
|
|
41
|
+
"react": "^18.3.1",
|
|
42
|
+
"react-dom": "^18.3.1",
|
|
43
|
+
"typescript": "^5.6.3"
|
|
44
|
+
}
|
|
45
|
+
}
|