@sendoutcards/quantum-design-ui 2.0.2 → 2.0.4
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/dist/index.d.ts +9 -2
- package/dist/index.js +1575 -1514
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -252,14 +252,14 @@ export declare type BadgeProps = {
|
|
|
252
252
|
color?: TextColor;
|
|
253
253
|
};
|
|
254
254
|
|
|
255
|
-
export declare const Banner: ({ isOutlined, ...props }: BannerProps) => JSX_2.Element;
|
|
255
|
+
export declare const Banner: ({ isOutlined, borderRadius, ...props }: BannerProps) => JSX_2.Element;
|
|
256
256
|
|
|
257
257
|
declare type BannerDetail = {
|
|
258
258
|
message: string;
|
|
259
259
|
icon?: IconType;
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export declare type BannerProps = BannerWithTitle | BannerWithChildren;
|
|
262
|
+
export declare type BannerProps = BannerWithTitle | BannerWithTitleAndChildren | BannerWithChildren;
|
|
263
263
|
|
|
264
264
|
declare type BannerWithChildren = BaseBannerProps & {
|
|
265
265
|
children: default_2.ReactNode;
|
|
@@ -271,6 +271,11 @@ declare type BannerWithTitle = BaseBannerProps & {
|
|
|
271
271
|
children?: never;
|
|
272
272
|
};
|
|
273
273
|
|
|
274
|
+
declare type BannerWithTitleAndChildren = BaseBannerProps & {
|
|
275
|
+
bannerTitle: BannerDetail;
|
|
276
|
+
children: default_2.ReactNode;
|
|
277
|
+
};
|
|
278
|
+
|
|
274
279
|
export declare const Bar: FC<BarProps>;
|
|
275
280
|
|
|
276
281
|
export declare type BarProps = {
|
|
@@ -284,6 +289,8 @@ export declare type BarProps = {
|
|
|
284
289
|
declare type BaseBannerProps = {
|
|
285
290
|
status: StatusType;
|
|
286
291
|
isOutlined?: boolean;
|
|
292
|
+
isCollapsable?: boolean;
|
|
293
|
+
borderRadius?: BRUnion;
|
|
287
294
|
onClose?: () => void;
|
|
288
295
|
};
|
|
289
296
|
|