Skip to content

Conversation

@sopranopillow
Copy link
Contributor

@sopranopillow sopranopillow commented Oct 26, 2022

Current Behavior

AvatarGroup has a gap between the outline and the Avatar/Button.

image

New Behavior

AvatarGroup doesn't have a gap anymore.

image

@sopranopillow sopranopillow self-assigned this Oct 26, 2022
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 26, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1292 1283 5000
Button mount 907 933 5000
FluentProvider mount 1506 1482 5000
FluentProviderWithTheme mount 571 579 10
FluentProviderWithTheme virtual-rerender 538 546 10
FluentProviderWithTheme virtual-rerender-with-unmount 578 569 10
MakeStyles mount 1948 1958 50000
SpinButton mount 2316 2310 5000

@size-auditor
Copy link

size-auditor bot commented Oct 26, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 6682e6f4e59ca3fe479564219ed4b1b9a91b9907 (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 26, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 77799e3:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 26, 2022

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-avatar
AvatarGroupItem
68.842 kB
19.205 kB
63.452 kB
17.959 kB
-5.39 kB
-1.246 kB
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-alert
Alert
84.688 kB
21.233 kB
react-avatar
Avatar
48.874 kB
13.864 kB
react-avatar
AvatarGroup
14.996 kB
6.013 kB
react-components
react-components: Button, FluentProvider & webLightTheme
62.94 kB
17.663 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.603 kB
52.909 kB
react-components
react-components: FluentProvider & webLightTheme
33.446 kB
11.033 kB
react-persona
Persona
53.992 kB
15.25 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
🤖 This report was generated against 6682e6f4e59ca3fe479564219ed4b1b9a91b9907

@sopranopillow sopranopillow marked this pull request as ready for review October 27, 2022 16:25
@sopranopillow sopranopillow requested review from a team, behowell and khmakoto as code owners October 27, 2022 16:25
@sopranopillow sopranopillow force-pushed the avatargroup/border-calc branch from c00b0ed to c8f377b Compare October 27, 2022 22:39
@sopranopillow sopranopillow merged commit c470fd7 into microsoft:master Oct 27, 2022
@sopranopillow sopranopillow deleted the avatargroup/border-calc branch October 27, 2022 23:22
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 31, 2022
* master: (22 commits)
  fix(react-menu): removes exposing of internal type FluentTriggerComponent (microsoft#25410)
  fix(react-popover): removes exposing of internal type FluentTriggerComponent (microsoft#25411)
  applying package updates
  fix(react-tooltip): removes exposing of internal type FluentTriggerComponent (microsoft#25409)
  chore: Reducing bundle size of Stack by moving selector used in multiple places to local const (microsoft#25429)
  docs(rfcs): Simple component implementation (microsoft#25139)
  Fix migration publishing (microsoft#25422)
  Integrate storywright for story tests - As part of exploring screener alternative (microsoft#25399)
  fix(react-utilities): exposes internal methods used in API surface (microsoft#25406)
  fix(react-dialog): removes exposing of internal type FluentTriggerComponent (microsoft#25408)
  fix(react-context-selector): exposes internal type ContextSelector (microsoft#25404)
  fix(react-aria): exposes internal leaking types (microsoft#25403)
  fix(react-shared-contexts): exposes internal leaks used in the API surface (microsoft#25405)
  fix(react-positioning): exposes new typings to avoid exposing internal methods (microsoft#25407)
  applying package updates
  fix: Allowing DatePicker to be focusable within FocusZones by default (microsoft#25428)
  fix: Pad in slider so the thumb does not render outside the bounds of the root element (microsoft#25378)
  feat: Add enableScopedSelectors prop to Stack that, when true, makes the Stack styles selectors be more scoped to not be as expensive in style recalculation (microsoft#25397)
  fix(react-avatar): Remove gaps between AvatarGroupItem/OveflowButton and its outline (microsoft#25382)
  fix: Combobox text attribute ignored when empty string is passed (microsoft#24665)
  ...
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
…and its outline (microsoft#25382)

* using shadowbox instead of after pseudo-element

* change file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants