@vaadin/integer-field 25.4.0-dev.55bb86e155 → 25.4.0-rc1

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.
@@ -23,7 +23,7 @@
23
23
  "declarations": [
24
24
  {
25
25
  "kind": "class",
26
- "description": "`<vaadin-integer-field>` is an input field web component that only accepts entering integer numbers.\n\n```html\n<vaadin-integer-field label=\"X\"></vaadin-integer-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`field-button` | Set on clear, decrease and increase buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`input-prevented` | Temporarily set when invalid input is prevented\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:--------------------------------------------------|\n| `--vaadin-field-default-width` |\n| `--vaadin-input-field-background` |\n| `--vaadin-input-field-border-color` |\n| `--vaadin-input-field-border-radius` |\n| `--vaadin-input-field-border-width` |\n| `--vaadin-input-field-bottom-end-radius` |\n| `--vaadin-input-field-bottom-start-radius` |\n| `--vaadin-input-field-button-text-color` |\n| `--vaadin-input-field-container-gap` |\n| `--vaadin-input-field-disabled-background` |\n| `--vaadin-input-field-disabled-text-color` |\n| `--vaadin-input-field-error-color` |\n| `--vaadin-input-field-error-font-size` |\n| `--vaadin-input-field-error-font-weight` |\n| `--vaadin-input-field-error-line-height` |\n| `--vaadin-input-field-gap` |\n| `--vaadin-input-field-helper-color` |\n| `--vaadin-input-field-helper-font-size` |\n| `--vaadin-input-field-helper-font-weight` |\n| `--vaadin-input-field-helper-line-height` |\n| `--vaadin-input-field-label-aside-gap` |\n| `--vaadin-input-field-label-aside-text-align` |\n| `--vaadin-input-field-label-aside-width` |\n| `--vaadin-input-field-label-color` |\n| `--vaadin-input-field-label-font-size` |\n| `--vaadin-input-field-label-font-weight` |\n| `--vaadin-input-field-label-line-height` |\n| `--vaadin-input-field-padding` |\n| `--vaadin-input-field-placeholder-color` |\n| `--vaadin-input-field-required-indicator` |\n| `--vaadin-input-field-required-indicator-color` |\n| `--vaadin-input-field-top-end-radius` |\n| `--vaadin-input-field-top-start-radius` |\n| `--vaadin-input-field-value-color` |\n| `--vaadin-input-field-value-font-size` |\n| `--vaadin-input-field-value-font-weight` |\n| `--vaadin-input-field-value-line-height` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Change events\n\nDepending on the nature of the value change that the user attempts to commit e.g. by pressing Enter,\nthe component can fire either a `change` event or an `unparsable-change` event:\n\nValue change | Event\n:------------------------|:------------------\nempty => parsable | change\nempty => unparsable | unparsable-change\nparsable => empty | change\nparsable => parsable | change\nparsable => unparsable | change\nunparsable => empty | unparsable-change\nunparsable => parsable | change\nunparsable => unparsable | -\n\nNote, there is currently no way to detect unparsable => unparsable changes because the browser\ndoesn't provide access to unparsable values of native [type=number] inputs.",
26
+ "description": "`<vaadin-integer-field>` is an input field web component that only accepts entering integer numbers.\n\n```html\n<vaadin-integer-field label=\"X\"></vaadin-integer-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`field-button` | Set on clear, decrease and increase buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`input-prevented` | Temporarily set when invalid input is prevented\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:--------------------------------------------------|\n| `--vaadin-field-default-width` |\n| `--vaadin-input-field-background` |\n| `--vaadin-input-field-border-color` |\n| `--vaadin-input-field-border-radius` |\n| `--vaadin-input-field-border-width` |\n| `--vaadin-input-field-bottom-end-radius` |\n| `--vaadin-input-field-bottom-start-radius` |\n| `--vaadin-input-field-button-text-color` |\n| `--vaadin-input-field-container-gap` |\n| `--vaadin-input-field-disabled-background` |\n| `--vaadin-input-field-disabled-text-color` |\n| `--vaadin-input-field-error-color` |\n| `--vaadin-input-field-error-font-size` |\n| `--vaadin-input-field-error-font-weight` |\n| `--vaadin-input-field-error-line-height` |\n| `--vaadin-input-field-gap` |\n| `--vaadin-input-field-height` |\n| `--vaadin-input-field-helper-color` |\n| `--vaadin-input-field-helper-font-size` |\n| `--vaadin-input-field-helper-font-weight` |\n| `--vaadin-input-field-helper-line-height` |\n| `--vaadin-input-field-label-aside-gap` |\n| `--vaadin-input-field-label-aside-text-align` |\n| `--vaadin-input-field-label-aside-width` |\n| `--vaadin-input-field-label-color` |\n| `--vaadin-input-field-label-font-size` |\n| `--vaadin-input-field-label-font-weight` |\n| `--vaadin-input-field-label-line-height` |\n| `--vaadin-input-field-padding` |\n| `--vaadin-input-field-placeholder-color` |\n| `--vaadin-input-field-required-indicator` |\n| `--vaadin-input-field-required-indicator-color` |\n| `--vaadin-input-field-top-end-radius` |\n| `--vaadin-input-field-top-start-radius` |\n| `--vaadin-input-field-value-color` |\n| `--vaadin-input-field-value-font-size` |\n| `--vaadin-input-field-value-font-weight` |\n| `--vaadin-input-field-value-line-height` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Change events\n\nDepending on the nature of the value change that the user attempts to commit e.g. by pressing Enter,\nthe component can fire either a `change` event or an `unparsable-change` event:\n\nValue change | Event\n:------------------------|:------------------\nempty => parsable | change\nempty => unparsable | unparsable-change\nparsable => empty | change\nparsable => parsable | change\nparsable => unparsable | change\nunparsable => empty | unparsable-change\nunparsable => parsable | change\nunparsable => unparsable | -\n\nNote, there is currently no way to detect unparsable => unparsable changes because the browser\ndoesn't provide access to unparsable values of native [type=number] inputs.",
27
27
  "name": "IntegerField",
28
28
  "members": [
29
29
  {
@@ -71,17 +71,13 @@
71
71
  {
72
72
  "kind": "field",
73
73
  "name": "allowedCharPattern",
74
- "privacy": "public",
75
74
  "type": {
76
75
  "text": "string"
77
76
  },
78
- "description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
79
- "attribute": "allowed-char-pattern",
80
77
  "default": "'[-+\\\\d]'",
81
- "inheritedFrom": {
82
- "name": "InputControlMixin",
83
- "package": "@vaadin/field-base/src/input-control-mixin.js"
84
- }
78
+ "privacy": "public",
79
+ "description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
80
+ "attribute": "allowed-char-pattern"
85
81
  },
86
82
  {
87
83
  "kind": "field",
@@ -163,8 +159,8 @@
163
159
  }
164
160
  },
165
161
  "inheritedFrom": {
166
- "name": "InputConstraintsMixin",
167
- "package": "@vaadin/field-base/src/input-constraints-mixin.js"
162
+ "name": "NumberFieldMixin",
163
+ "package": "@vaadin/number-field/src/vaadin-number-field-mixin.js"
168
164
  }
169
165
  },
170
166
  {
@@ -172,8 +168,8 @@
172
168
  "name": "clear",
173
169
  "description": "Clear the value of the field.",
174
170
  "inheritedFrom": {
175
- "name": "ClearButtonMixin",
176
- "package": "@vaadin/field-base/src/clear-button-mixin.js"
171
+ "name": "InputMixin",
172
+ "package": "@vaadin/field-base/src/input-mixin.js"
177
173
  }
178
174
  },
179
175
  {
@@ -200,8 +196,8 @@
200
196
  "description": "If true, the user cannot interact with this element.",
201
197
  "attribute": "disabled",
202
198
  "inheritedFrom": {
203
- "name": "DelegateFocusMixin",
204
- "package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
199
+ "name": "DisabledMixin",
200
+ "package": "@vaadin/a11y-base/src/disabled-mixin.js"
205
201
  }
206
202
  },
207
203
  {
@@ -242,8 +238,8 @@
242
238
  "description": "Set to true when the field is invalid.",
243
239
  "attribute": "invalid",
244
240
  "inheritedFrom": {
245
- "name": "FieldMixin",
246
- "package": "@vaadin/field-base/src/field-mixin.js"
241
+ "name": "ValidateMixin",
242
+ "package": "@vaadin/field-base/src/validate-mixin.js"
247
243
  }
248
244
  },
249
245
  {
@@ -256,8 +252,8 @@
256
252
  "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
257
253
  "attribute": "label",
258
254
  "inheritedFrom": {
259
- "name": "FieldMixin",
260
- "package": "@vaadin/field-base/src/field-mixin.js"
255
+ "name": "LabelMixin",
256
+ "package": "@vaadin/field-base/src/label-mixin.js"
261
257
  }
262
258
  },
263
259
  {
@@ -270,8 +266,8 @@
270
266
  "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
271
267
  "attribute": "manual-validation",
272
268
  "inheritedFrom": {
273
- "name": "FieldMixin",
274
- "package": "@vaadin/field-base/src/field-mixin.js"
269
+ "name": "ValidateMixin",
270
+ "package": "@vaadin/field-base/src/validate-mixin.js"
275
271
  }
276
272
  },
277
273
  {
@@ -354,8 +350,8 @@
354
350
  "description": "Specifies that the user must fill in a value.",
355
351
  "attribute": "required",
356
352
  "inheritedFrom": {
357
- "name": "FieldMixin",
358
- "package": "@vaadin/field-base/src/field-mixin.js"
353
+ "name": "ValidateMixin",
354
+ "package": "@vaadin/field-base/src/validate-mixin.js"
359
355
  }
360
356
  },
361
357
  {
@@ -410,8 +406,8 @@
410
406
  }
411
407
  },
412
408
  "inheritedFrom": {
413
- "name": "FieldMixin",
414
- "package": "@vaadin/field-base/src/field-mixin.js"
409
+ "name": "ValidateMixin",
410
+ "package": "@vaadin/field-base/src/validate-mixin.js"
415
411
  }
416
412
  },
