@utrecht/component-library-react 1.0.0-alpha.335 → 1.0.0-alpha.337

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.
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { HTMLAttributes } from 'react';
6
+ export interface CurrencyDataProps extends HTMLAttributes<HTMLDataElement> {
7
+ currency?: string;
8
+ amount: string | number;
9
+ locale?: string;
10
+ }
11
+ export declare const formatLabel: (locale: string, currency: string, amount: number) => string;
12
+ export declare const formatVisually: (locale: string, currency: string, amount: number) => string;
13
+ export declare const CurrencyData: import("react").ForwardRefExoticComponent<CurrencyDataProps & import("react").RefAttributes<HTMLDataElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { HTMLAttributes } from 'react';
6
+ export interface IBANDataProps extends HTMLAttributes<HTMLDataElement> {
7
+ value: string;
8
+ }
9
+ export declare const normalizeIBAN: (iban: string) => string;
10
+ export declare const formatIBAN: (normalizedIBAN: string) => string;
11
+ export declare const IBANData: import("react").ForwardRefExoticComponent<IBANDataProps & import("react").RefAttributes<HTMLDataElement>>;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { HTMLAttributes } from 'react';
6
+ export interface CurrencyDataProps extends HTMLAttributes<HTMLDataElement> {
7
+ currency?: string;
8
+ amount: string | number;
9
+ locale?: string;
10
+ }
11
+ export declare const formatLabel: (locale: string, currency: string, amount: number) => string;
12
+ export declare const formatVisually: (locale: string, currency: string, amount: number) => string;
13
+ export declare const CurrencyData: import("react").ForwardRefExoticComponent<CurrencyDataProps & import("react").RefAttributes<HTMLDataElement>>;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import { HTMLAttributes } from 'react';
6
+ export interface IBANDataProps extends HTMLAttributes<HTMLDataElement> {
7
+ value: string;
8
+ }
9
+ export declare const normalizeIBAN: (iban: string) => string;
10
+ export declare const formatIBAN: (normalizedIBAN: string) => string;
11
+ export declare const IBANData: import("react").ForwardRefExoticComponent<IBANDataProps & import("react").RefAttributes<HTMLDataElement>>;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import '../../../../components/currency-data/css/index.scss';
6
+ export * from '../CurrencyData';
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license EUPL-1.2
3
+ * Copyright (c) 2021 Robbert Broersma
4
+ */
5
+ import '../../../../components/iban-data/css/index.scss';
6
+ export * from '../IBANData';
@@ -18,6 +18,7 @@ export { Checkbox } from './Checkbox';
18
18
  export { Code } from './Code';
19
19
  export { CodeBlock } from './CodeBlock';
20
20
  export { ColorSample } from './ColorSample';
21
+ export { CurrencyData } from './CurrencyData';
21
22
  export { DataBadge } from './DataBadge';
22
23
  export { Document } from './Document';
23
24
  export { DataList, DataListItem, DataListActions, DataListKey, DataListValue } from './DataList';
@@ -38,6 +39,7 @@ export { Heading4 } from './Heading4';
38
39
  export { Heading5 } from './Heading5';
39
40
  export { Heading6 } from './Heading6';
40
41
  export { HeadingGroup } from './HeadingGroup';
42
+ export { IBANData } from './IBANData';
41
43
  export { Icon } from './Icon';
42
44
  export { Image } from './Image';
43
45
  export { Link } from './Link';
@@ -18,6 +18,7 @@ export { Checkbox } from './Checkbox';
18
18
  export { Code } from './Code';
19
19
  export { CodeBlock } from './CodeBlock';
20
20
  export { ColorSample } from './ColorSample';
21
+ export { CurrencyData } from './CurrencyData';
21
22
  export { DataBadge } from './DataBadge';
22
23
  export { Document } from './Document';
23
24
  export { DataList, DataListItem, DataListActions, DataListKey, DataListValue } from './DataList';
@@ -38,6 +39,7 @@ export { Heading4 } from './Heading4';
38
39
  export { Heading5 } from './Heading5';
39
40
  export { Heading6 } from './Heading6';
40
41
  export { HeadingGroup } from './HeadingGroup';
42
+ export { IBANData } from './IBANData';
41
43
  export { Icon } from './Icon';
42
44
  export { Image } from './Image';
43
45
  export { Link } from './Link';