Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/date-picker-translation-truncation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siemens/ix': patch
---

Fixed weekday label rendering in `ix-date-picker` to avoid truncation in locales with longer translations.
5 changes: 5 additions & 0 deletions .changeset/date-picker-week-start.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siemens/ix': patch
---

Fix `ix-date-picker` calendar rendering when `weekStartIndex` is set to a non-default value.
5 changes: 5 additions & 0 deletions .changeset/date-picker-year-dropdown-keyboard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siemens/ix': patch
---

Fix `ix-date-picker` year dropdown keyboard navigation so pressing ArrowDown on the last year extends the list and moves focus to the newly added year instead of wrapping back to the start.
32 changes: 32 additions & 0 deletions packages/core/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { DateTimeDateChangeEvent, DateTimeSelectEvent } from "./components/datet
import { ElementReference } from "./components/utils/element-reference";
import { CloseBehavior } from "./components/dropdown/dropdown-controller";
import { AlignedPlacement } from "./components/dropdown/placement";
import { KeyboardNavigationBoundaryContext } from "./components/dropdown/dropdown-focus";
import { FocusTrapOptions } from "./components/utils/focus/focus-trap";
import { DropdownButtonVariant } from "./components/dropdown-button/dropdown-button.types";
import { IxDropdownItemRole } from "./components/dropdown-item/dropdown-item.types";
Expand Down Expand Up @@ -88,6 +89,7 @@ export { DateTimeDateChangeEvent, DateTimeSelectEvent } from "./components/datet
export { ElementReference } from "./components/utils/element-reference";
export { CloseBehavior } from "./components/dropdown/dropdown-controller";
export { AlignedPlacement } from "./components/dropdown/placement";
export { KeyboardNavigationBoundaryContext } from "./components/dropdown/dropdown-focus";
export { FocusTrapOptions } from "./components/utils/focus/focus-trap";
export { DropdownButtonVariant } from "./components/dropdown-button/dropdown-button.types";
export { IxDropdownItemRole } from "./components/dropdown-item/dropdown-item.types";
Expand Down Expand Up @@ -1517,6 +1519,10 @@ export namespace Components {
* @default false
*/
"disableFocusTrap": boolean;
/**
* @default false
*/
"disableWrapFocusNavigation": boolean;
/**
* @default false
*/
Expand Down Expand Up @@ -1563,6 +1569,9 @@ export namespace Components {
crossAxis?: number;
alignmentAxis?: number;
};
"onBoundaryFocus"?: (
context: KeyboardNavigationBoundaryContext
) => Promise<HTMLElement | undefined>;
"overwriteDropdownStyle"?: (delegate: {
dropdownRef: HTMLElement;
triggerRef?: HTMLElement;
Expand Down Expand Up @@ -1618,6 +1627,10 @@ export namespace Components {
* @default 'both'
*/
"closeBehavior": 'inside' | 'outside' | 'both' | boolean;
/**
* @default false
*/
"disableWrapFocusNavigation": boolean;
/**
* Disable button
* @default false
Expand All @@ -1644,6 +1657,9 @@ export namespace Components {
* Set label
*/
"label"?: string | null;
"onBoundaryFocus"?: (
context: KeyboardNavigationBoundaryContext
) => Promise<HTMLElement | undefined>;
/**
* Placement of the dropdown
*/
Expand Down Expand Up @@ -8134,6 +8150,10 @@ declare namespace LocalJSX {
* @default false
*/
"disableFocusTrap"?: boolean;
/**
* @default false
*/
"disableWrapFocusNavigation"?: boolean;
/**
* @default false
*/
Expand Down Expand Up @@ -8179,6 +8199,9 @@ declare namespace LocalJSX {
crossAxis?: number;
alignmentAxis?: number;
};
"onBoundaryFocus"?: (
context: KeyboardNavigationBoundaryContext
) => Promise<HTMLElement | undefined>;
"onExperimentalFocusNextElement"?: (event: IxDropdownCustomEvent<void>) => void;
/**
* Will be fired only after dropdown changed visibility to "true"
Expand Down Expand Up @@ -8244,6 +8267,10 @@ declare namespace LocalJSX {
* @default 'both'
*/
"closeBehavior"?: 'inside' | 'outside' | 'both' | boolean;
/**
* @default false
*/
"disableWrapFocusNavigation"?: boolean;
/**
* Disable button
* @default false
Expand All @@ -8269,6 +8296,9 @@ declare namespace LocalJSX {
* Set label
*/
"label"?: string | null;
"onBoundaryFocus"?: (
context: KeyboardNavigationBoundaryContext
) => Promise<HTMLElement | undefined>;
/**
* Fire event before visibility of dropdown has changed, preventing event will cancel showing dropdown
*/
Expand Down Expand Up @@ -11879,6 +11909,7 @@ declare namespace LocalJSX {
"disableFocusTrap": boolean;
"enableTopLayer": boolean;
"focusCheckedItem": boolean;
"disableWrapFocusNavigation": boolean;
"discoverAllSubmenus": boolean;
"ignoreRelatedSubmenu": boolean;
"suppressOverflowBehavior": boolean;
Expand All @@ -11893,6 +11924,7 @@ declare namespace LocalJSX {
"placement": AlignedPlacement;
"ariaLabelDropdownButton": string;
"focusCheckedItem": boolean;
"disableWrapFocusNavigation": boolean;
"enableTopLayer": boolean;
"suppressAriaActiveDescendant": boolean;
}
Expand Down
4 changes: 0 additions & 4 deletions packages/core/src/components/date-picker/date-picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,6 @@
border: none;
background: none;
cursor: initial;

.overflow {
@include text-truncation.ellipsis;
}
}
Comment thread
lzeiml marked this conversation as resolved.

&.empty-day {
Expand Down
Loading
Loading