siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
208 stars 67 forks source link

feat(core/date-dropdown): expose locale of nested date-picker #1549

Closed nuke-ellington closed 1 week ago

nuke-ellington commented 3 weeks ago

๐Ÿ’ก What is the current behavior?

GitHub Issue Number: IX-1871

๐Ÿ†• What is the new behavior?

-

๐Ÿ Checklist

A pull request can only be merged if all of these conditions are met (where applicable):

๐Ÿ‘จโ€๐Ÿ’ป Help & support

changeset-bot[bot] commented 3 weeks ago

๐Ÿฆ‹ Changeset detected

Latest commit: a9a7cb0460f124c6ea544f5e1d46e967a29ead6a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ------------------- | ----- | | @siemens/ix-angular | Minor | | @siemens/ix | Minor | | @siemens/ix-vue | Minor | | @siemens/ix-aggrid | Patch | | @siemens/ix-react | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 3 weeks ago

Report of strict check

src/components/date-picker/date-picker.tsx
  • src/components/date-picker/date-picker.tsx(378,26): error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.: error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.
  • src/components/date-picker/date-picker.tsx(573,28): error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.: error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.
  • src/components/date-picker/date-picker.tsx(576,35): error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.: error TS2345: Argument of type '{ from: string | undefined; to: string | undefined; }' is not assignable to parameter of type 'DateChangeEvent'.
src/components/datetime-picker/datetime-picker.tsx
  • src/components/datetime-picker/datetime-picker.tsx(58,11): error TS2564: Property 'minDate' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'minDate' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(66,11): error TS2564: Property 'maxDate' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'maxDate' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(105,11): error TS2564: Property 'time' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'time' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(118,11): error TS2564: Property 'timeReference' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'timeReference' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(126,11): error TS2564: Property 'textSelectDate' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'textSelectDate' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(149,11): error TS2322: Type 'undefined' is not assignable to type 'string'.: error TS2322: Type 'undefined' is not assignable to type 'string'.
  • src/components/datetime-picker/datetime-picker.tsx(166,12): error TS2564: Property 'done' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'done' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(173,12): error TS2564: Property 'timeChange' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'timeChange' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(180,12): error TS2564: Property 'dateChange' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'dateChange' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(187,12): error TS2564: Property 'dateSelect' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'dateSelect' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(189,11): error TS2564: Property 'datePickerElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'datePickerElement' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(190,11): error TS2564: Property 'timePickerElement' has no initializer and is not definitely assigned in the constructor.: error TS2564: Property 'timePickerElement' has no initializer and is not definitely assigned in the constructor.
  • src/components/datetime-picker/datetime-picker.tsx(228,32): error TS2322: Type 'HTMLIxDatePickerElement | undefined' is not assignable to type 'HTMLIxDatePickerElement'.: error TS2322: Type 'HTMLIxDatePickerElement | undefined' is not assignable to type 'HTMLIxDatePickerElement'.
  • src/components/datetime-picker/datetime-picker.tsx(246,32): error TS2322: Type 'HTMLIxTimePickerElement | undefined' is not assignable to type 'HTMLIxTimePickerElement'.: error TS2322: Type 'HTMLIxTimePickerElement | undefined' is not assignable to type 'HTMLIxTimePickerElement'.
sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud