@leabankab/component-library 8.11.0 → 8.12.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@leabankab/component-library",
3
- "version": "8.11.0",
3
+ "version": "8.12.1",
4
4
  "description": "@leabankab/component-library — Lea Bank's React component library.",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -46,6 +46,14 @@
46
46
  "import": "./dist/website.mjs",
47
47
  "require": "./dist/website.cjs"
48
48
  },
49
+ "./next-intl": {
50
+ "types": "./dist/next-intl/index.d.ts",
51
+ "import": "./dist/next-intl.mjs"
52
+ },
53
+ "./next-intl/server": {
54
+ "types": "./dist/next-intl/server.d.ts",
55
+ "import": "./dist/next-intl-server.mjs"
56
+ },
49
57
  "./cookie-consent.css": "./dist/cookie-consent.css",
50
58
  "./styles.css": "./dist/index.css",
51
59
  "./tailwind.css": "./dist/tailwind.css",
@@ -77,6 +85,7 @@
77
85
  "@mui/system": "^9.0.0",
78
86
  "@mui/x-date-pickers": "^9.0.0",
79
87
  "date-fns": "^4.0.0",
88
+ "next-intl": "^4.0.0",
80
89
  "react": "^19.0.0",
81
90
  "react-dom": "^19.0.0",
82
91
  "react-hook-form": "^7.56.0",
@@ -101,6 +110,9 @@
101
110
  "date-fns": {
102
111
  "optional": true
103
112
  },
113
+ "next-intl": {
114
+ "optional": true
115
+ },
104
116
  "react-hook-form": {
105
117
  "optional": true
106
118
  },
@@ -138,6 +150,7 @@
138
150
  "eslint-plugin-storybook": "^10.5.5",
139
151
  "husky": "^9.1.7",
140
152
  "jsdom": "^29.1.1",
153
+ "next-intl": "^4.14.9",
141
154
  "playwright": "^1.62.1",
142
155
  "postcss": "^8.5.25",
143
156
  "react": "^19.2.8",
@@ -157,7 +170,7 @@
157
170
  "scripts": {
158
171
  "preinstall": "npx only-allow pnpm",
159
172
  "dev": "storybook dev -p 6006",
160
- "build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build && vite build -c vite.cookie-consent.config.ts && vite build -c vite.react-hook-form.config.ts && vite build -c vite.date-picker.config.ts && vite build -c vite.dev-panel.config.ts && vite build -c vite.website.config.ts",
173
+ "build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build && vite build -c vite.cookie-consent.config.ts && vite build -c vite.react-hook-form.config.ts && vite build -c vite.date-picker.config.ts && vite build -c vite.dev-panel.config.ts && vite build -c vite.website.config.ts && vite build -c vite.next-intl.config.ts",
161
174
  "watch": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --watch",
162
175
  "watch:all": "cross-env NODE_OPTIONS=--max-old-space-size=4096 node scripts/watch-all.mjs",
163
176
  "storybook": "storybook dev -p 6006",