@deadlock-ui/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.
@@ -0,0 +1,20 @@
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 { DlItemCard as DlItemCardElement } from "@deadlock-ui/core/dist/components/dl-item-card.js";
6
+ import { DlItemGrid as DlItemGridElement } from "@deadlock-ui/core/dist/components/dl-item-grid.js";
7
+ import { DlItemTooltip as DlItemTooltipElement } from "@deadlock-ui/core/dist/components/dl-item-tooltip.js";
8
+ import { DlProvider as DlProviderElement } from "@deadlock-ui/core/dist/components/dl-provider.js";
9
+ import { DlShopPanel as DlShopPanelElement } from "@deadlock-ui/core/dist/components/dl-shop-panel.js";
10
+ import type { StencilReactComponent } from '@stencil/react-output-target/runtime';
11
+ export type DlItemCardEvents = NonNullable<unknown>;
12
+ export declare const DlItemCard: StencilReactComponent<DlItemCardElement, DlItemCardEvents>;
13
+ export type DlItemGridEvents = NonNullable<unknown>;
14
+ export declare const DlItemGrid: StencilReactComponent<DlItemGridElement, DlItemGridEvents>;
15
+ export type DlItemTooltipEvents = NonNullable<unknown>;
16
+ export declare const DlItemTooltip: StencilReactComponent<DlItemTooltipElement, DlItemTooltipEvents>;
17
+ export type DlProviderEvents = NonNullable<unknown>;
18
+ export declare const DlProvider: StencilReactComponent<DlProviderElement, DlProviderEvents>;
19
+ export type DlShopPanelEvents = NonNullable<unknown>;
20
+ export declare const DlShopPanel: StencilReactComponent<DlShopPanelElement, DlShopPanelEvents>;
@@ -0,0 +1,53 @@
1
+ 'use client';
2
+ /**
3
+ * This file was automatically generated by the Stencil React Output Target.
4
+ * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
5
+ */
6
+ /* eslint-disable */
7
+ import { DlItemCard as DlItemCardElement, defineCustomElement as defineDlItemCard } from "@deadlock-ui/core/dist/components/dl-item-card.js";
8
+ import { DlItemGrid as DlItemGridElement, defineCustomElement as defineDlItemGrid } from "@deadlock-ui/core/dist/components/dl-item-grid.js";
9
+ import { DlItemTooltip as DlItemTooltipElement, defineCustomElement as defineDlItemTooltip } from "@deadlock-ui/core/dist/components/dl-item-tooltip.js";
10
+ import { DlProvider as DlProviderElement, defineCustomElement as defineDlProvider } from "@deadlock-ui/core/dist/components/dl-provider.js";
11
+ import { DlShopPanel as DlShopPanelElement, defineCustomElement as defineDlShopPanel } from "@deadlock-ui/core/dist/components/dl-shop-panel.js";
12
+ import { createComponent } from '@stencil/react-output-target/runtime';
13
+ import React from 'react';
14
+ export const DlItemCard = /*@__PURE__*/ createComponent({
15
+ tagName: 'dl-item-card',
16
+ elementClass: DlItemCardElement,
17
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
18
+ react: React,
19
+ events: {},
20
+ defineCustomElement: defineDlItemCard
21
+ });
22
+ export const DlItemGrid = /*@__PURE__*/ createComponent({
23
+ tagName: 'dl-item-grid',
24
+ elementClass: DlItemGridElement,
25
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
26
+ react: React,
27
+ events: {},
28
+ defineCustomElement: defineDlItemGrid
29
+ });
30
+ export const DlItemTooltip = /*@__PURE__*/ createComponent({
31
+ tagName: 'dl-item-tooltip',
32
+ elementClass: DlItemTooltipElement,
33
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
34
+ react: React,
35
+ events: {},
36
+ defineCustomElement: defineDlItemTooltip
37
+ });
38
+ export const DlProvider = /*@__PURE__*/ createComponent({
39
+ tagName: 'dl-provider',
40
+ elementClass: DlProviderElement,
41
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
42
+ react: React,
43
+ events: {},
44
+ defineCustomElement: defineDlProvider
45
+ });
46
+ export const DlShopPanel = /*@__PURE__*/ createComponent({
47
+ tagName: 'dl-shop-panel',
48
+ elementClass: DlShopPanelElement,
49
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
50
+ react: React,
51
+ events: {},
52
+ defineCustomElement: defineDlShopPanel
53
+ });
@@ -0,0 +1 @@
1
+ export * from './components/components';
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './components/components';
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@deadlock-ui/react",
3
+ "version": "0.1.0",
4
+ "description": "React bindings for Deadlock UI web components",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist/"
16
+ ],
17
+ "scripts": {
18
+ "build": "tsc -p tsconfig.json"
19
+ },
20
+ "license": "MIT",
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "dependencies": {
25
+ "@deadlock-ui/core": "*",
26
+ "@stencil/react-output-target": "^1.0.0"
27
+ },
28
+ "peerDependencies": {
29
+ "react": "^18 || ^19",
30
+ "react-dom": "^18 || ^19"
31
+ },
32
+ "devDependencies": {
33
+ "react": "^19.0.0",
34
+ "react-dom": "^19.0.0",
35
+ "typescript": "^5.7.0",
36
+ "@types/react": "^19.0.0"
37
+ }
38
+ }