react-better-html 1.0.5 → 1.0.7
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 +2 -4
- package/dist/example/src/App.d.ts +0 -3
- package/dist/example/src/App.jsx +0 -10
- package/dist/example/src/index.d.ts +0 -1
- package/dist/example/src/index.jsx +0 -12
- /package/dist/{src/components → components}/Div.d.ts +0 -0
- /package/dist/{src/components → components}/Div.jsx +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/index.js → index.js} +0 -0
- /package/dist/{src/types → types}/types.d.ts +0 -0
- /package/dist/{src/types → types}/types.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-better-html",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "A component library for react that is as close to plane html as possible",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -36,12 +36,10 @@
|
|
|
36
36
|
"@types/react-dom": "^18.3.0",
|
|
37
37
|
"react": "^18.0.0",
|
|
38
38
|
"react-dom": "^18.0.0",
|
|
39
|
+
"rimraf": "^6.0.1",
|
|
39
40
|
"typescript": "^5.5.3"
|
|
40
41
|
},
|
|
41
42
|
"peerDependencies": {
|
|
42
43
|
"react": "^18.0.0"
|
|
43
|
-
},
|
|
44
|
-
"dependencies": {
|
|
45
|
-
"rimraf": "^6.0.1"
|
|
46
44
|
}
|
|
47
45
|
}
|
package/dist/example/src/App.jsx
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const react_1 = require("react");
|
|
4
|
-
const react_better_html_1 = require("react-better-html");
|
|
5
|
-
function App() {
|
|
6
|
-
return (<>
|
|
7
|
-
<react_better_html_1.Div>Hello there</react_better_html_1.Div>
|
|
8
|
-
</>);
|
|
9
|
-
}
|
|
10
|
-
exports.default = (0, react_1.memo)(App);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const react_1 = require("react");
|
|
7
|
-
const client_1 = require("react-dom/client");
|
|
8
|
-
const App_1 = __importDefault(require("./App"));
|
|
9
|
-
const root = (0, client_1.createRoot)(document.getElementById("root"));
|
|
10
|
-
root.render(<react_1.StrictMode>
|
|
11
|
-
<App_1.default />
|
|
12
|
-
</react_1.StrictMode>);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|