@croquiscom/pds 12.6.1 → 12.7.0
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 +6 -0
- package/dist/container/page-header/PageHeader.d.ts +3 -1
- package/dist/container/page-header/PageHeader.stories.d.ts +1 -0
- package/dist/container/page-header/PageHeader.test.stories.d.ts +6 -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/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { SectionTitleProps } from '../section-title';
|
|
3
|
+
import { BreadcrumbProps } from '../../components';
|
|
3
4
|
export interface PageHeaderProps {
|
|
4
5
|
/** @default false */
|
|
5
6
|
dense?: boolean;
|
|
@@ -13,5 +14,6 @@ export interface PageHeaderProps {
|
|
|
13
14
|
* - SectionTitle의 안전 여백은 PageHeader에서 사용시 자동 0으로 세팅되며, 필요시 SectionTitleProps에서 재정의할 수 있습니다.
|
|
14
15
|
*/
|
|
15
16
|
sectionTitleProps?: SectionTitleProps;
|
|
17
|
+
breadcrumbProps?: BreadcrumbProps;
|
|
16
18
|
}
|
|
17
|
-
export declare const PageHeader: ({ dense, border, sectionTitleProps, children, }: PropsWithChildren<PageHeaderProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const PageHeader: ({ dense, border, sectionTitleProps, breadcrumbProps, children, }: PropsWithChildren<PageHeaderProps>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PageHeader } from './PageHeader';
|
|
3
|
+
declare const meta: Meta<typeof PageHeader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof PageHeader>;
|
|
6
|
+
export declare const WithSectionTitleAndBreadcrumbPropsCustom: Story;
|