propro-common-components 0.1.257 → 0.1.262

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,3 @@
1
1
  export declare function localStorageSetItem(key: string, value: unknown): void;
2
2
  export declare function localStorageGetItem(key: string): any;
3
+ export declare function localStorageRemoveItem(key: string): void;
@@ -2,3 +2,4 @@ export default function getStorage(key: string): any;
2
2
  export declare function setStorage(key: string, value: unknown, options?: {
3
3
  [key: string]: string | number | boolean | Date;
4
4
  }): void;
5
+ export declare function removeStorage(key: string): void;
@@ -1 +1 @@
1
- export default function logout(): Promise<void>;
1
+ export default function logout(): void;
package/package.json CHANGED
@@ -1,109 +1,108 @@
1
1
  {
2
- "name": "propro-common-components",
3
- "version": "0.1.257",
4
- "type": "module",
5
- "main": "dist/propro-common-components.js",
6
- "types": "dist/main.d.ts",
7
- "files": [
8
- "dist"
9
- ],
10
- "scripts": {
11
- "dev": "vite",
12
- "build": "tsc --p ./tsconfig-build.json && vite build",
13
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
14
- "preview": "vite preview",
15
- "prepublishOnly": "npm run build",
16
- "storybook": "storybook dev -p 6006",
17
- "build-storybook": "storybook build"
18
- },
19
- "dependencies": {
20
- "@ant-design/icons": "^5.2.6",
21
- "@ant-design/pro-components": "^2.6.4",
22
- "@fortawesome/fontawesome-svg-core": "^6.5.1",
23
- "@fortawesome/free-solid-svg-icons": "^6.5.1",
24
- "@fortawesome/react-fontawesome": "^0.2.0",
25
- "@mantine/hooks": "^7.9.0",
26
- "@plasmicapp/cli": "^0.1.327",
27
- "@plasmicapp/react-web": "^0.2.337",
28
- "@plasmicpkgs/antd": "^2.0.116",
29
- "@plasmicpkgs/antd5": "^0.0.249",
30
- "@plasmicpkgs/lottie-react": "^0.0.183",
31
- "@plasmicpkgs/plasmic-basic-components": "^0.0.228",
32
- "@plasmicpkgs/plasmic-embed-css": "^0.1.181",
33
- "@plasmicpkgs/plasmic-rich-components": "^1.0.185",
34
- "@plasmicpkgs/plasmic-tabs": "^0.0.37",
35
- "@plasmicpkgs/react-awesome-reveal": "^3.8.197",
36
- "@radix-ui/react-avatar": "^1.0.4",
37
- "@radix-ui/react-dialog": "^1.0.5",
38
- "@radix-ui/react-dropdown-menu": "^2.0.6",
39
- "@radix-ui/react-label": "^2.0.2",
40
- "@radix-ui/react-menubar": "^1.0.4",
41
- "@radix-ui/react-popover": "^1.0.7",
42
- "@radix-ui/react-slot": "^1.0.2",
43
- "@radix-ui/react-switch": "^1.0.3",
44
- "@radix-ui/react-tabs": "^1.0.4",
45
- "@radix-ui/react-tooltip": "^1.1.2",
46
- "@tauri-apps/api": "^1.6.0",
47
- "@types/js-cookie": "^3.0.6",
48
- "antd": "^5.17.4",
49
- "axios": "^1.6.7",
50
- "class-variance-authority": "^0.7.0",
51
- "clsx": "^2.1.0",
52
- "formik": "^2.4.5",
53
- "js-cookie": "^3.0.5",
54
- "lucide-react": "^0.309.0",
55
- "propro-icons": "^0.0.32",
56
- "react-error-boundary": "^4.0.12",
57
- "react-lottie": "^1.2.4",
58
- "react-router-dom": "^6.22.3",
59
- "react-toastify": "^10.0.5",
60
- "tailwind-merge": "^2.2.0",
61
- "tailwindcss-animate": "^1.0.7",
62
- "tauri-plugin-stronghold-api": "https://github.com/tauri-apps/tauri-plugin-stronghold#v1",
63
- "yup": "^1.4.0"
64
- },
65
- "devDependencies": {
66
- "@chromatic-com/storybook": "^1.5.0",
67
- "@storybook/addon-essentials": "^8.1.5",
68
- "@storybook/addon-interactions": "^8.1.5",
69
- "@storybook/addon-links": "^8.1.5",
70
- "@storybook/addon-onboarding": "^8.1.5",
71
- "@storybook/blocks": "^8.1.5",
72
- "@storybook/react": "^8.1.5",
73
- "@storybook/react-vite": "^8.1.5",
74
- "@storybook/test": "^8.1.5",
75
- "@tailwindcss/forms": "^0.5.7",
76
- "@tailwindcss/typography": "^0.5.10",
77
- "@types/node": "^20.11.5",
78
- "@types/react": "^18.2.43",
79
- "@types/react-dom": "^18.2.17",
80
- "@types/react-lottie": "^1.2.10",
81
- "@typescript-eslint/eslint-plugin": "^6.14.0",
82
- "@typescript-eslint/parser": "^6.14.0",
83
- "@vitejs/plugin-react": "^4.2.1",
84
- "autoprefixer": "^10.4.16",
85
- "eslint": "^8.55.0",
86
- "eslint-plugin-react-hooks": "^4.6.0",
87
- "eslint-plugin-react-refresh": "^0.4.5",
88
- "eslint-plugin-storybook": "^0.8.0",
89
- "glob": "^10.3.10",
90
- "postcss": "^8.4.33",
91
- "react": "^18.2.0",
92
- "react-dom": "^18.2.0",
93
- "storybook": "^8.1.5",
94
- "tailwindcss": "^3.4.1",
95
- "typescript": "^5.2.2",
96
- "vite": "^5.0.8",
97
- "vite-plugin-dts": "^3.7.1",
98
- "vite-plugin-lib-inject-css": "^1.3.0"
99
- },
100
- "peerDependencies": {
101
- "@tanstack/react-query": "^5.52.4",
102
- "@tanstack/react-query-devtools": "^5.52.4",
103
- "axios": "^1.6.7",
104
- "react": "^18.2.0",
105
- "react-dom": "^18.2.0",
106
- "react-router-dom": "^6.22.3",
107
- "react-toastify": "^10.0.5"
108
- }
2
+ "name": "propro-common-components",
3
+ "version": "0.1.262",
4
+ "type": "module",
5
+ "main": "dist/propro-common-components.js",
6
+ "types": "dist/main.d.ts",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "dev": "vite",
12
+ "build": "tsc --p ./tsconfig-build.json && vite build",
13
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
14
+ "preview": "vite preview",
15
+ "prepublishOnly": "yarn build",
16
+ "storybook": "storybook dev -p 6006",
17
+ "build-storybook": "storybook build"
18
+ },
19
+ "dependencies": {
20
+ "@ant-design/icons": "^5.2.6",
21
+ "@ant-design/pro-components": "^2.6.4",
22
+ "@fortawesome/fontawesome-svg-core": "^6.5.1",
23
+ "@fortawesome/free-solid-svg-icons": "^6.5.1",
24
+ "@fortawesome/react-fontawesome": "^0.2.0",
25
+ "@mantine/hooks": "^7.9.0",
26
+ "@plasmicapp/cli": "^0.1.327",
27
+ "@plasmicapp/react-web": "^0.2.337",
28
+ "@plasmicpkgs/antd": "^2.0.116",
29
+ "@plasmicpkgs/antd5": "^0.0.249",
30
+ "@plasmicpkgs/lottie-react": "^0.0.183",
31
+ "@plasmicpkgs/plasmic-basic-components": "^0.0.228",
32
+ "@plasmicpkgs/plasmic-embed-css": "^0.1.181",
33
+ "@plasmicpkgs/plasmic-rich-components": "^1.0.185",
34
+ "@plasmicpkgs/plasmic-tabs": "^0.0.37",
35
+ "@plasmicpkgs/react-awesome-reveal": "^3.8.197",
36
+ "@radix-ui/react-avatar": "^1.0.4",
37
+ "@radix-ui/react-dialog": "^1.0.5",
38
+ "@radix-ui/react-dropdown-menu": "^2.0.6",
39
+ "@radix-ui/react-label": "^2.0.2",
40
+ "@radix-ui/react-menubar": "^1.0.4",
41
+ "@radix-ui/react-popover": "^1.0.7",
42
+ "@radix-ui/react-slot": "^1.0.2",
43
+ "@radix-ui/react-switch": "^1.0.3",
44
+ "@radix-ui/react-tabs": "^1.0.4",
45
+ "@radix-ui/react-tooltip": "^1.1.2",
46
+ "@tauri-apps/api": "^1.6.0",
47
+ "@types/js-cookie": "^3.0.6",
48
+ "antd": "^5.17.4",
49
+ "axios": "^1.6.7",
50
+ "class-variance-authority": "^0.7.0",
51
+ "clsx": "^2.1.0",
52
+ "formik": "^2.4.5",
53
+ "js-cookie": "^3.0.5",
54
+ "lucide-react": "^0.309.0",
55
+ "propro-icons": "^0.0.32",
56
+ "react-error-boundary": "^4.0.12",
57
+ "react-lottie": "^1.2.4",
58
+ "react-router-dom": "^6.22.3",
59
+ "react-toastify": "^10.0.5",
60
+ "tailwind-merge": "^2.2.0",
61
+ "tailwindcss-animate": "^1.0.7",
62
+ "yup": "^1.4.0"
63
+ },
64
+ "devDependencies": {
65
+ "@chromatic-com/storybook": "^1.5.0",
66
+ "@storybook/addon-essentials": "^8.1.5",
67
+ "@storybook/addon-interactions": "^8.1.5",
68
+ "@storybook/addon-links": "^8.1.5",
69
+ "@storybook/addon-onboarding": "^8.1.5",
70
+ "@storybook/blocks": "^8.1.5",
71
+ "@storybook/react": "^8.1.5",
72
+ "@storybook/react-vite": "^8.1.5",
73
+ "@storybook/test": "^8.1.5",
74
+ "@tailwindcss/forms": "^0.5.7",
75
+ "@tailwindcss/typography": "^0.5.10",
76
+ "@types/node": "^20.11.5",
77
+ "@types/react": "^18.2.43",
78
+ "@types/react-dom": "^18.2.17",
79
+ "@types/react-lottie": "^1.2.10",
80
+ "@typescript-eslint/eslint-plugin": "^6.14.0",
81
+ "@typescript-eslint/parser": "^6.14.0",
82
+ "@vitejs/plugin-react": "^4.2.1",
83
+ "autoprefixer": "^10.4.16",
84
+ "eslint": "^8.55.0",
85
+ "eslint-plugin-react-hooks": "^4.6.0",
86
+ "eslint-plugin-react-refresh": "^0.4.5",
87
+ "eslint-plugin-storybook": "^0.8.0",
88
+ "glob": "^10.3.10",
89
+ "postcss": "^8.4.33",
90
+ "react": "^18.2.0",
91
+ "react-dom": "^18.2.0",
92
+ "storybook": "^8.1.5",
93
+ "tailwindcss": "^3.4.1",
94
+ "typescript": "^5.2.2",
95
+ "vite": "^5.0.8",
96
+ "vite-plugin-dts": "^3.7.1",
97
+ "vite-plugin-lib-inject-css": "^1.3.0"
98
+ },
99
+ "peerDependencies": {
100
+ "@tanstack/react-query": "^5.52.4",
101
+ "@tanstack/react-query-devtools": "^5.52.4",
102
+ "axios": "^1.6.7",
103
+ "react": "^18.2.0",
104
+ "react-dom": "^18.2.0",
105
+ "react-router-dom": "^6.22.3",
106
+ "react-toastify": "^10.0.5"
107
+ }
109
108
  }
@@ -1,4 +0,0 @@
1
- declare function strongholdSet(key: string, val: unknown): Promise<void>;
2
- declare function strongholdGet(key: string): Promise<any>;
3
- declare function strongholdRemove(key: string): Promise<void>;
4
- export { strongholdGet, strongholdRemove, strongholdSet };