dawn-ui-react 1.0.0-alpha.32 → 1.0.0-alpha.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
2
  import { ColorPickerInputProps } from './color-picker.types';
3
- export declare const ColorPickerInput: ({ className, children, ref, ...props }: ColorPickerInputProps) => React.JSX.Element;
3
+ export declare const ColorPickerInput: ({ showPopover, showTransparencyField, className, children, ref, ...props }: ColorPickerInputProps) => React.JSX.Element;
@@ -84,7 +84,10 @@ export type ValueType = {
84
84
  getValue: (color: chroma.Color) => any;
85
85
  parseValue: (value: string) => chroma.Color | undefined;
86
86
  };
87
- export type ColorPickerInputProps = React.ComponentProps<typeof InputGroup>;
87
+ export type ColorPickerInputProps = React.ComponentProps<typeof InputGroup> & {
88
+ showPopover?: boolean;
89
+ showTransparencyField?: boolean;
90
+ };
88
91
  export type ColorPickerAreaProps = React.ComponentProps<'div'>;
89
92
  export type ColorPickerHueSliderProps = Partial<React.ComponentProps<typeof ColorChannelSlider>>;
90
93
  export type ColorPickerLightnessSliderProps = Partial<React.ComponentProps<typeof ColorChannelSlider>>;
@@ -10,4 +10,5 @@ export { ColorPickerPaletteSwatch } from './color-picker-palette-swatch';
10
10
  export { ColorPickerRow } from './color-picker-row';
11
11
  export { ColorPickerTransparencySlider } from './color-picker-transparency-slider';
12
12
  export { ColorPickerValueType } from './color-picker-value-type';
13
- export type { ColorPickerProps, ColorPickerPaletteAddProps, ColorPickerState, ColorPickerAction, ColorPickerAreaProps, ColorPickerContextType, ColorPickerGroupProps, ColorPickerHueSliderProps, ColorPickerInputProps, ColorPickerLabelProps, ColorPickerPaletteLimitProps, ColorPickerPaletteListProps, ColorPickerPaletteSwatchProps, ColorPickerRowProps, ColorPickerTransparencySliderProps, ColorPickerValueTypeProps, } from './color-picker.types';
13
+ export { ColorPickerLightnessSlider } from './color-picker-lightness-slider';
14
+ export type { ColorPickerProps, ColorPickerPaletteAddProps, ColorPickerState, ColorPickerAction, ColorPickerAreaProps, ColorPickerContextType, ColorPickerGroupProps, ColorPickerHueSliderProps, ColorPickerInputProps, ColorPickerLabelProps, ColorPickerPaletteLimitProps, ColorPickerPaletteListProps, ColorPickerPaletteSwatchProps, ColorPickerRowProps, ColorPickerTransparencySliderProps, ColorPickerValueTypeProps, ColorPickerLightnessSliderProps, } from './color-picker.types';
@@ -1,2 +1,2 @@
1
1
  import { InputGroupProps } from './input-group.types';
2
- export declare const InputGroup: ({ variant, className, children, ref, ...props }: InputGroupProps) => import("react").JSX.Element;
2
+ export declare const InputGroup: ({ variant, size, className, children, ref, ...props }: InputGroupProps) => import("react").JSX.Element;