@mcurros2/microm 1.1.107-0 → 1.1.109-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 +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -23
- 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, SelectProps, GroupProps, AvatarProps, AutocompleteItem, AutocompleteProps, DefaultProps, BadgeProps } from "@mantine/core";
|
|
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, MantineSizes, 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";
|
|
@@ -319,6 +319,7 @@ export interface UseEntityFormReturnType {
|
|
|
319
319
|
clearAllAsyncErrors: () => void;
|
|
320
320
|
isFormValid: () => boolean;
|
|
321
321
|
isFormFieldValid: (column_name: string) => boolean;
|
|
322
|
+
silentSave: () => Promise<void>;
|
|
322
323
|
}
|
|
323
324
|
export const UseEntityFormDefaultProps: Partial<UseEntityFormOptions>;
|
|
324
325
|
export function useEntityForm(props: UseEntityFormOptions): UseEntityFormReturnType;
|
|
@@ -2531,6 +2532,7 @@ export function useAncestorResize(minSize?: SizeInput): {
|
|
|
2531
2532
|
ref: import("react").RefObject<HTMLDivElement>;
|
|
2532
2533
|
size: Size;
|
|
2533
2534
|
};
|
|
2535
|
+
export function useResponsiveWidth(maxWidthRem: string, padding: MantineSizes): string;
|
|
2534
2536
|
export interface UseLookupSelectOptions {
|
|
2535
2537
|
parentKeys?: ValuesObject;
|
|
2536
2538
|
selectDataState: useStateReturnType<SelectItem[]>;
|