@db-ux/v-core-components 4.1.0 → 4.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @db-ux/v-core-components
|
|
2
2
|
|
|
3
|
+
## 4.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- refactor(DBSwitch): Also toggle on pressing Enter key, not just Space - [see commit 95a7569](https://github.com/db-ux-design-system/core-web/commit/95a7569121ccf0fef318df4f23941c3f48a4a074)
|
|
8
|
+
|
|
9
|
+
## 4.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- feat(DBHeader): Passthrough property `closeButtonText` for the close button within the inner `DBDrawer`. - [see commit 211cf1d](https://github.com/db-ux-design-system/core-web/commit/211cf1d1fa98938d5bce732863da8bb3f7b75f98)
|
|
14
|
+
|
|
3
15
|
## 4.1.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -18,6 +30,8 @@
|
|
|
18
30
|
|
|
19
31
|
- fix(button): Replace fixed height with min-height for buttons to allow dynamic height adjustment when text wraps - [see commit d1fd2c4](https://github.com/db-ux-design-system/core-web/commit/d1fd2c4e58a5ed6f75fab44700cd2d93c7232474)
|
|
20
32
|
|
|
33
|
+
- fix(input): Date or time types – initial value gets displayed as placeholder [see commit e3c7ce7](e3c7ce7718803624557bc8fc66f7b662b42ff0be)
|
|
34
|
+
|
|
21
35
|
## 4.0.4
|
|
22
36
|
|
|
23
37
|
### Patch Changes
|
|
@@ -23,6 +23,8 @@ declare const __VLS_base: import("vue").DefineComponent<DBHeaderProps, {}, {}, {
|
|
|
23
23
|
id: string;
|
|
24
24
|
onToggle: (open: boolean) => void;
|
|
25
25
|
width: import("../..").MaxWidthType;
|
|
26
|
+
closeButtonId: string;
|
|
27
|
+
closeButtonText: string;
|
|
26
28
|
drawerOpen: boolean | string;
|
|
27
29
|
forceMobile: boolean | string;
|
|
28
30
|
burgerMenuLabel: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContainerWidthProps, GlobalProps, GlobalState, InitializedState, NavigationBehaviorState, ToggleEventProps, ToggleEventState } from '../../shared/model';
|
|
1
|
+
import { ContainerWidthProps, GlobalProps, GlobalState, InitializedState, InnerCloseButtonProps, NavigationBehaviorState, ToggleEventProps, ToggleEventState } from '../../shared/model';
|
|
2
2
|
export type DBHeaderDefaultProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Slot to pass in the DBBrand component
|
|
@@ -37,7 +37,7 @@ export type DBHeaderDefaultProps = {
|
|
|
37
37
|
*/
|
|
38
38
|
burgerMenuLabel?: string;
|
|
39
39
|
};
|
|
40
|
-
export type DBHeaderProps = DBHeaderDefaultProps & GlobalProps & ToggleEventProps & ContainerWidthProps;
|
|
40
|
+
export type DBHeaderProps = DBHeaderDefaultProps & InnerCloseButtonProps & GlobalProps & ToggleEventProps & ContainerWidthProps;
|
|
41
41
|
export type DBHeaderDefaultState = {
|
|
42
42
|
forcedToMobile?: boolean;
|
|
43
43
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormState, FromValidState, GlobalProps, GlobalState, IconLeadingProps, IconProps, IconTrailingProps, LabelVariantHorizontalType, SizeProps } from '../../shared/model';
|
|
1
|
+
import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormMessageProps, FormProps, FormState, FromValidState, GeneralKeyboardEvent, 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.
|
|
@@ -10,5 +10,7 @@ export type DBSwitchDefaultProps = {
|
|
|
10
10
|
variant?: LabelVariantHorizontalType;
|
|
11
11
|
};
|
|
12
12
|
export type DBSwitchProps = GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & FormMessageProps & SizeProps & IconProps & IconTrailingProps & IconLeadingProps & DBSwitchDefaultProps;
|
|
13
|
-
export type DBSwitchDefaultState = {
|
|
13
|
+
export type DBSwitchDefaultState = {
|
|
14
|
+
handleKeyDown: (event: GeneralKeyboardEvent<HTMLInputElement>) => void;
|
|
15
|
+
};
|
|
14
16
|
export type DBSwitchState = DBSwitchDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & FromValidState;
|