@overmap-ai/blocks 0.0.5 → 0.0.6
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/Buttons/constants.d.ts +7 -0
- package/dist/Buttons/index.d.ts +1 -0
- package/dist/Dialogs/AlertDialog/hooks.d.ts +6 -0
- package/dist/MultiSelect/MultiSelect.d.ts +1 -0
- package/dist/blocks.js +622 -611
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +2 -2
- package/dist/blocks.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import { ButtonHoverEffect } from "./typings.ts";
|
|
2
|
+
import { KeyboardEvent } from "react";
|
|
2
3
|
export declare const hoverEffectClassNameMapping: Record<ButtonHoverEffect, string | undefined>;
|
|
4
|
+
/** Passing this to a `div` will make it behave like a `button`. However, it will **NOT** support the disabled state. */
|
|
5
|
+
export declare const divButtonProps: {
|
|
6
|
+
role: string;
|
|
7
|
+
tabIndex: number;
|
|
8
|
+
onKeyDown: (e: KeyboardEvent<HTMLDivElement>) => void;
|
|
9
|
+
};
|
package/dist/Buttons/index.d.ts
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
1
|
export declare const useAlertDialog: () => import("./typings").AlertDialogContextType;
|
|
2
|
+
interface useDiscardAlertDialogProps {
|
|
3
|
+
onDiscard: () => void;
|
|
4
|
+
onCancel?: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const useDiscardAlertDialog: () => (props: useDiscardAlertDialogProps) => void;
|
|
7
|
+
export {};
|