@mcurros2/microm 1.1.301-0 → 1.1.303-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 +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AlertProps, DefaultMantineColor, ProgressProps, Variants, StepperProps, MantineTheme, TextareaProps, TextInputProps, MantineNumberSize, MantineColor, PasswordInputProps, NotificationProps, CheckboxProps, ButtonProps, ActionIconProps, NumberInputProps, ImageProps, MultiSelectProps, SelectItem, BadgeVariant, MantineSize, CardProps, OverlayProps, TransitionProps, AccordionProps, PinInputProps, SwitchProps, Radio, SelectProps, GroupProps, AvatarProps, AnchorProps, AutocompleteItem, AutocompleteProps, DefaultProps, BadgeProps } from "@mantine/core";
|
|
2
2
|
import { JSX } from "react/jsx-runtime";
|
|
3
3
|
import React, { JSXElementConstructor, ReactElement, ReactNode, PropsWithChildren, ComponentType, RefAttributes, ForwardRefExoticComponent, MutableRefObject, useState, Dispatch, SetStateAction, KeyboardEvent, RefObject, CSSProperties, ComponentPropsWithoutRef, Context, ReactPortal } from "react";
|
|
4
|
-
import { hasLength,
|
|
4
|
+
import { hasLength, isNotEmpty, matches, UseFormReturnType } from "@mantine/form";
|
|
5
5
|
import { LooseKeys } from "@mantine/form/lib/types";
|
|
6
6
|
import { IconProps, Icon } from "@tabler/icons-react";
|
|
7
7
|
import { ModalSettings } from "@mantine/modals/lib/context";
|
|
@@ -315,7 +315,7 @@ export const CommonValidators: {
|
|
|
315
315
|
length: typeof hasLength;
|
|
316
316
|
required: typeof isNotEmpty;
|
|
317
317
|
regex: typeof matches;
|
|
318
|
-
range:
|
|
318
|
+
range: ValidatorFunction;
|
|
319
319
|
field: ValidatorFunction;
|
|
320
320
|
custom: ValidatorFunction;
|
|
321
321
|
};
|