@doscientos/ui 0.1.25 → 0.1.26
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/dist/index.d.cts
CHANGED
|
@@ -380,7 +380,7 @@ interface DrawerProps extends Omit<ModalOverlayProps, "children" | "className">
|
|
|
380
380
|
declare function Drawer({ children, side, className, ...props }: DrawerProps): React$1.JSX.Element;
|
|
381
381
|
declare function DrawerHeader({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
382
382
|
declare function DrawerFooter({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
383
|
-
declare function DrawerTitle({ className, ...props }: React.ComponentProps<"
|
|
383
|
+
declare function DrawerTitle({ className, ...props }: Omit<React.ComponentProps<typeof Heading>, "slot">): React$1.JSX.Element;
|
|
384
384
|
declare function DrawerDescription({ className, ...props }: React.ComponentProps<"p">): React$1.JSX.Element;
|
|
385
385
|
|
|
386
386
|
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof MenuTrigger$1>): React$1.JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -380,7 +380,7 @@ interface DrawerProps extends Omit<ModalOverlayProps, "children" | "className">
|
|
|
380
380
|
declare function Drawer({ children, side, className, ...props }: DrawerProps): React$1.JSX.Element;
|
|
381
381
|
declare function DrawerHeader({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
382
382
|
declare function DrawerFooter({ className, ...props }: React.ComponentProps<"div">): React$1.JSX.Element;
|
|
383
|
-
declare function DrawerTitle({ className, ...props }: React.ComponentProps<"
|
|
383
|
+
declare function DrawerTitle({ className, ...props }: Omit<React.ComponentProps<typeof Heading>, "slot">): React$1.JSX.Element;
|
|
384
384
|
declare function DrawerDescription({ className, ...props }: React.ComponentProps<"p">): React$1.JSX.Element;
|
|
385
385
|
|
|
386
386
|
declare function DropdownMenuTrigger({ ...props }: React$1.ComponentProps<typeof MenuTrigger$1>): React$1.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -1370,7 +1370,7 @@ function Fallback({ mimeType, reason }) {
|
|
|
1370
1370
|
}
|
|
1371
1371
|
|
|
1372
1372
|
// src/ui/drawer/drawer.tsx
|
|
1373
|
-
import { Dialog as AriaDialog4, Modal as Modal4, ModalOverlay as ModalOverlay4 } from "react-aria-components";
|
|
1373
|
+
import { Dialog as AriaDialog4, Heading as Heading5, Modal as Modal4, ModalOverlay as ModalOverlay4 } from "react-aria-components";
|
|
1374
1374
|
import { jsx as jsx21 } from "react/jsx-runtime";
|
|
1375
1375
|
var sideStyles = { left: "inset-y-0 left-0 h-full w-[min(22rem,calc(100%-2rem))] data-entering:animate-ui-surface-in", right: "inset-y-0 right-0 h-full w-[min(22rem,calc(100%-2rem))] data-entering:animate-ui-surface-in", bottom: "inset-x-0 bottom-0 max-h-[85vh] w-full data-entering:animate-ui-surface-in" };
|
|
1376
1376
|
function Drawer({ children, side = "right", className, ...props }) {
|
|
@@ -1383,7 +1383,7 @@ function DrawerFooter({ className, ...props }) {
|
|
|
1383
1383
|
return /* @__PURE__ */ jsx21("div", { "data-slot": "drawer-footer", className: cn("mt-auto flex flex-col-reverse gap-2 pt-4 sm:flex-row sm:justify-end", className), ...props });
|
|
1384
1384
|
}
|
|
1385
1385
|
function DrawerTitle({ className, ...props }) {
|
|
1386
|
-
return /* @__PURE__ */ jsx21(
|
|
1386
|
+
return /* @__PURE__ */ jsx21(Heading5, { slot: "title", "data-slot": "drawer-title", className: cn("text-base font-semibold", className), ...props });
|
|
1387
1387
|
}
|
|
1388
1388
|
function DrawerDescription({ className, ...props }) {
|
|
1389
1389
|
return /* @__PURE__ */ jsx21("p", { "data-slot": "drawer-description", className: cn("text-sm text-muted-foreground", className), ...props });
|
|
@@ -2528,7 +2528,7 @@ function SelectItem({ className, children, ...props }) {
|
|
|
2528
2528
|
// src/ui/sheet/sheet.tsx
|
|
2529
2529
|
import { XIcon as XIcon2 } from "lucide-react";
|
|
2530
2530
|
import {
|
|
2531
|
-
Heading as
|
|
2531
|
+
Heading as Heading6,
|
|
2532
2532
|
ModalOverlay as ModalOverlayPrimitive,
|
|
2533
2533
|
Modal as ModalPrimitive,
|
|
2534
2534
|
Dialog as SheetPrimitive,
|
|
@@ -2635,7 +2635,7 @@ function SheetFooter({ className, ...props }) {
|
|
|
2635
2635
|
}
|
|
2636
2636
|
function SheetTitle({ className, ...props }) {
|
|
2637
2637
|
return /* @__PURE__ */ jsx43(
|
|
2638
|
-
|
|
2638
|
+
Heading6,
|
|
2639
2639
|
{
|
|
2640
2640
|
slot: "title",
|
|
2641
2641
|
"data-slot": "sheet-title",
|