-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(react-tags): Replace avatar prop with media; polish styles for spacing
#27725
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
Merged
Merged
Changes from 48 commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
607fb16
add raw html
micahgodbolt b6bbff4
add types and update render to use slots
micahgodbolt 7eab6bc
Merge branch 'master' into tag-first-pass
micahgodbolt fd1b143
init slots and layout setup for tag
micahgodbolt 6843d4c
init pass on Tag button
micahgodbolt c02029c
fix dep version
micahgodbolt 1345a2e
add icons to package.json
micahgodbolt 01d968e
api update
micahgodbolt 33b2f8b
update tests
micahgodbolt bc7dff9
Update packages/react-components/react-tags/src/components/Tag/Tag.ty…
micahgodbolt cb8b4f1
Update packages/react-components/react-tags/src/components/Tag/useTag…
micahgodbolt ed79cd6
Update packages/react-components/react-tags/src/components/TagButton/…
micahgodbolt 30dcbe1
Update packages/react-components/react-tags/src/components/TagButton/…
micahgodbolt e0fb356
remove unnecessary named columns
micahgodbolt d2aff57
Merge branch 'master' into tag-first-pass
micahgodbolt 1248f0a
Update packages/react-components/react-tags/src/components/Tag/useTag…
micahgodbolt 0e2dcfb
Update packages/react-components/react-tags/src/components/TagButton/…
micahgodbolt fbe5797
bmp react utils to match master
micahgodbolt 8664988
Merge branch 'master' into tag-first-pass
micahgodbolt 1bde3ef
Merge branch 'master' into tag-first-pass
YuanboXue-Amber 9cde259
Update packages/react-components/react-tags/package.json
YuanboXue-Amber 0e2b676
Update api.md
YuanboXue-Amber 57a0ed2
Update test snapshot with react-icon update
YuanboXue-Amber aa38b3a
add avatar shape to avatar context
YuanboXue-Amber 6c4d5f5
add bundle size tool to Tag
YuanboXue-Amber 8d5745e
add style for spacing
YuanboXue-Amber 6f940d5
Merge remote-tracking branch 'upstream/master' into tag
YuanboXue-Amber a606ec2
fix after merge
YuanboXue-Amber 756122b
put media in content
YuanboXue-Amber 6bb2bcd
try content as button on tag and it works fine
YuanboXue-Amber 2849eeb
Revert "try content as button on tag and it works fine"
YuanboXue-Amber 2e19dca
TagButton implementation
YuanboXue-Amber c5b1b4b
add tabster to dependency
YuanboXue-Amber 2cf6e73
TagButton stories
YuanboXue-Amber 2d35934
cleanup TODO and remove debug styles
YuanboXue-Amber b938f67
add TODO
YuanboXue-Amber f67a476
change
YuanboXue-Amber c8d157c
default story cleanup
YuanboXue-Amber 6ada5b5
Merge branch 'master' into tag
YuanboXue-Amber 4d2f0d7
update import from react-avatar to react-components in stories
YuanboXue-Amber 011bc4e
Merge branch 'tag' of https://github.com/YuanboXue-Amber/fluentui int…
YuanboXue-Amber af6fe3e
fix crud
YuanboXue-Amber 6846a7a
avatar api.md
YuanboXue-Amber 5c267fe
tags api.md
YuanboXue-Amber 4c2908a
fix import
YuanboXue-Amber 211dc74
add bundle icon and update test
YuanboXue-Amber be0cf25
Hack to build tag in PR docsite
YuanboXue-Amber d93ded5
add styles suffix
YuanboXue-Amber e46a4d4
make content slot required
YuanboXue-Amber e585b1e
update useTagButton_unstable
YuanboXue-Amber cfa336f
use makeStyles for stories
YuanboXue-Amber 262cee1
remove snapshot test
YuanboXue-Amber ef6d386
revert change in useTagButton_unstable
YuanboXue-Amber 7918b42
change Button into button
YuanboXue-Amber 9c19d79
reuse styles
YuanboXue-Amber cae86d7
fix HC border
YuanboXue-Amber 3ed9d8c
add makeResetStyle todo
YuanboXue-Amber 16e9d5e
Merge remote-tracking branch 'upstream/master' into tag
YuanboXue-Amber fc477a7
update useTagButton_unstable again
YuanboXue-Amber d698160
remove weird stuff from merging
YuanboXue-Amber e215320
remove weird stuff from merging
YuanboXue-Amber 70aff78
add required on tagButton content
YuanboXue-Amber 0e3d6e8
Merge remote-tracking branch 'upstream/master' into tag
YuanboXue-Amber 7a4f8ff
Update packages/react-components/react-tags/src/components/Tag/useTag…
YuanboXue-Amber 7646ef5
fix focus outline
ling1726 068f236
simplify focus indicator
YuanboXue-Amber 901b8ad
use one gridArea for media and icon
YuanboXue-Amber cf934ff
Merge branch 'master' into tag
YuanboXue-Amber 43f1b6d
remove extra { enableOutline: true } after merge master fix
YuanboXue-Amber 48ddb75
remove temp change that publishes tag in storybook
YuanboXue-Amber ba61dc3
cleanup change file
YuanboXue-Amber 22734e4
Revert "cleanup change file"
YuanboXue-Amber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-avatar-beee81db-4a4e-458f-a4bf-e9d4624a0356.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "minor", | ||
| "comment": "feat: add `shape` to AvatarContext", | ||
| "packageName": "@fluentui/react-avatar", | ||
| "email": "[email protected]", | ||
| "dependentChangeType": "patch" | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
7 changes: 7 additions & 0 deletions
7
packages/react-components/react-tags/bundle-size/tag.fixture.js
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| import { Tag } from '@fluentui/react-tags'; | ||
|
|
||
| console.log(Tag); | ||
|
|
||
| export default { | ||
| name: 'Tag', | ||
| }; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.