Skip to content

chore(components): review prop validation (#2) - update validation functions and checkers #5471

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

Open
wants to merge 33 commits into
base: main
Choose a base branch
from

Conversation

myrta2302
Copy link
Contributor

๐Ÿ“„ Description

This PR updates the property checker functions along with the relevant watcher functions.

๐Ÿ“ Checklist

  • โœ… My code follows the style guidelines of this project
  • ๐Ÿ› ๏ธ I have performed a self-review of my own code
  • ๐Ÿ“„ I have made corresponding changes to the documentation
  • โš ๏ธ My changes generate no new warnings or errors
  • โœ”๏ธ New and existing unit tests pass locally with my changes

Copy link

changeset-bot bot commented May 12, 2025

๐Ÿฆ‹ Changeset detected

Latest commit: fb401e7

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

This PR includes changesets to release 12 packages
Name Type
@swisspost/design-system-components Patch
@swisspost/design-system-components-angular-workspace Patch
@swisspost/design-system-components-react Patch
@swisspost/design-system-documentation Patch
@swisspost/design-system-components-angular Patch
@swisspost/design-system-nextjs-integration Patch
@swisspost/design-system-styles Patch
@swisspost/design-system-tokens Patch
@swisspost/design-system-icons Patch
@swisspost/design-system-styles-primeng Patch
@swisspost/internet-header Patch
@swisspost/design-system-styles-primeng-workspace Patch

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

@myrta2302 myrta2302 changed the title chore(components) update validation functions and checkers chore(components): update validation functions and checkers May 12, 2025
@myrta2302 myrta2302 linked an issue May 12, 2025 that may be closed by this pull request
1 task
@swisspost-bot
Copy link
Contributor

swisspost-bot commented May 12, 2025

Related Previews

@myrta2302 myrta2302 changed the title chore(components): update validation functions and checkers chore(components): review prop validation (#2) - update validation functions and checkers May 12, 2025
@myrta2302 myrta2302 marked this pull request as ready for review May 13, 2025 14:10
@myrta2302 myrta2302 requested a review from a team as a code owner May 13, 2025 14:11
@myrta2302 myrta2302 requested a review from alizedebray May 13, 2025 14:11
@myrta2302 myrta2302 marked this pull request as draft May 16, 2025 12:34
@myrta2302
Copy link
Contributor Author

myrta2302 commented May 16, 2025

Regading the second option, the required or optional metadata of the props are not available in this instance.
Will implement the naming convention for the validation functions in a following branch.

RESOLVED

@myrta2302
Copy link
Contributor Author

Copy link

@myrta2302 myrta2302 marked this pull request as ready for review May 19, 2025 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review prop validation across component library
2 participants