Skip to content
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

feat(swatch-picker): Added ColorSwatch sub component and selection logic #30544

Conversation

ValentinaKozlova
Copy link
Contributor

@ValentinaKozlova ValentinaKozlova commented Feb 13, 2024

  • Added ColorSwatch sub component
  • Added selection logic
    image

@fabricteam
Copy link
Collaborator

fabricteam commented Feb 13, 2024

📊 Bundle size report

🤖 This report was generated against be0c9ec2df6d510aa713584f65a43b88f4169fef

@fabricteam
Copy link
Collaborator

fabricteam commented Feb 13, 2024

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 635 659 5000
Button mount 287 303 5000
Field mount 1143 1111 5000
FluentProvider mount 691 699 5000
FluentProviderWithTheme mount 74 79 10
FluentProviderWithTheme virtual-rerender 68 66 10
FluentProviderWithTheme virtual-rerender-with-unmount 74 78 10
MakeStyles mount 863 841 50000
Persona mount 1747 1714 5000
SpinButton mount 1412 1396 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Feb 13, 2024

🕵 fluentuiv9 No visual regressions between this PR and main

@ValentinaKozlova ValentinaKozlova marked this pull request as ready for review February 14, 2024 08:21
ValentinaKozlova and others added 7 commits February 14, 2024 15:41
…onents/ColorSwatch/useColorSwatch.ts

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
…SwatchPicker/SwatchPickerDefault.stories.tsx

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
Copy link

codesandbox-ci bot commented Feb 15, 2024

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.

ValentinaKozlova and others added 8 commits February 19, 2024 11:05
…onents/ColorSwatch/useColorSwatchStyles.styles.ts

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
…onents/ColorSwatch/useColorSwatchStyles.styles.ts

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
…onents/ColorSwatch/useColorSwatchStyles.styles.ts

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
…onents/ColorSwatch/useColorSwatchStyles.styles.ts

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
…onents/ColorSwatch/useColorSwatchStyles.styles.ts

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
…onents/SwatchPicker/useSwatchPickerState.tsx

Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
@ValentinaKozlova ValentinaKozlova merged commit ae14927 into microsoft:master Feb 21, 2024
18 checks passed
@ValentinaKozlova ValentinaKozlova deleted the feat/swatch-picker-color-swatch branch February 21, 2024 13:29
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.

None yet

4 participants