@croquiscom/pds 0.30.3 → 0.31.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @croquiscom/pds
2
2
 
3
+ ## 0.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0c8524a: NormalBanner 컴포넌트 추가
8
+
3
9
  ## 0.30.3
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ export type NormalBannerKind = 'info' | 'error';
3
+ export interface NormalBannerProps {
4
+ className?: string;
5
+ /**
6
+ * @default info
7
+ */
8
+ kind?: NormalBannerKind;
9
+ title: string;
10
+ message: ReactNode;
11
+ }
12
+ export declare const NormalBanner: ({ className, kind, title, message }: NormalBannerProps) => JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { ComponentMeta } from '@storybook/react';
3
+ declare const _default: ComponentMeta<({ className, kind, title, message }: import("./NormalBanner").NormalBannerProps) => JSX.Element>;
4
+ export default _default;
5
+ export declare const Base: any;
6
+ export declare const Kind: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './NormalBanner';
@@ -0,0 +1,3 @@
1
+ import { NormalBannerKind } from './NormalBanner';
2
+ export declare const banner_color_css: Record<NormalBannerKind, string>;
3
+ export declare const banner_background_color_css: Record<NormalBannerKind, string>;
@@ -20,3 +20,4 @@ export * from './notification';
20
20
  export * from './bottom-sheet';
21
21
  export * from './modal';
22
22
  export * from './provider';
23
+ export * from './banner';