@6thbridge/hexa 0.0.0-pr74-131 → 0.0.0-pr76-133
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 +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/dist/output.css +12 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -798,6 +798,33 @@ type RichTextEditorProps = {
|
|
|
798
798
|
*/
|
|
799
799
|
declare const RichTextEditor: ({ label, helpText, error, value, onChange, optional, isRequired, extensions, editorClassName, wrapperClassName, controls, extraMenuNodes, placeholder, }: RichTextEditorProps) => React$1.JSX.Element | null;
|
|
800
800
|
|
|
801
|
+
type TagOption = {
|
|
802
|
+
value: string;
|
|
803
|
+
label: string;
|
|
804
|
+
variant?: string;
|
|
805
|
+
disabled?: boolean;
|
|
806
|
+
[key: string]: unknown;
|
|
807
|
+
};
|
|
808
|
+
interface TagsInputProps {
|
|
809
|
+
value: TagOption[];
|
|
810
|
+
onChange: (value: TagOption[]) => void;
|
|
811
|
+
options?: TagOption[];
|
|
812
|
+
label?: string;
|
|
813
|
+
error?: string;
|
|
814
|
+
placeholder?: string;
|
|
815
|
+
description?: React$1.ReactNode;
|
|
816
|
+
showAsterisk?: boolean;
|
|
817
|
+
disabled?: boolean;
|
|
818
|
+
isLoading?: boolean;
|
|
819
|
+
allowCreate?: boolean;
|
|
820
|
+
renderTag?: (tag: TagOption, remove: () => void) => React$1.ReactNode;
|
|
821
|
+
renderOption?: (option: TagOption, selected: boolean) => React$1.ReactNode;
|
|
822
|
+
validateTag?: (input: string) => boolean;
|
|
823
|
+
onCreate?: (input: string) => TagOption;
|
|
824
|
+
maxTags?: number;
|
|
825
|
+
}
|
|
826
|
+
declare const TagsInput: ({ value, onChange, options, label, error, placeholder, description, showAsterisk, disabled, isLoading, allowCreate, renderTag, renderOption, validateTag, onCreate, maxTags, }: TagsInputProps) => React$1.JSX.Element;
|
|
827
|
+
|
|
801
828
|
declare const CurrencySymbolMap: Record<string, string>;
|
|
802
829
|
interface FormatCurrencyOptions {
|
|
803
830
|
convertToMajorCurrency?: boolean;
|
|
@@ -819,4 +846,4 @@ declare class DateAction {
|
|
|
819
846
|
|
|
820
847
|
declare function cn(...inputs: ClassValue[]): string;
|
|
821
848
|
|
|
822
|
-
export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, 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, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
|
|
849
|
+
export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, 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, 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
|
@@ -798,6 +798,33 @@ type RichTextEditorProps = {
|
|
|
798
798
|
*/
|
|
799
799
|
declare const RichTextEditor: ({ label, helpText, error, value, onChange, optional, isRequired, extensions, editorClassName, wrapperClassName, controls, extraMenuNodes, placeholder, }: RichTextEditorProps) => React$1.JSX.Element | null;
|
|
800
800
|
|
|
801
|
+
type TagOption = {
|
|
802
|
+
value: string;
|
|
803
|
+
label: string;
|
|
804
|
+
variant?: string;
|
|
805
|
+
disabled?: boolean;
|
|
806
|
+
[key: string]: unknown;
|
|
807
|
+
};
|
|
808
|
+
interface TagsInputProps {
|
|
809
|
+
value: TagOption[];
|
|
810
|
+
onChange: (value: TagOption[]) => void;
|
|
811
|
+
options?: TagOption[];
|
|
812
|
+
label?: string;
|
|
813
|
+
error?: string;
|
|
814
|
+
placeholder?: string;
|
|
815
|
+
description?: React$1.ReactNode;
|
|
816
|
+
showAsterisk?: boolean;
|
|
817
|
+
disabled?: boolean;
|
|
818
|
+
isLoading?: boolean;
|
|
819
|
+
allowCreate?: boolean;
|
|
820
|
+
renderTag?: (tag: TagOption, remove: () => void) => React$1.ReactNode;
|
|
821
|
+
renderOption?: (option: TagOption, selected: boolean) => React$1.ReactNode;
|
|
822
|
+
validateTag?: (input: string) => boolean;
|
|
823
|
+
onCreate?: (input: string) => TagOption;
|
|
824
|
+
maxTags?: number;
|
|
825
|
+
}
|
|
826
|
+
declare const TagsInput: ({ value, onChange, options, label, error, placeholder, description, showAsterisk, disabled, isLoading, allowCreate, renderTag, renderOption, validateTag, onCreate, maxTags, }: TagsInputProps) => React$1.JSX.Element;
|
|
827
|
+
|
|
801
828
|
declare const CurrencySymbolMap: Record<string, string>;
|
|
802
829
|
interface FormatCurrencyOptions {
|
|
803
830
|
convertToMajorCurrency?: boolean;
|
|
@@ -819,4 +846,4 @@ declare class DateAction {
|
|
|
819
846
|
|
|
820
847
|
declare function cn(...inputs: ClassValue[]): string;
|
|
821
848
|
|
|
822
|
-
export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, 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, Table, type TableBulkRowActionsProps, type TablePaginationProps, Tabs, TextOverflow, type TextOverflowProps, Textarea, Tooltip, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger, buttonVariants, cn, useFilterStore, useHasPermission, usePermissions };
|
|
849
|
+
export { AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, CurrencySymbolMap, DateAction, DebouncedInput, DevBanner, Dialog, Drawer, DrawerClose, type DrawerPropsType, DrawerRoot, FeatureBanner, 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, 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 };
|