417
413
  {
@@ -424,8 +420,8 @@
424
420
  "description": "The value of the field.",
425
421
  "attribute": "value",
426
422
  "inheritedFrom": {
427
- "name": "ClearButtonMixin",
428
- "package": "@vaadin/field-base/src/clear-button-mixin.js"
423
+ "name": "InputMixin",
424
+ "package": "@vaadin/field-base/src/input-mixin.js"
429
425
  }
430
426
  }
431
427
  ],
@@ -435,66 +431,42 @@
435
431
  "text": "Event"
436
432
  },
437
433
  "description": "Fired when the user commits a value change.",
438
- "name": "change",
439
- "inheritedFrom": {
440
- "name": "NumberField",
441
- "package": "@vaadin/number-field/src/vaadin-number-field.js"
442
- }
434
+ "name": "change"
443
435
  },
444
436
  {
445
437
  "type": {
446
438
  "text": "Event"
447
439
  },
448
440
  "description": "Fired when the value is changed by the user: on every typing keystroke, and the value is cleared using the clear button.",
449
- "name": "input",
450
- "inheritedFrom": {
451
- "name": "NumberField",
452
- "package": "@vaadin/number-field/src/vaadin-number-field.js"
453
- }
441
+ "name": "input"
454
442
  },
455
443
  {
456
444
  "type": {
457
445
  "text": "CustomEvent"
458
446
  },
459
447
  "description": "Fired when the `invalid` property changes.",
460
- "name": "invalid-changed",
461
- "inheritedFrom": {
462
- "name": "NumberField",
463
- "package": "@vaadin/number-field/src/vaadin-number-field.js"
464
- }
448
+ "name": "invalid-changed"
465
449
  },
