@korioinc/next-core 1.1.0 → 1.2.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.
@@ -1,7 +1,7 @@
1
1
  interface LocaleSwitcherProps {
2
2
  /**
3
3
  * Array of language codes to display in the switcher.
4
- * Example: ['en', 'ko', 'jp']
4
+ * Example: ['en', 'ko', 'ja']
5
5
  * If not provided, defaults to all supported languages.
6
6
  */
7
7
  languages?: string[];
@@ -23,7 +23,7 @@ const allLanguages = [
23
23
  flag: _jsx(KoreaFlag, {}),
24
24
  },
25
25
  {
26
- code: 'jp',
26
+ code: 'ja',
27
27
  name: '日本語',
28
28
  flag: _jsx(JapanFlag, {}),
29
29
  },
@@ -0,0 +1,7 @@
1
+ declare module '*.po' {
2
+ import type { Messages } from '@lingui/core';
3
+
4
+ export const messages: Messages | undefined;
5
+ const defaultExport: Messages | undefined;
6
+ export default defaultExport;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@korioinc/next-core",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./ads": {
@@ -63,18 +63,18 @@
63
63
  ],
64
64
  "devDependencies": {
65
65
  "@headlessui/react": "^2.2.9",
66
- "@lingui/conf": "5.5.2",
67
- "@lingui/core": "5.5.2",
68
- "@lingui/react": "5.5.2",
66
+ "@lingui/conf": "^5.6.1",
67
+ "@lingui/core": "^5.6.1",
68
+ "@lingui/react": "^5.6.1",
69
69
  "@tailwindcss/typography": "^0.5.19",
70
70
  "@types/negotiator": "^0.6.4",
71
71
  "@types/node": "^24.10.0",
72
- "@types/react": "^19.2.2",
73
- "@types/react-dom": "^19.2.2",
72
+ "@types/react": "^19.2.3",
73
+ "@types/react-dom": "^19.2.3",
74
74
  "eslint": "^9.39.1",
75
75
  "next-themes": "^0.4.6",
76
- "react": "19.2.0",
77
- "react-dom": "19.2.0",
76
+ "react": "^19.2.3",
77
+ "react-dom": "^19.2.3",
78
78
  "tailwindcss": "^4.1.17",
79
79
  "tsc-alias": "^1.8.16",
80
80
  "tw-animate-css": "^1.4.0",
@@ -94,7 +94,7 @@
94
94
  "schema-dts": "^1.1.5",
95
95
  "tailwind-merge": "^3.4.0",
96
96
  "valtio": "^2.2.0",
97
- "@korioinc/next-conf": "1.1.0"
97
+ "@korioinc/next-conf": "1.2.0"
98
98
  },
99
99
  "publishConfig": {
100
100
  "access": "public",
@@ -108,12 +108,12 @@
108
108
  "author": "Korio Inc.",
109
109
  "peerDependencies": {
110
110
  "@headlessui/react": ">=2.2.0",
111
- "@lingui/core": ">=5.0.0",
112
- "@lingui/react": ">=5.0.0",
113
- "next": ">=15",
111
+ "@lingui/core": ">=5.6.1",
112
+ "@lingui/react": ">=5.6.1",
113
+ "next": ">=16.0.10",
114
114
  "next-themes": ">=0.4.5",
115
- "react": ">=19",
116
- "react-dom": ">=19",
115
+ "react": ">=19.2.3",
116
+ "react-dom": ">=19.2.3",
117
117
  "tailwindcss": ">=4.0.0"
118
118
  },
119
119
  "scripts": {