@tap-payments/os-micro-frontend-shared 0.0.14 → 0.0.16

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 (64) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +12 -12
  3. package/build/components/CountBadge/style.d.ts +1 -1
  4. package/build/components/Dialog/style.d.ts +1 -1
  5. package/build/components/FlippingCard/style.d.ts +1 -1
  6. package/build/components/ImageWrapper/ImageWrapper.d.ts +1 -1
  7. package/build/components/JSONViewer/JSONViewer.d.ts +2 -2
  8. package/build/components/JSONViewer/JSONViewer.js +19 -42
  9. package/build/components/JSONViewer/JSONViewerList.d.ts +9 -0
  10. package/build/components/JSONViewer/JSONViewerList.js +10 -0
  11. package/build/components/JSONViewer/components/JSONTitleBar/JSONTitleBar.js +1 -2
  12. package/build/components/JSONViewer/context/Provider.d.ts +6 -0
  13. package/build/components/JSONViewer/context/Provider.js +37 -0
  14. package/build/components/JSONViewer/context/context.d.ts +3 -0
  15. package/build/components/JSONViewer/context/context.js +7 -0
  16. package/build/components/JSONViewer/context/index.d.ts +2 -0
  17. package/build/components/JSONViewer/context/index.js +2 -0
  18. package/build/components/JSONViewer/hooks/index.d.ts +1 -0
  19. package/build/components/JSONViewer/hooks/index.js +1 -0
  20. package/build/components/JSONViewer/hooks/useJsonViewerContext.d.ts +8 -0
  21. package/build/components/JSONViewer/hooks/useJsonViewerContext.js +18 -0
  22. package/build/components/JSONViewer/index.d.ts +4 -1
  23. package/build/components/JSONViewer/index.js +4 -1
  24. package/build/components/JSONViewer/style.d.ts +2 -2
  25. package/build/components/JSONViewer/type.d.ts +18 -10
  26. package/build/components/SearchButton/styles.d.ts +2 -2
  27. package/build/components/StatusIcons/AuthIcons/style.d.ts +2 -2
  28. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -1
  29. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -6
  30. package/build/components/StatusIcons/SourceIcons/style.d.ts +1 -1
  31. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +1 -1
  32. package/build/components/TableCells/CustomCells/AmountCell/index.d.ts +1 -0
  33. package/build/components/TableCells/CustomCells/AmountCell/index.js +1 -0
  34. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -2
  35. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +5 -5
  36. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +5 -5
  37. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -1
  38. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -1
  39. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +1 -1
  40. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +5 -5
  41. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +1 -1
  42. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +2 -2
  43. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +1 -1
  44. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -1
  45. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -5
  46. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -1
  47. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -1
  48. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -2
  49. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +1 -1
  50. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -1
  51. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +1 -1
  52. package/build/components/TableCells/CustomCells/SourceMergedCell/style.d.ts +6 -6
  53. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -6
  54. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +5 -5
  55. package/build/components/TableCells/CustomCells/index.d.ts +1 -0
  56. package/build/components/TableCells/CustomCells/index.js +1 -0
  57. package/build/components/TableCells/CustomCells/style.d.ts +1 -1
  58. package/build/components/Toolbar/index.d.ts +1 -0
  59. package/build/components/Toolbar/index.js +1 -0
  60. package/build/components/VirtualTable/style.d.ts +1 -1
  61. package/build/components/Window/style.d.ts +2 -2
  62. package/build/components/index.d.ts +2 -1
  63. package/build/components/index.js +2 -1
  64. package/package.json +89 -89
@@ -52,7 +52,7 @@ export { default as ProgressRing } from './ProgressRing';
52
52
  export * from './InputBase';
53
53
  export { default as InputNumber } from './InputNumber';
54
54
  export * from './Inputs';
55
- export { default as JSONViewer, type AnimatedButtonProps, type JSONTitleBarProps, type JSONViewerProps, FooterButton, JSONTitleBar, } from './JSONViewer';
55
+ export { default as JSONViewer, type AnimatedButtonProps, type JSONTitleBarProps, type JsonViewerProps, FooterButton, JSONTitleBar, JsonViewerDialogContext, JSONViewerList, useJsonViewerContext, JsonViewerDialogContextProvider, } from './JSONViewer';
56
56
  export { default as Loader } from './Loader';
57
57
  export { default as MUIThemeProvider } from './MUIThemeProvider';
58
58
  export { default as ImageWrapper } from './ImageWrapper';
