@ukpc-lib/react 0.10.0 → 0.10.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.
package/package.json CHANGED
@@ -1,111 +1,111 @@
1
1
  {
2
- "name": "@ukpc-lib/react",
3
- "private": false,
4
- "version": "0.10.0",
5
- "type": "module",
6
- "main": "./dist/",
7
- "module": "./dist/",
8
- "exports": {
9
- "./components": {
10
- "import": "./dist/components/index.js",
11
- "require": "./dist/components/index.cjs",
12
- "types": "./dist/components/index.d.ts"
2
+ "name": "@ukpc-lib/react",
3
+ "private": false,
4
+ "version": "0.10.1",
5
+ "type": "module",
6
+ "main": "./dist/",
7
+ "module": "./dist/",
8
+ "exports": {
9
+ "./components": {
10
+ "import": "./dist/components/index.js",
11
+ "require": "./dist/components/index.cjs",
12
+ "types": "./dist/components/index.d.ts"
13
+ },
14
+ "./share": {
15
+ "import": "./dist/share/index.js",
16
+ "require": "./dist/share/index.cjs",
17
+ "types": "./dist/share/index.d.ts"
18
+ }
13
19
  },
14
- "./share": {
15
- "import": "./dist/share/index.js",
16
- "require": "./dist/share/index.cjs",
17
- "types": "./dist/share/index.d.ts"
18
- }
19
- },
20
- "typesVersions": {
21
- "*": {
22
- "*": [
23
- "./dist/*/index.d.ts"
24
- ]
25
- }
26
- },
27
- "files": [
28
- "dist",
29
- "web-components-bundle"
30
- ],
31
- "scripts": {
32
- "dev": "vite --open --port 3000",
33
- "build": "npm run build-react && npm run build-wc",
34
- "build-react": "tsc && vite build --config vite.config.react.ts",
35
- "build-wc": "tsc && vite build --config vite.config.wc.ts --mode production",
36
- "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
37
- "preview": "vite preview",
38
- "publish": "npm publish --access public",
39
- "build-publish": "npm run build && npm version patch && npm run build && npm run publish && git push"
40
- },
41
- "dependencies": {
42
- "@emotion/react": "^11.11.3",
43
- "@emotion/styled": "^11.11.0",
44
- "@minoru/react-dnd-treeview": "^3.4.4",
45
- "@mui/icons-material": "^5.15.4",
46
- "@mui/material": "^5.15.4",
47
- "@r2wc/react-to-web-component": "^2.0.3",
48
- "@rollup/plugin-replace": "^5.0.5",
49
- "axios": "1.6.2",
50
- "bootstrap-daterangepicker": "^3.1.0",
51
- "cssnano": "^6.0.3",
52
- "firebase": "^10.8.1",
53
- "framer-motion": "^10.18.0",
54
- "i18n": "^0.15.1",
55
- "i18next": "^22.5.1",
56
- "i18next-browser-languagedetector": "^7.2.0",
57
- "i18next-chained-backend": "^4.6.2",
58
- "i18next-http-backend": "^2.5.0",
59
- "jquery": "^3.7.1",
60
- "moment": "^2.30.1",
61
- "react-bootstrap-daterangepicker": "^8.0.0",
62
- "react-dnd": "^16.0.1",
63
- "react-i18next": "^12.3.1",
64
- "react-loading-skeleton": "^3.4.0",
65
- "react-query": "^3.39.3",
66
- "react-router-dom": "^6.21.3",
67
- "react-shadow": "^20.4.0",
68
- "react-svg": "^16.1.32",
69
- "react-toastify": "^10.0.4",
70
- "react-window": "^1.8.10",
71
- "react-window-infinite-loader": "^1.0.9",
72
- "simplebar-react": "^3.2.4",
73
- "usehooks-ts": "^2.15.1",
74
- "vite-plugin-css-injected-by-js": "^3.3.1"
75
- },
76
- "devDependencies": {
77
- "@types/node": "^20.8.10",
78
- "@types/react": "^18.2.15",
79
- "@types/react-dom": "^18.2.7",
80
- "@types/react-window-infinite-loader": "^1.0.9",
81
- "@typescript-eslint/eslint-plugin": "^6.0.0",
82
- "@typescript-eslint/parser": "^6.0.0",
83
- "@vitejs/plugin-react-swc": "^3.3.2",
84
- "autoprefixer": "^10.4.16",
85
- "eslint": "^8.45.0",
86
- "eslint-plugin-react-hooks": "^4.6.0",
87
- "eslint-plugin-react-refresh": "^0.4.3",
88
- "postcss": "^8.4.33",
89
- "prettier": "^3.0.3",
90
- "react": "^18.2.0",
91
- "react-dom": "^18.2.0",
92
- "tailwindcss": "^3.4.1",
93
- "typescript": "^5.0.2",
94
- "vite": "^4.5.1",
95
- "vite-plugin-css-injected-by-js": "^3.3.1",
96
- "vite-plugin-dts": "^3.7.0",
97
- "vite-plugin-lib-inject-css": "^1.3.0"
98
- },
99
- "peerDependencies": {
100
- "@mui/material": "^5.15.4",
101
- "react": "^18.2.0",
102
- "react-dom": "^18.2.0",
103
- "react-icons": "^5.0.1",
104
- "react-query": "^3.39.3",
105
- "react-router-dom": "^6.21.3",
106
- "tailwindcss": "^3.4.1"
107
- },
108
- "author": "Thinh Phung",
109
- "description": "React components library",
110
- "license": "ISC"
20
+ "typesVersions": {
21
+ "*": {
22
+ "*": [
23
+ "./dist/*/index.d.ts"
24
+ ]
25
+ }
26
+ },
27
+ "files": [
28
+ "dist",
29
+ "web-components-bundle"
30
+ ],
31
+ "scripts": {
32
+ "dev": "vite --open --port 3000",
33
+ "build": "npm run build-react && npm run build-wc",
34
+ "build-react": "tsc && vite build --config vite.config.react.ts",
35
+ "build-wc": "tsc && vite build --config vite.config.wc.ts --mode production",
36
+ "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
37
+ "preview": "vite preview",
38
+ "publish": "npm publish --access public",
39
+ "build-publish": "npm run build && npm version patch && npm run build && npm run publish && git push"
40
+ },
41
+ "dependencies": {
42
+ "@emotion/react": "^11.11.3",
43
+ "@emotion/styled": "^11.11.0",
44
+ "@minoru/react-dnd-treeview": "^3.4.4",
45
+ "@mui/icons-material": "^5.15.4",
46
+ "@mui/material": "^5.15.4",
47
+ "@r2wc/react-to-web-component": "^2.0.3",
48
+ "@rollup/plugin-replace": "^5.0.5",
49
+ "axios": "1.6.2",
50
+ "bootstrap-daterangepicker": "^3.1.0",
51
+ "cssnano": "^6.0.3",
52
+ "firebase": "^10.8.1",
53
+ "framer-motion": "^10.18.0",
54
+ "i18n": "^0.15.1",
55
+ "i18next": "^22.5.1",
56
+ "i18next-browser-languagedetector": "^7.2.0",
57
+ "i18next-chained-backend": "^4.6.2",
58
+ "i18next-http-backend": "^2.5.0",
59
+ "jquery": "^3.7.1",
60
+ "moment": "^2.30.1",
61
+ "react-bootstrap-daterangepicker": "^8.0.0",
62
+ "react-dnd": "^16.0.1",
63
+ "react-i18next": "^12.3.1",
64
+ "react-loading-skeleton": "^3.4.0",
65
+ "react-query": "^3.39.3",
66
+ "react-router-dom": "^6.21.3",
67
+ "react-shadow": "^20.4.0",
68
+ "react-svg": "^16.1.32",
69
+ "react-toastify": "^10.0.4",
70
+ "react-window": "^1.8.10",
71
+ "react-window-infinite-loader": "^1.0.9",
72
+ "simplebar-react": "^3.2.4",
73
+ "usehooks-ts": "^2.15.1",
74
+ "vite-plugin-css-injected-by-js": "^3.3.1"
75
+ },
76
+ "devDependencies": {
77
+ "@types/node": "^20.8.10",
78
+ "@types/react": "^18.2.15",
79
+ "@types/react-dom": "^18.2.7",
80
+ "@types/react-window-infinite-loader": "^1.0.9",
81
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
82
+ "@typescript-eslint/parser": "^6.0.0",
83
+ "@vitejs/plugin-react-swc": "^3.3.2",
84
+ "autoprefixer": "^10.4.16",
85
+ "eslint": "^8.45.0",
86
+ "eslint-plugin-react-hooks": "^4.6.0",
87
+ "eslint-plugin-react-refresh": "^0.4.3",
88
+ "postcss": "^8.4.33",
89
+ "prettier": "^3.0.3",
90
+ "react": "^18.2.0",
91
+ "react-dom": "^18.2.0",
92
+ "tailwindcss": "^3.4.1",
93
+ "typescript": "^5.0.2",
94
+ "vite": "^4.5.1",
95
+ "vite-plugin-css-injected-by-js": "^3.3.1",
96
+ "vite-plugin-dts": "^3.7.0",
97
+ "vite-plugin-lib-inject-css": "^1.3.0"
98
+ },
99
+ "peerDependencies": {
100
+ "@mui/material": "^5.15.4",
101
+ "react": "^18.2.0",
102
+ "react-dom": "^18.2.0",
103
+ "react-icons": "^5.0.1",
104
+ "react-query": "^3.39.3",
105
+ "react-router-dom": "^6.21.3",
106
+ "tailwindcss": "^3.4.1"
107
+ },
108
+ "author": "Thinh Phung",
109
+ "description": "React components library",
110
+ "license": "ISC"
111
111
  }
@@ -1,5 +1,5 @@
1
1
  import "../index-0de70dab.js";
2
- import { F as o, u as r } from "../index-2831adcc.js";
2
+ import { F as o, u as r } from "../index-c429861b.js";
3
3
  export {
4
4
  o as FavoriteMenu,
5
5
  r as updateFavoriteItems
@@ -1,5 +1,5 @@
1
1
  import "../index-0de70dab.js";
2
- import { G as e } from "../index-2831adcc.js";
2
+ import { G as e } from "../index-c429861b.js";
3
3
  export {
4
4
  e as GlobalMenu
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import "../index-0de70dab.js";
2
- import { L as p, T as e } from "../index-2831adcc.js";
2
+ import { L as p, T as e } from "../index-c429861b.js";
3
3
  export {
4
4
  p as LanguageDropdown,
5
5
  e as TopBar
@@ -1,5 +1,5 @@
1
1
  import "../index-0de70dab.js";
2
- import { H as o, g as r } from "../index-2831adcc.js";
2
+ import { H as o, g as r } from "../index-c429861b.js";
3
3
  export {
4
4
  o as HasPermission,
5
5
  r as getUseHasPermission