@croquiscom/pds 14.2.2 → 14.2.4

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
+ ## 14.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 760cc64: PopoverButton Kind 변경가능하도록 수정
8
+
9
+ ## 14.2.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 7a851e0: InputStepper button type 명시
14
+
3
15
  ## 14.2.2
4
16
 
5
17
  ### Patch Changes
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { AriaFocusProps } from '../../types/common';
3
3
  import { IconProps } from '../icons/generated';
4
4
  import { ButtonProps } from './Button';
5
- import { IconButtonKind } from './types';
5
+ import { ButtonKind } from './types';
6
6
  import { DropdownOption } from '../dropdown/types';
7
7
  export interface PopoverButtonProps<OptionValue> extends Omit<ButtonProps, 'size' | 'value' | 'onChange' | 'kind'> {
8
8
  /** @default false */
@@ -33,7 +33,7 @@ export interface PopoverButtonProps<OptionValue> extends Omit<ButtonProps, 'size
33
33
  * IconButton과 동시 지원을 위해 IconButtonKind로 제한합니다.
34
34
  * @default outlined_secondary
35
35
  * */
36
- kind?: IconButtonKind;
36
+ kind?: ButtonKind;
37
37
  icon?: React.ReactElement<IconProps, string | React.JSXElementConstructor<any>>;
38
38
  onChange?: (value: OptionValue) => void;
39
39
  options: Array<DropdownOption<OptionValue>>;
@@ -4,6 +4,7 @@ declare const meta: Meta<typeof PopoverButton>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof PopoverButton>;
6
6
  export declare const Short: Story;
7
+ export declare const CustomButton: Story;
7
8
  export declare const Long: Story;
8
9
  export declare const Disabled: Story;
9
10
  export declare const Loading: Story;