Skip to content

Commit 05a411e

Browse files
committed
chore(dist): update dist files
1 parent 01e495b commit 05a411e

File tree

2 files changed

+10
-15
lines changed

2 files changed

+10
-15
lines changed

dist/ColorPicker.d.ts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,17 @@ interface ColorPairRgb {
6666
}
6767
type ColorPair = ColorPairHex | ColorPairHsl | ColorPairHsv | ColorPairHwb | ColorPairRgb;
6868
type VisibleColorPair = Exclude<ColorPair, ColorPairHsv>;
69-
type AttributeName = 'alpha-channel' | 'color' | 'default-format' | 'id' | 'visible-formats';
69+
type AttributeName = 'alpha-channel' | 'color' | 'format' | 'id' | 'visible-formats';
7070
type ColorPickerProperties = keyof ColorPicker;
7171
declare class ColorPicker extends HTMLElement {
7272
#private;
7373
static observedAttributes: AttributeName[];
7474
get [Symbol.toStringTag](): string;
7575
/**
76-
* The currently active format. Changed by interacting with the “Switch format” button.
76+
* The current color format. Changed by interacting with the “Switch format” button.
7777
*/
78-
get activeFormat(): VisibleColorFormat;
79-
set activeFormat(activeFormat: VisibleColorFormat);
78+
get format(): VisibleColorFormat;
79+
set format(format: VisibleColorFormat);
8080
/**
8181
* Whether to show input controls for a color’s alpha channel. If set to `'hide'`, the alpha range input and the alpha channel input are hidden, the “Copy color” button will copy a CSS color value without alpha channel, and the object emitted in a `color-change` event will have a `cssColor` property value without alpha channel.
8282
*/
@@ -92,11 +92,6 @@ declare class ColorPicker extends HTMLElement {
9292
*/
9393
get colors(): ColorMap;
9494
set colors(colors: ColorMap);
95-
/**
96-
* The color format to show by default when rendering the color picker. Must be one of the formats specified in `visibleFormats`.
97-
*/
98-
get defaultFormat(): VisibleColorFormat;
99-
set defaultFormat(defaultFormat: VisibleColorFormat);
10095
/**
10196
* The ID value will be used to prefix all `input` elements’ `id` and `label` elements’ `for` attribute values. Make sure to set this if you use multiple instances of the component on a page.
10297
*/

0 commit comments

Comments
 (0)