@db-ux/v-core-components 4.0.4 → 4.2.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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # @db-ux/v-core-components
2
2
 
3
+ ## 4.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 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)
8
+
9
+ ## 4.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - refactor(notification): update and simplify grid layout for block link variant - [see commit cb83f96](https://github.com/db-ux-design-system/core-web/commit/cb83f966eaf29c85b4cf0079750bdd563f216d6e)
14
+
15
+ - fix(DBCustomSelect): properly announce selected options - [see commit 773edeb](https://github.com/db-ux-design-system/core-web/commit/773edeb943a085eb79e1c8d59059137b2830fbf0):
16
+ - feat(DBCustomSelect): introduce new property `selectedPrefix`
17
+
18
+ ### Patch Changes
19
+
20
+ - fix(DBCustomSelect): automatically handle form reset events - [see commit 6af5246](https://github.com/db-ux-design-system/core-web/commit/6af5246b3b2e6febdc6ff6342ba1a8eb10184d14):
21
+ - An event listener is now added for every form component (input, custom-select, etc.) when a `form` property is passed.
22
+ - This listener detects form resets and updates the component's internal value/checked state accordingly.
23
+ - > **Note**: This does not work for `ngModel` in Angular.
24
+
25
+ - 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)
26
+
27
+ - fix(input): Date or time types – initial value gets displayed as placeholder [see commit e3c7ce7](e3c7ce7718803624557bc8fc66f7b662b42ff0be)
28
+
3
29
  ## 4.0.4
4
30
 
5
31
  ### Patch Changes
@@ -50,6 +50,7 @@ declare const __VLS_base: import("vue").DefineComponent<DBCustomSelectProps, {},
50
50
  searchValue: string;
51
51
  selectAllLabel: string;
52
52
  selectedLabels: string;
53
+ selectedPrefix: string;
53
54
  selectedType: import("./model").SelectedTypeType;
54
55
  showClearSelection: boolean;
55
56
  showLoading: boolean;
@@ -140,6 +140,11 @@ export type DBCustomSelectDefaultProps = {
140
140
  * You need to define the empty state as well based on selected options.
141
141
  */
142
142
  selectedLabels?: string;
143
+ /**
144
+ * Optional: Prefix text announced by screen readers before the selection
145
+ * (e.g., "Ausgewählt" or "Selected").
146
+ */
147
+ selectedPrefix?: string;
143
148
  /**
144
149
  * Change the selected type for values shown in multi select
145
150
  */
@@ -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,5 +1,5 @@
1
- import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormProps, FormState, GlobalProps, GlobalState, InitializedState, SizeProps } from '../../shared/model';
1
+ import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormCheckProps, FormProps, FormState, GlobalProps, GlobalState, InitializedState, InputEventProps, InputEventState, SizeProps } from '../../shared/model';
2
2
  export type DBRadioDefaultProps = {};
3
- export type DBRadioProps = DBRadioDefaultProps & GlobalProps & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & SizeProps;
3
+ export type DBRadioProps = DBRadioDefaultProps & GlobalProps & InputEventProps<HTMLInputElement> & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & FormCheckProps & SizeProps;
4
4
  export type DBRadioDefaultState = {};
5
- export type DBRadioState = DBRadioDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & InitializedState;
5
+ export type DBRadioState = DBRadioDefaultState & GlobalState & InputEventState<HTMLInputElement> & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & InitializedState;
@@ -11,6 +11,7 @@ declare const __VLS_base: import("vue").DefineComponent<DBRadioProps, {}, {}, {}
11
11
  }>, {
12
12
  value: any;
13
13
  name: string;
14
+ input: (event: import("../../shared/model").InputEvent<HTMLInputElement>) => void;
14
15
  label: string;
15
16
  disabled: boolean | string;
16
17
  children: any;
@@ -19,6 +20,7 @@ declare const __VLS_base: import("vue").DefineComponent<DBRadioProps, {}, {}, {}
19
20
  onFocus: (event: InteractionEvent<HTMLInputElement>) => void;
20
21
  onBlur: (event: InteractionEvent<HTMLInputElement>) => void;
21
22
  onChange: (event: ChangeEvent<HTMLInputElement>) => void;
23
+ onInput: (event: import("../../shared/model").InputEvent<HTMLInputElement>) => void;
22
24
  size: import("../../shared/model").SizeType;
23
25
  validation: import("../../shared/model").ValidationType;
24
26
  required: boolean | string;
@@ -1,4 +1,4 @@
1
- import { InteractionEvent } from "../../shared/model";
1
+ import { ChangeEvent, InteractionEvent } from "../../shared/model";
2
2
  import { DBSwitchProps } from "./model";
3
3
  declare var __VLS_1: {};
4
4
  type __VLS_Slots = {} & {
@@ -18,6 +18,7 @@ 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
+ onChange: (event: ChangeEvent<HTMLInputElement>) => void;
21
22
  variant: never;
22
23
  size: import("../../shared/model").SizeType;
23
24
  icon: import("@db-ux/core-foundations").IconTypes;