@6thbridge/hexa 0.0.42 → 0.0.44

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.
@@ -1,5 +1,5 @@
1
1
   WARN  Issue while reading "/Users/joachim/.nvm/versions/node/v20.17.0/lib/node_modules/npmrc". EISDIR: illegal operation on a directory, read
2
2
 
3
- > @6thbridge/hexa@0.0.42 lint /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
3
+ > @6thbridge/hexa@0.0.43 lint /Users/joachim/Documents/dev/payfusion/payfusion-component-library/packages/6thbridge-hexa
4
4
  > eslint . --max-warnings 0
5
5
 
package/dist/index.d.mts CHANGED
@@ -6,9 +6,11 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
6
6
  import { VariantProps } from 'class-variance-authority';
7
7
  import * as RPNInput from 'react-phone-number-input';
8
8
  import * as DialogPrimitive from '@radix-ui/react-dialog';
9
+ import { DialogCloseProps } from '@radix-ui/react-dialog';
9
10
  import { OTPInputProps as OTPInputProps$1 } from 'react-otp-input';
10
11
  import * as PopoverPrimitive from '@radix-ui/react-popover';
11
12
  import { RowData, Row, Table as Table$1 } from '@tanstack/react-table';
13
+ import { Drawer as Drawer$1 } from 'vaul';
12
14
  import dayjs from 'dayjs';
13
15
  import { ClassValue } from 'clsx';
14
16
 
@@ -313,6 +315,30 @@ declare const LocaleSelector: ({ locale, onChange, locales, }: {
313
315
  locales?: LocaleOption[];
314
316
  }) => react_jsx_runtime.JSX.Element;
315
317
 
318
+ type DrawerRootType = React$1.ComponentProps<typeof Drawer$1.Root>;
319
+ declare const DrawerRoot: {
320
+ ({ shouldScaleBackground, ...props }: DrawerRootType): react_jsx_runtime.JSX.Element;
321
+ displayName: string;
322
+ };
323
+ declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
324
+ type DrawerPropsType = {
325
+ trigger?: React$1.ReactNode;
326
+ children: React$1.ReactNode;
327
+ title?: React$1.ReactNode;
328
+ description?: React$1.ReactNode;
329
+ footer?: React$1.ReactNode;
330
+ hideCloseButton?: boolean;
331
+ contentClassName?: string;
332
+ headerClassName?: string;
333
+ titleClassName?: string;
334
+ descriptionClassName?: string;
335
+ footerClassName?: string;
336
+ asChild?: boolean;
337
+ onOpenAutoFocus?: (e: Event) => void;
338
+ onCloseAutoFocus?: (e: Event) => void;
339
+ };
340
+ declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, onCloseAutoFocus, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => react_jsx_runtime.JSX.Element;
341
+
316
342
  declare const CurrencySymbolMap: Record<string, string>;
317
343
  interface FormatCurrencyOptions {
318
344
  convertToMajorCurrency?: boolean;
@@ -334,4 +360,4 @@ declare class DateAction {
334
360
 
335
361
  declare function cn(...inputs: ClassValue[]): string;
336
362
 
337
- export { AmountAction, Banner, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, LocaleSelector, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
363
+ export { AmountAction, Banner, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, LocaleSelector, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
package/dist/index.d.ts CHANGED
@@ -6,9 +6,11 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
6
6
  import { VariantProps } from 'class-variance-authority';
7
7
  import * as RPNInput from 'react-phone-number-input';
8
8
  import * as DialogPrimitive from '@radix-ui/react-dialog';
9
+ import { DialogCloseProps } from '@radix-ui/react-dialog';
9
10
  import { OTPInputProps as OTPInputProps$1 } from 'react-otp-input';
10
11
  import * as PopoverPrimitive from '@radix-ui/react-popover';
11
12
  import { RowData, Row, Table as Table$1 } from '@tanstack/react-table';
13
+ import { Drawer as Drawer$1 } from 'vaul';
12
14
  import dayjs from 'dayjs';
13
15
  import { ClassValue } from 'clsx';
14
16
 
@@ -313,6 +315,30 @@ declare const LocaleSelector: ({ locale, onChange, locales, }: {
313
315
  locales?: LocaleOption[];
314
316
  }) => react_jsx_runtime.JSX.Element;
315
317
 
318
+ type DrawerRootType = React$1.ComponentProps<typeof Drawer$1.Root>;
319
+ declare const DrawerRoot: {
320
+ ({ shouldScaleBackground, ...props }: DrawerRootType): react_jsx_runtime.JSX.Element;
321
+ displayName: string;
322
+ };
323
+ declare const DrawerClose: React$1.ForwardRefExoticComponent<DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
324
+ type DrawerPropsType = {
325
+ trigger?: React$1.ReactNode;
326
+ children: React$1.ReactNode;
327
+ title?: React$1.ReactNode;
328
+ description?: React$1.ReactNode;
329
+ footer?: React$1.ReactNode;
330
+ hideCloseButton?: boolean;
331
+ contentClassName?: string;
332
+ headerClassName?: string;
333
+ titleClassName?: string;
334
+ descriptionClassName?: string;
335
+ footerClassName?: string;
336
+ asChild?: boolean;
337
+ onOpenAutoFocus?: (e: Event) => void;
338
+ onCloseAutoFocus?: (e: Event) => void;
339
+ };
340
+ declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, onCloseAutoFocus, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => react_jsx_runtime.JSX.Element;
341
+
316
342
  declare const CurrencySymbolMap: Record<string, string>;
317
343
  interface FormatCurrencyOptions {
318
344
  convertToMajorCurrency?: boolean;
@@ -334,4 +360,4 @@ declare class DateAction {
334
360
 
335
361
  declare function cn(...inputs: ClassValue[]): string;
336
362
 
337
- export { AmountAction, Banner, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, LocaleSelector, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };
363
+ export { AmountAction, Banner, Button, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FlagComponent, FormLabel, type FormatCurrencyOptions, Input, Loader, LocaleSelector, OTPInput, PasswordInput, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, Select, Status, Table, type TablePaginationProps, Textarea, buttonVariants, cn };