@react-types/shared
Advanced tools
Comparing version 3.0.0-nightly.858 to 3.0.0-nightly.861
{ | ||
"name": "@react-types/shared", | ||
"version": "3.0.0-nightly.858+7326ad2a", | ||
"version": "3.0.0-nightly.861+bd1afa1d", | ||
"description": "Spectrum UI components in React", | ||
@@ -17,3 +17,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "7326ad2ab299a05c6786c1fc8e23df652b3d630d" | ||
"gitHead": "bd1afa1d8f11893a1b3de13eaa3e99c19300d6bd" | ||
} |
@@ -14,1 +14,16 @@ /* | ||
export type Direction = 'ltr' | 'rtl'; | ||
export type NumeralSystem = 'arab' | 'hanidec' | 'latn'; | ||
export interface NumberParser { | ||
/** Parses a cleaned string into the number it represents. */ | ||
parse: (value: string) => number, | ||
/** Rounds a number using the current formatter. */ | ||
round: (value: number) => number, | ||
symbols: { | ||
minusSign: string, | ||
plusSign: string | ||
}, | ||
/** This removes any not allowed characters from the string. */ | ||
clean: (value: string) => string | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
67823
1268