uikit-react-public 0.49.2 → 0.49.3
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/components/common/formatConfidentialValue.d.ts +4 -1
- package/dist/index.js +456 -451
- package/lib/components/ConfidentialDisplayField/ConfidentialDisplayField.tsx +5 -1
- package/lib/components/ConfidentialDisplayField/__tests__/ConfidentialDisplayField.test.tsx +1 -1
- package/lib/components/ConfidentialInput/ConfidentialInput.tsx +2 -1
- package/lib/components/ConfidentialInput/__tests__/ConfidentialInput.test.tsx +1 -1
- package/lib/components/common/formatConfidentialValue.ts +16 -4
- package/package.json +1 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export type MaskFormat = string | ((value: string) => string);
|
|
2
|
-
|
|
2
|
+
interface FormatConfidentialValueOptions {
|
|
3
|
+
includeTemplateLiterals?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const formatConfidentialValue: (value: string, maskFormat: MaskFormat, { includeTemplateLiterals }?: FormatConfidentialValueOptions) => string;
|
|
3
6
|
export default formatConfidentialValue;
|