@jinaan/uikit 0.1.28 → 0.1.30
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/dialog.d.ts +9 -0
- package/dist/dialog.d.ts.map +1 -1
- package/dist/index.js +605 -599
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/dialog.tsx +43 -21
package/dist/dialog.d.ts
CHANGED
|
@@ -18,6 +18,15 @@ export declare function DialogPanel({ className, ...props }: HTMLAttributes<HTML
|
|
|
18
18
|
export declare function DialogBody({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
19
19
|
export declare function DialogHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
20
20
|
export declare function DialogFooter({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
21
|
+
/**
|
|
22
|
+
* Dialog heading. Standalone-safe: outside a `Dialog` root it renders a plain
|
|
23
|
+
* heading with the same classes (Radix's Title requires a dialog context).
|
|
24
|
+
*/
|
|
21
25
|
export declare const DialogTitle: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & import("react").RefAttributes<HTMLHeadingElement>, "ref"> & import("react").RefAttributes<HTMLHeadingElement>>;
|
|
26
|
+
/**
|
|
27
|
+
* Dialog body copy. Standalone-safe: outside a `Dialog` root it renders a
|
|
28
|
+
* plain paragraph with the same classes (Radix's Description requires a
|
|
29
|
+
* dialog context).
|
|
30
|
+
*/
|
|
22
31
|
export declare const DialogDescription: import("react").ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>, "ref"> & import("react").RefAttributes<HTMLParagraphElement>>;
|
|
23
32
|
//# sourceMappingURL=dialog.d.ts.map
|
package/dist/dialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../src/dialog.tsx"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