@godown/react 3.7.4 → 3.7.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/index.d.ts +1 -0
- package/index.js +1 -0
- package/lib/intrinsic.d.ts +5 -3
- package/package.json +3 -2
package/index.d.ts
CHANGED
@@ -24,6 +24,7 @@ export { default as Select } from "./select.js";
|
|
24
24
|
export { default as Skeleton } from "./skeleton.js";
|
25
25
|
export { default as Split } from "./split.js";
|
26
26
|
export { default as Switch } from "./switch.js";
|
27
|
+
export { default as Tabs } from "./tabs.js";
|
27
28
|
export { default as Text } from "./text.js";
|
28
29
|
export { default as Time } from "./time.js";
|
29
30
|
export { default as Tooltip } from "./tooltip.js";
|
package/index.js
CHANGED
@@ -24,6 +24,7 @@ export { default as Select } from "./select.js";
|
|
24
24
|
export { default as Skeleton } from "./skeleton.js";
|
25
25
|
export { default as Split } from "./split.js";
|
26
26
|
export { default as Switch } from "./switch.js";
|
27
|
+
export { default as Tabs } from "./tabs.js";
|
27
28
|
export { default as Text } from "./text.js";
|
28
29
|
export { default as Time } from "./time.js";
|
29
30
|
export { default as Tooltip } from "./tooltip.js";
|
package/lib/intrinsic.d.ts
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
import type
|
2
|
-
|
1
|
+
import type { WebComponentProps } from "@lit/react";
|
2
|
+
import type { DetailedHTMLProps, HTMLAttributes } from "react";
|
3
|
+
export type _IntrinsicElement<T extends HTMLElement> = DetailedHTMLProps<HTMLAttributes<T> & Partial<Omit<T, keyof HTMLElement>>, T>;
|
4
|
+
export type IntrinsicElement<T extends HTMLElement> = WebComponentProps<T>;
|
3
5
|
export type IntrinsicTag<T extends keyof HTMLElementTagNameMap> = IntrinsicElement<HTMLElementTagNameMap[T]>;
|
4
6
|
/**
|
5
|
-
* With
|
7
|
+
* With `@types/react` 18.3.15+:
|
6
8
|
*
|
7
9
|
* ```ts
|
8
10
|
* import { type IntrinsicMap } from "@godown/react/lib/intrinsic.js";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@godown/react",
|
3
|
-
"version": "3.7.
|
3
|
+
"version": "3.7.5",
|
4
4
|
"description": "React components for godown",
|
5
5
|
"type": "module",
|
6
6
|
"main": "index.js",
|
@@ -10,6 +10,7 @@
|
|
10
10
|
"./*.js": "./*.js",
|
11
11
|
"./*": "./*.js"
|
12
12
|
},
|
13
|
+
"homepage": "https://godown.js.org",
|
13
14
|
"repository": {
|
14
15
|
"type": "git",
|
15
16
|
"url": "https://github.com/startracex/godown.git",
|
@@ -24,7 +25,7 @@
|
|
24
25
|
"dependencies": {
|
25
26
|
"@lit/react": "^1.0.5",
|
26
27
|
"react": "^18.0.0",
|
27
|
-
"godown": "^3.7.
|
28
|
+
"godown": "^3.7.5"
|
28
29
|
},
|
29
30
|
"publishConfig": {
|
30
31
|
"access": "public"
|