@lukekaalim/act-web 6.1.0 → 6.2.1

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,5 +1,18 @@
1
1
  # @lukekaalim/act-web
2
2
 
3
+ ## 6.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [41b49aa]
8
+ - @lukekaalim/act-backstage@4.0.0
9
+
10
+ ## 6.2.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 3488b7b: Add onContextMenu, and add extensible Event Name interface for user-space HTML event definition
15
+
3
16
  ## 6.1.0
4
17
 
5
18
  ### Minor Changes
package/element.ts CHANGED
@@ -137,6 +137,7 @@ export const svg = svgRegistry.elements;
137
137
 
138
138
  type EventMap = {
139
139
  onClick: "click",
140
+ onContextMenu: "contextmenu"
140
141
 
141
142
  onMouseEnter: "mouseenter",
142
143
  onMouseMove: "mousemove",
@@ -154,4 +155,6 @@ type EventMap = {
154
155
 
155
156
  onInput: "input",
156
157
  onChange: "change",
157
- }
158
+ } & ExtendedEventNames;
159
+
160
+ export interface ExtendedEventNames {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukekaalim/act-web",
3
- "version": "6.1.0",
3
+ "version": "6.2.1",
4
4
  "type": "module",
5
5
  "main": "mod.ts",
6
6
  "exports": {
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "@lukekaalim/act": "^5.0.0",
12
- "@lukekaalim/act-backstage": "^3.2.1",
12
+ "@lukekaalim/act-backstage": "^4.0.0",
13
13
  "@lukekaalim/act-recon": "^4.0.1",
14
14
  "@types/hast": "^3.0.4",
15
15
  "hast-util-to-html": "^9.0.5",