@croquiscom/pds 4.1.0 → 4.1.2

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
+ ## 4.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 8c4ae92: - ConfirmModal이 연속해서 사용하는 경우 후속 모달이 사라지는 이슈 수정 - fixes #406
8
+ - Message, Notification, Toast와 DatePicker 내 순환참조 이슈 수정
9
+ - rollup babelHelper 옵션의 명시적 사용 권고에 따라 수정
10
+
11
+ ## 4.1.1
12
+
13
+ ### Patch Changes
14
+
15
+ - de14a98: DataRangePicker showTodayButton optional
16
+ - 1e8df98: date/dateRangePicker, enter 키 입력
17
+
3
18
  ## 4.1.0
4
19
 
5
20
  ### Minor Changes
@@ -6,9 +6,6 @@ import { InputSize } from '../input/types';
6
6
  export type DisplayTimeFormat = 'hourMinute' | 'hourMinuteSecond';
7
7
  export type DisplayMode = 'popover' | 'bottomSheet';
8
8
  export type CaptionLabelType = 'month' | 'year';
9
- export declare const DATE_FORMAT = "yyyy.MM.dd";
10
- export declare const DATE_HOUR_MINUTE_FORMAT = "yyyy.MM.dd HH:mm";
11
- export declare const DATE_HOUR_MINUTE_SECOND_FORMAT = "yyyy.MM.dd HH:mm:ss";
12
9
  export interface DatePickerBaseProps {
13
10
  /**
14
11
  * Input 너비를 지정할 수 있습니다.
@@ -20,6 +20,13 @@ export interface DateRangePickerProps extends DatePickerBaseProps {
20
20
  * @default false
21
21
  */
22
22
  showRadioGroupDatePreset?: boolean;
23
+ /**
24
+ * TodayButton 사용 유무
25
+ * - displayMode 'bottomSheet' 인 경우 false
26
+ * - showDatePreset true 인 경우 false
27
+ * @default true
28
+ */
29
+ showTodayButton?: boolean;
23
30
  /**
24
31
  * [Dates Type](https://github.com/gpbl/react-day-picker/blob/master/packages/react-day-picker/src/types/Matchers.ts#L73)
25
32
  */
@@ -51,4 +58,4 @@ export interface DateRangePickerProps extends DatePickerBaseProps {
51
58
  */
52
59
  autoCloseable?: boolean;
53
60
  }
54
- export declare const DateRangePicker: ({ width, error, disabled, className, size, showDatePreset, showRadioGroupDatePreset, dates, maxDate, minDate, maxRange, numberOfMonths: numberOfMonthsProps, showRemoveButton, autoCloseable, opened: openProp, customDatePreset, displayMode, onOpen, onClose, onChange, }: DateRangePickerProps) => JSX.Element;
61
+ export declare const DateRangePicker: ({ width, error, disabled, className, size, showDatePreset, showRadioGroupDatePreset, showTodayButton, dates, maxDate, minDate, maxRange, numberOfMonths: numberOfMonthsProps, showRemoveButton, autoCloseable, opened: openProp, customDatePreset, displayMode, onOpen, onClose, onChange, }: DateRangePickerProps) => JSX.Element;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ComponentStory, ComponentMeta } from '@storybook/react';
3
3
  import { DateRangePicker } from './DateRangePicker';
4
- declare const _default: ComponentMeta<({ width, error, disabled, className, size, showDatePreset, showRadioGroupDatePreset, dates, maxDate, minDate, maxRange, numberOfMonths: numberOfMonthsProps, showRemoveButton, autoCloseable, opened: openProp, customDatePreset, displayMode, onOpen, onClose, onChange, }: import("./DateRangePicker").DateRangePickerProps) => JSX.Element>;
4
+ declare const _default: ComponentMeta<({ width, error, disabled, className, size, showDatePreset, showRadioGroupDatePreset, showTodayButton, dates, maxDate, minDate, maxRange, numberOfMonths: numberOfMonthsProps, showRemoveButton, autoCloseable, opened: openProp, customDatePreset, displayMode, onOpen, onClose, onChange, }: import("./DateRangePicker").DateRangePickerProps) => JSX.Element>;
5
5
  export default _default;
6
6
  export declare const Base: any;
7
7
  export declare const Disabled: any;
@@ -0,0 +1,3 @@
1
+ export declare const DATE_FORMAT = "yyyy.MM.dd";
2
+ export declare const DATE_HOUR_MINUTE_FORMAT = "yyyy.MM.dd HH:mm";
3
+ export declare const DATE_HOUR_MINUTE_SECOND_FORMAT = "yyyy.MM.dd HH:mm:ss";
@@ -1,2 +1,3 @@
1
1
  export * from './DatePicker';
2
2
  export * from './DateRangePicker';
3
+ export * from './constants';
@@ -1,6 +1,6 @@
1
1
  import { FunctionComponent } from 'react';
2
- import { NotificationComponentProps } from '../notification';
3
- import { ToastComponentProps } from '../toast';
2
+ import { NotificationComponentProps } from '../notification/Notification';
3
+ import { ToastComponentProps } from '../toast/Toast';
4
4
  import type { MessageDirection, MessagePositionType } from './types';
5
5
  export interface MessageContainerProps {
6
6
  /**
@@ -5,3 +5,4 @@ declare const _default: ComponentMeta<({ title, width, zIndex, dense, fill, text
5
5
  export default _default;
6
6
  export declare const Base: ComponentStory<typeof ConfirmModal>;
7
7
  export declare const Dense: ComponentStory<typeof ConfirmModal>;
8
+ export declare const ContinuosOpen: ComponentStory<typeof ConfirmModal>;