@@ -80,3 +80,4 @@ export { default as ConfirmDialog, type ConfirmDialogFunction, type ConfirmDialo
80
80
  export { default as ControlPanelContainer } from './ControlPanelContainer';
81
81
  export { default as CopyImage } from './CopyImage';
82
82
  export { default as AccountDropdown } from './AccountDropdown';
83
+ export { default as OTPInput } from './OTPInput';
@@ -52,7 +52,7 @@ export { default as ProgressRing } from './ProgressRing';
52
52
  export * from './InputBase';
53
53
  export { default as InputNumber } from './InputNumber';
54
54
  export * from './Inputs';
55
- export { default as JSONViewer, FooterButton, JSONTitleBar, } from './JSONViewer';
55
+ export { default as JSONViewer, FooterButton, JSONTitleBar, JsonViewerDialogContext, JSONViewerList, useJsonViewerContext, JsonViewerDialogContextProvider, } from './JSONViewer';
56
56
  export { default as Loader } from './Loader';
57
57
  export { default as MUIThemeProvider } from './MUIThemeProvider';
58
58
  export { default as ImageWrapper } from './ImageWrapper';
@@ -80,3 +80,4 @@ export { default as ConfirmDialog } from './ConfirmDialog';
80
80
  export { default as ControlPanelContainer } from './ControlPanelContainer';
81
81
  export { default as CopyImage } from './CopyImage';
82
82
  export { default as AccountDropdown } from './AccountDropdown';
83
+ export { default as OTPInput } from './OTPInput';
package/package.json CHANGED
@@ -1,89 +1,89 @@
1
- {
2
- "name": "@tap-payments/os-micro-frontend-shared",
3
- "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.0.14",
5
- "type": "module",
6
- "main": "build/index.js",
7
- "module": "build/index.js",
8
- "types": "build/index.d.ts",
9
- "license": "MIT",
10
- "author": {
11
- "name": "Ahmed Sharkawy",
12
- "email": "a.elsharkawy@tap.company"
13
- },
14
- "files": [
15
- "build",
16
- "readme.md"
17
- ],
18
- "scripts": {
19
- "ts:build": "rm -rf build && tsc -p tsconfig.npm.json && tsc-alias -p tsconfig.npm.json",
20
- "push": "npm run ts:build && npm publish --access public",
21
- "dev": "vite",
22
- "build": "tsc -b && vite build ",
23
- "prettier": "prettier --list-different \"src/**/*.{md,mdx,ts,js,tsx,jsx,json}\"",
24
- "prettier:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md,css,json}\"",
25
- "lint": "eslint . --color",
26
- "lint:fix": "eslint src --fix --color",
27
- "preview": "vite preview",
28
- "prepare": "husky"
29
- },
30
- "dependencies": {
31
- "@emotion/react": "^11.11.0",
32
- "@emotion/styled": "^11.11.0",
33
- "@hookform/resolvers": "^3.3.1",
34
- "@mui/material": "^5.12.3",
35
- "@uiw/react-json-view": "^2.0.0-alpha.16",
36
- "axios": "^1.4.0",
37
- "dayjs": "^1.11.8",
38
- "framer-motion": "10.11.0",
39
- "i18next": "^22.4.15",
40
- "memoize-one": "^6.0.0",
41
- "re-resizable": "^6.9.9",
42
- "react": "^18.2.0",
43
- "react-currency-input-field": "^3.6.11",
44
- "react-dom": "^18.2.0",
45
- "react-draggable": "^4.4.6",
46
- "react-dropzone": "^14.2.3",
47
- "react-hook-form": "^7.45.4",
48
- "react-hot-toast": "^2.4.1",
49
- "react-i18next": "^12.2.2",
50
- "react-multi-date-picker": "^4.1.2",
51
- "react-query": "^3.39.3",
52
- "react-router-dom": "^6.14.2",
53
- "react-virtualized-auto-sizer": "^1.0.20",
54
- "react-window": "^1.8.9",
55
- "react-window-infinite-loader": "^1.0.9",
56
- "react18-input-otp": "^1.1.4",
57
- "recharts": "^2.15.1"
58
- },
59
- "devDependencies": {
60
- "@eslint/js": "^9.17.0",
61
- "@testing-library/jest-dom": "^5.16.5",
62
- "@types/lodash": "^4.17.15",
63
- "@types/react": "^18.2.6",
64
- "@types/react-dom": "^18.3.5",
65
- "@types/react-virtualized-auto-sizer": "^1.0.8",
66
- "@types/react-window": "^1.8.5",
67
- "@types/react-window-infinite-loader": "^1.0.6",
68
- "@vitejs/plugin-react": "^4.3.4",
69
- "eslint": "^9.17.0",
70
- "eslint-plugin-react-hooks": "^5.0.0",
71
- "eslint-plugin-react-refresh": "^0.4.16",
72
- "globals": "^15.14.0",
73
- "husky": "^8.0.3",
74
- "lint-staged": "^13.2.2",
75
- "prettier": "^2.8.8",
76
- "tsc-alias": "^1.8.16",
77
- "typescript": "5.0.2",
78
- "typescript-eslint": "^8.18.2",
79
- "vite": "6.0.5",
80
- "vite-plugin-svgr": "^4.3.0",
81
- "vite-tsconfig-paths": "^4.2.0"
82
- },
83
- "lint-staged": {
84
- "src/**/*.{ts,tsx,json,js,jsx}": [
85
- "yarn run prettier:fix",
86
- "yarn run lint"
87
- ]
88
- }
89
- }
1
+ {
2
+ "name": "@tap-payments/os-micro-frontend-shared",
3
+ "description": "Shared components and utilities for Tap Payments micro frontends",
4
+ "version": "0.0.16",
5
+ "type": "module",
6
+ "main": "build/index.js",
7
+ "module": "build/index.js",
8
+ "types": "build/index.d.ts",
9
+ "license": "MIT",
10
+ "author": {
11
+ "name": "Ahmed Sharkawy",
12
+ "email": "a.elsharkawy@tap.company"
13
+ },
14
+ "files": [
15
+ "build",
16
+ "readme.md"
17
+ ],
18
+ "scripts": {
19
+ "ts:build": "rm -rf build && tsc -p tsconfig.npm.json && tsc-alias -p tsconfig.npm.json",
20
+ "push": "npm run ts:build && npm publish --access public",
21
+ "dev": "vite",
22
+ "build": "tsc -b && vite build ",
23
+ "prettier": "prettier --list-different \"src/**/*.{md,mdx,ts,js,tsx,jsx,json}\"",
24
+ "prettier:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md,css,json}\"",
25
+ "lint": "eslint . --color",
26
+ "lint:fix": "eslint src --fix --color",
27
+ "preview": "vite preview",
28
+ "prepare": "husky"
29
+ },
30
+ "dependencies": {
31
+ "@emotion/react": "^11.11.0",
32
+ "@emotion/styled": "^11.11.0",
33
+ "@hookform/resolvers": "^3.3.1",
34
+ "@mui/material": "^5.12.3",
35
+ "@uiw/react-json-view": "^2.0.0-alpha.16",
36
+ "axios": "^1.4.0",
37
+ "dayjs": "^1.11.8",
38
+ "framer-motion": "10.11.0",
39
+ "i18next": "^22.4.15",
40
+ "memoize-one": "^6.0.0",
41
+ "re-resizable": "^6.9.9",
42
+ "react": "^18.2.0",
43
+ "react-currency-input-field": "^3.6.11",
44
+ "react-dom": "^18.2.0",
45
+ "react-draggable": "^4.4.6",
46
+ "react-dropzone": "^14.2.3",
47
+ "react-hook-form": "^7.45.4",
48
+ "react-hot-toast": "^2.4.1",
49
+ "react-i18next": "^12.2.2",
50
+ "react-multi-date-picker": "^4.1.2",
51
+ "react-query": "^3.39.3",
52
+ "react-router-dom": "^6.14.2",
53
+ "react-virtualized-auto-sizer": "^1.0.20",
54
+ "react-window": "^1.8.9",
55
+ "react-window-infinite-loader": "^1.0.9",
56
+ "react18-input-otp": "^1.1.4",
57
+ "recharts": "^2.15.1"
58
+ },
59
+ "devDependencies": {
60
+ "@eslint/js": "^9.17.0",
61
+ "@testing-library/jest-dom": "^5.16.5",
62
+ "@types/lodash": "^4.17.15",
63
+ "@types/react": "^18.2.6",
64
+ "@types/react-dom": "^18.3.5",
65
+ "@types/react-virtualized-auto-sizer": "^1.0.8",
66
+ "@types/react-window": "^1.8.5",
67
+ "@types/react-window-infinite-loader": "^1.0.6",
68
+ "@vitejs/plugin-react": "^4.3.4",
69
+ "eslint": "^9.17.0",
70
+ "eslint-plugin-react-hooks": "^5.0.0",
71
+ "eslint-plugin-react-refresh": "^0.4.16",
72
+ "globals": "^15.14.0",
73
+ "husky": "^8.0.3",
74
+ "lint-staged": "^13.2.2",
75
+ "prettier": "^2.8.8",
76
+ "tsc-alias": "^1.8.16",
77
+ "typescript": "5.0.2",
78
+ "typescript-eslint": "^8.18.2",
79
+ "vite": "6.0.5",
80
+ "vite-plugin-svgr": "^4.3.0",
81
+ "vite-tsconfig-paths": "^4.2.0"
82
+ },
83
+ "lint-staged": {
84
+ "src/**/*.{ts,tsx,json,js,jsx}": [
85
+ "yarn run prettier:fix",
86
+ "yarn run lint"
87
+ ]
88
+ }
89
+ }