@godown/react 3.12.0 → 3.13.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@godown/react",
3
- "version": "3.12.0",
3
+ "version": "3.13.0",
4
4
  "description": "React components for godown",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -23,8 +23,8 @@
23
23
  "author": "startracex",
24
24
  "license": "MIT",
25
25
  "dependencies": {
26
- "@lit/react": "^1.0.5",
27
- "godown": "^3.12.0"
26
+ "@lit/react": "^1.0.0",
27
+ "godown": "^3.13.0"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"
package/popover.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ import Popover from "godown/web-components/popover/component.js";
2
+ import type { IntrinsicElement } from "./lib/intrinsic.js";
3
+ declare const _default: import("@lit/react").ReactWebComponent<Popover, {}>;
4
+ export default _default;
5
+ declare global {
6
+ namespace JSX {
7
+ interface IntrinsicElements {
8
+ "godown-popover": IntrinsicElement<Popover>;
9
+ }
10
+ }
11
+ }
12
+ //# sourceMappingURL=popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["src/popover.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,4CAA4C,CAAC;AAGjE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;;AAE3D,wBAAoC;AAEpC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,gBAAgB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;SAC7C;KACF;CACF"}
package/popover.js ADDED
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import Popover from "godown/web-components/popover/component.js";
3
+ import { createReact } from "./lib/create.js";
4
+ export default createReact(Popover);
5
+ //# sourceMappingURL=popover.js.map
package/popover.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.js","sourceRoot":"","sources":["src/popover.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,OAAO,MAAM,4CAA4C,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,eAAe,WAAW,CAAC,OAAO,CAAC,CAAC"}
package/src/popover.ts ADDED
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import Popover from "godown/web-components/popover/component.js";
3
+
4
+ import { createReact } from "./lib/create.js";
5
+ import type { IntrinsicElement } from "./lib/intrinsic.js";
6
+
7
+ export default createReact(Popover);
8
+
9
+ declare global {
10
+ namespace JSX {
11
+ interface IntrinsicElements {
12
+ "godown-popover": IntrinsicElement<Popover>;
13
+ }
14
+ }
15
+ }
package/src/tooltip.ts CHANGED
@@ -1,17 +1,10 @@
1
1
  "use client";
2
2
  import Tooltip from "godown/tooltip.js";
3
3
 
4
- import { createReact, eventMap, type TargetedCustomEvent } from "./lib/create.js";
4
+ import { createReact } from "./lib/create.js";
5
5
  import type { IntrinsicElement } from "./lib/intrinsic.js";
6
6
 
7
- export default createReact(
8
- Tooltip,
9
- eventMap<{
10
- onChange: TargetedCustomEvent<boolean, Tooltip>;
11
- }>({
12
- onChange: "change",
13
- }),
14
- );
7
+ export default createReact(Tooltip);
15
8
 
16
9
  declare global {
17
10
  namespace JSX {
package/tooltip.d.ts CHANGED
@@ -1,10 +1,6 @@
1
1
  import Tooltip from "godown/tooltip.js";
2
- import { type TargetedCustomEvent } from "./lib/create.js";
3
2
  import type { IntrinsicElement } from "./lib/intrinsic.js";
4
- declare const _default: import("@lit/react").ReactWebComponent<Tooltip, {
5
- onchange: import("@lit/react").EventName<TargetedCustomEvent<boolean, Tooltip>>;
6
- onChange: import("@lit/react").EventName<TargetedCustomEvent<boolean, Tooltip>>;
7
- }>;
3
+ declare const _default: import("@lit/react").ReactWebComponent<Tooltip, {}>;
8
4
  export default _default;
9
5
  declare global {
10
6
  namespace JSX {
package/tooltip.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["src/tooltip.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAyB,KAAK,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;;;;;AAE3D,wBAOE;AAEF,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,gBAAgB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;SAC7C;KACF;CACF"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["src/tooltip.ts"],"names":[],"mappings":"AACA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAGxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;;AAE3D,wBAAoC;AAEpC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,GAAG,CAAC;QACZ,UAAU,iBAAiB;YACzB,gBAAgB,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;SAC7C;KACF;CACF"}
package/tooltip.js CHANGED
@@ -1,7 +1,5 @@
1
1
  "use client";
2
2
  import Tooltip from "godown/tooltip.js";
3
- import { createReact, eventMap } from "./lib/create.js";
4
- export default createReact(Tooltip, eventMap({
5
- onChange: "change",
6
- }));
3
+ import { createReact } from "./lib/create.js";
4
+ export default createReact(Tooltip);
7
5
  //# sourceMappingURL=tooltip.js.map
package/tooltip.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.js","sourceRoot":"","sources":["src/tooltip.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAA4B,MAAM,iBAAiB,CAAC;AAGlF,eAAe,WAAW,CACxB,OAAO,EACP,QAAQ,CAEL;IACD,QAAQ,EAAE,QAAQ;CACnB,CAAC,CACH,CAAC"}
1
+ {"version":3,"file":"tooltip.js","sourceRoot":"","sources":["src/tooltip.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AACb,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,eAAe,WAAW,CAAC,OAAO,CAAC,CAAC"}