@db-ux/v-core-components 4.2.1 → 4.2.2-css-selectors-different-f114ce6

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,15 @@
1
1
  # @db-ux/v-core-components
2
2
 
3
+ ## 4.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(form elements): `valid` background- and border-colors - [see commit 8f07e55](https://github.com/db-ux-design-system/core-web/commit/8f07e55f2155fcb619198857397ce354f90c4803)
8
+
9
+ - fix: set DBTabItem internal state `_selected` correctly - [see commit f7625cb](https://github.com/db-ux-design-system/core-web/commit/f7625cbd9d64513527e826c9d2c1ef42b2734a4b):
10
+
11
+ - Now also sets aria-selected=true|false correctly which improves screen reader behaviour
12
+
3
13
  ## 4.2.1
4
14
 
5
15
  ### Patch Changes
@@ -20,5 +20,8 @@ export type DBTabItemDefaultProps = {
20
20
  export type DBTabItemProps = GlobalProps & DBTabItemDefaultProps & IconProps & IconTrailingProps & IconLeadingProps & ShowIconLeadingProps & ShowIconTrailingProps & ActiveProps & ChangeEventProps<HTMLInputElement> & ShowIconProps & NameProps;
21
21
  export type DBTabItemDefaultState = {
22
22
  _selected: boolean;
23
+ _listenerAdded: boolean;
24
+ boundSetSelectedOnChange?: (event: any) => void;
25
+ setSelectedOnChange: (event: any) => void;
23
26
  };
24
27
  export type DBTabItemState = DBTabItemDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & InitializedState & NameState;