@cocreate/events 1.7.0 → 1.8.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 CHANGED
@@ -1,3 +1,22 @@
1
+ # [1.8.0](https://github.com/CoCreate-app/CoCreate-events/compare/v1.7.1...v1.8.0) (2023-04-24)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add @cocreate/element-prototype, bump cdn to 1.50.0 ([2c56a43](https://github.com/CoCreate-app/CoCreate-events/commit/2c56a43d98e562953dc85110b636276133fc4e95))
7
+
8
+
9
+ ### Features
10
+
11
+ * added pwa manifest ([84fbafc](https://github.com/CoCreate-app/CoCreate-events/commit/84fbafcbd1bdfb30ed5e3a6a3c9ae390df47defe))
12
+
13
+ ## [1.7.1](https://github.com/CoCreate-app/CoCreate-events/compare/v1.7.0...v1.7.1) (2023-04-24)
14
+
15
+
16
+ ### Bug Fixes
17
+
18
+ * remove console.log ([f5d4517](https://github.com/CoCreate-app/CoCreate-events/commit/f5d45174c0769751bcb6b85fb277f6e7ee9a52b9))
19
+
1
20
  # [1.7.0](https://github.com/CoCreate-app/CoCreate-events/compare/v1.6.12...v1.7.0) (2023-04-13)
2
21
 
3
22
 
package/demo/click.html CHANGED
@@ -18,6 +18,7 @@
18
18
  display: none;
19
19
  }
20
20
  </style>
21
+ <link rel="manifest" href="/manifest.json" />
21
22
  </head>
22
23
  <body>
23
24
 
@@ -64,6 +65,6 @@
64
65
 
65
66
  <!-- <script src="../dist/CoCreate-events.js"></script> -->
66
67
  <script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
67
- <!-- <script src="https://cdn.cocreate.app/1.49.2/CoCreate.min.js" ></script> -->
68
+ <!-- <script src="https://cdn.cocreate.app/1.50.0/CoCreate.min.js" ></script> -->
68
69
  </body>
69
70
  </html>
package/demo/hover.html CHANGED
@@ -16,6 +16,7 @@
16
16
  display: none;
17
17
  }
18
18
  </style>
19
+ <link rel="manifest" href="/manifest.json" />
19
20
  </head>
20
21
  <body>
21
22
 
package/demo/index.html CHANGED
@@ -18,6 +18,7 @@
18
18
  display: none;
19
19
  }
20
20
  </style>
21
+ <link rel="manifest" href="/manifest.json" />
21
22
  </head>
22
23
  <body>
23
24
 
@@ -80,7 +81,7 @@
80
81
  <input placeholder="Search all attributes" input-value input-key="keyname" input-target="#keyname">
81
82
 
82
83
  <!--<script src="../dist/CoCreate-events.js"></script>-->
83
- <script src="https://cdn.cocreate.app/1.49.2/CoCreate.min.js"></script>
84
+ <script src="https://cdn.cocreate.app/1.50.0/CoCreate.min.js"></script>
84
85
  <!-- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script> -->
85
86
 
86
87
  </body>
@@ -19,6 +19,7 @@
19
19
  .hfhfh[selected]{}
20
20
 
21
21
  </style>
22
+ <link rel="manifest" href="/manifest.json" />
22
23
  </head>
23
24
  <body>
24
25
 
@@ -48,7 +49,7 @@
48
49
  </div>
49
50
 
50
51
  <!-- <script src="../dist/CoCreate-selected.js"></script> -->
51
- <script src="https://cdn.cocreate.app/1.49.2/CoCreate.min.js"></script>
52
+ <script src="https://cdn.cocreate.app/1.50.0/CoCreate.min.js"></script>
52
53
  <!-- <script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script> -->
53
54
  </body>
54
55
  </html>
@@ -5,6 +5,7 @@
5
5
 
6
6
  <!-- CoCreate Favicon -->
7
7
  <link rel="icon" href="https://cdn.cocreate.app/favicon.ico" type="image/ico" sizes="16x16">
8
+ <link rel="manifest" href="/manifest.json">
8
9
  </head>
9
10
  <body>
10
11
  <div click-target="#testing" click-value="hello, bye" click-key="ty">
package/docs/index.html CHANGED
@@ -14,6 +14,7 @@
14
14
  <!-- CoCreate CSS -->
15
15
  <link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/>
16
16
  <link rel="stylesheet" href="/docs/index.css" collection="files" document_id="60888216117c640e7596303f" name="src" type="text/css" save="true"/>
17
+ <link rel="manifest" href="/manifest.json" />
17
18
  </head>
18
19
 
19
20
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/events",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "A simple events component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "events",
@@ -62,6 +62,7 @@
62
62
  "dependencies": {
63
63
  "@cocreate/actions": "^1.6.5",
64
64
  "@cocreate/docs": "^1.6.5",
65
+ "@cocreate/element-prototype": "^1.6.5",
65
66
  "@cocreate/observer": "^1.6.5",
66
67
  "@cocreate/utils": "^1.19.5"
67
68
  }
package/src/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import {queryDocumentSelectorAll} from '@cocreate/utils';
2
2
  import action from '@cocreate/actions';
3
3
  import observer from '@cocreate/observer';
4
+ import '@cocreate/element-prototype';
4
5
 
5
6
 
6
7
  const CoCreateEvents = {
@@ -149,7 +150,6 @@ const CoCreateEvents = {
149
150
  return
150
151
  else
151
152
  prefixes[prefix].prev = event.type
152
- console.log('prev', prefixes[prefix].prev)
153
153
 
154
154
  let attribute = target.getAttribute('actions') || ""
155
155
  if (attribute.includes(prefix))