@operato/input 2.0.0-beta.7 → 2.0.0-beta.9

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@operato/input",
3
3
  "description": "Webcomponents for input following open-wc recommendations",
4
4
  "author": "heartyoh@hatiolab.com",
5
- "version": "2.0.0-beta.7",
5
+ "version": "2.0.0-beta.9",
6
6
  "main": "dist/src/index.js",
7
7
  "module": "dist/src/index.js",
8
8
  "license": "MIT",
@@ -201,7 +201,7 @@
201
201
  "@material/web": "^1.4.0",
202
202
  "@operato/color-picker": "^2.0.0-beta.0",
203
203
  "@operato/i18n": "^2.0.0-beta.3",
204
- "@operato/popup": "^2.0.0-beta.5",
204
+ "@operato/popup": "^2.0.0-beta.9",
205
205
  "@operato/styles": "^2.0.0-beta.5",
206
206
  "@operato/utils": "^2.0.0-beta.0",
207
207
  "@polymer/paper-dropdown-menu": "^3.2.0",
@@ -247,5 +247,5 @@
247
247
  "prettier --write"
248
248
  ]
249
249
  },
250
- "gitHead": "a921119c6546a7f20d03a8fe29d71bb5d00787db"
250
+ "gitHead": "0f85bb778dec7b54fb2c7380e3da5146e170e131"
251
251
  }
@@ -40,7 +40,7 @@ export class OxInputSelectButtons extends OxFormField {
40
40
  data-value=${value}
41
41
  label=${display}
42
42
  ?selected=${values.includes(value)}
43
- @click=${(e: MouseEvent) => !this.disabled && this.onClick(e)}
43
+ @tap=${(e: MouseEvent | TouchEvent) => !this.disabled && this.onTap(e)}
44
44
  ></md-filter-chip>
45
45
  `
46
46
  )}
@@ -48,7 +48,7 @@ export class OxInputSelectButtons extends OxFormField {
48
48
  `
49
49
  }
50
50
 
51
- onClick(e: MouseEvent) {
51
+ onTap(e: MouseEvent | TouchEvent) {
52
52
  e.stopPropagation()
53
53
 
54
54
  const target = e.target as MdFilterChip