@tap-payments/os-micro-frontend-shared 0.1.309 → 0.1.310

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.
@@ -1,5 +1,5 @@
1
- type UserVerificationProps = {
1
+ type VerificationIconProps = {
2
2
  status: string;
3
3
  };
4
- export declare const VerificationIcon: ({ status }: UserVerificationProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const VerificationIcon: ({ status }: VerificationIconProps) => import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -1,5 +1,5 @@
1
- type Props = {
1
+ type VerificationIconWithBgProps = {
2
2
  status: string;
3
3
  };
4
- export declare const VerificationIconWithBg: ({ status }: Props) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const VerificationIconWithBg: ({ status }: VerificationIconWithBgProps) => import("react/jsx-runtime").JSX.Element;
5
5
  export {};
@@ -0,0 +1,5 @@
1
+ export declare const BUSINESS_DOCUMENT_TYPE_MAP: {
2
+ readonly COMMERCIAL_REGISTRATION: "commercial_registration";
3
+ readonly FREELANCER: "freelancer";
4
+ readonly ARTICLE_OF_ASSOCIATION: "article_of_association";
5
+ };
@@ -0,0 +1,5 @@
1
+ export const BUSINESS_DOCUMENT_TYPE_MAP = {
2
+ COMMERCIAL_REGISTRATION: 'commercial_registration',
3
+ FREELANCER: 'freelancer',
4
+ ARTICLE_OF_ASSOCIATION: 'article_of_association',
5
+ };
@@ -15,3 +15,4 @@ export * from './segment';
15
15
  export * from './chips';
16
16
  export * from './rate';
17
17
  export * from './reports';
18
+ export * from './document';
@@ -15,3 +15,4 @@ export * from './segment';
15
15
  export * from './chips';
16
16
  export * from './rate';
17
17
  export * from './reports';
18
+ export * from './document';
@@ -0,0 +1,2 @@
1
+ import { BUSINESS_DOCUMENT_TYPE_MAP } from '../constants/index.js';
2
+ export type BusinessDocumentType = (typeof BUSINESS_DOCUMENT_TYPE_MAP)[keyof typeof BUSINESS_DOCUMENT_TYPE_MAP];
@@ -0,0 +1 @@
1
+ export {};
@@ -31,3 +31,4 @@ export * from './receipt';
31
31
  export * from './filter';
32
32
  export * from './utilities';
33
33
  export * from './reports';
34
+ export * from './document';
@@ -31,3 +31,4 @@ export * from './receipt';
31
31
  export * from './filter';
32
32
  export * from './utilities';
33
33
  export * from './reports';
34
+ export * from './document';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.309",
4
+ "version": "0.1.310",
5
5
  "testVersion": 0,
6
6
  "type": "module",
7
7
  "main": "build/index.js",