@croquiscom/pds 0.42.2 → 0.42.3
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 +8 -0
- package/dist/components/banner/NormalBanner.d.ts +1 -1
- package/dist/components/divider/Divider.d.ts +5 -0
- package/dist/components/dropdown/Dropdown.stories.d.ts +1 -1
- package/dist/components/modal/Modal.stories.d.ts +1 -0
- package/dist/components/popover/Popover.stories.d.ts +4 -1
- package/dist/components/radio/BoxRadioGroup.stories.d.ts +11 -0
- package/dist/components/radio/RadioGroup.d.ts +6 -2
- package/dist/components/radio/RadioGroup.stories.d.ts +0 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @croquiscom/pds
|
|
2
2
|
|
|
3
|
+
## 0.42.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a63439f: Popover Placement 지정시 autoPlace 대체하도록 수정, Modal onKeyDown 이벤트 버블링 제거
|
|
8
|
+
- d639c36: feat: NormalBanner message prop을 optional로 수정
|
|
9
|
+
- 45104ba: RadioGroup Box 타입 스타일 변경, Divider length 속성 추가
|
|
10
|
+
|
|
3
11
|
## 0.42.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -8,6 +8,11 @@ export interface DividerProps {
|
|
|
8
8
|
spacing?: CSSValueWithLength;
|
|
9
9
|
/** @default 'small' */
|
|
10
10
|
size?: DividerSize;
|
|
11
|
+
/**
|
|
12
|
+
* @default '100%'
|
|
13
|
+
* @desc 지정되지 않을 경우 horizontal 일경우 width 값이, vertical 일경우 height값이 100%로 고정됩니다.
|
|
14
|
+
*/
|
|
15
|
+
length?: CSSValueWithLength;
|
|
11
16
|
}
|
|
12
17
|
export declare const Divider: import("@emotion/styled").StyledComponent<{
|
|
13
18
|
theme?: import("@emotion/react").Theme;
|
|
@@ -6,6 +6,6 @@ export default _default;
|
|
|
6
6
|
export declare const Base: any;
|
|
7
7
|
export declare const Disabled: any;
|
|
8
8
|
export declare const DisabledOptionItem: any;
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const CustomMaxHeight: any;
|
|
10
10
|
export declare const WithIcon: ComponentStory<typeof Dropdown>;
|
|
11
11
|
export declare const Controlled: ComponentStory<typeof Dropdown>;
|
|
@@ -12,6 +12,7 @@ export declare const ControlledCancelEvent: ComponentStory<typeof Modal>;
|
|
|
12
12
|
export declare const CustomFooter: ComponentStory<typeof Modal>;
|
|
13
13
|
export declare const CustomContent: ComponentStory<typeof Modal>;
|
|
14
14
|
export declare const NestingModal: ComponentStory<typeof Modal>;
|
|
15
|
+
export declare const NestingChildModal: ComponentStory<typeof Modal>;
|
|
15
16
|
export declare const NestingConfirm: ComponentStory<typeof Modal>;
|
|
16
17
|
export declare const FullScreen: ComponentStory<typeof Modal>;
|
|
17
18
|
export declare const MaxHeight: ComponentStory<typeof Modal>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ComponentMeta } from '@storybook/react';
|
|
2
|
+
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
+
import { Popover } from './Popover';
|
|
3
4
|
declare const _default: ComponentMeta<React.FC<import("./Popover").PopoverProps>>;
|
|
4
5
|
export default _default;
|
|
5
6
|
export declare const Base: any;
|
|
6
7
|
export declare const HoverIcon: () => JSX.Element;
|
|
8
|
+
export declare const Placement: ComponentStory<typeof Popover>;
|
|
7
9
|
export declare const ContentWithCloseAction: () => JSX.Element;
|
|
10
|
+
export declare const HidingFullyClippedReferenceElements: () => JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ComponentMeta } from '@storybook/react';
|
|
3
|
+
declare const _default: ComponentMeta<(<RadioValue>(props: import("./RadioGroup").RadioGroupProps<RadioValue> & {
|
|
4
|
+
ref?: React.Ref<import("./RadioGroup").RadioGroupInstance<RadioValue>>;
|
|
5
|
+
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>)>;
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const Base: any;
|
|
8
|
+
export declare const Disabled: any;
|
|
9
|
+
export declare const DisabledItem: any;
|
|
10
|
+
export declare const SelectedDisabled: any;
|
|
11
|
+
export declare const Controlled: () => JSX.Element;
|
|
@@ -13,11 +13,15 @@ export interface RadioGroupProps<RadioValue> extends Omit<React.HTMLAttributes<H
|
|
|
13
13
|
name?: string;
|
|
14
14
|
items: RadioItem<RadioValue>[];
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* radioItmType - box 일경우 spacing 속성은 미적용됩니다.
|
|
17
|
+
* @default 24
|
|
18
18
|
*/
|
|
19
19
|
spacing?: number;
|
|
20
20
|
disabled?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* radioItmType - box 일경우 align 속성은 'horizontal' 고정입니다.
|
|
23
|
+
* @default horizontal
|
|
24
|
+
*/
|
|
21
25
|
align?: AlignType;
|
|
22
26
|
radioItemType?: RadioItemType;
|
|
23
27
|
keyExtractor?: (item: RadioItem<RadioValue>, index: number) => string | number;
|