uibee 2.7.16 → 2.7.17

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
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from 'react';
4
- import { getCookie, setCookie } from 'utilbee/utils';
4
+ import { getCookie, setCookie } from 'utilbee';
5
5
  import { useRouter } from 'next/navigation';
6
6
  import { Globe } from 'lucide-react';
7
7
  export default function LanguageToggle({ language }) {
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useEffect, useState } from 'react';
4
- import { getCookie, setCookie } from 'utilbee/utils';
4
+ import { getCookie, setCookie } from 'utilbee';
5
5
  import { useRouter } from 'next/navigation';
6
6
  export default function ThemeToggle({ className }) {
7
7
  const router = useRouter();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uibee",
3
- "version": "2.7.16",
3
+ "version": "2.7.17",
4
4
  "description": "Shared components, functions and hooks for reuse across Login projects",
5
5
  "homepage": "https://github.com/Login-Linjeforening-for-IT/uibee#readme",
6
6
  "bugs": {
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
 
3
3
  import { useEffect, useState } from 'react'
4
- import { getCookie, setCookie } from 'utilbee/utils'
4
+ import { getCookie, setCookie } from 'utilbee'
5
5
  import { useRouter } from 'next/navigation'
6
6
  import { Language } from 'uibee/components'
7
7
  import { Globe } from 'lucide-react'
@@ -1,7 +1,7 @@
1
1
  'use client'
2
2
 
3
3
  import { useEffect, useState } from 'react'
4
- import { getCookie, setCookie } from 'utilbee/utils'
4
+ import { getCookie, setCookie } from 'utilbee'
5
5
  import { useRouter } from 'next/navigation'
6
6
 
7
7
  export default function ThemeToggle({className}: {className?: string}) {