@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 +12 -0
- package/dist/components/button/PopoverButton.d.ts +2 -2
- package/dist/components/button/PopoverButton.stories.d.ts +1 -0
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugin/generate_table_code/plugin.d.ts +1 -0
- package/dist/plugin/generate_table_code/utils.d.ts +21 -0
- package/package.json +3 -1
- package/{manifest.json → plugin/generate_svg/manifest.json} +2 -2
- package/plugin/generate_table_code/manifest.json +32 -0
- package/plugin/generate_table_code/plugin.js +1 -0
- package/scripts/figma-import-icons.js +2 -2
- /package/dist/plugin/{hook → generate_svg/hook}/useGithubClient.d.ts +0 -0
- /package/dist/plugin/{plugin.d.ts → generate_svg/plugin.d.ts} +0 -0
- /package/dist/plugin/{types.d.ts → generate_svg/types.d.ts} +0 -0
- /package/dist/plugin/{ui → generate_svg/ui}/index.d.ts +0 -0
- /package/dist/plugin/{utils.d.ts → generate_svg/utils.d.ts} +0 -0
- /package/plugin/{plugin.js → generate_svg/plugin.js} +0 -0
- /package/plugin/{ui.html → generate_svg/ui.html} +0 -0
- /package/plugin/{ui.js → generate_svg/ui.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -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 {
|
|
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?:
|
|
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;
|