@mantine-vue/core 3.3.0 → 3.4.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/cjs/index.cjs +74 -24
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +103 -53
- package/esm/index.mjs.map +1 -1
- package/lib/components/NumberInput/number-input-utils.d.ts +2 -0
- package/package.json +3 -3
|
@@ -2,6 +2,8 @@ import type { NumberFormatterOptions } from '../NumberFormatter';
|
|
|
2
2
|
import type { NumberInputValue } from './NumberInput.types';
|
|
3
3
|
export declare function clamp(value: number, min?: number, max?: number): number;
|
|
4
4
|
export declare function clampBigInt(value: bigint, min?: bigint, max?: bigint): bigint;
|
|
5
|
+
export declare function canStep(value: number | string): boolean;
|
|
6
|
+
export declare function canStepBigInt(value: bigint | string, allowNegative: boolean): boolean;
|
|
5
7
|
export declare function stripFormatting(value: string, options: NumberFormatterOptions): string;
|
|
6
8
|
export declare function parseNumberInputValue(rawValue: string, allowDecimal: boolean, allowNegative: boolean, allowLeadingZeros: boolean, decimalScale?: number, fixedDecimalScale?: boolean): NumberInputValue;
|
|
7
9
|
export declare function sanitizeNumberInputString(rawValue: string, allowDecimal: boolean, allowNegative: boolean, decimalScale?: number): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine-vue/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "Vue component foundation architecturally equivalent to @mantine/core",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"vue": "^3.5.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@mantine-vue/hooks": "3.
|
|
58
|
-
"@mantine-vue/utils": "3.
|
|
57
|
+
"@mantine-vue/hooks": "3.4.0",
|
|
58
|
+
"@mantine-vue/utils": "3.4.0",
|
|
59
59
|
"vue": "^3.5.0"
|
|
60
60
|
}
|
|
61
61
|
}
|