466
450
  {
467
451
  "type": {
468
452
  "text": "Event"
469
453
  },
470
454
  "description": "Fired when the user commits an unparsable value change and there is no change event.",
471
- "name": "unparsable-change",
472
- "inheritedFrom": {
473
- "name": "NumberField",
474
- "package": "@vaadin/number-field/src/vaadin-number-field.js"
475
- }
455
+ "name": "unparsable-change"
476
456
  },
477
457
  {
478
458
  "type": {
479
459
  "text": "CustomEvent"
480
460
  },
481
461
  "description": "Fired whenever the field is validated.",
482
- "name": "validated",
483
- "inheritedFrom": {
484
- "name": "NumberField",
485
- "package": "@vaadin/number-field/src/vaadin-number-field.js"
486
- }
462
+ "name": "validated"
487
463
  },
488
464
  {
489
465
  "type": {
490
466
  "text": "CustomEvent"
491
467
  },
492
468
  "description": "Fired when the `value` property changes.",
493
- "name": "value-changed",
494
- "inheritedFrom": {
495
- "name": "NumberField",
496
- "package": "@vaadin/number-field/src/vaadin-number-field.js"
497
- }
469
+ "name": "value-changed"
498
470
  }
499
471
  ],
500
472
  "superclass": {
@@ -632,8 +604,8 @@
632
604
  "description": "If true, the user cannot interact with this element.",
633
605
  "fieldName": "disabled",
634
606
  "inheritedFrom": {
635
- "name": "DelegateFocusMixin",
636
- "package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
607
+ "name": "DisabledMixin",
608
+ "package": "@vaadin/a11y-base/src/disabled-mixin.js"
637
609
  }
638
610
  },
