@use-stall/ui 0.0.3 → 0.0.4
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 +18 -7
- package/dist/index.d.ts +18 -7
- package/dist/index.js +28 -24
- package/dist/index.mjs +27 -24
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -137,7 +137,7 @@ type OptionType = {
|
|
|
137
137
|
value: string;
|
|
138
138
|
item?: any;
|
|
139
139
|
};
|
|
140
|
-
type Props$
|
|
140
|
+
type Props$3 = {
|
|
141
141
|
placeholder?: string;
|
|
142
142
|
value: string;
|
|
143
143
|
onChange: (value: string, item?: any) => void;
|
|
@@ -154,7 +154,7 @@ type Props$2 = {
|
|
|
154
154
|
options?: OptionType[];
|
|
155
155
|
data_source?: OptionType[];
|
|
156
156
|
};
|
|
157
|
-
declare function Combobox({ modal, ...props }: Props$
|
|
157
|
+
declare function Combobox({ modal, ...props }: Props$3): react_jsx_runtime.JSX.Element;
|
|
158
158
|
|
|
159
159
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
160
160
|
children?: React$1.ReactNode;
|
|
@@ -239,11 +239,11 @@ declare const CommandShortcut: {
|
|
|
239
239
|
displayName: string;
|
|
240
240
|
};
|
|
241
241
|
|
|
242
|
-
type Props$
|
|
242
|
+
type Props$2 = {
|
|
243
243
|
trigger?: React__default.ReactNode;
|
|
244
244
|
confirmAction: () => void;
|
|
245
245
|
};
|
|
246
|
-
declare const ConfirmDialog: React__default.MemoExoticComponent<({ trigger, confirmAction }: Props$
|
|
246
|
+
declare const ConfirmDialog: React__default.MemoExoticComponent<({ trigger, confirmAction }: Props$2) => react_jsx_runtime.JSX.Element>;
|
|
247
247
|
|
|
248
248
|
interface CopyButtonProps {
|
|
249
249
|
isCopied: boolean;
|
|
@@ -254,7 +254,7 @@ interface CopyButtonProps {
|
|
|
254
254
|
}
|
|
255
255
|
declare const CopyButton: ({ isCopied, copyFunction, clearFunction, className, icon_size, }: CopyButtonProps) => react_jsx_runtime.JSX.Element;
|
|
256
256
|
|
|
257
|
-
type Props = {
|
|
257
|
+
type Props$1 = {
|
|
258
258
|
placeholder?: string;
|
|
259
259
|
value: string;
|
|
260
260
|
onChange: (value: string) => void;
|
|
@@ -269,7 +269,7 @@ type Props = {
|
|
|
269
269
|
disabled?: boolean;
|
|
270
270
|
hidePrimitive?: boolean;
|
|
271
271
|
};
|
|
272
|
-
declare function CountryPicker({ modal, value_key, ...props }: Props): react_jsx_runtime.JSX.Element;
|
|
272
|
+
declare function CountryPicker({ modal, value_key, ...props }: Props$1): react_jsx_runtime.JSX.Element;
|
|
273
273
|
|
|
274
274
|
declare const Dialog: typeof Dialog$1.Root;
|
|
275
275
|
declare function DialogTrigger(props: Dialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
@@ -682,6 +682,17 @@ interface PopoverProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPr
|
|
|
682
682
|
}
|
|
683
683
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & PopoverProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
684
684
|
|
|
685
|
+
interface Props extends React__default.InputHTMLAttributes<HTMLInputElement> {
|
|
686
|
+
currency: {
|
|
687
|
+
symbol: string;
|
|
688
|
+
code: string;
|
|
689
|
+
};
|
|
690
|
+
hide_currency_symbol?: boolean;
|
|
691
|
+
hide_currency_code?: boolean;
|
|
692
|
+
containerClassname?: string;
|
|
693
|
+
}
|
|
694
|
+
declare const PriceInput: React__default.ForwardRefExoticComponent<Props & React__default.RefAttributes<HTMLInputElement>>;
|
|
695
|
+
|
|
685
696
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
686
697
|
|
|
687
698
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -775,4 +786,4 @@ declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrim
|
|
|
775
786
|
|
|
776
787
|
declare function cn(...inputs: ClassValue[]): string;
|
|
777
788
|
|
|
778
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type PasswordInputProps, PhoneNumberInput, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants, tv, useComboboxFilter, useFormField };
|
|
789
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type PasswordInputProps, PhoneNumberInput, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, PriceInput, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants, tv, useComboboxFilter, useFormField };
|
package/dist/index.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ type OptionType = {
|
|
|
137
137
|
value: string;
|
|
138
138
|
item?: any;
|
|
139
139
|
};
|
|
140
|
-
type Props$
|
|
140
|
+
type Props$3 = {
|
|
141
141
|
placeholder?: string;
|
|
142
142
|
value: string;
|
|
143
143
|
onChange: (value: string, item?: any) => void;
|
|
@@ -154,7 +154,7 @@ type Props$2 = {
|
|
|
154
154
|
options?: OptionType[];
|
|
155
155
|
data_source?: OptionType[];
|
|
156
156
|
};
|
|
157
|
-
declare function Combobox({ modal, ...props }: Props$
|
|
157
|
+
declare function Combobox({ modal, ...props }: Props$3): react_jsx_runtime.JSX.Element;
|
|
158
158
|
|
|
159
159
|
declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
160
160
|
children?: React$1.ReactNode;
|
|
@@ -239,11 +239,11 @@ declare const CommandShortcut: {
|
|
|
239
239
|
displayName: string;
|
|
240
240
|
};
|
|
241
241
|
|
|
242
|
-
type Props$
|
|
242
|
+
type Props$2 = {
|
|
243
243
|
trigger?: React__default.ReactNode;
|
|
244
244
|
confirmAction: () => void;
|
|
245
245
|
};
|
|
246
|
-
declare const ConfirmDialog: React__default.MemoExoticComponent<({ trigger, confirmAction }: Props$
|
|
246
|
+
declare const ConfirmDialog: React__default.MemoExoticComponent<({ trigger, confirmAction }: Props$2) => react_jsx_runtime.JSX.Element>;
|
|
247
247
|
|
|
248
248
|
interface CopyButtonProps {
|
|
249
249
|
isCopied: boolean;
|
|
@@ -254,7 +254,7 @@ interface CopyButtonProps {
|
|
|
254
254
|
}
|
|
255
255
|
declare const CopyButton: ({ isCopied, copyFunction, clearFunction, className, icon_size, }: CopyButtonProps) => react_jsx_runtime.JSX.Element;
|
|
256
256
|
|
|
257
|
-
type Props = {
|
|
257
|
+
type Props$1 = {
|
|
258
258
|
placeholder?: string;
|
|
259
259
|
value: string;
|
|
260
260
|
onChange: (value: string) => void;
|
|
@@ -269,7 +269,7 @@ type Props = {
|
|
|
269
269
|
disabled?: boolean;
|
|
270
270
|
hidePrimitive?: boolean;
|
|
271
271
|
};
|
|
272
|
-
declare function CountryPicker({ modal, value_key, ...props }: Props): react_jsx_runtime.JSX.Element;
|
|
272
|
+
declare function CountryPicker({ modal, value_key, ...props }: Props$1): react_jsx_runtime.JSX.Element;
|
|
273
273
|
|
|
274
274
|
declare const Dialog: typeof Dialog$1.Root;
|
|
275
275
|
declare function DialogTrigger(props: Dialog$1.Trigger.Props): react_jsx_runtime.JSX.Element;
|
|
@@ -682,6 +682,17 @@ interface PopoverProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPr
|
|
|
682
682
|
}
|
|
683
683
|
declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & PopoverProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
684
684
|
|
|
685
|
+
interface Props extends React__default.InputHTMLAttributes<HTMLInputElement> {
|
|
686
|
+
currency: {
|
|
687
|
+
symbol: string;
|
|
688
|
+
code: string;
|
|
689
|
+
};
|
|
690
|
+
hide_currency_symbol?: boolean;
|
|
691
|
+
hide_currency_code?: boolean;
|
|
692
|
+
containerClassname?: string;
|
|
693
|
+
}
|
|
694
|
+
declare const PriceInput: React__default.ForwardRefExoticComponent<Props & React__default.RefAttributes<HTMLInputElement>>;
|
|
695
|
+
|
|
685
696
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
686
697
|
|
|
687
698
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -775,4 +786,4 @@ declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrim
|
|
|
775
786
|
|
|
776
787
|
declare function cn(...inputs: ClassValue[]): string;
|
|
777
788
|
|
|
778
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type PasswordInputProps, PhoneNumberInput, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants, tv, useComboboxFilter, useFormField };
|
|
789
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, Combobox$1 as ComboboxMulti, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConfirmDialog, CopyButton, CountryPicker, Dialog, DialogBackdrop, DialogClose, DialogPopup as DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogBackdrop as DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ButtonRoot as FancyButton, Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, ButtonIcon as Icon, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Label, MultiSelect, type PasswordInputProps, PhoneNumberInput, type PolymorphicComponent, type PolymorphicComponentProps, type PolymorphicComponentPropsWithRef, type PolymorphicRef, Popover, PopoverContent, PopoverTrigger, PriceInput, Progress, ButtonRoot as Root, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, StatusIndicator, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, type TimelineDotProps, TimelineItem, type TimelineProps, TimelineSeparator, TimelineTitle, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, statusIndicatorVariants, tv, useComboboxFilter, useFormField };
|
package/dist/index.js
CHANGED
|
@@ -158,6 +158,7 @@ __export(index_exports, {
|
|
|
158
158
|
Popover: () => Popover,
|
|
159
159
|
PopoverContent: () => PopoverContent,
|
|
160
160
|
PopoverTrigger: () => PopoverTrigger,
|
|
161
|
+
PriceInput: () => PriceInput,
|
|
161
162
|
Progress: () => Progress,
|
|
162
163
|
Root: () => ButtonRoot,
|
|
163
164
|
ScrollArea: () => ScrollArea,
|
|
@@ -2905,31 +2906,33 @@ var FlagComponent = ({ country, countryName }) => {
|
|
|
2905
2906
|
// src/components/price-input.tsx
|
|
2906
2907
|
var import_react6 = __toESM(require("react"));
|
|
2907
2908
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
2908
|
-
var PriceInput = import_react6.default.forwardRef(
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
children: [
|
|
2917
|
-
!props.hide_currency_symbol && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2918
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2919
|
-
Input,
|
|
2920
|
-
{
|
|
2921
|
-
ref,
|
|
2922
|
-
placeholder: "0.00",
|
|
2923
|
-
type: "text",
|
|
2924
|
-
...props,
|
|
2925
|
-
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2926
|
-
}
|
|
2909
|
+
var PriceInput = import_react6.default.forwardRef(
|
|
2910
|
+
({ currency, ...props }, ref) => {
|
|
2911
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
2912
|
+
"div",
|
|
2913
|
+
{
|
|
2914
|
+
className: cn(
|
|
2915
|
+
"relative h-fit flex overflow-hidden p-0",
|
|
2916
|
+
props.containerClassname
|
|
2927
2917
|
),
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2918
|
+
children: [
|
|
2919
|
+
!props.hide_currency_symbol && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2920
|
+
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
2921
|
+
Input,
|
|
2922
|
+
{
|
|
2923
|
+
ref,
|
|
2924
|
+
placeholder: "0.00",
|
|
2925
|
+
type: "text",
|
|
2926
|
+
...props,
|
|
2927
|
+
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2928
|
+
}
|
|
2929
|
+
),
|
|
2930
|
+
!props.hide_currency_code && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute inset-y-0.5 right-0 flex items-center pl-3 pr-4", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.code }) })
|
|
2931
|
+
]
|
|
2932
|
+
}
|
|
2933
|
+
);
|
|
2934
|
+
}
|
|
2935
|
+
);
|
|
2933
2936
|
PriceInput.displayName = "PriceInput";
|
|
2934
2937
|
|
|
2935
2938
|
// src/components/progress.tsx
|
|
@@ -3756,6 +3759,7 @@ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
|
3756
3759
|
Popover,
|
|
3757
3760
|
PopoverContent,
|
|
3758
3761
|
PopoverTrigger,
|
|
3762
|
+
PriceInput,
|
|
3759
3763
|
Progress,
|
|
3760
3764
|
Root,
|
|
3761
3765
|
ScrollArea,
|
package/dist/index.mjs
CHANGED
|
@@ -2686,31 +2686,33 @@ var FlagComponent = ({ country, countryName }) => {
|
|
|
2686
2686
|
// src/components/price-input.tsx
|
|
2687
2687
|
import React26 from "react";
|
|
2688
2688
|
import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
2689
|
-
var PriceInput = React26.forwardRef(
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
children: [
|
|
2698
|
-
!props.hide_currency_symbol && /* @__PURE__ */ jsx29("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ jsx29("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2699
|
-
/* @__PURE__ */ jsx29(
|
|
2700
|
-
Input,
|
|
2701
|
-
{
|
|
2702
|
-
ref,
|
|
2703
|
-
placeholder: "0.00",
|
|
2704
|
-
type: "text",
|
|
2705
|
-
...props,
|
|
2706
|
-
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2707
|
-
}
|
|
2689
|
+
var PriceInput = React26.forwardRef(
|
|
2690
|
+
({ currency, ...props }, ref) => {
|
|
2691
|
+
return /* @__PURE__ */ jsxs19(
|
|
2692
|
+
"div",
|
|
2693
|
+
{
|
|
2694
|
+
className: cn(
|
|
2695
|
+
"relative h-fit flex overflow-hidden p-0",
|
|
2696
|
+
props.containerClassname
|
|
2708
2697
|
),
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2698
|
+
children: [
|
|
2699
|
+
!props.hide_currency_symbol && /* @__PURE__ */ jsx29("div", { className: "absolute inset-y-0.5 flex items-center pl-4 pr-2", children: /* @__PURE__ */ jsx29("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.symbol }) }),
|
|
2700
|
+
/* @__PURE__ */ jsx29(
|
|
2701
|
+
Input,
|
|
2702
|
+
{
|
|
2703
|
+
ref,
|
|
2704
|
+
placeholder: "0.00",
|
|
2705
|
+
type: "text",
|
|
2706
|
+
...props,
|
|
2707
|
+
className: cn("px-10 shadow-none m-0! py-0", props.className)
|
|
2708
|
+
}
|
|
2709
|
+
),
|
|
2710
|
+
!props.hide_currency_code && /* @__PURE__ */ jsx29("div", { className: "absolute inset-y-0.5 right-0 flex items-center pl-3 pr-4", children: /* @__PURE__ */ jsx29("span", { className: "[fontSize:inherit] font-medium text-muted-foreground/50", children: currency?.code }) })
|
|
2711
|
+
]
|
|
2712
|
+
}
|
|
2713
|
+
);
|
|
2714
|
+
}
|
|
2715
|
+
);
|
|
2714
2716
|
PriceInput.displayName = "PriceInput";
|
|
2715
2717
|
|
|
2716
2718
|
// src/components/progress.tsx
|
|
@@ -3536,6 +3538,7 @@ export {
|
|
|
3536
3538
|
Popover,
|
|
3537
3539
|
PopoverContent,
|
|
3538
3540
|
PopoverTrigger,
|
|
3541
|
+
PriceInput,
|
|
3539
3542
|
Progress,
|
|
3540
3543
|
ButtonRoot as Root,
|
|
3541
3544
|
ScrollArea,
|