react-iframe-plugin 0.0.12 → 0.0.14

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,3 @@
1
+ import React from 'react';
2
+ declare const IframePlugin: ({ src, title, style, ...props }: any) => React.JSX.Element;
3
+ export default IframePlugin;
@@ -1,14 +1,13 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import "react";
3
- const f = ({ src: r, title: e, style: o, ...t }) => /* @__PURE__ */ a(
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ const f = ({ src: r, title: e, style: a, ...l }) => /* @__PURE__ */ o(
4
3
  "iframe",
5
4
  {
6
5
  src: r,
7
6
  title: e,
8
- style: o,
7
+ style: a,
9
8
  frameBorder: "0",
10
9
  allowFullScreen: !0,
11
- ...t
10
+ ...l
12
11
  }
13
12
  );
14
13
  export {
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "react-iframe-plugin",
3
3
  "private": false,
4
- "version": "0.0.12",
4
+ "version": "0.0.14",
5
5
  "scripts": {
6
6
  "dev": "vite",
7
- "build": "vite build",
8
7
  "lint": "eslint .",
9
8
  "preview": "vite preview",
10
- "build:p": "webpack --config webpack.config.js"
9
+ "build:p": "webpack --config webpack.config.js",
10
+ "types": "tsc --declaration --emitDeclarationOnly --outDir dist",
11
+ "build": "vite build && npm run types"
11
12
  },
12
13
  "dependencies": {
13
14
  "react": "^17.0.0 || ^18.0.0",