@tap-payments/os-micro-frontend-shared 0.1.59 → 0.1.60-test.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.
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
2
|
+
import { UserSection } from '../../types/index.js';
|
|
3
3
|
interface WindowSideBarProps {
|
|
4
4
|
sections: UserSection[];
|
|
5
5
|
isMaximized?: boolean;
|
|
6
|
-
onClick?: (section:
|
|
7
|
-
|
|
8
|
-
title?: string;
|
|
9
|
-
icon?: string;
|
|
10
|
-
}) => void;
|
|
11
|
-
activeSection?: ACCOUNT_SECTION;
|
|
6
|
+
onClick?: (section: UserSection) => void;
|
|
7
|
+
activeSection?: string;
|
|
12
8
|
}
|
|
13
9
|
declare function WindowSideBar({ sections, isMaximized, onClick, activeSection }: WindowSideBarProps): import("react/jsx-runtime").JSX.Element;
|
|
14
10
|
declare const _default: import("react").MemoExoticComponent<typeof WindowSideBar>;
|
|
@@ -103,6 +103,7 @@ export declare const checkIcon: string;
|
|
|
103
103
|
export declare const closeXIcon: string;
|
|
104
104
|
export declare const dragIcon: string;
|
|
105
105
|
export declare const checkboxIcon: string;
|
|
106
|
+
export declare const whitePlusIcon: string;
|
|
106
107
|
export declare const protectIcon: string;
|
|
107
108
|
export declare const unisoIcon: string;
|
|
108
109
|
export declare const addidasIcon: string;
|
|
@@ -107,6 +107,7 @@ export const checkIcon = `${appBaseUrl}/check.svg`;
|
|
|
107
107
|
export const closeXIcon = `${appBaseUrl}/closeX.svg`;
|
|
108
108
|
export const dragIcon = `${appBaseUrl}/drag.svg`;
|
|
109
109
|
export const checkboxIcon = `${appBaseUrl}/checkboxIcon.svg`;
|
|
110
|
+
export const whitePlusIcon = `${lightUrl}/plusWhite.svg`;
|
|
110
111
|
export const protectIcon = `${appBaseUrl}/checkboxIcon.svg`;
|
|
111
112
|
export const unisoIcon = `${lightUrl}/Uniso.svg`;
|
|
112
113
|
export const addidasIcon = `${lightUrl}/addidas.svg`;
|
package/build/types/user.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { UserApp } from './apps';
|
|
|
2
2
|
import { Brand } from './brand';
|
|
3
3
|
import { Entity } from './entity';
|
|
4
4
|
import { Merchant } from './merchant';
|
|
5
|
-
import { ACCOUNT_SECTION } from './account';
|
|
6
5
|
import { Country } from './appConfig';
|
|
7
6
|
export interface TextAndLang {
|
|
8
7
|
lang: string;
|
|
@@ -161,7 +160,7 @@ export interface SegmentRole {
|
|
|
161
160
|
role_id: string;
|
|
162
161
|
}
|
|
163
162
|
export interface UserSection {
|
|
164
|
-
id:
|
|
163
|
+
id: string;
|
|
165
164
|
title?: string;
|
|
166
165
|
icon?: string;
|
|
167
166
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.60-test.3",
|
|
5
|
+
"testVersion": 3,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|
|
@@ -131,4 +131,4 @@
|
|
|
131
131
|
"publishConfig": {
|
|
132
132
|
"registry": "https://registry.npmjs.org/"
|
|
133
133
|
}
|
|
134
|
-
}
|
|
134
|
+
}
|