@tetrascience-npm/tetrascience-react-ui 0.5.0-beta.46.1 → 0.5.0-beta.48.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/dist/index.d.ts CHANGED
@@ -242,6 +242,18 @@ export declare const badgeVariants: (props?: ({
242
242
  variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | "info" | "positive" | "warning" | null | undefined;
243
243
  } & ClassProp) | undefined) => string;
244
244
 
245
+ export declare function Banner({ variant, title, description, action, dismissible, onDismiss, className, children, role, "aria-live": ariaLive, ...props }: BannerProps): JSX.Element;
246
+
247
+ export declare type BannerProps = React_2.ComponentProps<"div"> & VariantProps<typeof bannerVariants> & DismissibleProps & {
248
+ title?: React_2.ReactNode;
249
+ description?: React_2.ReactNode;
250
+ action?: React_2.ReactNode;
251
+ };
252
+
253
+ export declare const bannerVariants: (props?: ({
254
+ variant?: "destructive" | "info" | "positive" | "warning" | null | undefined;
255
+ } & ClassProp) | undefined) => string;
256
+
245
257
  export declare interface BarDataSeries {
246
258
  x: number[];
247
259
  y: number[];
@@ -1181,6 +1193,14 @@ export declare function DialogTitle({ className, ...props }: React_2.ComponentPr
1181
1193
 
1182
1194
  export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof Dialog_2.Trigger>): JSX.Element;
1183
1195
 
1196
+ declare type DismissibleProps = {
1197
+ dismissible: true;
1198
+ onDismiss: () => void;
1199
+ } | {
1200
+ dismissible?: false;
1201
+ onDismiss?: never;
1202
+ };
1203
+
1184
1204
  export declare const DotPlot: default_2.FC<DotPlotProps>;
1185
1205
 
1186
1206
  export declare interface DotPlotDataSeries {