639
611
  {
@@ -668,8 +640,8 @@
668
640
  "description": "Set to true when the field is invalid.",
669
641
  "fieldName": "invalid",
670
642
  "inheritedFrom": {
671
- "name": "FieldMixin",
672
- "package": "@vaadin/field-base/src/field-mixin.js"
643
+ "name": "ValidateMixin",
644
+ "package": "@vaadin/field-base/src/validate-mixin.js"
673
645
  }
674
646
  },
675
647
  {
@@ -680,8 +652,8 @@
680
652
  "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
681
653
  "fieldName": "label",
682
654
  "inheritedFrom": {
683
- "name": "FieldMixin",
684
- "package": "@vaadin/field-base/src/field-mixin.js"
655
+ "name": "LabelMixin",
656
+ "package": "@vaadin/field-base/src/label-mixin.js"
685
657
  }
686
658
  },
687
659
  {
@@ -692,8 +664,8 @@
692
664
  "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
693
665
  "fieldName": "manualValidation",
694
666
  "inheritedFrom": {
695
- "name": "FieldMixin",
696
- "package": "@vaadin/field-base/src/field-mixin.js"
667
+ "name": "ValidateMixin",
668
+ "package": "@vaadin/field-base/src/validate-mixin.js"
697
669
  }
698
670
  },
699
671
  {
@@ -764,8 +736,8 @@
764
736
  "description": "Specifies that the user must fill in a value.",
765
737
  "fieldName": "required",
766
738
  "inheritedFrom": {
767
- "name": "FieldMixin",
768
- "package": "@vaadin/field-base/src/field-mixin.js"
739
+ "name": "ValidateMixin",
740
+ "package": "@vaadin/field-base/src/validate-mixin.js"
769
741
  }
770
742
  },
