chore(tabs): update access modifiers, changedProperties type#5372
chore(tabs): update access modifiers, changedProperties type#5372lehelen19 wants to merge 2 commits intoadobe:mainfrom
Conversation
|
|
|
||
| @query('#list') | ||
| private tabList!: HTMLDivElement; | ||
| protected tabList!: HTMLDivElement; |
There was a problem hiding this comment.
Once we make this protected, if we want to change these in the future, it becomes a breaking change for subclasses.
|
@Rajdeepc do we have a status update for this or should we bring it up in our team meeting to discuss? |
Description
Changes the access modifiers for some properties of Tabs and TabsOverflow. Also updates the deprecated type of
changedPropertiestoPropertyValues.Related issue(s)
Motivation and context
Child classes extending from Tabs and TabsOverflow can access previously guarded properties of the parent class.
PropertyValueMapis deprecated by Lit, andPropertyValuesis preferred (Lit docs).How has this been tested?
Test case 1
Test case 2
Did it pass in Desktop?
Did it pass in Mobile?
Did it pass in iPad?
Screenshots (if appropriate)
Types of changes
Checklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main.