@cocreate/calculate 1.14.2 → 1.14.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/CHANGELOG.md +14 -0
- package/demo/index.html +3 -3
- package/docs/index.html +0 -5
- package/package.json +1 -1
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.14.4](https://github.com/CoCreate-app/CoCreate-calculate/compare/v1.14.3...v1.14.4) (2024-02-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* selector ([4caa015](https://github.com/CoCreate-app/CoCreate-calculate/commit/4caa0153957e8ec54dec27f8bb2de11899aeec20))
|
|
7
|
+
|
|
8
|
+
## [1.14.3](https://github.com/CoCreate-app/CoCreate-calculate/compare/v1.14.2...v1.14.3) (2024-02-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([27fe3fb](https://github.com/CoCreate-app/CoCreate-calculate/commit/27fe3fbc4c3ef0958d9bf7b686114f585b22409f))
|
|
14
|
+
|
|
1
15
|
## [1.14.2](https://github.com/CoCreate-app/CoCreate-calculate/compare/v1.14.1...v1.14.2) (2023-12-09)
|
|
2
16
|
|
|
3
17
|
|
package/demo/index.html
CHANGED
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
<input class="we" key="total" id="id2" value="13" />
|
|
16
16
|
<!--<input id="id3" value="14"><br><br><br>-->
|
|
17
17
|
|
|
18
|
-
<input id="te" calculate="{#id1} + {#id2}" />
|
|
18
|
+
<input id="te" calculate="{(#id1)} + {(#id2)}" />
|
|
19
19
|
<!--<input calculate="1 + 3 * 5">-->
|
|
20
20
|
<input calculate="{[key='total']} + 1" />
|
|
21
|
-
<h1 calculate="{[key='total']} + {#te}">sum</h1>
|
|
21
|
+
<h1 calculate="{[key='total']} + {(#te)}">sum</h1>
|
|
22
22
|
|
|
23
23
|
<!--<h1 calculate="sum[.we]">sum</h1>-->
|
|
24
|
-
<!--<h1 calculate="1 + {#id1} * 5 + {#id3}/{#id2} + {#id2}"></h1>-->
|
|
24
|
+
<!--<h1 calculate="1 + {(#id1)} * 5 + {(#id3)}/{(#id2)} + {(#id2)}"></h1>-->
|
|
25
25
|
<!--<h1 calculate="(({#id1} + {#id2})) * {#id3}"></h1>-->
|
|
26
26
|
|
|
27
27
|
<!--<script src="../dist/CoCreate-calculate.js"></script>-->
|
package/docs/index.html
CHANGED
|
@@ -21,11 +21,6 @@
|
|
|
21
21
|
property="og:image"
|
|
22
22
|
content="https://cdn.cocreate.app/docs/calculate.png" />
|
|
23
23
|
|
|
24
|
-
<!-- CoCreate CSS -->
|
|
25
|
-
<link
|
|
26
|
-
rel="stylesheet"
|
|
27
|
-
href="https://cdn.cocreate.app/latest/CoCreate.min.css"
|
|
28
|
-
type="text/css" />
|
|
29
24
|
<link
|
|
30
25
|
rel="stylesheet"
|
|
31
26
|
href="../index.css"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/calculate",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.4",
|
|
4
4
|
"description": "A handy vanilla JavaScript calculator, concatenate multiple elements containing integers & execute calculates. Can be used for creating invoices,making payments & any kind of complex calculate. Easily configured using HTML5 attributes and/or JavaScript API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"calculate",
|
package/src/index.js
CHANGED