@me1a/ui 2.1.3 → 2.1.5
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/atoms.cjs.js +1 -1
- package/dist/atoms.d.mts +15 -15
- package/dist/atoms.d.ts +15 -15
- package/dist/atoms.esm.js +1 -1
- package/dist/{chunk-QQTIOIYW.esm.js → chunk-3HTFCAYW.esm.js} +2 -2
- package/dist/chunk-3HTFCAYW.esm.js.map +1 -0
- package/dist/{chunk-BAU346R2.esm.js → chunk-3IRQJ7EB.esm.js} +2 -2
- package/dist/chunk-3IRQJ7EB.esm.js.map +1 -0
- package/dist/chunk-6EETNYKI.esm.js +2 -0
- package/dist/chunk-6EETNYKI.esm.js.map +1 -0
- package/dist/{chunk-X5ID4673.esm.js → chunk-7NN2L46N.esm.js} +2 -2
- package/dist/{chunk-X5ID4673.esm.js.map → chunk-7NN2L46N.esm.js.map} +1 -1
- package/dist/{chunk-KHHRPIQY.cjs.js → chunk-BR7Z6MCL.cjs.js} +2 -2
- package/dist/chunk-BR7Z6MCL.cjs.js.map +1 -0
- package/dist/{chunk-PQK6GFRJ.cjs.js → chunk-C4ZAMI2P.cjs.js} +2 -2
- package/dist/chunk-C4ZAMI2P.cjs.js.map +1 -0
- package/dist/{chunk-THOA7DOT.esm.js → chunk-EBPUGBUT.esm.js} +2 -2
- package/dist/chunk-EBPUGBUT.esm.js.map +1 -0
- package/dist/{chunk-LMRZM37Z.cjs.js → chunk-F2K3NFCW.cjs.js} +2 -2
- package/dist/chunk-F2K3NFCW.cjs.js.map +1 -0
- package/dist/{chunk-Y5ZYAMOS.cjs.js → chunk-LDE4UXZ4.cjs.js} +2 -2
- package/dist/chunk-LDE4UXZ4.cjs.js.map +1 -0
- package/dist/{chunk-HTRP5Z25.esm.js → chunk-LEUTYD7G.esm.js} +2 -2
- package/dist/chunk-LEUTYD7G.esm.js.map +1 -0
- package/dist/chunk-TKRGIWLE.cjs.js +2 -0
- package/dist/chunk-TKRGIWLE.cjs.js.map +1 -0
- package/dist/{chunk-Z3J4HE4P.cjs.js → chunk-UAZIJGWR.cjs.js} +2 -2
- package/dist/{chunk-Z3J4HE4P.cjs.js.map → chunk-UAZIJGWR.cjs.js.map} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.mts +3 -5
- package/dist/index.d.ts +3 -5
- package/dist/index.esm.js +1 -1
- package/dist/{input-TJ_d3ROF.d.mts → input-Ruz0ZoY6.d.mts} +1 -1
- package/dist/{input-TJ_d3ROF.d.ts → input-Ruz0ZoY6.d.ts} +1 -1
- package/dist/molecules.cjs.js +1 -1
- package/dist/molecules.d.mts +3 -199
- package/dist/molecules.d.ts +3 -199
- package/dist/molecules.esm.js +1 -1
- package/dist/organisms.cjs.js +1 -1
- package/dist/organisms.d.mts +3 -3
- package/dist/organisms.d.ts +3 -3
- package/dist/organisms.esm.js +1 -1
- package/dist/rhf.cjs.js +2 -0
- package/dist/rhf.cjs.js.map +1 -0
- package/dist/rhf.d.mts +199 -0
- package/dist/rhf.d.ts +199 -0
- package/dist/rhf.esm.js +2 -0
- package/dist/rhf.esm.js.map +1 -0
- package/dist/{tooltip-Vd-UgSJF.d.mts → tooltip-B4jzaurK.d.mts} +2 -2
- package/dist/{tooltip-Vd-UgSJF.d.ts → tooltip-B4jzaurK.d.ts} +2 -2
- package/package.json +10 -5
- package/dist/chunk-63AGWKIA.esm.js +0 -2
- package/dist/chunk-63AGWKIA.esm.js.map +0 -1
- package/dist/chunk-AZF4HOYC.cjs.js +0 -2
- package/dist/chunk-AZF4HOYC.cjs.js.map +0 -1
- package/dist/chunk-BAU346R2.esm.js.map +0 -1
- package/dist/chunk-HTRP5Z25.esm.js.map +0 -1
- package/dist/chunk-KHHRPIQY.cjs.js.map +0 -1
- package/dist/chunk-LMRZM37Z.cjs.js.map +0 -1
- package/dist/chunk-PQK6GFRJ.cjs.js.map +0 -1
- package/dist/chunk-QQTIOIYW.esm.js.map +0 -1
- package/dist/chunk-THOA7DOT.esm.js.map +0 -1
- package/dist/chunk-Y5ZYAMOS.cjs.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { B as Button, a as ButtonProps, T as Tooltip, d as TooltipContent, e as TooltipProvider, c as TooltipTrigger, b as buttonVariants } from './tooltip-
|
|
1
|
+
export { B as Button, a as ButtonProps, T as Tooltip, d as TooltipContent, e as TooltipProvider, c as TooltipTrigger, b as buttonVariants } from './tooltip-B4jzaurK.js';
|
|
2
2
|
export { Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, Badge, BadgeProps, Box, BoxProps, Container, ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Label, LabelProps, PageLoader, PageLoaderProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, StackProps, TextField, TextFieldProps, Toaster, Typography, TypographyAlign, TypographyProps, TypographyVariant, badgeVariants, typographyVariants } from './atoms.js';
|
|
3
|
-
export { I as Input } from './input-
|
|
3
|
+
export { I as Input } from './input-Ruz0ZoY6.js';
|
|
4
4
|
export { d as Toast, h as ToastAction, a as ToastActionElement, g as ToastClose, f as ToastDescription, T as ToastProps, b as ToastProvider, e as ToastTitle, c as ToastViewport } from './toast-2xT7L1tJ.js';
|
|
5
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle,
|
|
5
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport, NavigationMenuViewportProps } from './molecules.js';
|
|
6
6
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuPortal, DropdownMenuPortalProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Sidebar, SidebarContent, SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar } from './organisms.js';
|
|
7
7
|
export { reducer, toast, useIsMobile, useToast } from './hooks.js';
|
|
8
8
|
export { cn } from './utils.js';
|
|
@@ -17,8 +17,6 @@ import '@radix-ui/react-avatar';
|
|
|
17
17
|
import '@radix-ui/react-label';
|
|
18
18
|
import '@radix-ui/react-toast';
|
|
19
19
|
import '@radix-ui/react-navigation-menu';
|
|
20
|
-
import 'react-hook-form';
|
|
21
|
-
import '@radix-ui/react-slot';
|
|
22
20
|
import 'vaul';
|
|
23
21
|
import '@radix-ui/react-dropdown-menu';
|
|
24
22
|
import 'clsx';
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import'./chunk-U4NMIMU7.esm.js';export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,y as Toast,z as ToastAction,A as ToastClose,C as ToastDescription,w as ToastProvider,B as ToastTitle,x as ToastViewport,D as Toaster,u as Typography,r as badgeVariants,t as typographyVariants}from'./chunk-
|
|
1
|
+
import'./chunk-U4NMIMU7.esm.js';export{o as Avatar,q as AvatarFallback,p as AvatarImage,s as Badge,c as Box,b as Container,e as Dialog,h as DialogClose,j as DialogContent,n as DialogDescription,l as DialogFooter,k as DialogHeader,i as DialogOverlay,g as DialogPortal,m as DialogTitle,f as DialogTrigger,v as PageLoader,d as Stack,a as TextField,y as Toast,z as ToastAction,A as ToastClose,C as ToastDescription,w as ToastProvider,B as ToastTitle,x as ToastViewport,D as Toaster,u as Typography,r as badgeVariants,t as typographyVariants}from'./chunk-3IRQJ7EB.esm.js';export{a as reducer,b as toast,c as useToast}from'./chunk-JKTYFZ5M.esm.js';export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,g as NavigationMenu,k as NavigationMenuContent,n as NavigationMenuIndicator,i as NavigationMenuItem,l as NavigationMenuLink,h as NavigationMenuList,j as NavigationMenuTrigger,m as NavigationMenuViewport}from'./chunk-6EETNYKI.esm.js';export{a as Label}from'./chunk-7NN2L46N.esm.js';export{a as Drawer,d as DrawerClose,f as DrawerContent,j as DrawerDescription,h as DrawerFooter,g as DrawerHeader,e as DrawerOverlay,c as DrawerPortal,i as DrawerTitle,b as DrawerTrigger,J as DropdownMenu,T as DropdownMenuCheckboxItem,R as DropdownMenuContent,L as DropdownMenuGroup,S as DropdownMenuItem,V as DropdownMenuLabel,M as DropdownMenuPortal,O as DropdownMenuRadioGroup,U as DropdownMenuRadioItem,W as DropdownMenuSeparator,X as DropdownMenuShortcut,N as DropdownMenuSub,Q as DropdownMenuSubContent,P as DropdownMenuSubTrigger,K as DropdownMenuTrigger,m as Sidebar,u as SidebarContent,s as SidebarFooter,v as SidebarGroup,x as SidebarGroupAction,y as SidebarGroupContent,w as SidebarGroupLabel,r as SidebarHeader,q as SidebarInput,p as SidebarInset,z as SidebarMenu,D as SidebarMenuAction,E as SidebarMenuBadge,C as SidebarMenuButton,A as SidebarMenuItem,F as SidebarMenuSkeleton,G as SidebarMenuSub,I as SidebarMenuSubButton,H as SidebarMenuSubItem,l as SidebarProvider,o as SidebarRail,t as SidebarSeparator,n as SidebarTrigger,B as sidebarMenuButtonVariants,k as useSidebar}from'./chunk-LEUTYD7G.esm.js';export{a as useIsMobile}from'./chunk-M4S5YZ56.esm.js';export{b as Button,c as Separator,d as Sheet,f as SheetClose,i as SheetContent,m as SheetDescription,k as SheetFooter,j as SheetHeader,h as SheetOverlay,g as SheetPortal,l as SheetTitle,e as SheetTrigger,n as Skeleton,p as Tooltip,r as TooltipContent,o as TooltipProvider,q as TooltipTrigger,a as buttonVariants}from'./chunk-3HTFCAYW.esm.js';export{a as Input}from'./chunk-EBPUGBUT.esm.js';export{a as cn}from'./chunk-C26U3FL4.esm.js';//# sourceMappingURL=index.esm.js.map
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
* Input component for creating accessible input fields.
|
|
5
5
|
* Built on top of shadcn/ui's Input component.
|
|
6
6
|
*
|
|
7
|
-
* @url https://
|
|
7
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-input--docs
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
* Input component for creating accessible input fields.
|
|
5
5
|
* Built on top of shadcn/ui's Input component.
|
|
6
6
|
*
|
|
7
|
-
* @url https://
|
|
7
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-input--docs
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
package/dist/molecules.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkTKRGIWLE_cjs_js=require('./chunk-TKRGIWLE.cjs.js');require('./chunk-SL2ZUI4G.cjs.js');Object.defineProperty(exports,"Card",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.a}});Object.defineProperty(exports,"CardContent",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.e}});Object.defineProperty(exports,"CardDescription",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.d}});Object.defineProperty(exports,"CardFooter",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.f}});Object.defineProperty(exports,"CardHeader",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.b}});Object.defineProperty(exports,"CardTitle",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.c}});Object.defineProperty(exports,"NavigationMenu",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.g}});Object.defineProperty(exports,"NavigationMenuContent",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.k}});Object.defineProperty(exports,"NavigationMenuIndicator",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.n}});Object.defineProperty(exports,"NavigationMenuItem",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.i}});Object.defineProperty(exports,"NavigationMenuLink",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.l}});Object.defineProperty(exports,"NavigationMenuList",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.h}});Object.defineProperty(exports,"NavigationMenuTrigger",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.j}});Object.defineProperty(exports,"NavigationMenuViewport",{enumerable:true,get:function(){return chunkTKRGIWLE_cjs_js.m}});//# sourceMappingURL=molecules.cjs.js.map
|
|
2
2
|
//# sourceMappingURL=molecules.cjs.js.map
|
package/dist/molecules.d.mts
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import { TextareaHTMLAttributes } from 'react';
|
|
3
2
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
5
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import * as react_hook_form from 'react-hook-form';
|
|
8
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
9
|
-
import { I as Input } from './input-TJ_d3ROF.mjs';
|
|
10
|
-
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
11
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
12
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
13
5
|
|
|
14
6
|
/**
|
|
15
7
|
* Card is a flexible container component that can be used to group related content and actions.
|
|
@@ -20,7 +12,7 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
20
12
|
/**
|
|
21
13
|
* The main card container component.
|
|
22
14
|
* Provides the base styling for the card including border, shadow, and rounded corners.
|
|
23
|
-
* * @url https://
|
|
15
|
+
* * @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-card--docs
|
|
24
16
|
*
|
|
25
17
|
* @example
|
|
26
18
|
* ```tsx
|
|
@@ -141,7 +133,7 @@ interface NavigationMenuIndicatorProps extends React.ComponentPropsWithoutRef<ty
|
|
|
141
133
|
* NavigationMenu component for creating accessible navigation menus with dropdowns.
|
|
142
134
|
* Built on top of Radix UI's NavigationMenu primitive.
|
|
143
135
|
*
|
|
144
|
-
* @url https://
|
|
136
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs
|
|
145
137
|
*
|
|
146
138
|
* @example
|
|
147
139
|
* ```tsx
|
|
@@ -177,192 +169,4 @@ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMe
|
|
|
177
169
|
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
170
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
179
171
|
|
|
180
|
-
|
|
181
|
-
/** The name of the field in the form */
|
|
182
|
-
name: TName;
|
|
183
|
-
/** Optional label for the field */
|
|
184
|
-
label?: string;
|
|
185
|
-
/** Optional description text below the field */
|
|
186
|
-
description?: string;
|
|
187
|
-
/** Optional warning text to display */
|
|
188
|
-
warningText?: string;
|
|
189
|
-
/** Whether the field is required */
|
|
190
|
-
required?: boolean;
|
|
191
|
-
/** Whether the field is disabled */
|
|
192
|
-
disabled?: boolean;
|
|
193
|
-
/** Whether the field is read-only */
|
|
194
|
-
readOnly?: boolean;
|
|
195
|
-
/** The type of input (text, number, email, etc.) */
|
|
196
|
-
type?: React$1.HTMLInputTypeAttribute;
|
|
197
|
-
/** Optional placeholder text */
|
|
198
|
-
placeholder?: string;
|
|
199
|
-
/** Optional aria-label for accessibility */
|
|
200
|
-
"aria-label"?: string;
|
|
201
|
-
/** Optional aria-describedby for accessibility */
|
|
202
|
-
"aria-describedby"?: string;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* A text field component that integrates with React Hook Form.
|
|
207
|
-
* Provides form validation, error handling, and accessibility features.
|
|
208
|
-
*
|
|
209
|
-
* @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-rhf-rhftextfield--docs
|
|
210
|
-
*
|
|
211
|
-
* * @example
|
|
212
|
-
* ```tsx
|
|
213
|
-
* <Form>
|
|
214
|
-
* <RHFTextField name="name" label="Name" />
|
|
215
|
-
* <RHFTextField name="email" label="Email" />
|
|
216
|
-
* </Form>
|
|
217
|
-
* ```
|
|
218
|
-
*/
|
|
219
|
-
declare function RHFTextField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, className, type, warningText, required, disabled, readOnly, placeholder, "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, onBlur, ...other }: RHFTextFieldProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
|
|
220
|
-
|
|
221
|
-
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
222
|
-
/**
|
|
223
|
-
* Whether the textarea should automatically resize
|
|
224
|
-
*/
|
|
225
|
-
autoResize?: boolean;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Textarea component for creating accessible text areas.
|
|
230
|
-
* Built on top of shadcn/ui's Textarea component.
|
|
231
|
-
*
|
|
232
|
-
* @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-textarea--docs
|
|
233
|
-
*
|
|
234
|
-
* @example
|
|
235
|
-
* ```tsx
|
|
236
|
-
* <Textarea placeholder="Enter text" />
|
|
237
|
-
* ```
|
|
238
|
-
*/
|
|
239
|
-
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
240
|
-
|
|
241
|
-
interface RHFTextareaProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends Omit<React$1.ComponentProps<typeof Textarea>, "name"> {
|
|
242
|
-
/** The name of the field in the form */
|
|
243
|
-
name: TName;
|
|
244
|
-
/** Optional label for the field */
|
|
245
|
-
label?: string;
|
|
246
|
-
/** Optional description text below the field */
|
|
247
|
-
description?: string;
|
|
248
|
-
/** Optional warning text to display */
|
|
249
|
-
warningText?: string;
|
|
250
|
-
/** Whether the field is required */
|
|
251
|
-
required?: boolean;
|
|
252
|
-
/** Whether the field is disabled */
|
|
253
|
-
disabled?: boolean;
|
|
254
|
-
/** Whether the field is read-only */
|
|
255
|
-
readOnly?: boolean;
|
|
256
|
-
/** Optional placeholder text */
|
|
257
|
-
placeholder?: string;
|
|
258
|
-
/** Optional aria-label for accessibility */
|
|
259
|
-
"aria-label"?: string;
|
|
260
|
-
/** Optional aria-describedby for accessibility */
|
|
261
|
-
"aria-describedby"?: string;
|
|
262
|
-
/** Whether the textarea should automatically resize */
|
|
263
|
-
autoResize?: boolean;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* A textarea component that integrates with React Hook Form.
|
|
268
|
-
* Provides form validation, error handling, and accessibility features.
|
|
269
|
-
*
|
|
270
|
-
* @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-rhf-rhftextarea--docs
|
|
271
|
-
*
|
|
272
|
-
* @example
|
|
273
|
-
* ```tsx
|
|
274
|
-
* <Form>
|
|
275
|
-
* <RHFTextarea name="description" label="Description" />
|
|
276
|
-
* </Form>
|
|
277
|
-
* ```
|
|
278
|
-
*/
|
|
279
|
-
declare function RHFTextarea<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, className, warningText, required, disabled, readOnly, placeholder, autoResize, "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, onBlur, ...other }: RHFTextareaProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
|
|
280
|
-
|
|
281
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
282
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
283
|
-
declare const useFormField: () => {
|
|
284
|
-
invalid: boolean;
|
|
285
|
-
isDirty: boolean;
|
|
286
|
-
isTouched: boolean;
|
|
287
|
-
isValidating: boolean;
|
|
288
|
-
error?: react_hook_form.FieldError;
|
|
289
|
-
id: string;
|
|
290
|
-
name: string;
|
|
291
|
-
formItemId: string;
|
|
292
|
-
formDescriptionId: string;
|
|
293
|
-
formMessageId: string;
|
|
294
|
-
};
|
|
295
|
-
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
296
|
-
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
297
|
-
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
298
|
-
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
299
|
-
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Props interface for the Form component.
|
|
303
|
-
* Extends react-hook-form's FormProvider props.
|
|
304
|
-
*/
|
|
305
|
-
interface FormProps<TFieldValues extends FieldValues = FieldValues> {
|
|
306
|
-
/**
|
|
307
|
-
* The form context value
|
|
308
|
-
*/
|
|
309
|
-
context: React$1.Context<TFieldValues>;
|
|
310
|
-
/**
|
|
311
|
-
* The form children
|
|
312
|
-
*/
|
|
313
|
-
children: React$1.ReactNode;
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Props interface for the FormField component.
|
|
317
|
-
* Extends react-hook-form's Controller props.
|
|
318
|
-
*/
|
|
319
|
-
interface FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends ControllerProps<TFieldValues, TName> {
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
* Props interface for the FormItem component.
|
|
323
|
-
* Extends HTML div attributes.
|
|
324
|
-
*/
|
|
325
|
-
interface FormItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Props interface for the FormLabel component.
|
|
329
|
-
* Extends Radix UI Label props.
|
|
330
|
-
*/
|
|
331
|
-
interface FormLabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> {
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* Props interface for the FormControl component.
|
|
335
|
-
* Extends Radix UI Slot props.
|
|
336
|
-
*/
|
|
337
|
-
interface FormControlProps extends React$1.ComponentPropsWithoutRef<typeof Slot> {
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* Props interface for the FormDescription component.
|
|
341
|
-
* Extends HTML paragraph attributes.
|
|
342
|
-
*/
|
|
343
|
-
interface FormDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* Props interface for the FormMessage component.
|
|
347
|
-
* Extends HTML paragraph attributes.
|
|
348
|
-
*/
|
|
349
|
-
interface FormMessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
350
|
-
/**
|
|
351
|
-
* The message content
|
|
352
|
-
*/
|
|
353
|
-
children?: React$1.ReactNode;
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* Context value type for form field context
|
|
357
|
-
*/
|
|
358
|
-
type FormFieldContextValue<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
359
|
-
name: TName;
|
|
360
|
-
};
|
|
361
|
-
/**
|
|
362
|
-
* Context value type for form item context
|
|
363
|
-
*/
|
|
364
|
-
type FormItemContextValue = {
|
|
365
|
-
id: string;
|
|
366
|
-
};
|
|
367
|
-
|
|
368
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldContextValue, type FormFieldProps, FormItem, type FormItemContextValue, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, RHFTextField, RHFTextarea, useFormField };
|
|
172
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps };
|
package/dist/molecules.d.ts
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import { TextareaHTMLAttributes } from 'react';
|
|
3
2
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
4
3
|
import { VariantProps } from 'class-variance-authority';
|
|
5
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import * as react_hook_form from 'react-hook-form';
|
|
8
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
9
|
-
import { I as Input } from './input-TJ_d3ROF.js';
|
|
10
|
-
import * as _radix_ui_react_slot from '@radix-ui/react-slot';
|
|
11
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
12
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
13
5
|
|
|
14
6
|
/**
|
|
15
7
|
* Card is a flexible container component that can be used to group related content and actions.
|
|
@@ -20,7 +12,7 @@ import * as LabelPrimitive from '@radix-ui/react-label';
|
|
|
20
12
|
/**
|
|
21
13
|
* The main card container component.
|
|
22
14
|
* Provides the base styling for the card including border, shadow, and rounded corners.
|
|
23
|
-
* * @url https://
|
|
15
|
+
* * @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-card--docs
|
|
24
16
|
*
|
|
25
17
|
* @example
|
|
26
18
|
* ```tsx
|
|
@@ -141,7 +133,7 @@ interface NavigationMenuIndicatorProps extends React.ComponentPropsWithoutRef<ty
|
|
|
141
133
|
* NavigationMenu component for creating accessible navigation menus with dropdowns.
|
|
142
134
|
* Built on top of Radix UI's NavigationMenu primitive.
|
|
143
135
|
*
|
|
144
|
-
* @url https://
|
|
136
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/molecules-navigation-menu--docs
|
|
145
137
|
*
|
|
146
138
|
* @example
|
|
147
139
|
* ```tsx
|
|
@@ -177,192 +169,4 @@ declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMe
|
|
|
177
169
|
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
170
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
179
171
|
|
|
180
|
-
|
|
181
|
-
/** The name of the field in the form */
|
|
182
|
-
name: TName;
|
|
183
|
-
/** Optional label for the field */
|
|
184
|
-
label?: string;
|
|
185
|
-
/** Optional description text below the field */
|
|
186
|
-
description?: string;
|
|
187
|
-
/** Optional warning text to display */
|
|
188
|
-
warningText?: string;
|
|
189
|
-
/** Whether the field is required */
|
|
190
|
-
required?: boolean;
|
|
191
|
-
/** Whether the field is disabled */
|
|
192
|
-
disabled?: boolean;
|
|
193
|
-
/** Whether the field is read-only */
|
|
194
|
-
readOnly?: boolean;
|
|
195
|
-
/** The type of input (text, number, email, etc.) */
|
|
196
|
-
type?: React$1.HTMLInputTypeAttribute;
|
|
197
|
-
/** Optional placeholder text */
|
|
198
|
-
placeholder?: string;
|
|
199
|
-
/** Optional aria-label for accessibility */
|
|
200
|
-
"aria-label"?: string;
|
|
201
|
-
/** Optional aria-describedby for accessibility */
|
|
202
|
-
"aria-describedby"?: string;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* A text field component that integrates with React Hook Form.
|
|
207
|
-
* Provides form validation, error handling, and accessibility features.
|
|
208
|
-
*
|
|
209
|
-
* @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-rhf-rhftextfield--docs
|
|
210
|
-
*
|
|
211
|
-
* * @example
|
|
212
|
-
* ```tsx
|
|
213
|
-
* <Form>
|
|
214
|
-
* <RHFTextField name="name" label="Name" />
|
|
215
|
-
* <RHFTextField name="email" label="Email" />
|
|
216
|
-
* </Form>
|
|
217
|
-
* ```
|
|
218
|
-
*/
|
|
219
|
-
declare function RHFTextField<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, className, type, warningText, required, disabled, readOnly, placeholder, "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, onBlur, ...other }: RHFTextFieldProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
|
|
220
|
-
|
|
221
|
-
interface TextareaProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
222
|
-
/**
|
|
223
|
-
* Whether the textarea should automatically resize
|
|
224
|
-
*/
|
|
225
|
-
autoResize?: boolean;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* Textarea component for creating accessible text areas.
|
|
230
|
-
* Built on top of shadcn/ui's Textarea component.
|
|
231
|
-
*
|
|
232
|
-
* @url https://segiimelnykov.github.io/ui/?path=/docs/atoms-textarea--docs
|
|
233
|
-
*
|
|
234
|
-
* @example
|
|
235
|
-
* ```tsx
|
|
236
|
-
* <Textarea placeholder="Enter text" />
|
|
237
|
-
* ```
|
|
238
|
-
*/
|
|
239
|
-
declare const Textarea: React$1.ForwardRefExoticComponent<TextareaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
240
|
-
|
|
241
|
-
interface RHFTextareaProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends Omit<React$1.ComponentProps<typeof Textarea>, "name"> {
|
|
242
|
-
/** The name of the field in the form */
|
|
243
|
-
name: TName;
|
|
244
|
-
/** Optional label for the field */
|
|
245
|
-
label?: string;
|
|
246
|
-
/** Optional description text below the field */
|
|
247
|
-
description?: string;
|
|
248
|
-
/** Optional warning text to display */
|
|
249
|
-
warningText?: string;
|
|
250
|
-
/** Whether the field is required */
|
|
251
|
-
required?: boolean;
|
|
252
|
-
/** Whether the field is disabled */
|
|
253
|
-
disabled?: boolean;
|
|
254
|
-
/** Whether the field is read-only */
|
|
255
|
-
readOnly?: boolean;
|
|
256
|
-
/** Optional placeholder text */
|
|
257
|
-
placeholder?: string;
|
|
258
|
-
/** Optional aria-label for accessibility */
|
|
259
|
-
"aria-label"?: string;
|
|
260
|
-
/** Optional aria-describedby for accessibility */
|
|
261
|
-
"aria-describedby"?: string;
|
|
262
|
-
/** Whether the textarea should automatically resize */
|
|
263
|
-
autoResize?: boolean;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* A textarea component that integrates with React Hook Form.
|
|
268
|
-
* Provides form validation, error handling, and accessibility features.
|
|
269
|
-
*
|
|
270
|
-
* @url https://segiimelnykov.github.io/ui/?path=/docs/molecules-rhf-rhftextarea--docs
|
|
271
|
-
*
|
|
272
|
-
* @example
|
|
273
|
-
* ```tsx
|
|
274
|
-
* <Form>
|
|
275
|
-
* <RHFTextarea name="description" label="Description" />
|
|
276
|
-
* </Form>
|
|
277
|
-
* ```
|
|
278
|
-
*/
|
|
279
|
-
declare function RHFTextarea<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, label, description, className, warningText, required, disabled, readOnly, placeholder, autoResize, "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, onBlur, ...other }: RHFTextareaProps<TFieldValues, TName>): react_jsx_runtime.JSX.Element;
|
|
280
|
-
|
|
281
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
282
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
283
|
-
declare const useFormField: () => {
|
|
284
|
-
invalid: boolean;
|
|
285
|
-
isDirty: boolean;
|
|
286
|
-
isTouched: boolean;
|
|
287
|
-
isValidating: boolean;
|
|
288
|
-
error?: react_hook_form.FieldError;
|
|
289
|
-
id: string;
|
|
290
|
-
name: string;
|
|
291
|
-
formItemId: string;
|
|
292
|
-
formDescriptionId: string;
|
|
293
|
-
formMessageId: string;
|
|
294
|
-
};
|
|
295
|
-
declare const FormItem: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
296
|
-
declare const FormLabel: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
297
|
-
declare const FormControl: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_slot.SlotProps & React$1.RefAttributes<HTMLElement>, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
298
|
-
declare const FormDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
299
|
-
declare const FormMessage: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
300
|
-
|
|
301
|
-
/**
|
|
302
|
-
* Props interface for the Form component.
|
|
303
|
-
* Extends react-hook-form's FormProvider props.
|
|
304
|
-
*/
|
|
305
|
-
interface FormProps<TFieldValues extends FieldValues = FieldValues> {
|
|
306
|
-
/**
|
|
307
|
-
* The form context value
|
|
308
|
-
*/
|
|
309
|
-
context: React$1.Context<TFieldValues>;
|
|
310
|
-
/**
|
|
311
|
-
* The form children
|
|
312
|
-
*/
|
|
313
|
-
children: React$1.ReactNode;
|
|
314
|
-
}
|
|
315
|
-
/**
|
|
316
|
-
* Props interface for the FormField component.
|
|
317
|
-
* Extends react-hook-form's Controller props.
|
|
318
|
-
*/
|
|
319
|
-
interface FormFieldProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> extends ControllerProps<TFieldValues, TName> {
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
* Props interface for the FormItem component.
|
|
323
|
-
* Extends HTML div attributes.
|
|
324
|
-
*/
|
|
325
|
-
interface FormItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Props interface for the FormLabel component.
|
|
329
|
-
* Extends Radix UI Label props.
|
|
330
|
-
*/
|
|
331
|
-
interface FormLabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> {
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* Props interface for the FormControl component.
|
|
335
|
-
* Extends Radix UI Slot props.
|
|
336
|
-
*/
|
|
337
|
-
interface FormControlProps extends React$1.ComponentPropsWithoutRef<typeof Slot> {
|
|
338
|
-
}
|
|
339
|
-
/**
|
|
340
|
-
* Props interface for the FormDescription component.
|
|
341
|
-
* Extends HTML paragraph attributes.
|
|
342
|
-
*/
|
|
343
|
-
interface FormDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* Props interface for the FormMessage component.
|
|
347
|
-
* Extends HTML paragraph attributes.
|
|
348
|
-
*/
|
|
349
|
-
interface FormMessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
|
|
350
|
-
/**
|
|
351
|
-
* The message content
|
|
352
|
-
*/
|
|
353
|
-
children?: React$1.ReactNode;
|
|
354
|
-
}
|
|
355
|
-
/**
|
|
356
|
-
* Context value type for form field context
|
|
357
|
-
*/
|
|
358
|
-
type FormFieldContextValue<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = {
|
|
359
|
-
name: TName;
|
|
360
|
-
};
|
|
361
|
-
/**
|
|
362
|
-
* Context value type for form item context
|
|
363
|
-
*/
|
|
364
|
-
type FormItemContextValue = {
|
|
365
|
-
id: string;
|
|
366
|
-
};
|
|
367
|
-
|
|
368
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldContextValue, type FormFieldProps, FormItem, type FormItemContextValue, type FormItemProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps, RHFTextField, RHFTextarea, useFormField };
|
|
172
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, NavigationMenu, NavigationMenuContent, type NavigationMenuContentProps, NavigationMenuIndicator, type NavigationMenuIndicatorProps, NavigationMenuItem, type NavigationMenuItemProps, NavigationMenuLink, type NavigationMenuLinkProps, NavigationMenuList, type NavigationMenuListProps, type NavigationMenuProps, NavigationMenuTrigger, type NavigationMenuTriggerProps, NavigationMenuViewport, type NavigationMenuViewportProps };
|
package/dist/molecules.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,
|
|
1
|
+
export{a as Card,e as CardContent,d as CardDescription,f as CardFooter,b as CardHeader,c as CardTitle,g as NavigationMenu,k as NavigationMenuContent,n as NavigationMenuIndicator,i as NavigationMenuItem,l as NavigationMenuLink,h as NavigationMenuList,j as NavigationMenuTrigger,m as NavigationMenuViewport}from'./chunk-6EETNYKI.esm.js';import'./chunk-C26U3FL4.esm.js';//# sourceMappingURL=molecules.esm.js.map
|
|
2
2
|
//# sourceMappingURL=molecules.esm.js.map
|
package/dist/organisms.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkF2K3NFCW_cjs_js=require('./chunk-F2K3NFCW.cjs.js');require('./chunk-KOYJODOP.cjs.js'),require('./chunk-C4ZAMI2P.cjs.js'),require('./chunk-BR7Z6MCL.cjs.js'),require('./chunk-SL2ZUI4G.cjs.js');Object.defineProperty(exports,"Drawer",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.a}});Object.defineProperty(exports,"DrawerClose",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.d}});Object.defineProperty(exports,"DrawerContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.f}});Object.defineProperty(exports,"DrawerDescription",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.j}});Object.defineProperty(exports,"DrawerFooter",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.h}});Object.defineProperty(exports,"DrawerHeader",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.g}});Object.defineProperty(exports,"DrawerOverlay",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.e}});Object.defineProperty(exports,"DrawerPortal",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.c}});Object.defineProperty(exports,"DrawerTitle",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.i}});Object.defineProperty(exports,"DrawerTrigger",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.b}});Object.defineProperty(exports,"DropdownMenu",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.J}});Object.defineProperty(exports,"DropdownMenuCheckboxItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.T}});Object.defineProperty(exports,"DropdownMenuContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.R}});Object.defineProperty(exports,"DropdownMenuGroup",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.L}});Object.defineProperty(exports,"DropdownMenuItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.S}});Object.defineProperty(exports,"DropdownMenuLabel",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.V}});Object.defineProperty(exports,"DropdownMenuPortal",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.M}});Object.defineProperty(exports,"DropdownMenuRadioGroup",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.O}});Object.defineProperty(exports,"DropdownMenuRadioItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.U}});Object.defineProperty(exports,"DropdownMenuSeparator",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.W}});Object.defineProperty(exports,"DropdownMenuShortcut",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.X}});Object.defineProperty(exports,"DropdownMenuSub",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.N}});Object.defineProperty(exports,"DropdownMenuSubContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.Q}});Object.defineProperty(exports,"DropdownMenuSubTrigger",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.P}});Object.defineProperty(exports,"DropdownMenuTrigger",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.K}});Object.defineProperty(exports,"Sidebar",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.m}});Object.defineProperty(exports,"SidebarContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.u}});Object.defineProperty(exports,"SidebarFooter",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.s}});Object.defineProperty(exports,"SidebarGroup",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.v}});Object.defineProperty(exports,"SidebarGroupAction",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.x}});Object.defineProperty(exports,"SidebarGroupContent",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.y}});Object.defineProperty(exports,"SidebarGroupLabel",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.w}});Object.defineProperty(exports,"SidebarHeader",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.r}});Object.defineProperty(exports,"SidebarInput",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.q}});Object.defineProperty(exports,"SidebarInset",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.p}});Object.defineProperty(exports,"SidebarMenu",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.z}});Object.defineProperty(exports,"SidebarMenuAction",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.D}});Object.defineProperty(exports,"SidebarMenuBadge",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.E}});Object.defineProperty(exports,"SidebarMenuButton",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.C}});Object.defineProperty(exports,"SidebarMenuItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.A}});Object.defineProperty(exports,"SidebarMenuSkeleton",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.F}});Object.defineProperty(exports,"SidebarMenuSub",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.G}});Object.defineProperty(exports,"SidebarMenuSubButton",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.I}});Object.defineProperty(exports,"SidebarMenuSubItem",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.H}});Object.defineProperty(exports,"SidebarProvider",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.l}});Object.defineProperty(exports,"SidebarRail",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.o}});Object.defineProperty(exports,"SidebarSeparator",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.t}});Object.defineProperty(exports,"SidebarTrigger",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.n}});Object.defineProperty(exports,"sidebarMenuButtonVariants",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.B}});Object.defineProperty(exports,"useSidebar",{enumerable:true,get:function(){return chunkF2K3NFCW_cjs_js.k}});//# sourceMappingURL=organisms.cjs.js.map
|
|
2
2
|
//# sourceMappingURL=organisms.cjs.js.map
|
package/dist/organisms.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
8
|
-
import { d as TooltipContent, a as ButtonProps } from './tooltip-
|
|
8
|
+
import { d as TooltipContent, a as ButtonProps } from './tooltip-B4jzaurK.mjs';
|
|
9
9
|
import { VariantProps } from 'class-variance-authority';
|
|
10
10
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
11
11
|
import '@radix-ui/react-tooltip';
|
|
@@ -86,7 +86,7 @@ declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.Cl
|
|
|
86
86
|
* The sidebar can be positioned on either side of the screen and supports different
|
|
87
87
|
* visual styles and collapse behaviors.
|
|
88
88
|
*
|
|
89
|
-
* @url https://
|
|
89
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* ```tsx
|
|
@@ -204,7 +204,7 @@ type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
|
|
|
204
204
|
* DropdownMenu component for creating accessible dropdown menus.
|
|
205
205
|
* Built on top of Radix UI's DropdownMenu primitive.
|
|
206
206
|
*
|
|
207
|
-
* @url https://
|
|
207
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-dropdown-menu--docs
|
|
208
208
|
*
|
|
209
209
|
* @example
|
|
210
210
|
* ```tsx
|
package/dist/organisms.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
7
7
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
8
|
-
import { d as TooltipContent, a as ButtonProps } from './tooltip-
|
|
8
|
+
import { d as TooltipContent, a as ButtonProps } from './tooltip-B4jzaurK.js';
|
|
9
9
|
import { VariantProps } from 'class-variance-authority';
|
|
10
10
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
11
11
|
import '@radix-ui/react-tooltip';
|
|
@@ -86,7 +86,7 @@ declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.Cl
|
|
|
86
86
|
* The sidebar can be positioned on either side of the screen and supports different
|
|
87
87
|
* visual styles and collapse behaviors.
|
|
88
88
|
*
|
|
89
|
-
* @url https://
|
|
89
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
|
|
90
90
|
*
|
|
91
91
|
* @example
|
|
92
92
|
* ```tsx
|
|
@@ -204,7 +204,7 @@ type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
|
|
|
204
204
|
* DropdownMenu component for creating accessible dropdown menus.
|
|
205
205
|
* Built on top of Radix UI's DropdownMenu primitive.
|
|
206
206
|
*
|
|
207
|
-
* @url https://
|
|
207
|
+
* @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-dropdown-menu--docs
|
|
208
208
|
*
|
|
209
209
|
* @example
|
|
210
210
|
* ```tsx
|
package/dist/organisms.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as Drawer,d as DrawerClose,f as DrawerContent,j as DrawerDescription,h as DrawerFooter,g as DrawerHeader,e as DrawerOverlay,c as DrawerPortal,i as DrawerTitle,b as DrawerTrigger,J as DropdownMenu,T as DropdownMenuCheckboxItem,R as DropdownMenuContent,L as DropdownMenuGroup,S as DropdownMenuItem,V as DropdownMenuLabel,M as DropdownMenuPortal,O as DropdownMenuRadioGroup,U as DropdownMenuRadioItem,W as DropdownMenuSeparator,X as DropdownMenuShortcut,N as DropdownMenuSub,Q as DropdownMenuSubContent,P as DropdownMenuSubTrigger,K as DropdownMenuTrigger,m as Sidebar,u as SidebarContent,s as SidebarFooter,v as SidebarGroup,x as SidebarGroupAction,y as SidebarGroupContent,w as SidebarGroupLabel,r as SidebarHeader,q as SidebarInput,p as SidebarInset,z as SidebarMenu,D as SidebarMenuAction,E as SidebarMenuBadge,C as SidebarMenuButton,A as SidebarMenuItem,F as SidebarMenuSkeleton,G as SidebarMenuSub,I as SidebarMenuSubButton,H as SidebarMenuSubItem,l as SidebarProvider,o as SidebarRail,t as SidebarSeparator,n as SidebarTrigger,B as sidebarMenuButtonVariants,k as useSidebar}from'./chunk-
|
|
1
|
+
export{a as Drawer,d as DrawerClose,f as DrawerContent,j as DrawerDescription,h as DrawerFooter,g as DrawerHeader,e as DrawerOverlay,c as DrawerPortal,i as DrawerTitle,b as DrawerTrigger,J as DropdownMenu,T as DropdownMenuCheckboxItem,R as DropdownMenuContent,L as DropdownMenuGroup,S as DropdownMenuItem,V as DropdownMenuLabel,M as DropdownMenuPortal,O as DropdownMenuRadioGroup,U as DropdownMenuRadioItem,W as DropdownMenuSeparator,X as DropdownMenuShortcut,N as DropdownMenuSub,Q as DropdownMenuSubContent,P as DropdownMenuSubTrigger,K as DropdownMenuTrigger,m as Sidebar,u as SidebarContent,s as SidebarFooter,v as SidebarGroup,x as SidebarGroupAction,y as SidebarGroupContent,w as SidebarGroupLabel,r as SidebarHeader,q as SidebarInput,p as SidebarInset,z as SidebarMenu,D as SidebarMenuAction,E as SidebarMenuBadge,C as SidebarMenuButton,A as SidebarMenuItem,F as SidebarMenuSkeleton,G as SidebarMenuSub,I as SidebarMenuSubButton,H as SidebarMenuSubItem,l as SidebarProvider,o as SidebarRail,t as SidebarSeparator,n as SidebarTrigger,B as sidebarMenuButtonVariants,k as useSidebar}from'./chunk-LEUTYD7G.esm.js';import'./chunk-M4S5YZ56.esm.js';import'./chunk-3HTFCAYW.esm.js';import'./chunk-EBPUGBUT.esm.js';import'./chunk-C26U3FL4.esm.js';//# sourceMappingURL=organisms.esm.js.map
|
|
2
2
|
//# sourceMappingURL=organisms.esm.js.map
|