@jinaan/uikit 0.1.30 → 0.1.31
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 +7 -1
- package/dist/dialog.d.ts.map +1 -1
- package/dist/index.js +647 -619
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/dialog.tsx +105 -64
- package/styles.css +18 -0
package/dist/dialog.d.ts
CHANGED
|
@@ -7,7 +7,13 @@ export declare const DialogTrigger: import("react").ForwardRefExoticComponent<Om
|
|
|
7
7
|
export declare const DialogClose: import("react").ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
8
|
/** Secondary action that closes through the animated dialog close path. */
|
|
9
9
|
export declare const DialogCancel: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
export
|
|
10
|
+
export interface DialogContentProps extends ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
|
|
11
|
+
/** Vertical placement: centered (default) or anchored near the viewport top. */
|
|
12
|
+
placement?: "center" | "top";
|
|
13
|
+
/** Top edge offset for top placement. Defaults to 11dvh. */
|
|
14
|
+
topOffset?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const DialogContent: import("react").ForwardRefExoticComponent<DialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
17
|
/**
|
|
12
18
|
* Elevated inner card inside the dialog shell. Flush to the shell's left, top
|
|
13
19
|
* and right edges (the shell clips its top corners); the footer stays below on
|
package/dist/dialog.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../src/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAQL,KAAK,wBAAwB,
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../src/d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