@db-ux/v-core-components 3.1.19 → 4.0.0
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/CHANGELOG.md +17 -1
- package/dist/components/custom-select/custom-select.vue.d.ts +1 -1
- package/dist/components/custom-select/model.d.ts +1 -1
- package/dist/components/input/model.d.ts +2 -2
- package/dist/components/switch/model.d.ts +7 -3
- package/dist/components/switch/switch.vue.d.ts +6 -1
- package/dist/db-ux.es.js +1871 -1777
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/model.d.ts +2 -0
- package/dist/utils/index.d.ts +10 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
# @db-ux/v-core-components
|
|
2
2
|
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- feat: Switch stable rework - [see commit cb2deb0](https://github.com/db-ux-design-system/core-web/commit/cb2deb0f1c54900d1967483aea05d81279c02f59):
|
|
8
|
+
- **BREAKING CHANGE**: remove `emphasis` property
|
|
9
|
+
- introduce validation (invalid and valid)
|
|
10
|
+
- configurable label position
|
|
11
|
+
|
|
12
|
+
- **BREAKING CHANGE**: refactor(Custom Select): renamed `ariaListLabel` property to `listLabel` - [see commit 966d5ad](https://github.com/db-ux-design-system/core-web/commit/966d5ad01f00d0ca1707cc316a63e2d431fff1e9)
|
|
13
|
+
|
|
14
|
+
## 3.1.20
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- fix(input): iOS Safari VoiceOver bug for types `date`, `datetime-local`, `week`, `month`, `time` and `color` - [see commit 2ca96c8](https://github.com/db-ux-design-system/core-web/commit/2ca96c8852b7413f9a3281d69e9c4fc6f79c4f13)
|
|
19
|
+
|
|
3
20
|
## 3.1.19
|
|
4
21
|
|
|
5
22
|
_version bump_
|
|
6
23
|
|
|
7
|
-
|
|
8
24
|
## 3.1.18
|
|
9
25
|
|
|
10
26
|
### Patch Changes
|
|
@@ -35,7 +35,7 @@ declare const __VLS_base: import("vue").DefineComponent<DBCustomSelectProps, {},
|
|
|
35
35
|
messageIcon: import("@db-ux/core-foundations").IconTypes;
|
|
36
36
|
showMessage: boolean | string;
|
|
37
37
|
amountText: string;
|
|
38
|
-
|
|
38
|
+
listLabel: string;
|
|
39
39
|
clearSelectionText: string;
|
|
40
40
|
dropdownWidth: import("../..").CustomSelectDropdownWidthType | string;
|
|
41
41
|
formFieldWidth: import("../../shared/model").WidthType | string;
|
|
@@ -43,8 +43,8 @@ export type DBInputDefaultProps = {
|
|
|
43
43
|
*/
|
|
44
44
|
inputmode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
45
45
|
/**
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
* The size of the message infotext. Defaults to "small".
|
|
47
|
+
*/
|
|
48
48
|
messageSize?: SizeType;
|
|
49
49
|
/**
|
|
50
50
|
* The size of the valid message infotext. Defaults to "small".
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { ChangeEventProps, ChangeEventState,
|
|
1
|
+
import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormState, FromValidState, GlobalProps, GlobalState, IconLeadingProps, IconProps, IconTrailingProps, LabelVariantHorizontalType, SizeProps } from '../../shared/model';
|
|
2
2
|
export type DBSwitchDefaultProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Add additional icons to indicate active/inactive state.
|
|
5
5
|
*/
|
|
6
6
|
visualAid?: boolean | string;
|
|
7
|
+
/**
|
|
8
|
+
* Change the variant of the label to `trailing` or `leading`. Defaults to `trailing`
|
|
9
|
+
*/
|
|
10
|
+
variant?: LabelVariantHorizontalType;
|
|
7
11
|
};
|
|
8
|
-
export type DBSwitchProps =
|
|
12
|
+
export type DBSwitchProps = GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & FormMessageProps & SizeProps & IconProps & IconTrailingProps & IconLeadingProps & DBSwitchDefaultProps;
|
|
9
13
|
export type DBSwitchDefaultState = {};
|
|
10
|
-
export type DBSwitchState = DBSwitchDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState;
|
|
14
|
+
export type DBSwitchState = DBSwitchDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & FromValidState;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_base: import("vue").DefineComponent<DBSwitchProps, {}, {}, {
|
|
|
18
18
|
id: string;
|
|
19
19
|
onFocus: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
20
20
|
onBlur: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
21
|
+
variant: never;
|
|
21
22
|
size: import("../../shared/model").SizeType;
|
|
22
|
-
emphasis: import("../../shared/model").EmphasisType;
|
|
23
23
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
24
24
|
iconLeading: import("@db-ux/core-foundations").IconTypes;
|
|
25
25
|
iconTrailing: import("@db-ux/core-foundations").IconTypes;
|
|
@@ -28,6 +28,11 @@ declare const __VLS_base: import("vue").DefineComponent<DBSwitchProps, {}, {}, {
|
|
|
28
28
|
showRequiredAsterisk: boolean | string;
|
|
29
29
|
showLabel: boolean | string;
|
|
30
30
|
checked: boolean | string;
|
|
31
|
+
message: string;
|
|
32
|
+
validMessage: string;
|
|
33
|
+
invalidMessage: string;
|
|
34
|
+
messageIcon: import("@db-ux/core-foundations").IconTypes;
|
|
35
|
+
showMessage: boolean | string;
|
|
31
36
|
visualAid: boolean | string;
|
|
32
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|