[UI components]: Update style helper docs for unstable #1654
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What problem are you trying to solve? 💡
complete https://github.com/Shopify/checkout-web/issues/23677 fix, that wasn't included in all versions
How are you solving it? 🛠️
NonPresentationalAccessibilityRole
I took JF's suggestion and just duplicated a bit of code since generate-docs cannot handleExclude
property right, and to avoid future errors I opted to not use Pick property as well.Tophat 🎩
Spin Instance 🌀
https://shopify-dev.conditional-styles-doc-fixes.igor-deoliveiramartins.us.spin.dev/docs/api/checkout-ui-extensions
Before
![Screenshot 2023-12-06 at 11 16 01 AM](https://github.com/Shopify/checkout-web/assets/12087916/44761e72-05ea-4b66-9e39-c7b88f2883d7)
![Screenshot 2023-12-06 at 11 18 32 AM](https://github.com/Shopify/checkout-web/assets/12087916/9408fff5-a546-4744-a2ee-555234d91d13)
After
![Screenshot 2024-01-15 at 12 00 15 PM](https://private-user-images.githubusercontent.com/12087916/296793477-f318b9e5-5989-4af3-842c-64877e39d52c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NTE3NzIsIm5iZiI6MTcyMTQ1MTQ3MiwicGF0aCI6Ii8xMjA4NzkxNi8yOTY3OTM0NzctZjMxOGI5ZTUtNTk4OS00YWYzLTg0MmMtNjQ4NzdlMzlkNTJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA0NTc1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViZjg4ZTNkNTkxYmU1M2JjODBkZWZlYmZjZDVhZDk0YWE0NDEzNzUzZDhkZTg1Njg0MjEzMDVkMmJiZTE5ZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.M3bXwZe4QpZIFqTWEJtQTq8Sw5joiaV4xK-sF_AiO_Q)
Checklist