@croquiscom/pds 10.2.0 → 10.3.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,17 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 10.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 31b39a9: FloatingButton 클릭영역 설정 오류 수정
8
+
9
+ ## 10.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - dd52736: PageHeader내 SectionTitleProps 추가, 기존 children deprecated 안내
14
+
3
15
  ## 10.2.0
4
16
 
5
17
  ### Minor Changes
@@ -17,12 +17,12 @@ export interface ModalProps extends Omit<ModalOverlayBaseProps, 'onClose'> {
17
17
  title?: ReactNode;
18
18
  confirmText?: string;
19
19
  /**
20
- * [ButtonProps](https://storybook.kakaostyle.in/master/pds/?path=/docs/component-button--primary)를 confirmButton에 적용할 수 있습니다.
20
+ * [ButtonProps](https://storybook.kakaostyle.in/master/pds/?path=/docs/component-button-button--docs)를 confirmButton에 적용할 수 있습니다.
21
21
  */
22
22
  confirmButtonProps?: ModalButtonProps;
23
23
  cancelText?: string;
24
24
  /**
25
- * [ButtonProps](https://storybook.kakaostyle.in/master/pds/?path=/docs/component-button--primary)를 cancelButton에 적용할 수 있습니다.
25
+ * [ButtonProps](https://storybook.kakaostyle.in/master/pds/?path=/docs/component-button-button--docs)를 cancelButton에 적용할 수 있습니다.
26
26
  */
27
27
  cancelButtonProps?: ModalButtonProps;
28
28
  /**
@@ -1,8 +1,17 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
+ import { SectionTitleProps } from '../section-title';
2
3
  export interface PageHeaderProps {
3
4
  /** @default false */
4
5
  dense?: boolean;
5
6
  /** @default true */
6
7
  border?: boolean;
8
+ /** @deprecated 스펙아웃될 예정입니다. SectionTitle 삽입시 sectionTitleProps를 이용해주세요. */
9
+ children?: React.ReactNode;
10
+ /**
11
+ * [sectionTitleProps](https://storybook.kakaostyle.in/master/pds/?path=/docs/container-sectiontitle--docs)
12
+ * - PageHeader내 SectionTitle 주입이 필요할 경우 SectionTitle Props 정보를 전달하면 children 요소로써 자동 생성됩니다.
13
+ * - SectionTitle의 안전 여백은 PageHeader에서 사용시 자동 0으로 세팅되며, 필요시 SectionTitleProps에서 재정의할 수 있습니다.
14
+ */
15
+ sectionTitleProps?: SectionTitleProps;
7
16
  }
8
- export declare const PageHeader: ({ dense, border, children }: PropsWithChildren<PageHeaderProps>) => React.JSX.Element;
17
+ export declare const PageHeader: ({ dense, border, sectionTitleProps, children, }: PropsWithChildren<PageHeaderProps>) => React.JSX.Element;
@@ -6,4 +6,5 @@ type Story = StoryObj<typeof PageHeader>;
6
6
  export declare const Base: Story;
7
7
  export declare const Dense: Story;
8
8
  export declare const WithSectionTitleVertical: Story;
9
+ export declare const WithSectionTitlePropsCustom: Story;
9
10
  export declare const WithLineTab: Story;