@vaadin/field-base 24.8.0-alpha8 → 24.8.0-beta1
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 +9 -7
- package/src/checked-mixin.js +2 -2
- package/src/input-constraints-mixin.js +2 -2
- package/src/input-mixin.js +2 -2
- package/src/label-mixin.js +2 -2
- package/src/styles/{clear-button-styles.d.ts → button-core-styles.d.ts} +1 -1
- package/src/styles/{clear-button-styles.js → button-core-styles.js} +1 -1
- package/src/styles/{field-shared-styles.d.ts → container-core-styles.d.ts} +1 -1
- package/src/styles/{input-field-container-styles.js → container-core-styles.js} +1 -1
- package/src/styles/{input-field-container-styles.d.ts → field-core-styles.d.ts} +1 -1
- package/src/styles/{field-shared-styles.js → field-core-styles.js} +1 -1
- package/src/styles/input-field-shared-styles.js +4 -4
- package/src/validate-mixin.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/field-base",
|
|
3
|
-
"version": "24.8.0-
|
|
3
|
+
"version": "24.8.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"files": [
|
|
23
23
|
"index.d.ts",
|
|
24
24
|
"index.js",
|
|
25
|
-
"src"
|
|
25
|
+
"src",
|
|
26
|
+
"!src/styles/*-base-styles.d.ts",
|
|
27
|
+
"!src/styles/*-base-styles.js"
|
|
26
28
|
],
|
|
27
29
|
"keywords": [
|
|
28
30
|
"Vaadin",
|
|
@@ -32,15 +34,15 @@
|
|
|
32
34
|
"dependencies": {
|
|
33
35
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
34
36
|
"@polymer/polymer": "^3.0.0",
|
|
35
|
-
"@vaadin/a11y-base": "24.8.0-
|
|
36
|
-
"@vaadin/component-base": "24.8.0-
|
|
37
|
+
"@vaadin/a11y-base": "24.8.0-beta1",
|
|
38
|
+
"@vaadin/component-base": "24.8.0-beta1",
|
|
37
39
|
"lit": "^3.0.0"
|
|
38
40
|
},
|
|
39
41
|
"devDependencies": {
|
|
40
|
-
"@vaadin/chai-plugins": "24.8.0-
|
|
41
|
-
"@vaadin/test-runner-commands": "24.8.0-
|
|
42
|
+
"@vaadin/chai-plugins": "24.8.0-beta1",
|
|
43
|
+
"@vaadin/test-runner-commands": "24.8.0-beta1",
|
|
42
44
|
"@vaadin/testing-helpers": "^1.1.0",
|
|
43
45
|
"sinon": "^18.0.0"
|
|
44
46
|
},
|
|
45
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "57ce3a90de99e49049312b0ba4041d3e7542e9d8"
|
|
46
48
|
}
|
package/src/checked-mixin.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { dedupeMixin } from '@open-wc/dedupe-mixin';
|
|
7
7
|
import { DisabledMixin } from '@vaadin/a11y-base/src/disabled-mixin.js';
|
|
8
8
|
import { DelegateStateMixin } from '@vaadin/component-base/src/delegate-state-mixin.js';
|
|
9
9
|
import { InputMixin } from './input-mixin.js';
|
|
@@ -16,7 +16,7 @@ import { InputMixin } from './input-mixin.js';
|
|
|
16
16
|
* @mixes DisabledMixin
|
|
17
17
|
* @mixes InputMixin
|
|
18
18
|
*/
|
|
19
|
-
export const CheckedMixin =
|
|
19
|
+
export const CheckedMixin = dedupeMixin(
|
|
20
20
|
(superclass) =>
|
|
21
21
|
class CheckedMixinClass extends DelegateStateMixin(DisabledMixin(InputMixin(superclass))) {
|
|
22
22
|
static get properties() {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { dedupeMixin } from '@open-wc/dedupe-mixin';
|
|
7
7
|
import { DelegateStateMixin } from '@vaadin/component-base/src/delegate-state-mixin.js';
|
|
8
8
|
import { InputMixin } from './input-mixin.js';
|
|
9
9
|
import { ValidateMixin } from './validate-mixin.js';
|
|
@@ -16,7 +16,7 @@ import { ValidateMixin } from './validate-mixin.js';
|
|
|
16
16
|
* @mixes InputMixin
|
|
17
17
|
* @mixes ValidateMixin
|
|
18
18
|
*/
|
|
19
|
-
export const InputConstraintsMixin =
|
|
19
|
+
export const InputConstraintsMixin = dedupeMixin(
|
|
20
20
|
(superclass) =>
|
|
21
21
|
class InputConstraintsMixinClass extends DelegateStateMixin(ValidateMixin(InputMixin(superclass))) {
|
|
22
22
|
/**
|
package/src/input-mixin.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { dedupeMixin } from '@open-wc/dedupe-mixin';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A mixin to store the reference to an input element
|
|
@@ -11,7 +11,7 @@ import { dedupingMixin } from '@polymer/polymer/lib/utils/mixin.js';
|
|
|
11
11
|
*
|
|
12
12
|
* @polymerMixin
|
|
13
13
|
*/
|
|
14
|
-
export const InputMixin =
|
|
14
|
+
export const InputMixin = dedupeMixin(
|
|
15
15
|
(superclass) =>
|
|
16
16
|
class InputMixinClass extends superclass {
|
|
17
17
|
static get properties() {
|
package/src/label-mixin.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { dedupeMixin } from '@open-wc/dedupe-mixin';
|
|
7
7
|
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
|
|
8
8
|
import { LabelController } from './label-controller.js';
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ import { LabelController } from './label-controller.js';
|
|
|
13
13
|
* @polymerMixin
|
|
14
14
|
* @mixes ControllerMixin
|
|
15
15
|
*/
|
|
16
|
-
export const LabelMixin =
|
|
16
|
+
export const LabelMixin = dedupeMixin(
|
|
17
17
|
(superclass) =>
|
|
18
18
|
class LabelMixinClass extends ControllerMixin(superclass) {
|
|
19
19
|
static get properties() {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { button } from './button-core-styles.js';
|
|
7
|
+
import { container } from './container-core-styles.js';
|
|
8
|
+
import { field } from './field-core-styles.js';
|
|
9
9
|
|
|
10
|
-
export const inputFieldShared = [
|
|
10
|
+
export const inputFieldShared = [field, container, button];
|
package/src/validate-mixin.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Copyright (c) 2021 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import {
|
|
6
|
+
import { dedupeMixin } from '@open-wc/dedupe-mixin';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* A mixin to provide required state and validation logic.
|
|
10
10
|
*
|
|
11
11
|
* @polymerMixin
|
|
12
12
|
*/
|
|
13
|
-
export const ValidateMixin =
|
|
13
|
+
export const ValidateMixin = dedupeMixin(
|
|
14
14
|
(superclass) =>
|
|
15
15
|
class ValidateMixinClass extends superclass {
|
|
16
16
|
static get properties() {
|