@ichaingo/empty 1.3.4 → 1.3.6
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/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/index.tsx +1 -1
- package/vite.config.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import s from "@ichaingo/image";
|
|
3
|
-
import { useTheme as m } from "next-themes";
|
|
3
|
+
import { useTheme as m } from "@ichaingo/next-themes";
|
|
4
4
|
import { twMerge as r } from "tailwind-merge";
|
|
5
5
|
import { useTranslations as R } from "next-intl";
|
|
6
6
|
import { useState as g, useEffect as v } from "react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ichaingo/empty",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"react": "^19.1.0",
|
|
21
21
|
"react-dom": "^19.1.0",
|
|
22
22
|
"next": "^15.1.6",
|
|
23
|
-
"@ichaingo/image": "1.3.
|
|
23
|
+
"@ichaingo/image": "1.3.6"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/src/index.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import EmptyIcon from './images/empty.png'
|
|
3
3
|
import EmptyDark from './images/empty-dark.png'
|
|
4
4
|
import ImageBar from '@ichaingo/image';
|
|
5
|
-
import { useTheme } from 'next-themes';
|
|
5
|
+
import { useTheme } from '@ichaingo/next-themes';
|
|
6
6
|
import { twMerge } from 'tailwind-merge';
|
|
7
7
|
import { useTranslations } from 'next-intl';
|
|
8
8
|
import { useEffect, useState } from 'react';
|
package/vite.config.ts
CHANGED
|
@@ -38,7 +38,7 @@ export default defineConfig(() => ({
|
|
|
38
38
|
},
|
|
39
39
|
rollupOptions: {
|
|
40
40
|
// External packages that should not be bundled into your library.
|
|
41
|
-
external: ['react', 'react-dom', 'react/jsx-runtime', 'next-themes', 'next-intl', 'tailwind-merge', '@ichaingo/image'],
|
|
41
|
+
external: ['react', 'react-dom', 'react/jsx-runtime', '@ichaingo/next-themes', 'next-intl', 'tailwind-merge', '@ichaingo/image'],
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
44
|
test: {
|