fina-react-ds 1.0.46 → 1.0.48
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var f=Object.defineProperty;var o=(e,n)=>f(e,"name",{value:n,configurable:!0});import{jsx as r,jsxs as p}from"react/jsx-runtime";import{useFormContext as d}from"react-hook-form";import{FormField as h,FormItem as u,FormLabel as g,FormControl as C,FormDescription as x,FormMessage as I}from"./form.js";import{HtmlInput as j}from"./html-input.js";function O({name:e,label:n,description:t,required:m=!1,...l}){const{control:i}=d();return r(h,{control:i,name:e,render:o(({field:s})=>{const{onChange:F,...a}=s;return p(u,{children:[r(g,{required:m,children:n}),r(C,{children:r(j,{...a,...l,onChange:o((D,c)=>{F(c.getData())},"onChange")})}),t&&r(x,{children:t}),r(I,{})]})},"render")})}o(O,"FormHtmlInput");export{O as FormHtmlInput};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a=Object.defineProperty;var t=(i,r)=>a(i,"name",{value:r,configurable:!0});import{jsx as e}from"react/jsx-runtime";import{cn as o}from"../lib/utils.js";import{CKEditor as s}from"@ckeditor/ckeditor5-react";import{Essentials as n,Paragraph as d,Bold as l,Italic as c,List as u,ClassicEditor as g}from"ckeditor5";function h({value:i,onChange:r}){return e("div",{className:o("bg-input border border-input-border w-full rounded-md shadow-xs md:text-sm outline-none ","has-focus-visible:border-ring has-focus-visible:ring-ring/50 has-focus-visible:ring-[3px]","has-active:border-ring has-active:ring-ring/50 has-active:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"),children:e(s,{editor:g,config:{licenseKey:"GPL",plugins:[n,d,l,c,u],toolbar:["bold","italic","|","bulletedList"]},data:i,onChange:r})})}t(h,"HtmlInput");export{h as HtmlInput};
|
|
@@ -40,6 +40,7 @@ export { FormSelect } from "./form-select";
|
|
|
40
40
|
export { FormSwitch } from "./form-switch";
|
|
41
41
|
export { FormTextarea } from "./form-textarea";
|
|
42
42
|
export { FormImageUploader } from "./form-image-uploader";
|
|
43
|
+
export { FormHtmlInput } from "./form-html-input";
|
|
43
44
|
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, } from "./form";
|
|
44
45
|
export { ThemeProvider, useTheme } from "../providers/theme-provider";
|
|
45
46
|
export { LoaderProvider, useLoader } from "../providers/loader-provider";
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{AlertDialog as r,AlertDialogAction as t,AlertDialogCancel as a,AlertDialogContent as i,AlertDialogDescription as n,AlertDialogFooter as p,AlertDialogHeader as l,AlertDialogOverlay as
|
|
1
|
+
import{AlertDialog as r,AlertDialogAction as t,AlertDialogCancel as a,AlertDialogContent as i,AlertDialogDescription as n,AlertDialogFooter as p,AlertDialogHeader as l,AlertDialogOverlay as m,AlertDialogPortal as d,AlertDialogTitle as g,AlertDialogTrigger as u}from"./alert-dialog.js";import{Alert as S,AlertDescription as b,AlertTitle as f}from"./alert.js";import{Badge as T}from"./badge.js";import{Button as s,buttonVariants as F}from"./button.js";import{Avatar as c,AvatarFallback as P,AvatarImage as A}from"./avatar.js";import{Calendar as h}from"./calendar.js";import{Card as I,CardAction as H,CardContent as k,CardDescription as L,CardFooter as B,CardHeader as G,CardTitle as R}from"./card.js";import{Checkbox as U}from"./checkbox.js";import{DatePicker as E}from"./date-picker.js";import{Dialog as V,DialogClose as j,DialogContent as q,DialogDescription as z,DialogFooter as J,DialogHeader as K,DialogOverlay as Q,DialogPortal as W,DialogTitle as X,DialogTrigger as Y}from"./dialog.js";import{DataLoader as _}from"./data-loader.js";import{DropdownMenu as oo,DropdownMenuCheckboxItem as eo,DropdownMenuContent as ro,DropdownMenuGroup as to,DropdownMenuItem as ao,DropdownMenuLabel as io,DropdownMenuPortal as no,DropdownMenuRadioGroup as po,DropdownMenuRadioItem as lo,DropdownMenuSeparator as mo,DropdownMenuShortcut as go,DropdownMenuSub as uo,DropdownMenuSubContent as xo,DropdownMenuSubTrigger as So,DropdownMenuTrigger as bo}from"./dropdown-menu.js";import{FileUploader as Do}from"./file-uploader.js";import{ImageUploader as Co}from"./image-uploader.js";import{HoverCard as Fo,HoverCardContent as Mo,HoverCardTrigger as co}from"./hover-card.js";import{Input as Ao}from"./input.js";import{Label as ho}from"./label.js";import{ModeToggle as Io}from"./mode-toggle.js";import{Pagination as ko,PaginationContent as Lo,PaginationEllipsis as Bo,PaginationItem as Go,PaginationLink as Ro,PaginationNext as yo,PaginationPrevious as Uo}from"./pagination.js";import{PasswordRulesChecker as Eo}from"./password-rules-checker.js";import{Popover as Vo,PopoverAnchor as jo,PopoverContent as qo,PopoverTrigger as zo}from"./popover.js";import{Select as Ko}from"./select.js";import{Separator as Wo}from"./separator.js";import{Sheet as Yo,SheetBody as Zo,SheetClose as _o,SheetContent as $o,SheetDescription as oe,SheetFooter as ee,SheetHeader as re,SheetTitle as te,SheetTrigger as ae}from"./sheet.js";import{Sidebar as ne,SidebarContent as pe,SidebarFooter as le,SidebarGroup as me,SidebarGroupAction as de,SidebarGroupContent as ge,SidebarGroupLabel as ue,SidebarHeader as xe,SidebarInput as Se,SidebarInset as be,SidebarMenu as fe,SidebarMenuAction as De,SidebarMenuBadge as Te,SidebarMenuButton as Ce,SidebarMenuItem as se,SidebarMenuSkeleton as Fe,SidebarMenuSub as Me,SidebarMenuSubButton as ce,SidebarMenuSubItem as Pe,SidebarProvider as Ae,SidebarRail as we,SidebarSeparator as he,SidebarTrigger as ve,useSidebar as Ie}from"./sidebar.js";import{SimplePagination as ke}from"./simple-pagination.js";import{SimpleTooltip as Be}from"./simple-tooltip.js";import{Skeleton as Re}from"./skeleton.js";import{Switch as Ue}from"./switch.js";import{Toaster as Ee}from"./sonner.js";import{Table as Ve,TableBody as je,TableCaption as qe,TableCell as ze,TableFooter as Je,TableHead as Ke,TableHeader as Qe,TableRow as We}from"./table.js";import{Tabs as Ye,TabsContent as Ze,TabsList as _e,TabsTrigger as $e}from"./tabs.js";import{Textarea as er}from"./textarea.js";import{Tooltip as tr,TooltipContent as ar,TooltipProvider as ir,TooltipTrigger as nr}from"./tooltip.js";import{FormDate as lr}from"./form-date.js";import{FormColorPicker as dr}from"./form-color-picker.js";import{FormFileUploader as ur}from"./form-file-uploader.js";import{FormInput as Sr}from"./form-input.js";import{FormSelect as fr}from"./form-select.js";import{FormSwitch as Tr}from"./form-switch.js";import{FormTextarea as sr}from"./form-textarea.js";import{FormImageUploader as Mr}from"./form-image-uploader.js";import{FormHtmlInput as Pr}from"./form-html-input.js";import{Form as wr,FormControl as hr,FormDescription as vr,FormField as Ir,FormItem as Hr,FormLabel as kr,FormMessage as Lr,useFormField as Br}from"./form.js";import{ThemeProvider as Rr,useTheme as yr}from"../providers/theme-provider.js";import{LoaderProvider as Or,useLoader as Er}from"../providers/loader-provider.js";import{HtmlInput as Vr}from"./html-input.js";export{S as Alert,b as AlertDescription,r as AlertDialog,t as AlertDialogAction,a as AlertDialogCancel,i as AlertDialogContent,n as AlertDialogDescription,p as AlertDialogFooter,l as AlertDialogHeader,m as AlertDialogOverlay,d as AlertDialogPortal,g as AlertDialogTitle,u as AlertDialogTrigger,f as AlertTitle,c as Avatar,P as AvatarFallback,A as AvatarImage,T as Badge,s as Button,h as Calendar,I as Card,H as CardAction,k as CardContent,L as CardDescription,B as CardFooter,G as CardHeader,R as CardTitle,U as Checkbox,_ as DataLoader,E as DatePicker,V as Dialog,j as DialogClose,q as DialogContent,z as DialogDescription,J as DialogFooter,K as DialogHeader,Q as DialogOverlay,W as DialogPortal,X as DialogTitle,Y as DialogTrigger,oo as DropdownMenu,eo as DropdownMenuCheckboxItem,ro as DropdownMenuContent,to as DropdownMenuGroup,ao as DropdownMenuItem,io as DropdownMenuLabel,no as DropdownMenuPortal,po as DropdownMenuRadioGroup,lo as DropdownMenuRadioItem,mo as DropdownMenuSeparator,go as DropdownMenuShortcut,uo as DropdownMenuSub,xo as DropdownMenuSubContent,So as DropdownMenuSubTrigger,bo as DropdownMenuTrigger,Do as FileUploader,wr as Form,dr as FormColorPicker,hr as FormControl,lr as FormDate,vr as FormDescription,Ir as FormField,ur as FormFileUploader,Pr as FormHtmlInput,Mr as FormImageUploader,Sr as FormInput,Hr as FormItem,kr as FormLabel,Lr as FormMessage,fr as FormSelect,Tr as FormSwitch,sr as FormTextarea,Fo as HoverCard,Mo as HoverCardContent,co as HoverCardTrigger,Vr as HtmlInput,Co as ImageUploader,Ao as Input,ho as Label,Or as LoaderProvider,Io as ModeToggle,ko as Pagination,Lo as PaginationContent,Bo as PaginationEllipsis,Go as PaginationItem,Ro as PaginationLink,yo as PaginationNext,Uo as PaginationPrevious,Eo as PasswordRulesChecker,Vo as Popover,jo as PopoverAnchor,qo as PopoverContent,zo as PopoverTrigger,Ko as Select,Wo as Separator,Yo as Sheet,Zo as SheetBody,_o as SheetClose,$o as SheetContent,oe as SheetDescription,ee as SheetFooter,re as SheetHeader,te as SheetTitle,ae as SheetTrigger,ne as Sidebar,pe as SidebarContent,le as SidebarFooter,me as SidebarGroup,de as SidebarGroupAction,ge as SidebarGroupContent,ue as SidebarGroupLabel,xe as SidebarHeader,Se as SidebarInput,be as SidebarInset,fe as SidebarMenu,De as SidebarMenuAction,Te as SidebarMenuBadge,Ce as SidebarMenuButton,se as SidebarMenuItem,Fe as SidebarMenuSkeleton,Me as SidebarMenuSub,ce as SidebarMenuSubButton,Pe as SidebarMenuSubItem,Ae as SidebarProvider,we as SidebarRail,he as SidebarSeparator,ve as SidebarTrigger,ke as SimplePagination,Be as SimpleTooltip,Re as Skeleton,Ue as Switch,Ve as Table,je as TableBody,qe as TableCaption,ze as TableCell,Je as TableFooter,Ke as TableHead,Qe as TableHeader,We as TableRow,Ye as Tabs,Ze as TabsContent,_e as TabsList,$e as TabsTrigger,er as Textarea,Rr as ThemeProvider,Ee as Toaster,tr as Tooltip,ar as TooltipContent,ir as TooltipProvider,nr as TooltipTrigger,F as buttonVariants,Br as useFormField,Er as useLoader,Ie as useSidebar,yr as useTheme};
|