@croquiscom/pds 8.26.1 → 8.27.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 8.27.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4fecb76: ColorPicker OpenTrigger props 추가
8
+
9
+ ## 8.26.2
10
+
11
+ ### Patch Changes
12
+
13
+ - f99d5ce: - ChipInput 모든 컴마 허용 불가 처리
14
+
3
15
  ## 8.26.1
4
16
 
5
17
  ### Patch Changes
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ColorPickerSize, PresetType } from './types';
3
+ type OpenerTriggerEvent = 'click' | 'none';
3
4
  export type ColorPickerLayout = 'custom' | 'preset';
4
5
  export interface ColorPickerProps {
5
6
  /**
@@ -30,5 +31,11 @@ export interface ColorPickerProps {
30
31
  */
31
32
  zIndex?: number;
32
33
  className?: string;
34
+ /**
35
+ * 'none'으로 설정할 경우 preset popover가 열리지 않습니다.
36
+ * @default click
37
+ */
38
+ openerTriggerEvent?: OpenerTriggerEvent;
33
39
  }
34
40
  export declare const ColorPicker: React.FC<ColorPickerProps>;
41
+ export {};
@@ -5,3 +5,4 @@ export default meta;
5
5
  type Story = StoryObj<ColorPickerProps>;
6
6
  export declare const Default: Story;
7
7
  export declare const State: Story;
8
+ export declare const OpenerTriggerEvent: Story;
@@ -4,5 +4,6 @@ export interface ColorPickerTriggerProps extends ButtonHTMLAttributes<HTMLButton
4
4
  color?: string;
5
5
  opened?: boolean;
6
6
  size?: ColorPickerSize;
7
+ can_open_preset: boolean;
7
8
  }
8
9
  export declare const ColorPickerTrigger: React.ForwardRefExoticComponent<ColorPickerTriggerProps & React.RefAttributes<HTMLButtonElement>>;