semantic-forms 3.2.0 → 3.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.
Files changed (2) hide show
  1. package/package.json +3 -8
  2. package/semanticForms.js +1 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "semantic-forms",
3
3
  "description": "Semantic Forms",
4
4
  "author": "Eric Newport <kethinov@gmail.com>",
5
- "version": "3.2.0",
5
+ "version": "3.2.1",
6
6
  "files": [
7
7
  "semanticForms.css",
8
8
  "semanticForms.js",
@@ -15,15 +15,10 @@
15
15
  "dependencies": {},
16
16
  "devDependencies": {
17
17
  "less": "4.2.0",
18
- "eslint": "8.57.0",
19
- "eslint-plugin-html": "8.0.0",
18
+ "eslint": "9.5.0",
19
+ "eslint-plugin-html": "8.1.1",
20
20
  "standard": "17.1.0"
21
21
  },
22
- "eslintConfig": {
23
- "extends": [
24
- "standard"
25
- ]
26
- },
27
22
  "scripts": {
28
23
  "test": "echo \"TODO: tests\"",
29
24
  "coverage": "echo \"TODO: test coverage\"",
package/semanticForms.js CHANGED
@@ -72,7 +72,7 @@ window.semanticForms = () => {
72
72
  const el = event.target
73
73
  const nodeName = el.nodeName
74
74
  const type = el.getAttribute('type')
75
- if (nodeName === 'TEXTAREA' || type === 'checkbox' || type === 'color' || type === 'date' || type === 'datetime-local' || type === 'email' || type === 'file' || type === 'month' || type === 'number' || type === 'password' || type === 'radio' || type === 'range' || type === 'search' || type === 'tel' || type === 'text' || type === 'time' || type === 'url' || type === 'week') {
75
+ if (nodeName === 'TEXTAREA' || type === 'color' || type === 'date' || type === 'datetime-local' || type === 'email' || type === 'file' || type === 'month' || type === 'number' || type === 'password' || type === 'search' || type === 'tel' || type === 'text' || type === 'time' || type === 'url' || type === 'week') {
76
76
  if (el.offsetWidth - clearfieldHorizontalOffset < event.clientX - el.getBoundingClientRect().left &&
77
77
  clearfieldHorizontalOffset + clearfieldVerticalOffset > event.clientY - el.getBoundingClientRect().top
78
78
  ) {