Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: improve null/undefined type handling for Angular wrapper #3302

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

DavideMininni-Fincons
Copy link
Contributor

@DavideMininni-Fincons DavideMininni-Fincons commented Dec 16, 2024

Changes are related to Angular wrapper's classes generation.

  • sbb-calendar: normalized null / undefined types for getters and setters; needs some fix for the sbb-datepicker-toggle
  • sbb-navigation-action-common: updated mixin type
  • sbb-slider: normalized type
  • sbb-stepper: some minor fix to normalize null values, which are already considered in the existing logic but not in typings
  • sbb-tag-group: normalized type
  • sbb-time-input: add null as type as in the getter
  • properties of SbbStepValidateEventDetails are now nullable and they are not optional anymore

@github-actions github-actions bot added target: 2.x pr: peer review required A peer review is required for this pull request labels Dec 16, 2024
src/elements/tag/tag-group/tag-group.ts Show resolved Hide resolved
src/elements/tag/tag-group/tag-group.ts Show resolved Hide resolved
src/elements/stepper/stepper/stepper.ts Outdated Show resolved Hide resolved
src/elements/slider/slider.ts Outdated Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to pr3302 December 16, 2024 14:24 Inactive
@github-actions github-actions bot temporarily deployed to pr3302-diff December 16, 2024 14:24 Inactive
@github-actions github-actions bot temporarily deployed to pr3302 December 16, 2024 15:25 Inactive
@github-actions github-actions bot temporarily deployed to pr3302-diff December 16, 2024 15:26 Inactive
Copy link
Contributor

@kyubisation kyubisation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@github-actions github-actions bot added the pr: lead review approved Pull request has been approved by a lead review label Dec 17, 2024
@DavideMininni-Fincons DavideMininni-Fincons merged commit 8b33247 into main Dec 17, 2024
35 of 36 checks passed
@DavideMininni-Fincons DavideMininni-Fincons deleted the fix/different-type-get-set-angular branch December 17, 2024 16:55
@github-actions github-actions bot removed the pr: peer review required A peer review is required for this pull request label Dec 17, 2024
sbb-design-systems-bot bot pushed a commit that referenced this pull request Dec 17, 2024
Changes are related to Angular wrapper's classes generation.
- `sbb-calendar`: normalized null / undefined types for getters and setters; needs some fix for the `sbb-datepicker-toggle`
- `sbb-navigation-action-common`: updated mixin type
- `sbb-slider`: normalized type
- `sbb-stepper`: some minor fix to normalize null values, which are already considered in the existing logic but not in typings
- `sbb-tag-group`: normalized type
- `sbb-time-input`: add null as type as in the getter
- properties of `SbbStepValidateEventDetails` are now nullable and they are not optional anymore
kyubisation pushed a commit that referenced this pull request Dec 19, 2024
🤖 I have created a release *beep* *boop*
---


##
[2.0.2](v2.0.1...v2.0.2)
(2024-12-19)


### Bug Fixes

* handle scroll events in custom scroll contexts
([#3310](#3310))
([3634e37](3634e37)),
closes
[#3276](#3276)
* improve null/undefined type handling for Angular wrapper
([#3302](#3302))
([2f94992](2f94992))
* remove any type for Angular wrapper
([#3297](#3297))
([dca7ba5](dca7ba5))
* remove leading inline padding from icon list
([#3311](#3311))
([b9ce6d1](b9ce6d1))
* **sbb-accent-button:** adapt to new design
([#3313](#3313))
([1af2691](1af2691))
* **sbb-message:** fix image alignment
([#3305](#3305))
([1d4a5de](1d4a5de))
* **sbb-select:** update displayed value on option label change
([#3300](#3300))
([3c2f3c5](3c2f3c5))
* **sbb-teaser-hero:** fix image size on custom width
([#3295](#3295))
([5fc0634](5fc0634))


### Documentation

* override member properties in manifest
([#3307](#3307))
([ba25320](ba25320))
* standardize usage of terms `CSS` and `Sass`
([#3290](#3290))
([b52ac99](b52ac99))


### Code Refactoring

* move event handlers to constructors
([#3314](#3314))
([18660a3](18660a3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants