@tap-payments/os-micro-frontend-shared 0.1.91-test.6 → 0.1.91

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.
Files changed (99) hide show
  1. package/build/components/AccountDropdown/style.d.ts +1 -1
  2. package/build/components/ActionMenu/style.d.ts +1 -1
  3. package/build/components/ActivityAreaChart/styles.d.ts +3 -3
  4. package/build/components/AppServices/style.d.ts +1 -1
  5. package/build/components/AppWindowWrapper/AppWindow/style.d.ts +2 -2
  6. package/build/components/Calender/style.d.ts +4 -4
  7. package/build/components/Chip/style.d.ts +5 -5
  8. package/build/components/CircularProgressWithLabel/style.d.ts +1 -1
  9. package/build/components/ColorPicker/style.d.ts +2 -2
  10. package/build/components/ConfirmDialog/styles.d.ts +1 -1
  11. package/build/components/CountBadge/style.d.ts +5 -5
  12. package/build/components/Dialog/style.d.ts +5 -5
  13. package/build/components/DockButton/style.d.ts +1 -1
  14. package/build/components/DropdownButton/constants.d.ts +2 -2
  15. package/build/components/DropdownButton/style.d.ts +2 -2
  16. package/build/components/ErrorBoundary/style.d.ts +1 -1
  17. package/build/components/FileUpload/style.d.ts +3 -3
  18. package/build/components/FileUploader/style.d.ts +1 -1
  19. package/build/components/FlippingCard/style.d.ts +5 -5
  20. package/build/components/IconWithLabel/style.d.ts +1 -1
  21. package/build/components/IconsDropdown/style.d.ts +2 -2
  22. package/build/components/ImageWrapper/ImageWrapper.d.ts +5 -5
  23. package/build/components/InputBase/SelectBase/style.d.ts +1 -1
  24. package/build/components/Inputs/FileInput/style.d.ts +1 -1
  25. package/build/components/JSONViewer/style.d.ts +11 -11
  26. package/build/components/LabeledIconDropdown/style.d.ts +3 -3
  27. package/build/components/LeftPeekRightExpandingChip/style.d.ts +15 -15
  28. package/build/components/MultiSelectStatusButton/style.d.ts +1 -1
  29. package/build/components/MultiSelectWithSearch/style.d.ts +3 -3
  30. package/build/components/NestedDropdown/NestedDropdown.d.ts +4 -2
  31. package/build/components/NestedDropdown/NestedDropdown.js +13 -2
  32. package/build/components/NestedDropdown/NestedMenuItem.d.ts +4 -1
  33. package/build/components/NestedDropdown/NestedMenuItem.js +2 -4
  34. package/build/components/NestedDropdown/styles.d.ts +1 -1
  35. package/build/components/NestedDropdown/types.d.ts +1 -1
  36. package/build/components/ProgressBar/style.d.ts +1 -1
  37. package/build/components/ProgressRing/style.d.ts +2 -2
  38. package/build/components/RFH/Inputs/SelectWithAccordion/style.d.ts +3 -3
  39. package/build/components/RangeCalender/components/QuickFilters/style.d.ts +1 -1
  40. package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
  41. package/build/components/RangeCalender/style.d.ts +3 -3
  42. package/build/components/RightLeftExpandingCenterChip/style.d.ts +65 -65
  43. package/build/components/SearchButton/styles.d.ts +10 -10
  44. package/build/components/SelectDropdown/style.d.ts +1 -1
  45. package/build/components/SelectWithSearch/style.d.ts +3 -3
  46. package/build/components/StatusButton/style.d.ts +2 -2
  47. package/build/components/StatusIcons/AuthIcons/style.d.ts +10 -10
  48. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +5 -5
  49. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +30 -30
  50. package/build/components/StatusIcons/SourceIcons/style.d.ts +5 -5
  51. package/build/components/StatusLabel/style.d.ts +1 -1
  52. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +5 -5
  53. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +5 -5
  54. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +10 -10
  55. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +25 -25
  56. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +25 -25
  57. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +5 -5
  58. package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +1 -1
  59. package/build/components/TableCells/CustomCells/BrandsCell/style.d.ts +1 -3
  60. package/build/components/TableCells/CustomCells/BrandsCell/style.js +10 -4
  61. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +5 -5
  62. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +5 -5
  63. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +25 -25
  64. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +5 -5
  65. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +10 -10
  66. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +5 -5
  67. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +5 -5
  68. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +25 -25
  69. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +5 -5
  70. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +5 -5
  71. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +10 -10
  72. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +5 -5
  73. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +5 -7
  74. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +5 -5
  75. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +5 -5
  76. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +5 -5
  77. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +30 -30
  78. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +30 -30
  79. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +25 -25
  80. package/build/components/TableCells/CustomCells/style.d.ts +5 -5
  81. package/build/components/TableHeader/style.d.ts +1 -1
  82. package/build/components/Timepicker/style.d.ts +2 -2
  83. package/build/components/ToolbarIcon/ExpandButton/style.d.ts +1 -1
  84. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
  85. package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
  86. package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
  87. package/build/components/VirtualTables/components/TableFooter/style.d.ts +2 -2
  88. package/build/components/VirtualTables/components/style.d.ts +5 -5
  89. package/build/components/Widget/style.d.ts +1 -1
  90. package/build/components/Window/style.d.ts +10 -10
  91. package/build/components/WindowAppIcon/style.d.ts +1 -1
  92. package/build/constants/assets.d.ts +2 -0
  93. package/build/constants/assets.js +2 -0
  94. package/build/constants/table/cell/refundTableCellWidth.d.ts +11 -1
  95. package/build/constants/table/cell/refundTableCellWidth.js +11 -1
  96. package/build/types/column.d.ts +3 -0
  97. package/build/utils/url.d.ts +0 -1
  98. package/build/utils/url.js +0 -10
  99. package/package.json +3 -3
@@ -5,9 +5,11 @@ export declare const initalStyle: any;
5
5
  export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
6
6
  hidden?: boolean | undefined;
7
7
  id?: string | undefined;
8
+ color?: string | undefined;
9
+ content?: string | undefined;
10
+ translate?: "yes" | "no" | undefined;
8
11
  slot?: string | undefined;
9
12
  title?: string | undefined;
10
- color?: string | undefined;
11
13
  className?: string | undefined;
12
14
  defaultChecked?: boolean | undefined;
13
15
  defaultValue?: string | number | readonly string[] | undefined;
@@ -25,11 +27,9 @@ export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
25
27
  nonce?: string | undefined;
26
28
  spellCheck?: (boolean | "false" | "true") | undefined;
27
29
  tabIndex?: number | undefined;
28
- translate?: "yes" | "no" | undefined;
29
30
  radioGroup?: string | undefined;
30
31
  role?: import("react").AriaRole | undefined;
31
32
  about?: string | undefined;
32
- content?: string | undefined;
33
33
  datatype?: string | undefined;
34
34
  inlist?: any;
35
35
  prefix?: string | undefined;
@@ -65,7 +65,7 @@ export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
65
65
  "aria-colindextext"?: string | undefined;
66
66
  "aria-colspan"?: number | undefined;
67
67
  "aria-controls"?: string | undefined;
68
- "aria-current"?: boolean | "date" | "false" | "true" | "time" | "page" | "step" | "location" | undefined;
68
+ "aria-current"?: boolean | "page" | "date" | "false" | "true" | "time" | "step" | "location" | undefined;
69
69
  "aria-describedby"?: string | undefined;
70
70
  "aria-description"?: string | undefined;
71
71
  "aria-details"?: string | undefined;
@@ -75,7 +75,7 @@ export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
75
75
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
76
76
  "aria-flowto"?: string | undefined;
77
77
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
78
- "aria-haspopup"?: boolean | "false" | "true" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
78
+ "aria-haspopup"?: boolean | "grid" | "false" | "true" | "dialog" | "menu" | "listbox" | "tree" | undefined;
79
79
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
80
80
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
81
81
  "aria-keyshortcuts"?: string | undefined;
@@ -272,9 +272,11 @@ export declare const AppContainerWrapper: import("@emotion/styled").StyledCompon
272
272
  export declare const AppContainerContainer: import("@emotion/styled").StyledComponent<{
273
273
  hidden?: boolean | undefined;
274
274
  id?: string | undefined;
275
+ color?: string | undefined;
276
+ content?: string | undefined;
277
+ translate?: "yes" | "no" | undefined;
275
278
  slot?: string | undefined;
276
279
  title?: string | undefined;
277
- color?: string | undefined;
278
280
  className?: string | undefined;
279
281
  defaultChecked?: boolean | undefined;
280
282
  defaultValue?: string | number | readonly string[] | undefined;
@@ -292,11 +294,9 @@ export declare const AppContainerContainer: import("@emotion/styled").StyledComp
292
294
  nonce?: string | undefined;
293
295
  spellCheck?: (boolean | "false" | "true") | undefined;
294
296
  tabIndex?: number | undefined;
295
- translate?: "yes" | "no" | undefined;
296
297
  radioGroup?: string | undefined;
297
298
  role?: import("react").AriaRole | undefined;
298
299
  about?: string | undefined;
299
- content?: string | undefined;
300
300
  datatype?: string | undefined;
301
301
  inlist?: any;
302
302
  prefix?: string | undefined;
@@ -332,7 +332,7 @@ export declare const AppContainerContainer: import("@emotion/styled").StyledComp
332
332
  "aria-colindextext"?: string | undefined;
333
333
  "aria-colspan"?: number | undefined;
334
334
  "aria-controls"?: string | undefined;
335
- "aria-current"?: boolean | "date" | "false" | "true" | "time" | "page" | "step" | "location" | undefined;
335
+ "aria-current"?: boolean | "page" | "date" | "false" | "true" | "time" | "step" | "location" | undefined;
336
336
  "aria-describedby"?: string | undefined;
337
337
  "aria-description"?: string | undefined;
338
338
  "aria-details"?: string | undefined;
@@ -342,7 +342,7 @@ export declare const AppContainerContainer: import("@emotion/styled").StyledComp
342
342
  "aria-expanded"?: (boolean | "false" | "true") | undefined;
343
343
  "aria-flowto"?: string | undefined;
344
344
  "aria-grabbed"?: (boolean | "false" | "true") | undefined;
345
- "aria-haspopup"?: boolean | "false" | "true" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
345
+ "aria-haspopup"?: boolean | "grid" | "false" | "true" | "dialog" | "menu" | "listbox" | "tree" | undefined;
346
346
  "aria-hidden"?: (boolean | "false" | "true") | undefined;
347
347
  "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
348
348
  "aria-keyshortcuts"?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const TitleStyled: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
3
3
  ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
4
- }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "m" | "order" | "p" | "style" | "color" | "border" | "borderRadius" | "borderColor" | "borderBottom" | "flex" | "display" | "alignItems" | "borderTop" | "borderRight" | "borderLeft" | "className" | "classes" | "children" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignContent" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "zIndex" | "position" | "boxShadow" | "maxWidth" | "minWidth" | "maxHeight" | "boxSizing" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & {
4
+ }, "width" | "minHeight" | "height" | "bottom" | "left" | "right" | "top" | "border" | "boxShadow" | "fontWeight" | "zIndex" | "alignContent" | "alignItems" | "alignSelf" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "justifyContent" | "justifyItems" | "justifySelf" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "visibility" | "whiteSpace" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "style" | "className" | "classes" | "children" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "sx" | "variant" | "variantMapping"> & {
5
5
  component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
7
7
  export declare const StyledWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -540,3 +540,5 @@ export declare const blackMobileSignalIcon: string;
540
540
  export declare const emptyMobileWifiIcon: string;
541
541
  export declare const deemaWithLabel: string;
542
542
  export declare const blackUnLinkIcon: string;
543
+ export declare const sortDescArrowIcon: string;
544
+ export declare const sortAscArrowIcon: string;
@@ -544,3 +544,5 @@ export const blackMobileSignalIcon = `${lightUrl}/blackMobileSignalIcon.svg`;
544
544
  export const emptyMobileWifiIcon = `${lightUrl}/emptyMobileWifiIcon.svg`;
545
545
  export const deemaWithLabel = `${lightUrl}/deemaWithLabel.svg`;
546
546
  export const blackUnLinkIcon = `${lightUrl}/blackUnLinkIcon.svg`;
547
+ export const sortDescArrowIcon = `${lightUrl}/sortDescArrowIcon.svg`;
548
+ export const sortAscArrowIcon = `${lightUrl}/sortAscArrowIcon.svg`;
@@ -94,6 +94,16 @@ export declare const refundTableCellWidth: {
94
94
  readonly text: "195px";
95
95
  readonly sheet: "180px";
96
96
  };
97
+ readonly payouts: {
98
+ readonly default: "195px";
99
+ readonly text: "195px";
100
+ readonly sheet: "300px";
101
+ };
102
+ readonly reason: {
103
+ readonly default: "170px";
104
+ readonly text: "240px";
105
+ readonly sheet: "160px";
106
+ };
97
107
  readonly destinations: {
98
108
  readonly default: "70px";
99
109
  readonly text: "240px";
@@ -182,7 +192,7 @@ export declare const refundTableCellWidth: {
182
192
  readonly charge_meta: {
183
193
  readonly default: "100px";
184
194
  readonly text: "100px";
185
- readonly sheet: "100px";
195
+ readonly sheet: "250px";
186
196
  };
187
197
  readonly brand: {
188
198
  readonly default: "116px";
@@ -94,6 +94,16 @@ export const refundTableCellWidth = {
94
94
  text: '195px',
95
95
  sheet: '180px',
96
96
  },
97
+ payouts: {
98
+ default: '195px',
99
+ text: '195px',
100
+ sheet: '300px',
101
+ },
102
+ reason: {
103
+ default: '170px',
104
+ text: '240px',
105
+ sheet: '160px',
106
+ },
97
107
  destinations: {
98
108
  default: '70px',
99
109
  text: '240px',
@@ -182,7 +192,7 @@ export const refundTableCellWidth = {
182
192
  charge_meta: {
183
193
  default: '100px',
184
194
  text: '100px',
185
- sheet: '100px',
195
+ sheet: '250px',
186
196
  },
187
197
  brand: {
188
198
  default: '116px',
@@ -1,5 +1,6 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import { TextAndLang } from './user';
3
+ import { SxProps, Theme } from '@mui/material/styles';
3
4
  export interface ColumnsView {
4
5
  name: TextAndLang[];
5
6
  sorting?: 'ascending' | 'descending';
@@ -37,4 +38,6 @@ export interface ColumnViewProps {
37
38
  open?: boolean;
38
39
  displayChildrenCount?: boolean;
39
40
  disabled?: boolean;
41
+ sx?: SxProps<Theme>;
42
+ menuSx?: SxProps<Theme>;
40
43
  }
@@ -1,2 +1 @@
1
1
  export declare const openNewTab: (url: string, target?: string) => void;
2
- export declare const openUrl: (url: string) => void;
@@ -6,13 +6,3 @@ export const openNewTab = (url, target = '_blank') => {
6
6
  link.click();
7
7
  link.remove();
8
8
  };
9
- export const openUrl = (url) => {
10
- const isUrl = /^https?:\/\//i.test(url);
11
- if (isUrl) {
12
- window.open(url, '_blank', 'noopener,noreferrer');
13
- }
14
- else {
15
- const newUrl = 'about:blank?' + encodeURIComponent(url);
16
- window.open(newUrl, '_blank', 'noopener,noreferrer');
17
- }
18
- };
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.91-test.6",
5
- "testVersion": 6,
4
+ "version": "0.1.91",
5
+ "testVersion": 2,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -136,4 +136,4 @@
136
136
  "publishConfig": {
137
137
  "registry": "https://registry.npmjs.org/"
138
138
  }
139
- }
139
+ }