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

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 (92) 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 +2 -4
  31. package/build/components/NestedDropdown/NestedDropdown.js +2 -13
  32. package/build/components/NestedDropdown/NestedMenuItem.d.ts +1 -4
  33. package/build/components/NestedDropdown/NestedMenuItem.js +4 -2
  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/ChannelsCell/style.d.ts +5 -5
  59. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +5 -5
  60. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +25 -25
  61. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +5 -5
  62. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +10 -10
  63. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +5 -5
  64. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +5 -5
  65. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +25 -25
  66. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +5 -5
  67. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +5 -5
  68. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +10 -10
  69. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +5 -5
  70. package/build/components/TableCells/CustomCells/SalesChannelCell/SalesChannelCell.js +7 -5
  71. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +5 -5
  72. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +5 -5
  73. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +5 -5
  74. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +30 -30
  75. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +30 -30
  76. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +25 -25
  77. package/build/components/TableCells/CustomCells/style.d.ts +5 -5
  78. package/build/components/TableHeader/style.d.ts +1 -1
  79. package/build/components/Timepicker/style.d.ts +2 -2
  80. package/build/components/ToolbarIcon/ExpandButton/style.d.ts +1 -1
  81. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
  82. package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
  83. package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
  84. package/build/components/VirtualTables/components/TableFooter/style.d.ts +2 -2
  85. package/build/components/VirtualTables/components/style.d.ts +5 -5
  86. package/build/components/Widget/style.d.ts +1 -1
  87. package/build/components/Window/style.d.ts +10 -10
  88. package/build/components/WindowAppIcon/style.d.ts +1 -1
  89. package/build/types/column.d.ts +0 -3
  90. package/build/utils/url.d.ts +1 -0
  91. package/build/utils/url.js +10 -0
  92. package/package.json +3 -3
@@ -5,11 +5,9 @@ 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;
11
8
  slot?: string | undefined;
12
9
  title?: string | undefined;
10
+ color?: string | undefined;
13
11
  className?: string | undefined;
14
12
  defaultChecked?: boolean | undefined;
15
13
  defaultValue?: string | number | readonly string[] | undefined;
@@ -27,9 +25,11 @@ export declare const ContentWrapper: import("@emotion/styled").StyledComponent<{
27
25
  nonce?: string | undefined;
28
26
  spellCheck?: (boolean | "false" | "true") | undefined;
29
27
  tabIndex?: number | undefined;
28
+ translate?: "yes" | "no" | undefined;
30
29
  radioGroup?: string | undefined;
31
30
  role?: import("react").AriaRole | undefined;
32
31
  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 | "page" | "date" | "false" | "true" | "time" | "step" | "location" | undefined;
68
+ "aria-current"?: boolean | "date" | "false" | "true" | "time" | "page" | "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 | "grid" | "false" | "true" | "dialog" | "menu" | "listbox" | "tree" | undefined;
78
+ "aria-haspopup"?: boolean | "false" | "true" | "dialog" | "menu" | "grid" | "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,11 +272,9 @@ 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;
278
275
  slot?: string | undefined;
279
276
  title?: string | undefined;
277
+ color?: string | undefined;
280
278
  className?: string | undefined;
281
279
  defaultChecked?: boolean | undefined;
282
280
  defaultValue?: string | number | readonly string[] | undefined;
@@ -294,9 +292,11 @@ export declare const AppContainerContainer: import("@emotion/styled").StyledComp
294
292
  nonce?: string | undefined;
295
293
  spellCheck?: (boolean | "false" | "true") | undefined;
296
294
  tabIndex?: number | undefined;
295
+ translate?: "yes" | "no" | undefined;
297
296
  radioGroup?: string | undefined;
298
297
  role?: import("react").AriaRole | undefined;
299
298
  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 | "page" | "date" | "false" | "true" | "time" | "step" | "location" | undefined;
335
+ "aria-current"?: boolean | "date" | "false" | "true" | "time" | "page" | "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 | "grid" | "false" | "true" | "dialog" | "menu" | "listbox" | "tree" | undefined;
345
+ "aria-haspopup"?: boolean | "false" | "true" | "dialog" | "menu" | "grid" | "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" | "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"> & {
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"> & {
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>, {}>;
@@ -1,6 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import { TextAndLang } from './user';
3
- import { SxProps, Theme } from '@mui/material/styles';
4
3
  export interface ColumnsView {
5
4
  name: TextAndLang[];
6
5
  sorting?: 'ascending' | 'descending';
@@ -38,6 +37,4 @@ export interface ColumnViewProps {
38
37
  open?: boolean;
39
38
  displayChildrenCount?: boolean;
40
39
  disabled?: boolean;
41
- sx?: SxProps<Theme>;
42
- menuSx?: SxProps<Theme>;
43
40
  }
@@ -1 +1,2 @@
1
1
  export declare const openNewTab: (url: string, target?: string) => void;
2
+ export declare const openUrl: (url: string) => void;
@@ -6,3 +6,13 @@ 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",
5
- "testVersion": 2,
4
+ "version": "0.1.92-test.1",
5
+ "testVersion": 1,
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
+ }