-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core/date-dropdown): expose locale of nested date-picker (#1549)
Co-authored-by: matthiashader <[email protected]> Co-authored-by: AndreasBerliner <[email protected]> Co-authored-by: Daniel Leroux <[email protected]>
- Loading branch information
1 parent
dc59d67
commit a5e2172
Showing
14 changed files
with
254 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@siemens/ix-angular": minor | ||
"@siemens/ix": minor | ||
"@siemens/ix-vue": minor | ||
--- | ||
|
||
feat(core/date-dropdown|date-picker|datetime-picker): add missing properties to picker components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
packages/core/src/components/date-picker/date-picker-component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2024 Siemens AG | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
import { DateTimeCardCorners } from '../date-time-card/date-time-card'; | ||
|
||
export interface IxDatePickerComponent { | ||
/** | ||
* Annotate with @Prop() decorator | ||
*/ | ||
format: string; | ||
|
||
/** | ||
* Annotae with @Prop() decorator | ||
*/ | ||
range: boolean; | ||
|
||
/** | ||
* Annotae with @Prop() decorator | ||
*/ | ||
corners: DateTimeCardCorners; | ||
|
||
/** | ||
* Annotae with @Prop() decorator | ||
*/ | ||
from?: string; | ||
|
||
/** | ||
* Annotae with @Prop() decorator | ||
*/ | ||
to?: string; | ||
|
||
/** | ||
* Annotae with @Prop() decorator | ||
*/ | ||
minDate: string; | ||
|
||
/** | ||
* Annotae with @Prop() decorator | ||
*/ | ||
maxDate: string; | ||
|
||
/** | ||
* Annotate with @Prop({ attribute: 'i18n-done' }) decorator | ||
*/ | ||
i18nDone: string; | ||
|
||
/** | ||
* Annotae with @Prop() decorator | ||
*/ | ||
weekStartIndex: number; | ||
|
||
/** | ||
* Annotae with @Prop() decorator | ||
*/ | ||
locale?: string; | ||
} |
Oops, something went wrong.