@neovici/cosmoz-input 1.6.0 → 1.6.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/cosmoz-input.js +4 -2
  2. package/package.json +7 -9
package/cosmoz-input.js CHANGED
@@ -17,7 +17,8 @@ export const Input = host => {
17
17
  readonly,
18
18
  disabled,
19
19
  min,
20
- max
20
+ max,
21
+ step
21
22
  } = host,
22
23
  { onChange, onFocus, onInput } = useInput(host),
23
24
  onBeforeInput = useAllowedPattern(allowedPattern);
@@ -28,7 +29,7 @@ export const Input = host => {
28
29
  .value=${ live(value ?? '') }
29
30
  @beforeinput=${ onBeforeInput } @input=${ onInput }
30
31
  @change=${ onChange } @focus=${ onFocus } @blur=${ onFocus }
31
- min=${ ifDefined(min) } max=${ ifDefined(max) }>`
32
+ min=${ ifDefined(min) } max=${ ifDefined(max) } step=${ifDefined(step)} >`
32
33
  , host);
33
34
  },
34
35
 
@@ -38,6 +39,7 @@ export const Input = host => {
38
39
  'allowed-pattern',
39
40
  'min',
40
41
  'max',
42
+ 'step',
41
43
  ...attributes
42
44
  ];
43
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-input",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "A input web component",
5
5
  "keywords": [
6
6
  "lit-html",
@@ -61,19 +61,17 @@
61
61
  "lit-html": "^1.4.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@commitlint/cli": "^15.0.0",
65
- "@commitlint/config-conventional": "^15.0.0",
66
- "@neovici/eslint-config": "^1.3.0",
64
+ "@commitlint/cli": "^16.0.0",
65
+ "@commitlint/config-conventional": "^16.0.0",
66
+ "@neovici/cfg": "^1.13.1",
67
67
  "@open-wc/demoing-storybook": "^2.1.0",
68
68
  "@open-wc/testing": "^2.5.0",
69
69
  "@semantic-release/changelog": "^6.0.0",
70
70
  "@semantic-release/git": "^10.0.0",
71
71
  "@storybook/storybook-deployer": "^2.8.5",
72
- "@web/test-runner": "^0.13.0",
73
- "@web/test-runner-selenium": "^0.5.0",
74
72
  "husky": "^7.0.0",
75
- "semantic-release": "^18.0.0",
76
- "sinon": "^12.0.0",
77
- "typescript": "^4.4.0"
73
+ "semantic-release": "^19.0.0",
74
+ "sinon": "^13.0.0",
75
+ "typescript": "^4.6.0"
78
76
  }
79
77
  }