Skip to content

New PropertyPane PalettePicker#659

Open
joaojmendes wants to merge 7 commits intomasterfrom
PalettePropertyField
Open

New PropertyPane PalettePicker#659
joaojmendes wants to merge 7 commits intomasterfrom
PalettePropertyField

Conversation

@joaojmendes
Copy link
Collaborator

Q A
Bug fix? [ ]
New feature? [ ]
New sample? [X ]
Related issues? fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?

New PropertyPanel PalettePicker

- Add PropertyPanePalettePickerField component for palette selection
- onSelectedPalette callback returns full IPalette object (name + colors)
- Add palette visualization in test webpart
- Display selected palette name and color swatches
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new PropertyPane control called PropertyPanePalettePicker that enables users to select color palettes from predefined options in SharePoint Framework web parts.

Changes:

  • Added new PropertyPanePalettePicker control component with supporting interfaces and styles
  • Integrated the palette picker into the property controls test web part for demonstration
  • Added localization strings for the palette picker across all supported languages

Reviewed changes

Copilot reviewed 46 out of 50 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
src/propertyFields/PalettePicker/*.ts(x) Core implementation files for the PalettePicker control including components, interfaces, and styling
src/PropertyPanePalettePicker.ts Main export file for the PalettePicker control
src/webparts/propertyControlsTest/* Integration of the PalettePicker into the test web part for demonstration
src/loc/*.js Added localization strings for the palette picker title
docs/documentation/docs/controls/PropertyPanePalettePicker.md Documentation for the new control

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

joaojmendes and others added 3 commits February 2, 2026 20:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants