@6thbridge/hexa 0.0.37 → 0.0.38

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.mts CHANGED
@@ -286,6 +286,21 @@ type Props = {
286
286
  };
287
287
  declare const DevBanner: (props: Props) => react_jsx_runtime.JSX.Element | null;
288
288
 
289
+ interface BannerTypes {
290
+ type?: "normal" | "info" | "warning" | "success" | "critical";
291
+ }
292
+ interface BannerProps extends BannerTypes {
293
+ title?: React.ReactNode;
294
+ description?: React.ReactNode;
295
+ showIcon?: boolean;
296
+ showCloseButton?: boolean;
297
+ bottomBlock?: React.ReactNode;
298
+ sideBlock?: React.ReactNode;
299
+ open: boolean;
300
+ onClose?: () => void;
301
+ }
302
+ declare const Banner: ({ type, title, description, open, showCloseButton, bottomBlock, sideBlock, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
303
+
289
304
  declare const CurrencySymbolMap: Record<string, string>;
290
305
  interface FormatCurrencyOptions {
291
306
  convertToMajorCurrency?: boolean;
@@ -307,4 +322,4 @@ declare class DateAction {
307
322
 
308
323
  declare function cn(...inputs: ClassValue[]): string;
309
324
 
310
- export { AmountAction, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
325
+ export { AmountAction, Banner, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
package/dist/index.d.ts CHANGED
@@ -286,6 +286,21 @@ type Props = {
286
286
  };
287
287
  declare const DevBanner: (props: Props) => react_jsx_runtime.JSX.Element | null;
288
288
 
289
+ interface BannerTypes {
290
+ type?: "normal" | "info" | "warning" | "success" | "critical";
291
+ }
292
+ interface BannerProps extends BannerTypes {
293
+ title?: React.ReactNode;
294
+ description?: React.ReactNode;
295
+ showIcon?: boolean;
296
+ showCloseButton?: boolean;
297
+ bottomBlock?: React.ReactNode;
298
+ sideBlock?: React.ReactNode;
299
+ open: boolean;
300
+ onClose?: () => void;
301
+ }
302
+ declare const Banner: ({ type, title, description, open, showCloseButton, bottomBlock, sideBlock, onClose, showIcon, }: BannerProps) => react_jsx_runtime.JSX.Element | null;
303
+
289
304
  declare const CurrencySymbolMap: Record<string, string>;
290
305
  interface FormatCurrencyOptions {
291
306
  convertToMajorCurrency?: boolean;
@@ -307,4 +322,4 @@ declare class DateAction {
307
322
 
308
323
  declare function cn(...inputs: ClassValue[]): string;
309
324
 
310
- export { AmountAction, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
325
+ export { AmountAction, Banner, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };