/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { TileSize } from '../models/tile-size'; /** * The settings of the ColorPalette that is nested inside the popup of the ColorPicker * ([see example]({% slug customizecolorpicker_colorpicker %}#toc-customizing-the-palette-popup)). */ export interface ColorPickerPaletteSettings { /** * Specifies the set of colors. * Provides a set of predefined palette presets (for example, `office`, `basic`, and `apex`) * and enables you to implement a custom color palette. * Defaults to the `office` preset. * * The supported values are: * * The name of the predefined palette preset (for example, `office`, `basic`, and `apex`). * * A string with comma-separated colors. * * A string array. */ palette?: string | Array; /** * Specifies the number of columns that will be displayed. * Defaults to `10`. */ columns?: number; /** * Specifies the size of a color cell. * * The possible values are: * * (Default) `24` * * `{ width: number, height: number }` */ tileSize?: number | TileSize; }