@mcurros2/microm 1.1.109-0 → 1.1.112-0
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.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlertProps, DefaultMantineColor, Variants, StepperProps, MantineTheme, TextareaProps, TextInputProps, MantineNumberSize, MantineColor, PasswordInputProps, NotificationProps, CheckboxProps, ProgressProps, ButtonProps, ActionIconProps, NumberInputProps, ImageProps, MultiSelectProps, SelectItem, BadgeVariant, MantineSize, CardProps, OverlayProps, TransitionProps, AccordionProps, PinInputProps, SwitchProps, Radio,
|
|
1
|
+
import { AlertProps, DefaultMantineColor, Variants, StepperProps, MantineTheme, TextareaProps, TextInputProps, MantineNumberSize, MantineColor, PasswordInputProps, NotificationProps, CheckboxProps, ProgressProps, ButtonProps, ActionIconProps, NumberInputProps, ImageProps, MultiSelectProps, SelectItem, BadgeVariant, MantineSize, CardProps, OverlayProps, TransitionProps, AccordionProps, PinInputProps, SwitchProps, Radio, SelectProps, GroupProps, AvatarProps, AutocompleteItem, AutocompleteProps, DefaultProps, BadgeProps } from "@mantine/core";
|
|
2
2
|
import React, { JSXElementConstructor, ReactElement, ReactNode, PropsWithChildren, ComponentType, useState, Dispatch, SetStateAction, KeyboardEvent, RefObject, CSSProperties, ComponentPropsWithoutRef } from "react";
|
|
3
3
|
import { hasLength, isInRange, isNotEmpty, matches, UseFormReturnType } from "@mantine/form";
|
|
4
4
|
import { LooseKeys } from "@mantine/form/lib/types";
|
|
@@ -406,6 +406,9 @@ export interface EntityFormModalProps {
|
|
|
406
406
|
onModalClosed?: () => void;
|
|
407
407
|
onModalSaved?: (status: OperationStatus<DBStatusResult | null>) => Promise<void>;
|
|
408
408
|
modalFormSize?: MicroMModalSize;
|
|
409
|
+
withFullscreenButton?: boolean;
|
|
410
|
+
closeOnEscape?: boolean;
|
|
411
|
+
closeOnClickOutside?: boolean;
|
|
409
412
|
}
|
|
410
413
|
export const EntityFormModalDefaultProps: Partial<EntityFormModalProps>;
|
|
411
414
|
export function EntityFormModal(props: EntityFormModalProps): null;
|
|
@@ -1771,6 +1774,9 @@ export interface OpenFormProps {
|
|
|
1771
1774
|
showCancel?: boolean;
|
|
1772
1775
|
otherFormProps?: any;
|
|
1773
1776
|
dontAddEntityTitle?: boolean;
|
|
1777
|
+
withFullscreenButton?: boolean;
|
|
1778
|
+
closeOnEscape?: boolean;
|
|
1779
|
+
closeOnClickOutside?: boolean;
|
|
1774
1780
|
}
|
|
1775
1781
|
export function useOpenForm(): (props: OpenFormProps) => Promise<void>;
|
|
1776
1782
|
export declare namespace query {
|
|
@@ -2532,7 +2538,7 @@ export function useAncestorResize(minSize?: SizeInput): {
|
|
|
2532
2538
|
ref: import("react").RefObject<HTMLDivElement>;
|
|
2533
2539
|
size: Size;
|
|
2534
2540
|
};
|
|
2535
|
-
export function useResponsiveWidth(maxWidthRem: string,
|
|
2541
|
+
export function useResponsiveWidth(maxWidthRem: string, paddingRem: string): string;
|
|
2536
2542
|
export interface UseLookupSelectOptions {
|
|
2537
2543
|
parentKeys?: ValuesObject;
|
|
2538
2544
|
selectDataState: useStateReturnType<SelectItem[]>;
|