@openzeppelin/ui-components 1.0.2 → 1.0.3
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-DfQJGBqH.d.cts → index-BQghjZeI.d.cts} +4 -4
- package/dist/{index-DfQJGBqH.d.cts.map → index-BQghjZeI.d.cts.map} +1 -1
- package/dist/{index-DDdy06qO.d.ts → index-BcS9-xet.d.ts} +4 -4
- package/dist/{index-DDdy06qO.d.ts.map → index-BcS9-xet.d.ts.map} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -169,7 +169,7 @@ declare namespace Calendar {
|
|
|
169
169
|
}
|
|
170
170
|
//#endregion
|
|
171
171
|
//#region src/components/ui/card.d.ts
|
|
172
|
-
/** Card container component with rounded borders
|
|
172
|
+
/** Card container component with rounded borders. */
|
|
173
173
|
declare function Card({
|
|
174
174
|
className,
|
|
175
175
|
...props
|
|
@@ -189,12 +189,12 @@ declare function CardDescription({
|
|
|
189
189
|
className,
|
|
190
190
|
...props
|
|
191
191
|
}: React.ComponentProps<'div'>): JSX.Element;
|
|
192
|
-
/** Card content area with horizontal padding. */
|
|
192
|
+
/** Card content area with horizontal padding and top spacing. */
|
|
193
193
|
declare function CardContent({
|
|
194
194
|
className,
|
|
195
195
|
...props
|
|
196
196
|
}: React.ComponentProps<'div'>): JSX.Element;
|
|
197
|
-
/** Card footer with flex alignment for actions. */
|
|
197
|
+
/** Card footer with flex alignment for actions and top spacing. */
|
|
198
198
|
declare function CardFooter({
|
|
199
199
|
className,
|
|
200
200
|
...props
|
|
@@ -2409,4 +2409,4 @@ declare const Toaster: ({
|
|
|
2409
2409
|
}: ToasterProps) => JSX.Element;
|
|
2410
2410
|
//#endregion
|
|
2411
2411
|
export { AccessibilityProps, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, AddressDisplay, AddressField, Alert, AlertDescription, AlertTitle, AmountField, AmountFieldProps, ArrayField, ArrayFieldProps, ArrayObjectField, ArrayObjectFieldProps, Banner, BaseField, BaseFieldProps, BigIntField, BigIntFieldProps, BooleanField, BooleanFieldProps, Button, ButtonProps, BytesField, BytesFieldProps, Calendar, CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type DateRange, DateRangePicker, DateRangePickerProps, DateTimeField, DateTimeFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateProps, EnumField, EnumFieldProps, EnumFieldValue, EnumMetadata, EnumVariant, ErrorMessage, ExternalLink, FileUploadField, FileUploadFieldProps, Footer, FooterProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GroupedSelectOption, Header, HeaderProps, INTEGER_HTML_PATTERN, INTEGER_INPUT_PATTERN, INTEGER_PATTERN, Input, InputProps, Label, LoadingButton, LoadingButtonProps, MapEntryRow, MapField, MapFieldProps, MidnightIcon, NetworkError, NetworkErrorNotificationProvider, NetworkErrorType, NetworkIcon, NetworkIconProps, NetworkSelector, NetworkSelectorProps, NetworkStatusBadge, NumberField, NumberFieldProps, ObjectField, ObjectFieldProps, OptionGroup, PasswordField, PasswordFieldProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioField, RadioFieldProps, RadioGroup, RadioGroupItem, RadioOption, RelayerDetailsCard, RelayerDetailsCardProps, Select, SelectContent, SelectField, SelectFieldProps, SelectGroup, SelectGroupedField, SelectGroupedFieldProps, SelectItem, SelectLabel, SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarButton, SidebarButtonProps, SidebarLayout, SidebarLayoutProps, SidebarSection, SidebarSectionProps, Tabs, TabsContent, TabsList, TabsTrigger, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Textarea, TextareaProps, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UrlField, ViewContractStateButton, buttonVariants, computeChildTouched, createFocusManager, createValidationResult, formatValidationError, getAccessibilityProps, getDescribedById, getErrorMessage, getValidationStateClasses, getWidthClasses, handleEscapeKey, handleKeyboardEvent, handleNumericKeys, handleToggleKeys, handleValidationError, hasFieldError, isDuplicateMapKey, useDuplicateKeyIndexes, useMapFieldSync, useNetworkErrorAwareAdapter, useNetworkErrorReporter, useNetworkErrors, validateField, validateMapEntries, validateMapStructure };
|
|
2412
|
-
//# sourceMappingURL=index-
|
|
2412
|
+
//# sourceMappingURL=index-BQghjZeI.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -169,7 +169,7 @@ declare namespace Calendar {
|
|
|
169
169
|
}
|
|
170
170
|
//#endregion
|
|
171
171
|
//#region src/components/ui/card.d.ts
|
|
172
|
-
/** Card container component with rounded borders
|
|
172
|
+
/** Card container component with rounded borders. */
|
|
173
173
|
declare function Card({
|
|
174
174
|
className,
|
|
175
175
|
...props
|
|
@@ -189,12 +189,12 @@ declare function CardDescription({
|
|
|
189
189
|
className,
|
|
190
190
|
...props
|
|
191
191
|
}: React.ComponentProps<'div'>): JSX.Element;
|
|
192
|
-
/** Card content area with horizontal padding. */
|
|
192
|
+
/** Card content area with horizontal padding and top spacing. */
|
|
193
193
|
declare function CardContent({
|
|
194
194
|
className,
|
|
195
195
|
...props
|
|
196
196
|
}: React.ComponentProps<'div'>): JSX.Element;
|
|
197
|
-
/** Card footer with flex alignment for actions. */
|
|
197
|
+
/** Card footer with flex alignment for actions and top spacing. */
|
|
198
198
|
declare function CardFooter({
|
|
199
199
|
className,
|
|
200
200
|
...props
|
|
@@ -2409,4 +2409,4 @@ declare const Toaster: ({
|
|
|
2409
2409
|
}: ToasterProps) => JSX.Element;
|
|
2410
2410
|
//#endregion
|
|
2411
2411
|
export { AccessibilityProps, Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, AddressDisplay, AddressField, Alert, AlertDescription, AlertTitle, AmountField, AmountFieldProps, ArrayField, ArrayFieldProps, ArrayObjectField, ArrayObjectFieldProps, Banner, BaseField, BaseFieldProps, BigIntField, BigIntFieldProps, BooleanField, BooleanFieldProps, Button, ButtonProps, BytesField, BytesFieldProps, Calendar, CalendarProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, type DateRange, DateRangePicker, DateRangePickerProps, DateTimeField, DateTimeFieldProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, EmptyStateProps, EnumField, EnumFieldProps, EnumFieldValue, EnumMetadata, EnumVariant, ErrorMessage, ExternalLink, FileUploadField, FileUploadFieldProps, Footer, FooterProps, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GroupedSelectOption, Header, HeaderProps, INTEGER_HTML_PATTERN, INTEGER_INPUT_PATTERN, INTEGER_PATTERN, Input, InputProps, Label, LoadingButton, LoadingButtonProps, MapEntryRow, MapField, MapFieldProps, MidnightIcon, NetworkError, NetworkErrorNotificationProvider, NetworkErrorType, NetworkIcon, NetworkIconProps, NetworkSelector, NetworkSelectorProps, NetworkStatusBadge, NumberField, NumberFieldProps, ObjectField, ObjectFieldProps, OptionGroup, PasswordField, PasswordFieldProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, RadioField, RadioFieldProps, RadioGroup, RadioGroupItem, RadioOption, RelayerDetailsCard, RelayerDetailsCardProps, Select, SelectContent, SelectField, SelectFieldProps, SelectGroup, SelectGroupedField, SelectGroupedFieldProps, SelectItem, SelectLabel, SelectOption, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SidebarButton, SidebarButtonProps, SidebarLayout, SidebarLayoutProps, SidebarSection, SidebarSectionProps, Tabs, TabsContent, TabsList, TabsTrigger, TextAreaField, TextAreaFieldProps, TextField, TextFieldProps, Textarea, TextareaProps, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UrlField, ViewContractStateButton, buttonVariants, computeChildTouched, createFocusManager, createValidationResult, formatValidationError, getAccessibilityProps, getDescribedById, getErrorMessage, getValidationStateClasses, getWidthClasses, handleEscapeKey, handleKeyboardEvent, handleNumericKeys, handleToggleKeys, handleValidationError, hasFieldError, isDuplicateMapKey, useDuplicateKeyIndexes, useMapFieldSync, useNetworkErrorAwareAdapter, useNetworkErrorReporter, useNetworkErrors, validateField, validateMapEntries, validateMapStructure };
|
|
2412
|
-
//# sourceMappingURL=index-
|
|
2412
|
+
//# sourceMappingURL=index-BcS9-xet.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -525,11 +525,11 @@ Calendar.displayName = "Calendar";
|
|
|
525
525
|
|
|
526
526
|
//#endregion
|
|
527
527
|
//#region src/components/ui/card.tsx
|
|
528
|
-
/** Card container component with rounded borders
|
|
528
|
+
/** Card container component with rounded borders. */
|
|
529
529
|
function Card({ className, ...props }) {
|
|
530
530
|
return /* @__PURE__ */ jsx("div", {
|
|
531
531
|
"data-slot": "card",
|
|
532
|
-
className: cn("bg-card text-card-foreground flex flex-col rounded-xl border py-6
|
|
532
|
+
className: cn("bg-card text-card-foreground flex flex-col rounded-xl border py-6", className),
|
|
533
533
|
...props
|
|
534
534
|
});
|
|
535
535
|
}
|
|
@@ -557,19 +557,19 @@ function CardDescription({ className, ...props }) {
|
|
|
557
557
|
...props
|
|
558
558
|
});
|
|
559
559
|
}
|
|
560
|
-
/** Card content area with horizontal padding. */
|
|
560
|
+
/** Card content area with horizontal padding and top spacing. */
|
|
561
561
|
function CardContent({ className, ...props }) {
|
|
562
562
|
return /* @__PURE__ */ jsx("div", {
|
|
563
563
|
"data-slot": "card-content",
|
|
564
|
-
className: cn("px-6", className),
|
|
564
|
+
className: cn("px-6 pt-4", className),
|
|
565
565
|
...props
|
|
566
566
|
});
|
|
567
567
|
}
|
|
568
|
-
/** Card footer with flex alignment for actions. */
|
|
568
|
+
/** Card footer with flex alignment for actions and top spacing. */
|
|
569
569
|
function CardFooter({ className, ...props }) {
|
|
570
570
|
return /* @__PURE__ */ jsx("div", {
|
|
571
571
|
"data-slot": "card-footer",
|
|
572
|
-
className: cn("flex items-center px-6", className),
|
|
572
|
+
className: cn("flex items-center px-6 pt-4", className),
|
|
573
573
|
...props
|
|
574
574
|
});
|
|
575
575
|
}
|