@godown/react 3.0.0-canary.10 → 3.0.0-canary.12
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 +17 -3
- package/alert.d.ts +11 -1
- package/alert.js +2 -1
- package/avatar.d.ts +11 -1
- package/avatar.js +2 -1
- package/breath.d.ts +11 -1
- package/breath.js +2 -1
- package/button.d.ts +11 -1
- package/button.js +2 -1
- package/card.d.ts +11 -1
- package/card.js +2 -1
- package/carousel.d.ts +11 -1
- package/carousel.js +2 -1
- package/details.d.ts +11 -1
- package/details.js +2 -1
- package/dialog.d.ts +11 -1
- package/dialog.js +2 -1
- package/divider.d.ts +11 -1
- package/divider.js +2 -1
- package/dragbox.d.ts +11 -1
- package/dragbox.js +2 -1
- package/flex.d.ts +11 -1
- package/flex.js +2 -1
- package/form.d.ts +11 -1
- package/form.js +2 -1
- package/grid.d.ts +11 -1
- package/grid.js +2 -1
- package/input.d.ts +11 -1
- package/input.js +2 -1
- package/layout.d.ts +11 -1
- package/layout.js +2 -1
- package/link.d.ts +11 -1
- package/link.js +2 -1
- package/package.json +15 -6
- package/progress.d.ts +11 -1
- package/progress.js +2 -1
- package/range.d.ts +11 -1
- package/range.js +2 -1
- package/rotate.d.ts +11 -1
- package/rotate.js +2 -1
- package/router.d.ts +11 -1
- package/router.js +2 -1
- package/select.d.ts +11 -1
- package/select.js +2 -1
- package/skeleton.d.ts +11 -1
- package/skeleton.js +2 -1
- package/split.d.ts +11 -1
- package/split.js +2 -1
- package/switch.d.ts +11 -1
- package/switch.js +2 -1
- package/text.d.ts +11 -1
- package/text.js +2 -1
- package/time.d.ts +11 -1
- package/time.js +2 -1
- package/tooltip.d.ts +11 -1
- package/tooltip.js +2 -1
- package/typewriter.d.ts +11 -1
- package/typewriter.js +2 -1
- package/_create.d.ts +0 -3
- package/_create.js +0 -10
package/README.md
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
# @godown/react
|
2
2
|
|
3
3
|
```sh
|
4
|
-
npm i
|
4
|
+
npm i @godown/react
|
5
5
|
```
|
6
6
|
|
7
|
-
This package
|
7
|
+
This package provides empty conversion.
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
JSX element
|
8
12
|
|
9
13
|
```jsx
|
10
|
-
import
|
14
|
+
import Alert from "@godown/react/alert";
|
11
15
|
|
12
16
|
export default function () {
|
13
17
|
return <Alert title="Alert" />;
|
14
18
|
}
|
15
19
|
```
|
20
|
+
|
21
|
+
Intrinsic element
|
22
|
+
|
23
|
+
```jsx
|
24
|
+
import "@godown/react/alert";
|
25
|
+
|
26
|
+
export default function () {
|
27
|
+
return <godown-alert title="Alert" />;
|
28
|
+
}
|
29
|
+
```
|
package/alert.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/alert.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/alert.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-alert": IntrinsicTag<"godown-alert">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/alert.js
CHANGED
package/avatar.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/avatar.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/avatar.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-avatar": IntrinsicTag<"godown-avatar">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/avatar.js
CHANGED
package/breath.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/breath.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/breath.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-breath": IntrinsicTag<"godown-breath">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/breath.js
CHANGED
package/button.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/button.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/button.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-button": IntrinsicTag<"godown-button">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/button.js
CHANGED
package/card.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/card.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/card.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-card": IntrinsicTag<"godown-card">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/card.js
CHANGED
package/carousel.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/carousel.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/carousel.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-carousel": IntrinsicTag<"godown-carousel">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/carousel.js
CHANGED
package/details.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/details.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/details.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-details": IntrinsicTag<"godown-details">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/details.js
CHANGED
package/dialog.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/dialog.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/dialog.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-dialog": IntrinsicTag<"godown-dialog">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/dialog.js
CHANGED
package/divider.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/divider.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/divider.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-divider": IntrinsicTag<"godown-divider">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/divider.js
CHANGED
package/dragbox.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/dragbox.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/dragbox.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-dragbox": IntrinsicTag<"godown-dragbox">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/dragbox.js
CHANGED
package/flex.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/flex.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/flex.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-flex": IntrinsicTag<"godown-flex">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/flex.js
CHANGED
package/form.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/form.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component<any>, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/form.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-form": IntrinsicTag<"godown-form">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/form.js
CHANGED
package/grid.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/grid.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/grid.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-grid": IntrinsicTag<"godown-grid">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/grid.js
CHANGED
package/input.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/input.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/input.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-input": IntrinsicTag<"godown-input">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/input.js
CHANGED
package/layout.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/layout.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/layout.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-layout": IntrinsicTag<"godown-layout">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/layout.js
CHANGED
package/link.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/link.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/link.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-link": IntrinsicTag<"godown-link">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/link.js
CHANGED
package/package.json
CHANGED
@@ -1,21 +1,30 @@
|
|
1
1
|
{
|
2
2
|
"name": "@godown/react",
|
3
|
-
"version": "3.0.0-canary.
|
3
|
+
"version": "3.0.0-canary.12",
|
4
4
|
"description": "React components for godown",
|
5
5
|
"type": "module",
|
6
6
|
"main": "index.js",
|
7
|
+
"exports": {
|
8
|
+
".": "./index.js",
|
9
|
+
"./package.json": "./package.json",
|
10
|
+
"./*.js": "./*.js",
|
11
|
+
"./*": "./*.js"
|
12
|
+
},
|
7
13
|
"repository": {
|
8
14
|
"type": "git",
|
9
15
|
"url": "https://github.com/startracex/godown.git",
|
10
16
|
"directory": "packages/react"
|
11
17
|
},
|
12
|
-
"keywords": [
|
13
|
-
|
14
|
-
|
18
|
+
"keywords": [
|
19
|
+
"web-components",
|
20
|
+
"custom-elements"
|
21
|
+
],
|
22
|
+
"author": "startracex",
|
23
|
+
"license": "MIT",
|
15
24
|
"dependencies": {
|
16
25
|
"@lit/react": "^1.0.5",
|
17
|
-
"react": "^18",
|
18
|
-
"godown": "^3.0.0-canary.
|
26
|
+
"react": "^18.0.0",
|
27
|
+
"godown": "^3.0.0-canary.12"
|
19
28
|
},
|
20
29
|
"publishConfig": {
|
21
30
|
"access": "public"
|
package/progress.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/progress.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/progress.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-progress": IntrinsicTag<"godown-progress">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/progress.js
CHANGED
package/range.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/range.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/range.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-range": IntrinsicTag<"godown-range">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/range.js
CHANGED
package/rotate.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/rotate.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/rotate.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-rotate": IntrinsicTag<"godown-rotate">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/rotate.js
CHANGED
package/router.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/router.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/router.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-router": IntrinsicTag<"godown-router">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/router.js
CHANGED
package/select.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/select.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/select.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-select": IntrinsicTag<"godown-select">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/select.js
CHANGED
package/skeleton.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/skeleton.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/skeleton.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-skeleton": IntrinsicTag<"godown-skeleton">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/skeleton.js
CHANGED
package/split.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/split.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/split.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-split": IntrinsicTag<"godown-split">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/split.js
CHANGED
package/switch.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/switch.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/switch.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-switch": IntrinsicTag<"godown-switch">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/switch.js
CHANGED
package/text.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/text.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/text.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-text": IntrinsicTag<"godown-text">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/text.js
CHANGED
package/time.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/time.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/time.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-time": IntrinsicTag<"godown-time">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/time.js
CHANGED
package/tooltip.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/tooltip.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/tooltip.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-tooltip": IntrinsicTag<"godown-tooltip">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/tooltip.js
CHANGED
package/typewriter.d.ts
CHANGED
@@ -1,2 +1,12 @@
|
|
1
|
-
|
1
|
+
import component from "godown/typewriter.js";
|
2
|
+
import { type IntrinsicTag } from "./lib/intrinsic.js";
|
3
|
+
declare const _default: import("@lit/react").ReactWebComponent<component, Record<string, string>>;
|
2
4
|
export default _default;
|
5
|
+
export * from "godown/typewriter.js";
|
6
|
+
declare global {
|
7
|
+
namespace JSX {
|
8
|
+
interface IntrinsicElements {
|
9
|
+
"godown-typewriter": IntrinsicTag<"godown-typewriter">;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
package/typewriter.js
CHANGED
package/_create.d.ts
DELETED
package/_create.js
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
import { createComponent } from "@lit/react";
|
2
|
-
import * as React from "react";
|
3
|
-
export default function (elementClass, events) {
|
4
|
-
return createComponent({
|
5
|
-
elementClass: elementClass,
|
6
|
-
tagName: elementClass.elementTagName,
|
7
|
-
react: React,
|
8
|
-
events,
|
9
|
-
});
|
10
|
-
}
|