@livinglogic/livingapi 1.8.0 → 1.10.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/CHANGELOG.md +19 -0
- package/README.md +6 -6
- package/dist/esm-node/livingapi.js +1 -1
- package/dist/esm-node/livingapi.js.map +1 -1
- package/dist/esm-npm/livingapi.js +2 -0
- package/dist/esm-npm/livingapi.js.map +1 -0
- package/dist/esm-static/livingapi.js +1 -1
- package/dist/esm-static/livingapi.js.map +1 -1
- package/dist/umd/livingapi.js +1 -1
- package/dist/umd/livingapi.js.map +1 -1
- package/package.json +1 -1
- package/rollup.config.js +11 -1
- package/src/livingapi.js +38 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changes
|
|
2
2
|
|
|
3
|
+
## 1.10.0 (2024-07-18)
|
|
4
|
+
|
|
5
|
+
The new attributes `Field.top`, `Field.left`, `Field.width` and `Field.height`
|
|
6
|
+
mirror the `Control` attributes of the same name.
|
|
7
|
+
|
|
8
|
+
`top` and `left` are settable. If you're in a form and those fields are visible
|
|
9
|
+
in the form, the field will be moved to the appropriate position.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## 1.9.0 (2024-07-04)
|
|
13
|
+
|
|
14
|
+
The LivingApps platform now provides an NPM proxy. To use the module version
|
|
15
|
+
of the LivingAPI from that proxy use the new build version stored in
|
|
16
|
+
`dist/esm-npm` like this:
|
|
17
|
+
|
|
18
|
+
```js
|
|
19
|
+
import * as la from '/npm/@livinglogic/livingapi@1.9.0/dist/esm-npm/livingapi.js';
|
|
20
|
+
```
|
|
21
|
+
|
|
3
22
|
## 1.8.0 (2024-06-18)
|
|
4
23
|
|
|
5
24
|
Add field `required` in class `Field`.
|
package/README.md
CHANGED
|
@@ -17,8 +17,8 @@ Install the npm packages:
|
|
|
17
17
|
npm install
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Build `dist/umd/livingapi.js`, `dist/esm-node/livingapi.js
|
|
21
|
-
`dist/esm-static/livingapi.js`:
|
|
20
|
+
Build `dist/umd/livingapi.js`, `dist/esm-node/livingapi.js`,
|
|
21
|
+
`dist/esm-static/livingapi.js` and `dist/esm-npm/livingapi.js`:
|
|
22
22
|
|
|
23
23
|
```
|
|
24
24
|
npm run build
|
|
@@ -34,14 +34,14 @@ In your HTML include the following:
|
|
|
34
34
|
<script src="{path_to_livingapi}/dist/umd/livingapi.js"></script>
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
now you can use the Javascript variable `la
|
|
37
|
+
now you can use the Javascript variable `la` (and `ul4`).
|
|
38
38
|
|
|
39
39
|
Or if you want to use the LivingAPI on https://my.living-apps.de/ as a module,
|
|
40
40
|
do
|
|
41
41
|
|
|
42
42
|
```html
|
|
43
43
|
<script type="module">
|
|
44
|
-
import * as la from '/
|
|
44
|
+
import * as la from '/npm/@livinglogic/livingapi@1.9.0/dist/esm-npm/livingapi.js';
|
|
45
45
|
...
|
|
46
46
|
</script>
|
|
47
47
|
```
|
|
@@ -50,8 +50,8 @@ or (if you need both UL4 and LivingAPI):
|
|
|
50
50
|
|
|
51
51
|
```html
|
|
52
52
|
<script type="module">
|
|
53
|
-
import * as ul4 from '/
|
|
54
|
-
import * as la from '/
|
|
53
|
+
import * as ul4 from '/npm/@livinglogic/ul4@1.17.0/dist/esm/ul4.js';
|
|
54
|
+
import * as la from '/npm/@livinglogic/livingapi@1.10.0/dist/esm-npm/livingapi.js';
|
|
55
55
|
...
|
|
56
56
|
</script>
|
|
57
57
|
```
|