chore: update @ciphera-net/ui to version 0.0.26 and remove next-themes dependency

This commit is contained in:
Usman Baig
2026-01-27 22:41:56 +01:00
parent c00a921f36
commit 1af35b1b80
4 changed files with 7 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
'use client'
import { useState, useMemo } from 'react'
import { useTheme } from 'next-themes'
import { useTheme } from '@ciphera-net/ui'
import {
AreaChart,
Area,

View File

@@ -4,7 +4,7 @@ import React, { memo, useMemo, useState } from 'react'
import { ComposableMap, Geographies, Geography } from 'react-simple-maps'
import countries from 'i18n-iso-countries'
import enLocale from 'i18n-iso-countries/langs/en.json'
import { useTheme } from 'next-themes'
import { useTheme } from '@ciphera-net/ui'
countries.registerLocale(enLocale)

19
package-lock.json generated
View File

@@ -8,7 +8,7 @@
"name": "pulse-frontend",
"version": "0.1.0",
"dependencies": {
"@ciphera-net/ui": "^0.0.23",
"@ciphera-net/ui": "^0.0.26",
"axios": "^1.13.2",
"country-flag-icons": "^1.6.4",
"d3-scale": "^4.0.2",
@@ -16,7 +16,6 @@
"i18n-iso-countries": "^7.14.0",
"iso-3166-2": "^1.0.0",
"next": "^16.1.1",
"next-themes": "^0.4.6",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-icons": "^5.5.0",
@@ -267,9 +266,9 @@
}
},
"node_modules/@ciphera-net/ui": {
"version": "0.0.23",
"resolved": "https://npm.pkg.github.com/download/@ciphera-net/ui/0.0.23/ee73e5ad39cc4ed8e9eaa1e648fd23feec19c578",
"integrity": "sha512-ZDIPfZ5SmewduqoskjUIitgr18nn0l9fGjIUW/eKVmL7SENAk/ehi6kusKtQiC9bY7Qc/BphuR5agsW0gDrb3w==",
"version": "0.0.26",
"resolved": "https://npm.pkg.github.com/download/@ciphera-net/ui/0.0.26/3ddb39b6659b556033f14142b4bfd7953f868f50",
"integrity": "sha512-uu834RCQJssCJPkG0L1RSwYlyBwGnwEwnON/2lVdcFtHjJwX4214ib3VoHlCVotc9JX2WqPJ8TGPNtdxg3GkCg==",
"dependencies": {
"@radix-ui/react-icons": "^1.3.0",
"clsx": "^2.1.0",
@@ -278,7 +277,6 @@
"tailwind-merge": "^2.2.0"
},
"peerDependencies": {
"next-themes": "^0.4.0",
"react": ">=18",
"react-dom": ">=18"
}
@@ -4663,15 +4661,6 @@
}
}
},
"node_modules/next-themes": {
"version": "0.4.6",
"license": "MIT",
"peer": true,
"peerDependencies": {
"react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc",
"react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc"
}
},
"node_modules/next/node_modules/postcss": {
"version": "8.4.31",
"funding": [

View File

@@ -10,7 +10,7 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@ciphera-net/ui": "^0.0.23",
"@ciphera-net/ui": "^0.0.26",
"axios": "^1.13.2",
"country-flag-icons": "^1.6.4",
"d3-scale": "^4.0.2",
@@ -18,7 +18,6 @@
"i18n-iso-countries": "^7.14.0",
"iso-3166-2": "^1.0.0",
"next": "^16.1.1",
"next-themes": "^0.4.6",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-icons": "^5.5.0",