771
743
  {
@@ -823,8 +795,8 @@
823
795
  "description": "The value of the field.",
824
796
  "fieldName": "value",
825
797
  "inheritedFrom": {
826
- "name": "ClearButtonMixin",
827
- "package": "@vaadin/field-base/src/clear-button-mixin.js"
798
+ "name": "InputMixin",
799
+ "package": "@vaadin/field-base/src/input-mixin.js"
828
800
  }
829
801
  }
830
802
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/integer-field",
3
- "version": "25.4.0-dev.55bb86e155",
3
+ "version": "25.4.0-rc1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,15 +34,15 @@
34
34
  "web-component"
35
35
  ],
36
36
  "dependencies": {
37
- "@vaadin/component-base": "25.4.0-dev.55bb86e155",
38
- "@vaadin/number-field": "25.4.0-dev.55bb86e155"
37
+ "@vaadin/component-base": "25.4.0-rc1",
38
+ "@vaadin/number-field": "25.4.0-rc1"
39
39
  },
40
40
  "devDependencies": {
41
- "@vaadin/aura": "25.4.0-dev.55bb86e155",
42
- "@vaadin/chai-plugins": "25.4.0-dev.55bb86e155",
43
- "@vaadin/test-runner-commands": "25.4.0-dev.55bb86e155",
41
+ "@vaadin/aura": "25.4.0-rc1",
42
+ "@vaadin/chai-plugins": "25.4.0-rc1",
43
+ "@vaadin/test-runner-commands": "25.4.0-rc1",
44
44
  "@vaadin/testing-helpers": "^2.0.0",
45
- "@vaadin/vaadin-lumo-styles": "25.4.0-dev.55bb86e155",
45
+ "@vaadin/vaadin-lumo-styles": "25.4.0-rc1",
46
46
  "sinon": "^22.0.0"
47
47
  },
48
48
  "customElements": "custom-elements.json",
@@ -50,5 +50,5 @@
50
50
  "web-types.json",
51
51
  "web-types.lit.json"
52
52
  ],
53
- "gitHead": "5db8e58fb088121b067290b0ed90d12d7d4084f2"
53
+ "gitHead": "abe6d2338024cb71110c7df9bd5d97c0d110a135"
54
54
  }
@@ -105,6 +105,7 @@ export interface IntegerFieldEventMap extends HTMLElementEventMap, IntegerFieldC
105
105
  * | `--vaadin-input-field-error-font-weight` |
106
106
  * | `--vaadin-input-field-error-line-height` |
107
107
  * | `--vaadin-input-field-gap` |
108
+ * | `--vaadin-input-field-height` |
108
109
  * | `--vaadin-input-field-helper-color` |
109
110
  * | `--vaadin-input-field-helper-font-size` |
110
111
  * | `--vaadin-input-field-helper-font-weight` |
@@ -65,6 +65,7 @@ import { NumberField } from '@vaadin/number-field/src/vaadin-number-field.js';
65
65
  * | `--vaadin-input-field-error-font-weight` |
66
66
  * | `--vaadin-input-field-error-line-height` |
67
67
  * | `--vaadin-input-field-gap` |
68
+ * | `--vaadin-input-field-height` |
68
69
  * | `--vaadin-input-field-helper-color` |
69
70
  * | `--vaadin-input-field-helper-font-size` |
