-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: convert attribute enums to string unions (#2962)
All enums used as properties on components have been converted to string union types Updates doc comments for better doc generation in Storybook Fixes string casing to match typed string unions refactor: ViewType is now a string union type and not an enum BREAKING CHANGE: ViewType is now a string union type and not an enum refactor: UserType is now a string union type and not an enum BREAKING CHANGE: UserType is now a string union type and not an enum refactor: PersonType is now a string union type and not an enum BREAKING CHANGE: PersonType is now a string union type and not an enum refactor: GroupType is now a string union type and not an enum BREAKING CHANGE: GroupType is now a string union type and not an enum refactor: groupType property on MgtPeoplePicker is now GroupType[] BREAKING CHANGE: groupType property on MgtPeoplePicker is now a GroupType[] not a GroupType that is a bitmask of the desired group types. Developers using the group-type attribute will find the behavior unchanged. refactor: avatarType renamed to AvatarType and converted to string union type BREAKING CHANGE: the avatarType eunm has been renamed to AvatarType for consistency and converted to a string union type refactor: ResponseType for mgt-get converted to string union type from enum BREAKING CHANGE: the ResponseType for mgt-get is now a string union type and not an enum refactor: PersonCardInteraction is now a string union type and not an enum BREAKING CHANGE: PersonCardInteraction is now a string union type and not an enum
- Loading branch information
1 parent
eda4b19
commit 18d0aec
Showing
41 changed files
with
375 additions
and
530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.