@croquiscom/pds 2.3.0 → 2.4.1

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,20 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 2.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - dcd7ac8: DateRangePicker displayMode 속성 제어값 변경
8
+
9
+ - displayMode 'popover'인 경우 numberOfMonths는 최소 2개 이상 제한 추가
10
+ - displayMode 'bottomSheet'인 경우 currentMonth는 선택된 기간의 종료날짜로 달력으로 세팅하도록 수정
11
+
12
+ ## 2.4.0
13
+
14
+ ### Minor Changes
15
+
16
+ - c0a6b2c: Modal ContentProps scrollable 속성 추가
17
+
3
18
  ## 2.3.0
4
19
 
5
20
  ### Minor Changes
@@ -38,6 +38,7 @@ export interface DateRangePickerProps extends DatePickerBaseProps {
38
38
  /**
39
39
  * 지정해서 보여지는 개월의 개수를 임의로 조정할 수 있습니다.
40
40
  * - displayMode 'bottomSheet'인 경우 numberOfMonths는 1로 고정입니다.
41
+ * - displayMode 'popover'인 경우 numberOfMonths는 최소 2개 이상 이여야 합니다.
41
42
  * @default 2
42
43
  */
43
44
  numberOfMonths?: number;
@@ -6,6 +6,7 @@ export type ModalButtonProps = Omit<ButtonProps, 'onClick'>;
6
6
  export type ModalCancelReason = ModalBaseCancelReason;
7
7
  export interface ModalContentProps extends SpaceProps {
8
8
  maxHeight?: CSSValueWithLength;
9
+ scrollable?: boolean;
9
10
  }
10
11
  type LayoutHeightType = {
11
12
  header: number;
@@ -40,7 +41,8 @@ export interface ModalProps extends Omit<ModalOverlayBaseProps, 'onClose'> {
40
41
  /**
41
42
  * 바디 영역 콘텐츠 ModalContentProps를 통한 커스텀이 가능합니다.
42
43
  * - [SpaceProps](https://github.com/croquiscom/pds/blob/main/src/styles/space.ts)
43
- * - maxHeight
44
+ * - maxHeight: 콘텐츠 영역 maxHeight을 커스텀할 수 있습니다. 지정하지 않을 경우 안전여백내에서 계산된 자동 최대 maxHeight값이 적용됩니다.
45
+ * - scrollable: true일 경우 콘텐츠 영역에 overflow-y: auto값이 적용됩니다.
44
46
  */
45
47
  contentProps?: ModalContentProps;
46
48
  /**
@@ -18,3 +18,4 @@ export declare const FullScreen: ComponentStory<typeof Modal>;
18
18
  export declare const CustomFooterFullScreen: ComponentStory<typeof Modal>;
19
19
  export declare const AutoMaxHeight: ComponentStory<typeof Modal>;
20
20
  export declare const CustomMaxHeight: ComponentStory<typeof Modal>;
21
+ export declare const Scrollable: ComponentStory<typeof Modal>;