@6thbridge/hexa 0.0.0-pr84-173 → 0.0.0-pr86-175
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 +36 -2
- package/dist/index.d.ts +36 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/output.css +62 -0
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -5,6 +5,7 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
5
5
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
6
6
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
8
9
|
import * as RPNInput from 'react-phone-number-input';
|
|
9
10
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
10
11
|
import { DialogCloseProps } from '@radix-ui/react-dialog';
|
|
@@ -96,6 +97,38 @@ interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonE
|
|
|
96
97
|
}
|
|
97
98
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
98
99
|
|
|
100
|
+
type SplitButtonSize = VariantProps<typeof buttonVariants>["size"];
|
|
101
|
+
type SplitButtonItem = {
|
|
102
|
+
value?: string;
|
|
103
|
+
label: React$1.ReactNode;
|
|
104
|
+
icon?: React$1.ReactNode;
|
|
105
|
+
onSelect?: () => void;
|
|
106
|
+
disabled?: boolean;
|
|
107
|
+
destructive?: boolean;
|
|
108
|
+
separatorBefore?: boolean;
|
|
109
|
+
};
|
|
110
|
+
interface SplitButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect"> {
|
|
111
|
+
items: SplitButtonItem[];
|
|
112
|
+
variant?: ButtonVariant;
|
|
113
|
+
size?: SplitButtonSize;
|
|
114
|
+
isLoading?: boolean;
|
|
115
|
+
leftNode?: React$1.ReactNode;
|
|
116
|
+
menuAlign?: DropdownMenuPrimitive.DropdownMenuContentProps["align"];
|
|
117
|
+
menuSide?: DropdownMenuPrimitive.DropdownMenuContentProps["side"];
|
|
118
|
+
menuTriggerLabel?: string;
|
|
119
|
+
buttonClassName?: string;
|
|
120
|
+
triggerClassName?: string;
|
|
121
|
+
contentClassName?: string;
|
|
122
|
+
open?: boolean;
|
|
123
|
+
onOpenChange?: (open: boolean) => void;
|
|
124
|
+
modal?: boolean;
|
|
125
|
+
id?: string;
|
|
126
|
+
}
|
|
127
|
+
declare const SplitButton: {
|
|
128
|
+
({ items, variant, size, isLoading, leftNode, children, disabled, className, buttonClassName, triggerClassName, contentClassName, menuAlign, menuSide, menuTriggerLabel, open, onOpenChange, modal, id, ...props }: SplitButtonProps): React$1.JSX.Element;
|
|
129
|
+
displayName: string;
|
|
130
|
+
};
|
|
131
|
+
|
|
99
132
|
declare const inputVariants: (props?: ({
|
|
100
133
|
status?: "default" | "error" | "neutral" | "loading" | "prefilled" | null | undefined;
|
|
101
134
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
@@ -376,6 +409,7 @@ type DrawerPropsType = {
|
|
|
376
409
|
description?: React$1.ReactNode;
|
|
377
410
|
footer?: React$1.ReactNode;
|
|
378
411
|
hideCloseButton?: boolean;
|
|
412
|
+
full?: boolean;
|
|
379
413
|
contentClassName?: string;
|
|
380
414
|
drawerContentClassName?: string;
|
|
381
415
|
headerClassName?: string;
|
|
@@ -387,7 +421,7 @@ type DrawerPropsType = {
|
|
|
387
421
|
onCloseAutoFocus?: (e: Event) => void;
|
|
388
422
|
modal?: boolean;
|
|
389
423
|
};
|
|
390
|
-
declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
|
|
424
|
+
declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, full, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
|
|
391
425
|
|
|
392
426
|
type LocaleOption = {
|
|
393
427
|
key: string;
|
|
@@ -948,4 +982,4 @@ declare const TagsInput: ({ value, onChange, options, label, error, placeholder,
|
|
|
948
982
|
|
|
949
983
|
declare function cn(...inputs: ClassValue[]): string;
|
|
950
984
|
|
|
951
|
-
export { Accordion, type AccordionItemType, type AccordionProps, AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, type CountryProps, type CountrySelectOption$1 as CountrySelectOption, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, type FilterFieldProps, type FilterListItem, type FilterListOptions, FilterPopover, FlagComponent, FormLabel, type FormatCurrencyOptions, HasResourcePermission, Input, Loader, LocaleSelector, MultiSelect, type MultiSelectDataType, MultiSelectTrigger, OTPInput, PageDataToolbar, Pagination, PasswordInput, PermissionsContext, PermissionsProvider, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupItem, type ResourcePermission, type ResourcePermissionProps, type ResourcePermissions, RichTextEditor, ScrollArea, Select, Sidebar, Status, StringAction, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, type TagOption, TagsInput, type TagsInputProps, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
|
|
985
|
+
export { Accordion, type AccordionItemType, type AccordionProps, AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, type CountryProps, type CountrySelectOption$1 as CountrySelectOption, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, type FilterFieldProps, type FilterListItem, type FilterListOptions, FilterPopover, FlagComponent, FormLabel, type FormatCurrencyOptions, HasResourcePermission, Input, Loader, LocaleSelector, MultiSelect, type MultiSelectDataType, MultiSelectTrigger, OTPInput, PageDataToolbar, Pagination, PasswordInput, PermissionsContext, PermissionsProvider, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupItem, type ResourcePermission, type ResourcePermissionProps, type ResourcePermissions, RichTextEditor, ScrollArea, Select, Sidebar, SplitButton, type SplitButtonItem, type SplitButtonProps, Status, StringAction, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, type TagOption, TagsInput, type TagsInputProps, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
5
5
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
6
6
|
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
7
7
|
import { VariantProps } from 'class-variance-authority';
|
|
8
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
8
9
|
import * as RPNInput from 'react-phone-number-input';
|
|
9
10
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
10
11
|
import { DialogCloseProps } from '@radix-ui/react-dialog';
|
|
@@ -96,6 +97,38 @@ interface ButtonProps extends DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonE
|
|
|
96
97
|
}
|
|
97
98
|
declare const Button: React$1.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
98
99
|
|
|
100
|
+
type SplitButtonSize = VariantProps<typeof buttonVariants>["size"];
|
|
101
|
+
type SplitButtonItem = {
|
|
102
|
+
value?: string;
|
|
103
|
+
label: React$1.ReactNode;
|
|
104
|
+
icon?: React$1.ReactNode;
|
|
105
|
+
onSelect?: () => void;
|
|
106
|
+
disabled?: boolean;
|
|
107
|
+
destructive?: boolean;
|
|
108
|
+
separatorBefore?: boolean;
|
|
109
|
+
};
|
|
110
|
+
interface SplitButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect"> {
|
|
111
|
+
items: SplitButtonItem[];
|
|
112
|
+
variant?: ButtonVariant;
|
|
113
|
+
size?: SplitButtonSize;
|
|
114
|
+
isLoading?: boolean;
|
|
115
|
+
leftNode?: React$1.ReactNode;
|
|
116
|
+
menuAlign?: DropdownMenuPrimitive.DropdownMenuContentProps["align"];
|
|
117
|
+
menuSide?: DropdownMenuPrimitive.DropdownMenuContentProps["side"];
|
|
118
|
+
menuTriggerLabel?: string;
|
|
119
|
+
buttonClassName?: string;
|
|
120
|
+
triggerClassName?: string;
|
|
121
|
+
contentClassName?: string;
|
|
122
|
+
open?: boolean;
|
|
123
|
+
onOpenChange?: (open: boolean) => void;
|
|
124
|
+
modal?: boolean;
|
|
125
|
+
id?: string;
|
|
126
|
+
}
|
|
127
|
+
declare const SplitButton: {
|
|
128
|
+
({ items, variant, size, isLoading, leftNode, children, disabled, className, buttonClassName, triggerClassName, contentClassName, menuAlign, menuSide, menuTriggerLabel, open, onOpenChange, modal, id, ...props }: SplitButtonProps): React$1.JSX.Element;
|
|
129
|
+
displayName: string;
|
|
130
|
+
};
|
|
131
|
+
|
|
99
132
|
declare const inputVariants: (props?: ({
|
|
100
133
|
status?: "default" | "error" | "neutral" | "loading" | "prefilled" | null | undefined;
|
|
101
134
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
@@ -376,6 +409,7 @@ type DrawerPropsType = {
|
|
|
376
409
|
description?: React$1.ReactNode;
|
|
377
410
|
footer?: React$1.ReactNode;
|
|
378
411
|
hideCloseButton?: boolean;
|
|
412
|
+
full?: boolean;
|
|
379
413
|
contentClassName?: string;
|
|
380
414
|
drawerContentClassName?: string;
|
|
381
415
|
headerClassName?: string;
|
|
@@ -387,7 +421,7 @@ type DrawerPropsType = {
|
|
|
387
421
|
onCloseAutoFocus?: (e: Event) => void;
|
|
388
422
|
modal?: boolean;
|
|
389
423
|
};
|
|
390
|
-
declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
|
|
424
|
+
declare const Drawer: ({ trigger, children, open, onOpenChange, hideCloseButton, full, footer, title, description, contentClassName, headerClassName, titleClassName, descriptionClassName, footerClassName, asChild, onOpenAutoFocus, drawerContentClassName, onCloseAutoFocus, id, modal, }: Omit<DrawerRootType, "value"> & DrawerPropsType) => React$1.JSX.Element;
|
|
391
425
|
|
|
392
426
|
type LocaleOption = {
|
|
393
427
|
key: string;
|
|
@@ -948,4 +982,4 @@ declare const TagsInput: ({ value, onChange, options, label, error, placeholder,
|
|
|
948
982
|
|
|
949
983
|
declare function cn(...inputs: ClassValue[]): string;
|
|
950
984
|
|
|
951
|
-
export { Accordion, type AccordionItemType, type AccordionProps, AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, type CountryProps, type CountrySelectOption$1 as CountrySelectOption, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, type FilterFieldProps, type FilterListItem, type FilterListOptions, FilterPopover, FlagComponent, FormLabel, type FormatCurrencyOptions, HasResourcePermission, Input, Loader, LocaleSelector, MultiSelect, type MultiSelectDataType, MultiSelectTrigger, OTPInput, PageDataToolbar, Pagination, PasswordInput, PermissionsContext, PermissionsProvider, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupItem, type ResourcePermission, type ResourcePermissionProps, type ResourcePermissions, RichTextEditor, ScrollArea, Select, Sidebar, Status, StringAction, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, type TagOption, TagsInput, type TagsInputProps, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
|
|
985
|
+
export { Accordion, type AccordionItemType, type AccordionProps, AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, type CountryProps, type CountrySelectOption$1 as CountrySelectOption, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, type FilterFieldProps, type FilterListItem, type FilterListOptions, FilterPopover, FlagComponent, FormLabel, type FormatCurrencyOptions, HasResourcePermission, Input, Loader, LocaleSelector, MultiSelect, type MultiSelectDataType, MultiSelectTrigger, OTPInput, PageDataToolbar, Pagination, PasswordInput, PermissionsContext, PermissionsProvider, PhoneInput, Popover, PopoverContent, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupItem, type ResourcePermission, type ResourcePermissionProps, type ResourcePermissions, RichTextEditor, ScrollArea, Select, Sidebar, SplitButton, type SplitButtonItem, type SplitButtonProps, Status, StringAction, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, type TagOption, TagsInput, type TagsInputProps, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
|