@korioinc/next-core 2.0.1 → 2.0.3

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.
@@ -9,4 +9,4 @@ declare global {
9
9
  }
10
10
  }
11
11
  export default function AdContainer({ adType, className }: AdContainerProps): import("react/jsx-runtime").JSX.Element | null;
12
- //# sourceMappingURL=AdContainer.d.ts.map
12
+ //# sourceMappingURL=ad-container.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ad-container.d.ts","sourceRoot":"","sources":["../../../src/ads/components/ad-container.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAY,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AA0B7D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,WAAW,EAAE,KAAK,CAAC;YACjB,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;YACjD,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC,CAAC;KACJ;CACF;AA+ED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,SAAc,EAAE,EAAE,gBAAgB,kDA2P/E"}
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { useEffect, useRef } from 'react';
4
4
  import { usePathname } from 'next/navigation';
5
- import MockAdDisplay from '../../ads/components/MockAdDisplay';
5
+ import MockAdDisplay from '../../ads/components/mock-ad-display';
6
6
  import { AD_CONFIGS } from '../../ads/config';
7
7
  import { cn } from '../../utils/helpers';
8
8
  import { getConfig } from '@korioinc/next-conf';
@@ -3,4 +3,4 @@ interface GoogleAdSenseProps {
3
3
  }
4
4
  export default function GoogleAdSense({ publisherId }: GoogleAdSenseProps): import("react/jsx-runtime").JSX.Element;
5
5
  export {};
6
- //# sourceMappingURL=GoogleAdSense.d.ts.map
6
+ //# sourceMappingURL=google-ad-sense.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-ad-sense.d.ts","sourceRoot":"","sources":["../../../src/ads/components/google-ad-sense.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,WAAW,EAAE,EAAE,kBAAkB,2CASxE"}
@@ -5,4 +5,4 @@ interface MockAdDisplayProps {
5
5
  }
6
6
  export default function MockAdDisplay({ adType, config }: MockAdDisplayProps): import("react/jsx-runtime").JSX.Element;
7
7
  export {};
8
- //# sourceMappingURL=MockAdDisplay.d.ts.map
8
+ //# sourceMappingURL=mock-ad-display.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mock-ad-display.d.ts","sourceRoot":"","sources":["../../../src/ads/components/mock-ad-display.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEnD,UAAU,kBAAkB;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAqB3E"}
@@ -1,6 +1,6 @@
1
- export { default as GoogleAdSense } from './components/GoogleAdSense';
2
- export { default as AdContainer } from './components/AdContainer';
3
- export { default as MockAdDisplay } from './components/MockAdDisplay';
1
+ export { default as GoogleAdSense } from './components/google-ad-sense';
2
+ export { default as AdContainer } from './components/ad-container';
3
+ export { default as MockAdDisplay } from './components/mock-ad-display';
4
4
  export * from './types';
5
5
  export * from './config';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ads/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAGtE,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ads/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAGxE,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
package/dist/ads/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // Components
2
- export { default as GoogleAdSense } from './components/GoogleAdSense';
3
- export { default as AdContainer } from './components/AdContainer';
4
- export { default as MockAdDisplay } from './components/MockAdDisplay';
2
+ export { default as GoogleAdSense } from './components/google-ad-sense';
3
+ export { default as AdContainer } from './components/ad-container';
4
+ export { default as MockAdDisplay } from './components/mock-ad-display';
5
5
  // Types and configuration
6
6
  export * from './types';
7
7
  export * from './config';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@korioinc/next-core",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./ads": {
@@ -68,18 +68,18 @@
68
68
  "@lingui/react": "^5.7.0",
69
69
  "@tailwindcss/typography": "^0.5.19",
70
70
  "@types/negotiator": "^0.6.4",
71
- "@types/node": "^24.10.0",
72
- "@types/react": "^19.2.3",
71
+ "@types/node": "^24.10.4",
72
+ "@types/react": "^19.2.7",
73
73
  "@types/react-dom": "^19.2.3",
74
- "eslint": "^9.39.1",
74
+ "eslint": "^9.39.2",
75
75
  "next-themes": "^0.4.6",
76
76
  "react": "^19.2.3",
77
77
  "react-dom": "^19.2.3",
78
- "tailwindcss": "^4.1.17",
78
+ "tailwindcss": "^4.1.18",
79
79
  "tsc-alias": "^1.8.16",
80
80
  "tw-animate-css": "^1.4.0",
81
81
  "typescript": "^5.9.3",
82
- "@korioinc/next-configs": "2.0.1"
82
+ "@korioinc/next-configs": "2.0.3"
83
83
  },
84
84
  "dependencies": {
85
85
  "@floating-ui/react": "^0.27.16",
@@ -87,14 +87,14 @@
87
87
  "clsx": "^2.1.1",
88
88
  "cookies-next": "^6.1.1",
89
89
  "cosmiconfig": "^9.0.0",
90
- "jose": "^6.1.1",
90
+ "jose": "^6.1.3",
91
91
  "localforage": "^1.10.0",
92
92
  "negotiator": "^1.0.0",
93
93
  "pretendard": "^1.3.9",
94
94
  "schema-dts": "^1.1.5",
95
95
  "tailwind-merge": "^3.4.0",
96
96
  "valtio": "^2.2.0",
97
- "@korioinc/next-conf": "2.0.1"
97
+ "@korioinc/next-conf": "2.0.3"
98
98
  },
99
99
  "publishConfig": {
100
100
  "access": "public",
@@ -110,8 +110,8 @@
110
110
  "@headlessui/react": ">=2.2.0",
111
111
  "@lingui/core": ">=5.7.0",
112
112
  "@lingui/react": ">=5.7.0",
113
- "next": ">=16.0.10",
114
- "next-themes": ">=0.4.5",
113
+ "next": ">=16.1.1",
114
+ "next-themes": ">=0.4.6",
115
115
  "react": ">=19.2.3",
116
116
  "react-dom": ">=19.2.3",
117
117
  "tailwindcss": ">=4.0.0"
@@ -1 +0,0 @@
1
- {"version":3,"file":"AdContainer.d.ts","sourceRoot":"","sources":["../../../src/ads/components/AdContainer.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAY,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AA0B7D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,MAAM;QACd,WAAW,EAAE,KAAK,CAAC;YACjB,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;YACjD,MAAM,CAAC,EAAE,OAAO,CAAC;YACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC,CAAC;KACJ;CACF;AA+ED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,SAAc,EAAE,EAAE,gBAAgB,kDA2P/E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GoogleAdSense.d.ts","sourceRoot":"","sources":["../../../src/ads/components/GoogleAdSense.tsx"],"names":[],"mappings":"AAIA,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,WAAW,EAAE,EAAE,kBAAkB,2CASxE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MockAdDisplay.d.ts","sourceRoot":"","sources":["../../../src/ads/components/MockAdDisplay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEnD,UAAU,kBAAkB;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,kBAAkB,2CAqB3E"}