@6thbridge/hexa 0.0.98 → 0.0.100
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 +16 -7
- package/dist/index.d.ts +16 -7
- 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 +12 -0
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -159,7 +159,7 @@ type CountrySelectOption$1 = {
|
|
|
159
159
|
internetCountryCode?: string;
|
|
160
160
|
countryName?: string;
|
|
161
161
|
};
|
|
162
|
-
interface
|
|
162
|
+
interface CountryCommonProps {
|
|
163
163
|
modal?: boolean;
|
|
164
164
|
hideSearch?: boolean;
|
|
165
165
|
loading?: boolean;
|
|
@@ -167,19 +167,28 @@ interface CountryProps {
|
|
|
167
167
|
onInputValueChange?: (arg: string) => void;
|
|
168
168
|
disabled?: boolean;
|
|
169
169
|
placeholder?: string;
|
|
170
|
-
|
|
171
|
-
optionComponent?: (arg: SearchableDataType) => React.ReactNode;
|
|
170
|
+
optionComponent?: (arg: SearchableDataType) => React$1.ReactNode;
|
|
172
171
|
className?: string;
|
|
173
172
|
containerClassName?: string;
|
|
174
|
-
onChange: (value: SearchableDataType) => void;
|
|
175
173
|
status?: CountryPropsStatus;
|
|
176
174
|
label?: string;
|
|
177
175
|
showAsterisk?: boolean;
|
|
178
|
-
description?: React.ReactNode;
|
|
176
|
+
description?: React$1.ReactNode;
|
|
179
177
|
error?: string;
|
|
180
178
|
countryOptions?: CountrySelectOption$1[];
|
|
181
179
|
}
|
|
182
|
-
|
|
180
|
+
interface CountrySingleSelectProps extends CountryCommonProps {
|
|
181
|
+
multiSelect?: false;
|
|
182
|
+
value?: SearchableDataType;
|
|
183
|
+
onChange: (value: SearchableDataType) => void;
|
|
184
|
+
}
|
|
185
|
+
interface CountryMultiSelectProps extends CountryCommonProps {
|
|
186
|
+
multiSelect: true;
|
|
187
|
+
value?: CountrySelectOption$1[];
|
|
188
|
+
onChange: (value: CountrySelectOption$1[]) => void;
|
|
189
|
+
}
|
|
190
|
+
type CountryProps = CountrySingleSelectProps | CountryMultiSelectProps;
|
|
191
|
+
declare const Country: (props: CountryProps) => React$1.JSX.Element;
|
|
183
192
|
|
|
184
193
|
type SelectPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
|
|
185
194
|
interface SelectProps {
|
|
@@ -939,4 +948,4 @@ declare const TagsInput: ({ value, onChange, options, label, error, placeholder,
|
|
|
939
948
|
|
|
940
949
|
declare function cn(...inputs: ClassValue[]): string;
|
|
941
950
|
|
|
942
|
-
export { Accordion, type AccordionItemType, type AccordionProps, AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, 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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -159,7 +159,7 @@ type CountrySelectOption$1 = {
|
|
|
159
159
|
internetCountryCode?: string;
|
|
160
160
|
countryName?: string;
|
|
161
161
|
};
|
|
162
|
-
interface
|
|
162
|
+
interface CountryCommonProps {
|
|
163
163
|
modal?: boolean;
|
|
164
164
|
hideSearch?: boolean;
|
|
165
165
|
loading?: boolean;
|
|
@@ -167,19 +167,28 @@ interface CountryProps {
|
|
|
167
167
|
onInputValueChange?: (arg: string) => void;
|
|
168
168
|
disabled?: boolean;
|
|
169
169
|
placeholder?: string;
|
|
170
|
-
|
|
171
|
-
optionComponent?: (arg: SearchableDataType) => React.ReactNode;
|
|
170
|
+
optionComponent?: (arg: SearchableDataType) => React$1.ReactNode;
|
|
172
171
|
className?: string;
|
|
173
172
|
containerClassName?: string;
|
|
174
|
-
onChange: (value: SearchableDataType) => void;
|
|
175
173
|
status?: CountryPropsStatus;
|
|
176
174
|
label?: string;
|
|
177
175
|
showAsterisk?: boolean;
|
|
178
|
-
description?: React.ReactNode;
|
|
176
|
+
description?: React$1.ReactNode;
|
|
179
177
|
error?: string;
|
|
180
178
|
countryOptions?: CountrySelectOption$1[];
|
|
181
179
|
}
|
|
182
|
-
|
|
180
|
+
interface CountrySingleSelectProps extends CountryCommonProps {
|
|
181
|
+
multiSelect?: false;
|
|
182
|
+
value?: SearchableDataType;
|
|
183
|
+
onChange: (value: SearchableDataType) => void;
|
|
184
|
+
}
|
|
185
|
+
interface CountryMultiSelectProps extends CountryCommonProps {
|
|
186
|
+
multiSelect: true;
|
|
187
|
+
value?: CountrySelectOption$1[];
|
|
188
|
+
onChange: (value: CountrySelectOption$1[]) => void;
|
|
189
|
+
}
|
|
190
|
+
type CountryProps = CountrySingleSelectProps | CountryMultiSelectProps;
|
|
191
|
+
declare const Country: (props: CountryProps) => React$1.JSX.Element;
|
|
183
192
|
|
|
184
193
|
type SelectPropsStatus = VariantProps<typeof inputContainerVariants>["status"];
|
|
185
194
|
interface SelectProps {
|
|
@@ -939,4 +948,4 @@ declare const TagsInput: ({ value, onChange, options, label, error, placeholder,
|
|
|
939
948
|
|
|
940
949
|
declare function cn(...inputs: ClassValue[]): string;
|
|
941
950
|
|
|
942
|
-
export { Accordion, type AccordionItemType, type AccordionProps, AmountAction, Banner, Button, CalendarInput, CopyableLabel, Country, 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 };
|
|
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 };
|