-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Typography foundations] Add deprecation warnings for existing Text components #6605
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
[Typography foundations] Add deprecation warnings for existing Text components #6605
Conversation
size-limit report 📦
|
sarahill
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👏 Just some minor spelling suggestions.
aveline
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall! Just a few typos to fix up, including several instances of componant. 😁
We should also create a release branch to point it to rather than main. Maybe something like release-text-component. We can always rename it later.
Agreed! |
a3a40bb to
0281d22
Compare
laurkim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's gooo! 🚀 💯
I created a new deprecate-type-components branch and changed your pr to merge into that instead of main. I had one suggestion re: changeset content but it's not blocking.
cd45e9e to
f75fdd8
Compare
40c2ecb to
fdcc3e3
Compare
29923e4 to
19e7c3d
Compare
cfa8688 to
15b7276
Compare
15b7276 to
a3710e2
Compare
Co-authored-by: Lo Kim <lo.kim@shopify.com>
Co-authored-by: Lo Kim <lo.kim@shopify.com>
Co-authored-by: Lo Kim <lo.kim@shopify.com>
4f26dd1 to
e360f94
Compare
…omponents (#6605) ~~#### WARNING⚠️ ~~ ~~https://polaris.shopify.com/components/text is not currently active~~ ~~Do Not Merge!~~ Fixes #6537 <!-- link to issue if one exists --> <!-- Context about the problem that’s being addressed. --> Add deprecation warnings to all of the following existing Text components: - TextStyle - DisplayText - Heading - Subheading - Caption - VisuallyHidden | Text component | `console.log` | | --- | --- | | <img width="870" alt="Screen Shot 2022-07-12 at 10 12 53 AM" src="https://user-images.githubusercontent.com/59836805/178513139-742442e5-ccdc-4591-b0ad-b5ad0a19cbf0.png"> | <img width="633" alt="Screen Shot 2022-07-12 at 10 12 23 AM" src="https://user-images.githubusercontent.com/59836805/178513188-95c3db0e-0536-4de8-8396-fc36cf876818.png"> | Co-authored-by: Lo Kim <lo.kim@shopify.com>
#### WARNING⚠️ https://polaris.shopify.com/components/text is not currently activeDo Not Merge!WHY are these changes introduced?
Fixes #6537
WHAT is this pull request doing?
Add deprecation warnings to all of the following existing Text components:
console.log