70
71
  * | `--vaadin-input-field-helper-font-weight` |
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/integer-field",
4
- "version": "25.4.0-dev.55bb86e155",
4
+ "version": "25.4.0-rc1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-integer-field",
11
- "description": "`<vaadin-integer-field>` is an input field web component that only accepts entering integer numbers.\n\n```html\n<vaadin-integer-field label=\"X\"></vaadin-integer-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`field-button` | Set on clear, decrease and increase buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`input-prevented` | Temporarily set when invalid input is prevented\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:--------------------------------------------------|\n| `--vaadin-field-default-width` |\n| `--vaadin-input-field-background` |\n| `--vaadin-input-field-border-color` |\n| `--vaadin-input-field-border-radius` |\n| `--vaadin-input-field-border-width` |\n| `--vaadin-input-field-bottom-end-radius` |\n| `--vaadin-input-field-bottom-start-radius` |\n| `--vaadin-input-field-button-text-color` |\n| `--vaadin-input-field-container-gap` |\n| `--vaadin-input-field-disabled-background` |\n| `--vaadin-input-field-disabled-text-color` |\n| `--vaadin-input-field-error-color` |\n| `--vaadin-input-field-error-font-size` |\n| `--vaadin-input-field-error-font-weight` |\n| `--vaadin-input-field-error-line-height` |\n| `--vaadin-input-field-gap` |\n| `--vaadin-input-field-helper-color` |\n| `--vaadin-input-field-helper-font-size` |\n| `--vaadin-input-field-helper-font-weight` |\n| `--vaadin-input-field-helper-line-height` |\n| `--vaadin-input-field-label-aside-gap` |\n| `--vaadin-input-field-label-aside-text-align` |\n| `--vaadin-input-field-label-aside-width` |\n| `--vaadin-input-field-label-color` |\n| `--vaadin-input-field-label-font-size` |\n| `--vaadin-input-field-label-font-weight` |\n| `--vaadin-input-field-label-line-height` |\n| `--vaadin-input-field-padding` |\n| `--vaadin-input-field-placeholder-color` |\n| `--vaadin-input-field-required-indicator` |\n| `--vaadin-input-field-required-indicator-color` |\n| `--vaadin-input-field-top-end-radius` |\n| `--vaadin-input-field-top-start-radius` |\n| `--vaadin-input-field-value-color` |\n| `--vaadin-input-field-value-font-size` |\n| `--vaadin-input-field-value-font-weight` |\n| `--vaadin-input-field-value-line-height` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Change events\n\nDepending on the nature of the value change that the user attempts to commit e.g. by pressing Enter,\nthe component can fire either a `change` event or an `unparsable-change` event:\n\nValue change | Event\n:------------------------|:------------------\nempty => parsable | change\nempty => unparsable | unparsable-change\nparsable => empty | change\nparsable => parsable | change\nparsable => unparsable | change\nunparsable => empty | unparsable-change\nunparsable => parsable | change\nunparsable => unparsable | -\n\nNote, there is currently no way to detect unparsable => unparsable changes because the browser\ndoesn't provide access to unparsable values of native [type=number] inputs.",
11
+ "description": "`<vaadin-integer-field>` is an input field web component that only accepts entering integer numbers.\n\n```html\n<vaadin-integer-field label=\"X\"></vaadin-integer-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`field-button` | Set on clear, decrease and increase buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`input-prevented` | Temporarily set when invalid input is prevented\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:--------------------------------------------------|\n| `--vaadin-field-default-width` |\n| `--vaadin-input-field-background` |\n| `--vaadin-input-field-border-color` |\n| `--vaadin-input-field-border-radius` |\n| `--vaadin-input-field-border-width` |\n| `--vaadin-input-field-bottom-end-radius` |\n| `--vaadin-input-field-bottom-start-radius` |\n| `--vaadin-input-field-button-text-color` |\n| `--vaadin-input-field-container-gap` |\n| `--vaadin-input-field-disabled-background` |\n| `--vaadin-input-field-disabled-text-color` |\n| `--vaadin-input-field-error-color` |\n| `--vaadin-input-field-error-font-size` |\n| `--vaadin-input-field-error-font-weight` |\n| `--vaadin-input-field-error-line-height` |\n| `--vaadin-input-field-gap` |\n| `--vaadin-input-field-height` |\n| `--vaadin-input-field-helper-color` |\n| `--vaadin-input-field-helper-font-size` |\n| `--vaadin-input-field-helper-font-weight` |\n| `--vaadin-input-field-helper-line-height` |\n| `--vaadin-input-field-label-aside-gap` |\n| `--vaadin-input-field-label-aside-text-align` |\n| `--vaadin-input-field-label-aside-width` |\n| `--vaadin-input-field-label-color` |\n| `--vaadin-input-field-label-font-size` |\n| `--vaadin-input-field-label-font-weight` |\n| `--vaadin-input-field-label-line-height` |\n| `--vaadin-input-field-padding` |\n| `--vaadin-input-field-placeholder-color` |\n| `--vaadin-input-field-required-indicator` |\n| `--vaadin-input-field-required-indicator-color` |\n| `--vaadin-input-field-top-end-radius` |\n| `--vaadin-input-field-top-start-radius` |\n| `--vaadin-input-field-value-color` |\n| `--vaadin-input-field-value-font-size` |\n| `--vaadin-input-field-value-font-weight` |\n| `--vaadin-input-field-value-line-height` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Change events\n\nDepending on the nature of the value change that the user attempts to commit e.g. by pressing Enter,\nthe component can fire either a `change` event or an `unparsable-change` event:\n\nValue change | Event\n:------------------------|:------------------\nempty => parsable | change\nempty => unparsable | unparsable-change\nparsable => empty | change\nparsable => parsable | change\nparsable => unparsable | change\nunparsable => empty | unparsable-change\nunparsable => parsable | change\nunparsable => unparsable | -\n\nNote, there is currently no way to detect unparsable => unparsable changes because the browser\ndoesn't provide access to unparsable values of native [type=number] inputs.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "accessible-description-ref",
@@ -290,7 +290,8 @@
290
290
  "type": [
291
291
  "string"
292
292
  ]
