1mpacto-react-ui 0.0.104 → 0.0.105
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.cjs +72 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +7916 -8918
- package/dist/index.mjs.map +1 -1
- package/dist/src/interfaces/components/Tooltip/index.d.ts +1 -1
- package/dist/src/utils/yup.d.ts +27 -1
- package/package.json +1 -1
- package/dist/types-external/yup.d.ts +0 -11
@@ -1,7 +1,7 @@
|
|
1
|
-
import { IPopover } from '1mpacto-react-ui';
|
2
1
|
import { FloatingArrowProps, UseFloatingOptions } from '@floating-ui/react';
|
3
2
|
import { default as React } from 'react';
|
4
3
|
import { IColor } from '../../../config/tailwind/colors';
|
4
|
+
import { IPopover } from '../Popover';
|
5
5
|
|
6
6
|
export interface ITooltip {
|
7
7
|
id?: string;
|
package/dist/src/utils/yup.d.ts
CHANGED
@@ -1 +1,27 @@
|
|
1
|
-
|
1
|
+
import { TBigNumber } from '../config/bigNumber';
|
2
|
+
import * as yup from 'yup';
|
3
|
+
export declare function minBig(min: TBigNumber, message?: string): {
|
4
|
+
name: string;
|
5
|
+
message: string;
|
6
|
+
test(this: yup.TestContext, value: unknown): boolean | yup.ValidationError;
|
7
|
+
};
|
8
|
+
export declare function maxBig(max: TBigNumber, message?: string): {
|
9
|
+
name: string;
|
10
|
+
message: string;
|
11
|
+
test(this: yup.TestContext, value: unknown): boolean | yup.ValidationError;
|
12
|
+
};
|
13
|
+
export declare function moreThanBig(min: TBigNumber, message?: string): {
|
14
|
+
name: string;
|
15
|
+
message: string;
|
16
|
+
test(this: yup.TestContext, value: unknown): boolean | yup.ValidationError;
|
17
|
+
};
|
18
|
+
export declare function lessThanBig(max: TBigNumber, message?: string): {
|
19
|
+
name: string;
|
20
|
+
message: string;
|
21
|
+
test(this: yup.TestContext, value: unknown): boolean | yup.ValidationError;
|
22
|
+
};
|
23
|
+
export declare function betweenBig(min: TBigNumber, max: TBigNumber, message?: string): {
|
24
|
+
name: string;
|
25
|
+
message: string;
|
26
|
+
test(this: yup.TestContext, value: unknown): boolean | yup.ValidationError;
|
27
|
+
};
|
package/package.json
CHANGED
@@ -1,11 +0,0 @@
|
|
1
|
-
import 'yup';
|
2
|
-
|
3
|
-
declare module 'yup' {
|
4
|
-
interface MixedSchema<T = unknown> {
|
5
|
-
minBig(min: BigNumberValue, message?: string): MixedSchema<T>;
|
6
|
-
maxBig(max: BigNumberValue, message?: string): MixedSchema<T>;
|
7
|
-
moreThanBig(min: BigNumberValue, message?: string): MixedSchema<T>;
|
8
|
-
lessThanBig(max: BigNumberValue, message?: string): MixedSchema<T>;
|
9
|
-
betweenBig(min: BigNumberValue, max: BigNumberValue, message?: string): MixedSchema<T>;
|
10
|
-
}
|
11
|
-
}
|