kritzel-react 0.0.37 → 0.0.39

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 CHANGED
@@ -5,15 +5,16 @@ Install the kritzel-react package.
5
5
  npm i kritzel-react
6
6
  ```
7
7
 
8
- Add MyList to your imports to use it in your component template.
9
- ```typescript
10
- import { MyList } from 'kritzel-react'
8
+ Import Kritzel components to use them in your template.
9
+ ```jsx
10
+ import { KritzelEngine, KritzelControls } from 'kritzel-react'
11
11
 
12
12
  function MyComponent() {
13
13
 
14
14
  return (
15
15
  <>
16
- <MyList></MyList>
16
+ <KritzelEngine></KritzelEngine>
17
+ <KritzelControls></KritzelControls>
17
18
  </>
18
19
  )
19
20
  }
@@ -1,39 +1,21 @@
1
1
  'use client';
2
2
  import { createComponent } from '@stencil/react-output-target/runtime';
3
3
  import React from 'react';
4
- import { MyButton as MyButtonElement, defineCustomElement as defineMyButton } from "../../../../kritzel-stencil/dist/components/my-button.js";
5
- import { MyComponent as MyComponentElement, defineCustomElement as defineMyComponent } from "../../../../kritzel-stencil/dist/components/my-component.js";
6
- import { MyList as MyListElement, defineCustomElement as defineMyList } from "../../../../kritzel-stencil/dist/components/my-list.js";
7
- import { MyTitle as MyTitleElement, defineCustomElement as defineMyTitle } from "../../../../kritzel-stencil/dist/components/my-title.js";
8
- export const MyButton = /*@__PURE__*/ createComponent({
9
- tagName: 'my-button',
10
- elementClass: MyButtonElement,
4
+ import { KritzelControls as KritzelControlsElement, defineCustomElement as defineKritzelControls } from "../../../../kritzel-stencil/dist/components/kritzel-controls.js";
5
+ import { KritzelEngine as KritzelEngineElement, defineCustomElement as defineKritzelEngine } from "../../../../kritzel-stencil/dist/components/kritzel-engine.js";
6
+ export const KritzelControls = /*@__PURE__*/ createComponent({
7
+ tagName: 'kritzel-controls',
8
+ elementClass: KritzelControlsElement,
11
9
  // @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
10
  react: React,
13
11
  events: {},
14
- defineCustomElement: defineMyButton
12
+ defineCustomElement: defineKritzelControls
15
13
  });
16
- export const MyComponent = /*@__PURE__*/ createComponent({
17
- tagName: 'my-component',
18
- elementClass: MyComponentElement,
14
+ export const KritzelEngine = /*@__PURE__*/ createComponent({
15
+ tagName: 'kritzel-engine',
16
+ elementClass: KritzelEngineElement,
19
17
  // @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
18
  react: React,
21
19
  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
20
+ defineCustomElement: defineKritzelEngine
39
21
  });
@@ -3,16 +3,10 @@
3
3
  * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
4
4
  */
5
5
  import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
6
- import { MyButton as MyButtonElement } from "../../../../kritzel-stencil/dist/components/my-button.js";
7
- import { MyComponent as MyComponentElement } from "../../../../kritzel-stencil/dist/components/my-component.js";
8
- import { MyList as MyListElement } from "../../../../kritzel-stencil/dist/components/my-list.js";
9
- import { MyTitle as MyTitleElement } from "../../../../kritzel-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>;
6
+ import { KritzelControls as KritzelControlsElement } from "../../../../kritzel-stencil/dist/components/kritzel-controls.js";
7
+ import { KritzelEngine as KritzelEngineElement } from "../../../../kritzel-stencil/dist/components/kritzel-engine.js";
8
+ type KritzelControlsEvents = NonNullable<unknown>;
9
+ export declare const KritzelControls: StencilReactComponent<KritzelControlsElement, KritzelControlsEvents>;
10
+ type KritzelEngineEvents = NonNullable<unknown>;
11
+ export declare const KritzelEngine: StencilReactComponent<KritzelEngineElement, KritzelEngineEvents>;
18
12
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kritzel-react",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "homepage": "https://gitlab.com/kasual1/kritzel#readme",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "@stencil/react-output-target": "^0.7.4"
21
21
  },
22
22
  "peerDependencies": {
23
- "kritzel-stencil": "^0.0.37"
23
+ "kritzel-stencil": "^0.0.39"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",