hart-estate-widget 3.7.2 → 3.7.4
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 +4 -4
- package/build/widget.bundle.js +1 -1
- package/build/widget.module.js +1 -1
- package/package.json +26 -19
package/README.md
CHANGED
@@ -5,7 +5,7 @@ The package is designed to present 2D and 3D floor plans generated by the AI ser
|
|
5
5
|
# Table of Contents
|
6
6
|
- [Quick Start](#quick-start)
|
7
7
|
- - [Example index.html](#html)
|
8
|
-
- - [Example index.
|
8
|
+
- - [Example index.tsx](#javascript)
|
9
9
|
- - [Example index.sass](#sass)
|
10
10
|
- [Docs](#docs)
|
11
11
|
- - [Parameters](#parameters)
|
@@ -42,7 +42,7 @@ npm install @parcel/transformer-sass@2.8.3
|
|
42
42
|
│ │ └── index.sass
|
43
43
|
│ ├── index.html
|
44
44
|
│ └── js
|
45
|
-
└ └── index.
|
45
|
+
└ └── index.tsx
|
46
46
|
```
|
47
47
|
- Copy-paste sample assets from below.
|
48
48
|
- Run with `rm -rf dist && npx parcel ./src/index.html`
|
@@ -67,7 +67,7 @@ Insert the example into a file `src/index.html`
|
|
67
67
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
|
68
68
|
<title>katmosfera</title>
|
69
69
|
<link rel="icon" href="./assets/img/logo.png">
|
70
|
-
<script src="./js/index.
|
70
|
+
<script src="./js/index.tsx" type="module"></script>
|
71
71
|
</head>
|
72
72
|
|
73
73
|
<body>
|
@@ -79,7 +79,7 @@ Insert the example into a file `src/index.html`
|
|
79
79
|
```
|
80
80
|
|
81
81
|
## JavaScript
|
82
|
-
Insert the example into a file `src/js/index.
|
82
|
+
Insert the example into a file `src/js/index.tsx`
|
83
83
|
|
84
84
|
```js
|
85
85
|
import { ApiStore, Widget, rotationModes } from 'hart-estate-widget';
|