@tap-payments/os-micro-frontend-shared 0.1.173-test.4 → 0.1.174

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.
@@ -24,7 +24,7 @@ export const Upload = styled('span')(({ theme }) => ({
24
24
  fontWeight: 500,
25
25
  color: theme.palette.text.primary,
26
26
  cursor: 'pointer',
27
- fontSize: '8px',
27
+ fontSize: '9px',
28
28
  }));
29
29
  export const TextWrapper = styled(Box)(({ theme }) => ({
30
30
  display: 'flex',
@@ -1,3 +1,3 @@
1
1
  import { ChipProps } from './type';
2
- declare const StatusChip: ({ children, unknownText, copyText, expandDirection, chipStyles, containerStyles, ...props }: ChipProps) => import("react/jsx-runtime").JSX.Element;
2
+ declare const StatusChip: ({ children, unknownText, copyText, expandDirection, chipStyles, ...props }: ChipProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default StatusChip;
@@ -18,7 +18,7 @@ import { copyIcon, greenCheckIcon } from '../../constants/index.js';
18
18
  import { ChipStyled, Wrapper, CopyWrapper } from './style';
19
19
  import { emptyStatusChipColors } from '../../constants/index.js';
20
20
  const StatusChip = (_a) => {
21
- var { children, unknownText, copyText, expandDirection = 'right', chipStyles, containerStyles } = _a, props = __rest(_a, ["children", "unknownText", "copyText", "expandDirection", "chipStyles", "containerStyles"]);
21
+ var { children, unknownText, copyText, expandDirection = 'right', chipStyles } = _a, props = __rest(_a, ["children", "unknownText", "copyText", "expandDirection", "chipStyles"]);
22
22
  const [showCopy, setShowCopy] = useState(false);
23
23
  const { t } = useTranslation();
24
24
  const isSelected = props.isSelected;
@@ -39,7 +39,7 @@ const StatusChip = (_a) => {
39
39
  }
40
40
  };
41
41
  const isCopyActive = isSelected && copyText;
42
- return (_jsxs(motion.div, Object.assign({ style: Object.assign({ position: 'relative' }, containerStyles), animate: { zIndex: isSelected ? 3 : 0 } }, { children: [_jsx(ChipStyled, Object.assign({}, props, { sx: { visibility: 'hidden', pointerEvents: 'none' } }, { children: _jsx(Wrapper, { children: children }) })), _jsx(motion.div, Object.assign({ style: { position: 'absolute', top: 0, zIndex: isSelected ? 3 : 0 }, animate: {
42
+ return (_jsxs(motion.div, Object.assign({ style: { position: 'relative' }, animate: { zIndex: isSelected ? 3 : 0 } }, { children: [_jsx(ChipStyled, Object.assign({}, props, { sx: { visibility: 'hidden', pointerEvents: 'none' } }, { children: _jsx(Wrapper, { children: children }) })), _jsx(motion.div, Object.assign({ style: { position: 'absolute', top: 0, zIndex: isSelected ? 3 : 0 }, animate: {
43
43
  left: isCopyActive && expandDirection === 'left' ? -12 : 0,
44
44
  }, transition: { delay: isSelected ? 0 : 0.2, duration: 0.2 } }, { children: _jsx(ChipStyled, Object.assign({}, props, { isSelected: isSelected }, chipStyles, { children: _jsxs(motion.div, Object.assign({ layout: "size", style: { display: 'flex', gap: '4px' }, animate: {
45
45
  paddingRight: isCopyActive ? 12 : 0,
@@ -15,7 +15,6 @@ export declare const ChipStyled: import("@emotion/styled").StyledComponent<impor
15
15
  expandDirection?: "left" | "right" | undefined;
16
16
  chipStyles?: object | undefined;
17
17
  disableAnimation?: boolean | undefined;
18
- containerStyles?: object | undefined;
19
18
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
20
19
  ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
21
20
  }, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & {
@@ -14,5 +14,4 @@ export type ChipProps = PropsWithChildren<{
14
14
  expandDirection?: 'left' | 'right';
15
15
  chipStyles?: object;
16
16
  disableAnimation?: boolean;
17
- containerStyles?: object;
18
17
  } & BoxProps>;
@@ -43,7 +43,6 @@ export const ItemText = styled(Text)(({ theme }) => ({
43
43
  fontSize: '11px',
44
44
  fontWeight: 500,
45
45
  lineHeight: '13.2px',
46
- // width: 110
47
46
  }));
48
47
  export const ItemTextWrapper = styled(Box)(() => ({
49
48
  display: 'flex',
@@ -398,6 +398,9 @@ export declare const APP_CODES: {
398
398
  statement: {
399
399
  code: string;
400
400
  };
401
+ summary: {
402
+ code: string;
403
+ };
401
404
  view: {
402
405
  code: string;
403
406
  };
@@ -418,6 +421,9 @@ export declare const APP_CODES: {
418
421
  statement: {
419
422
  code: string;
420
423
  };
424
+ summary: {
425
+ code: string;
426
+ };
421
427
  view: {
422
428
  code: string;
423
429
  };
@@ -438,6 +444,9 @@ export declare const APP_CODES: {
438
444
  statement: {
439
445
  code: string;
440
446
  };
447
+ summary: {
448
+ code: string;
449
+ };
441
450
  view: {
442
451
  code: string;
443
452
  };
@@ -478,6 +487,12 @@ export declare const APP_CODES: {
478
487
  paymentTechnology: {
479
488
  code: string;
480
489
  functions: {
490
+ statement: {
491
+ code: string;
492
+ };
493
+ summary: {
494
+ code: string;
495
+ };
481
496
  view: {
482
497
  code: string;
483
498
  };
@@ -166,18 +166,24 @@ export const APP_CODES = {
166
166
  code: 'BUSINESS_WALLET',
167
167
  functions: Object.assign(Object.assign({}, SERVICE_COMMON_FUNCTIONS), { statement: {
168
168
  code: 'STATEMENT',
169
+ }, summary: {
170
+ code: 'SUMMARY',
169
171
  } }),
170
172
  },
171
173
  retailers: {
172
174
  code: 'RETAILER_WALLET',
173
175
  functions: Object.assign(Object.assign({}, SERVICE_COMMON_FUNCTIONS), { statement: {
174
176
  code: 'STATEMENT',
177
+ }, summary: {
178
+ code: 'SUMMARY',
175
179
  } }),
176
180
  },
177
181
  customers: {
178
182
  code: 'CUSTOMER_WALLET',
179
183
  functions: Object.assign(Object.assign({}, SERVICE_COMMON_FUNCTIONS), { statement: {
180
184
  code: 'STATEMENT',
185
+ }, summary: {
186
+ code: 'SUMMARY',
181
187
  } }),
182
188
  },
183
189
  merchants: {
@@ -190,7 +196,11 @@ export const APP_CODES = {
190
196
  },
191
197
  paymentTechnology: {
192
198
  code: 'PAYMENT_TECHNOLOGY_WALLET',
193
- functions: Object.assign({}, SERVICE_COMMON_FUNCTIONS),
199
+ functions: Object.assign(Object.assign({}, SERVICE_COMMON_FUNCTIONS), { statement: {
200
+ code: 'STATEMENT',
201
+ }, summary: {
202
+ code: 'SUMMARY',
203
+ } }),
194
204
  },
195
205
  },
196
206
  },
@@ -7,7 +7,7 @@ export declare const merchantsTableCellWidth: {
7
7
  readonly entity: {
8
8
  readonly default: "137px";
9
9
  readonly text: "180px";
10
- readonly sheet: "235px";
10
+ readonly sheet: "180px";
11
11
  };
12
12
  readonly created: {
13
13
  readonly default: "144px";
@@ -17,7 +17,7 @@ export declare const merchantsTableCellWidth: {
17
17
  readonly brands: {
18
18
  readonly default: "131px";
19
19
  readonly text: "140px";
20
- readonly sheet: "170px";
20
+ readonly sheet: "140px";
21
21
  };
22
22
  readonly marketplace: {
23
23
  readonly default: "110px";
@@ -27,7 +27,7 @@ export declare const merchantsTableCellWidth: {
27
27
  readonly individuals: {
28
28
  readonly default: "147px";
29
29
  readonly text: "185px";
30
- readonly sheet: "200px";
30
+ readonly sheet: "185px";
31
31
  };
32
32
  readonly segments: {
33
33
  readonly default: "70px";
@@ -67,11 +67,11 @@ export declare const merchantsTableCellWidth: {
67
67
  readonly channels: {
68
68
  readonly default: "94px";
69
69
  readonly text: "120px";
70
- readonly sheet: "510px";
70
+ readonly sheet: "120px";
71
71
  };
72
72
  readonly merchant: {
73
73
  readonly default: "175px";
74
74
  readonly text: "180px";
75
- readonly sheet: "235px";
75
+ readonly sheet: "138px";
76
76
  };
77
77
  };
@@ -7,7 +7,7 @@ export const merchantsTableCellWidth = {
7
7
  entity: {
8
8
  default: '137px',
9
9
  text: '180px',
10
- sheet: '235px',
10
+ sheet: '180px',
11
11
  },
12
12
  created: {
13
13
  default: '144px',
@@ -17,7 +17,7 @@ export const merchantsTableCellWidth = {
17
17
  brands: {
18
18
  default: '131px',
19
19
  text: '140px',
20
- sheet: '170px',
20
+ sheet: '140px',
21
21
  },
22
22
  marketplace: {
23
23
  default: '110px',
@@ -27,7 +27,7 @@ export const merchantsTableCellWidth = {
27
27
  individuals: {
28
28
  default: '147px',
29
29
  text: '185px',
30
- sheet: '200px',
30
+ sheet: '185px',
31
31
  },
32
32
  segments: {
33
33
  default: '70px',
@@ -67,11 +67,11 @@ export const merchantsTableCellWidth = {
67
67
  channels: {
68
68
  default: '94px',
69
69
  text: '120px',
70
- sheet: '510px',
70
+ sheet: '120px',
71
71
  },
72
72
  merchant: {
73
73
  default: '175px',
74
74
  text: '180px',
75
- sheet: '235px',
75
+ sheet: '138px',
76
76
  },
77
77
  };
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.173-test.4",
5
- "testVersion": 4,
4
+ "version": "0.1.174",
5
+ "testVersion": 0,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -163,4 +163,4 @@
163
163
  "publishConfig": {
164
164
  "registry": "https://registry.npmjs.org/"
165
165
  }
166
- }
166
+ }