@abyss-project/commons-front-core 2.0.8 → 2.1.0

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 (39) hide show
  1. package/dist/CookieConsentSettings.component-BxbX6NvN.js +6772 -0
  2. package/dist/components/Inputs/DatePeriodPicker/DatePeriodPicker.component.d.ts +3 -9
  3. package/dist/components/Inputs/DatePeriodPicker/date-period-picker.logic.d.ts +0 -9
  4. package/dist/components/Inputs/DatePeriodPicker/date-period-presets.spec.d.ts +1 -0
  5. package/dist/components/Inputs/DatePeriodPicker/date-period-presets.util.d.ts +7 -0
  6. package/dist/components/Inputs/DatePeriodPicker/index.d.ts +1 -1
  7. package/dist/components/Inputs/PasswordInput/PasswordInput.component.d.ts +12 -3
  8. package/dist/components/Support/SupportCategoryChip.component.d.ts +1 -0
  9. package/dist/components/Utils/WaterParticles/WaterParticles.component.d.ts +4 -1
  10. package/dist/cookie-consent.js +1 -1
  11. package/dist/hooks/use-rich-intl.hook.d.ts +1617 -11
  12. package/dist/{index-AHfgfPfa.js → index-17PVRfVM.js} +2 -2
  13. package/dist/{index-BIkWv17C.js → index-2xylgCNp.js} +4 -4
  14. package/dist/{index-cQX4BwF4.js → index-5iuHuX6B.js} +2 -2
  15. package/dist/{index-B5ltbXyf.js → index-B68Ox276.js} +2 -2
  16. package/dist/{index-DBx6Ce8z.js → index-Bca2L8Eq.js} +3 -3
  17. package/dist/{index-CYDJl0rv.js → index-BjJ6RebY.js} +2 -2
  18. package/dist/{index-BwZNiqKZ.js → index-BrADeAkS.js} +4 -4
  19. package/dist/{index-BMfTdYWm.js → index-C1UaktkW.js} +4 -4
  20. package/dist/{index-2yYuyD7a.js → index-C7mBVfGW.js} +2 -2
  21. package/dist/{index-Dck2q3tC.js → index-CCUFZvFM.js} +2 -2
  22. package/dist/{index-CvXcJgWq.js → index-CS4jn_D2.js} +2 -2
  23. package/dist/{index-3UBk5Y8e.js → index-CViNTwL6.js} +2 -2
  24. package/dist/{index-BCV7rlux.js → index-CdjtMd5y.js} +1 -1
  25. package/dist/{index-Z3OHzbIe.js → index-CgAz_dkv.js} +2 -2
  26. package/dist/{index-bJY5dG9r.js → index-CjHjRIog.js} +2 -2
  27. package/dist/{index-qP9tNsHq.js → index-DDIxe_Al.js} +3 -3
  28. package/dist/{index-L4m1U2Vi.js → index-DKFBpHIu.js} +3 -3
  29. package/dist/{index-CZO13gJg.js → index-DPJAJuSU.js} +44630 -48601
  30. package/dist/{index-D7ZYvm-K.js → index-DRnlvII3.js} +2 -2
  31. package/dist/{index-BriJZGdD.js → index-DnFyRuZ0.js} +2 -2
  32. package/dist/{index-Df4mFDsC.js → index-nx-vhukz.js} +2 -2
  33. package/dist/{index-tLml6jt2.js → index-xfgNkaBB.js} +3 -3
  34. package/dist/index.js +179 -179
  35. package/dist/translations/en.d.ts +17 -8
  36. package/dist/translations/fr.d.ts +17 -8
  37. package/dist/utils/color.utils.d.ts +1 -0
  38. package/package.json +21 -17
  39. package/dist/CookieConsentSettings.component-BS3tbqB-.js +0 -2942
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@abyss-project/commons-front-core",
3
- "version": "2.0.8",
3
+ "version": "2.1.0",
4
4
  "description": "Front Core package of AbyssProject",
5
- "main": "dist/index.js",
5
+ "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
7
- "types": "dist/index.d.ts",
7
+ "types": "./dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
10
  "import": "./dist/index.js",
@@ -22,7 +22,20 @@
22
22
  ]
23
23
  }
24
24
  },
25
+ "publishConfig": {
26
+ "main": "dist/index.js",
27
+ "types": "dist/index.d.ts"
28
+ },
25
29
  "type": "module",
30
+ "scripts": {
31
+ "lint": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --fix",
32
+ "lint:check": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --max-warnings 0",
33
+ "tsc": "tsc",
34
+ "build": "vite build",
35
+ "dev": "vite build --watch",
36
+ "test": "vitest run --config vitest.config.ts",
37
+ "test:watch": "vitest --config vitest.config.ts"
38
+ },
26
39
  "repository": {
27
40
  "type": "git",
28
41
  "url": "https://gitlab.com/abyss-group"
@@ -35,6 +48,7 @@
35
48
  },
36
49
  "homepage": "https://gitlab.com/abyss-group",
37
50
  "peerDependencies": {
51
+ "@abyss-project/main": "workspace:*",
38
52
  "@emotion/react": "^11.7.1",
39
53
  "@emotion/styled": "^11.6.0",
40
54
  "@mui/icons-material": "^6.0.0",
@@ -52,14 +66,14 @@
52
66
  "react-is": "^18.0.0 || ^19.0.0",
53
67
  "react-intl": "^6.2.5",
54
68
  "react-router-dom": "^6.15.0",
55
- "zustand": "^5.0.0",
56
- "@abyss-project/main": "1.9.0"
69
+ "zustand": "^5.0.0"
57
70
  },
58
71
  "dependencies": {
59
72
  "@abyss-project/banking": "^1.1.0",
60
73
  "@abyss-project/cloud": "^2.0.1",
61
74
  "@abyss-project/crypt": "^1.0.9",
62
75
  "@abyss-project/form": "^1.0.13",
76
+ "@abyss-project/main": "workspace:*",
63
77
  "@abyss-project/memories": "^1.0.12",
64
78
  "@abyss-project/monitor": "^1.0.79",
65
79
  "@abyss-project/spotlight": "^1.0.24",
@@ -94,8 +108,7 @@
94
108
  "uuid": "^9.0.0",
95
109
  "pdf-lib": "^1.17.1",
96
110
  "pdfjs-dist": "^4.10.38",
97
- "yup": "^0.32.11",
98
- "@abyss-project/main": "1.9.0"
111
+ "yup": "^0.32.11"
99
112
  },
100
113
  "devDependencies": {
101
114
  "@types/byte-size": "^8.1.0",
@@ -125,14 +138,5 @@
125
138
  "@vitest/coverage-v8": "^2.0.0",
126
139
  "vite-plugin-dts": "^4.5.4",
127
140
  "vitest": "^2.0.0"
128
- },
129
- "scripts": {
130
- "lint": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --fix",
131
- "lint:check": "eslint \"{src,apps,libs,test,core}/**/*.{ts,tsx}\" --max-warnings 0",
132
- "tsc": "tsc",
133
- "build": "vite build",
134
- "dev": "vite build --watch",
135
- "test": "vitest run --config vitest.config.ts",
136
- "test:watch": "vitest --config vitest.config.ts"
137
141
  }
138
- }
142
+ }