293
- }
293
+ },
294
+ "default": "'[-+\\\\d]'"
294
295
  },
295
296
  {
296
297
  "name": "autocapitalize",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/integer-field",
4
- "version": "25.4.0-dev.55bb86e155",
4
+ "version": "25.4.0-rc1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -16,7 +16,7 @@
16
16
  "elements": [
17
17
  {
18
18
  "name": "vaadin-integer-field",
19
- "description": "`<vaadin-integer-field>` is an input field web component that only accepts entering integer numbers.\n\n```html\n<vaadin-integer-field label=\"X\"></vaadin-integer-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`field-button` | Set on clear, decrease and increase buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`input-prevented` | Temporarily set when invalid input is prevented\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:--------------------------------------------------|\n| `--vaadin-field-default-width` |\n| `--vaadin-input-field-background` |\n| `--vaadin-input-field-border-color` |\n| `--vaadin-input-field-border-radius` |\n| `--vaadin-input-field-border-width` |\n| `--vaadin-input-field-bottom-end-radius` |\n| `--vaadin-input-field-bottom-start-radius` |\n| `--vaadin-input-field-button-text-color` |\n| `--vaadin-input-field-container-gap` |\n| `--vaadin-input-field-disabled-background` |\n| `--vaadin-input-field-disabled-text-color` |\n| `--vaadin-input-field-error-color` |\n| `--vaadin-input-field-error-font-size` |\n| `--vaadin-input-field-error-font-weight` |\n| `--vaadin-input-field-error-line-height` |\n| `--vaadin-input-field-gap` |\n| `--vaadin-input-field-helper-color` |\n| `--vaadin-input-field-helper-font-size` |\n| `--vaadin-input-field-helper-font-weight` |\n| `--vaadin-input-field-helper-line-height` |\n| `--vaadin-input-field-label-aside-gap` |\n| `--vaadin-input-field-label-aside-text-align` |\n| `--vaadin-input-field-label-aside-width` |\n| `--vaadin-input-field-label-color` |\n| `--vaadin-input-field-label-font-size` |\n| `--vaadin-input-field-label-font-weight` |\n| `--vaadin-input-field-label-line-height` |\n| `--vaadin-input-field-padding` |\n| `--vaadin-input-field-placeholder-color` |\n| `--vaadin-input-field-required-indicator` |\n| `--vaadin-input-field-required-indicator-color` |\n| `--vaadin-input-field-top-end-radius` |\n| `--vaadin-input-field-top-start-radius` |\n| `--vaadin-input-field-value-color` |\n| `--vaadin-input-field-value-font-size` |\n| `--vaadin-input-field-value-font-weight` |\n| `--vaadin-input-field-value-line-height` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Change events\n\nDepending on the nature of the value change that the user attempts to commit e.g. by pressing Enter,\nthe component can fire either a `change` event or an `unparsable-change` event:\n\nValue change | Event\n:------------------------|:------------------\nempty => parsable | change\nempty => unparsable | unparsable-change\nparsable => empty | change\nparsable => parsable | change\nparsable => unparsable | change\nunparsable => empty | unparsable-change\nunparsable => parsable | change\nunparsable => unparsable | -\n\nNote, there is currently no way to detect unparsable => unparsable changes because the browser\ndoesn't provide access to unparsable values of native [type=number] inputs.",
19
+ "description": "`<vaadin-integer-field>` is an input field web component that only accepts entering integer numbers.\n\n```html\n<vaadin-integer-field label=\"X\"></vaadin-integer-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`field-button` | Set on clear, decrease and increase buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`increase-button` | Increase (\"plus\") button\n`decrease-button` | Decrease (\"minus\") button\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`input-prevented` | Temporarily set when invalid input is prevented\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:--------------------------------------------------|\n| `--vaadin-field-default-width` |\n| `--vaadin-input-field-background` |\n| `--vaadin-input-field-border-color` |\n| `--vaadin-input-field-border-radius` |\n| `--vaadin-input-field-border-width` |\n| `--vaadin-input-field-bottom-end-radius` |\n| `--vaadin-input-field-bottom-start-radius` |\n| `--vaadin-input-field-button-text-color` |\n| `--vaadin-input-field-container-gap` |\n| `--vaadin-input-field-disabled-background` |\n| `--vaadin-input-field-disabled-text-color` |\n| `--vaadin-input-field-error-color` |\n| `--vaadin-input-field-error-font-size` |\n| `--vaadin-input-field-error-font-weight` |\n| `--vaadin-input-field-error-line-height` |\n| `--vaadin-input-field-gap` |\n| `--vaadin-input-field-height` |\n| `--vaadin-input-field-helper-color` |\n| `--vaadin-input-field-helper-font-size` |\n| `--vaadin-input-field-helper-font-weight` |\n| `--vaadin-input-field-helper-line-height` |\n| `--vaadin-input-field-label-aside-gap` |\n| `--vaadin-input-field-label-aside-text-align` |\n| `--vaadin-input-field-label-aside-width` |\n| `--vaadin-input-field-label-color` |\n| `--vaadin-input-field-label-font-size` |\n| `--vaadin-input-field-label-font-weight` |\n| `--vaadin-input-field-label-line-height` |\n| `--vaadin-input-field-padding` |\n| `--vaadin-input-field-placeholder-color` |\n| `--vaadin-input-field-required-indicator` |\n| `--vaadin-input-field-required-indicator-color` |\n| `--vaadin-input-field-top-end-radius` |\n| `--vaadin-input-field-top-start-radius` |\n| `--vaadin-input-field-value-color` |\n| `--vaadin-input-field-value-font-size` |\n| `--vaadin-input-field-value-font-weight` |\n| `--vaadin-input-field-value-line-height` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\n### Change events\n\nDepending on the nature of the value change that the user attempts to commit e.g. by pressing Enter,\nthe component can fire either a `change` event or an `unparsable-change` event:\n\nValue change | Event\n:------------------------|:------------------\nempty => parsable | change\nempty => unparsable | unparsable-change\nparsable => empty | change\nparsable => parsable | change\nparsable => unparsable | change\nunparsable => empty | unparsable-change\nunparsable => parsable | change\nunparsable => unparsable | -\n\nNote, there is currently no way to detect unparsable => unparsable changes because the browser\ndoesn't provide access to unparsable values of native [type=number] inputs.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {