@pelatform/starter.shared 0.2.11 → 0.2.12
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 -12
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -215,14 +215,7 @@ import {
|
|
|
215
215
|
import { Fragment as Fragment2, useCallback, useEffect, useState } from "react";
|
|
216
216
|
import Link4 from "next/link";
|
|
217
217
|
import { useRouter as useRouter2 } from "next/navigation";
|
|
218
|
-
import {
|
|
219
|
-
HouseIcon,
|
|
220
|
-
LogOutIcon,
|
|
221
|
-
PlusCircleIcon,
|
|
222
|
-
SettingsIcon,
|
|
223
|
-
ShieldIcon,
|
|
224
|
-
UserStarIcon
|
|
225
|
-
} from "lucide-react";
|
|
218
|
+
import { HouseIcon, LogOutIcon, PlusCircleIcon, SettingsIcon, ShieldIcon } from "lucide-react";
|
|
226
219
|
import { useTranslations as useTranslations7 } from "next-intl";
|
|
227
220
|
import {
|
|
228
221
|
useConfig as useConfig4,
|
|
@@ -577,10 +570,6 @@ function UserMenu({
|
|
|
577
570
|
/* @__PURE__ */ jsx9(ShieldIcon, {}),
|
|
578
571
|
/* @__PURE__ */ jsx9("span", { children: t("ui.navigation.security") })
|
|
579
572
|
] }) }),
|
|
580
|
-
"admin" === userRole && /* @__PURE__ */ jsx9(DropdownMenuItem, { asChild: true, children: /* @__PURE__ */ jsxs7(Link4, { href: path.admin.OVERVIEW, children: [
|
|
581
|
-
/* @__PURE__ */ jsx9(UserStarIcon, {}),
|
|
582
|
-
/* @__PURE__ */ jsx9("span", { children: "Admin Dashboard" })
|
|
583
|
-
] }) }),
|
|
584
573
|
!hiddenSwitcher && /* @__PURE__ */ jsxs7(Fragment3, { children: [
|
|
585
574
|
/* @__PURE__ */ jsx9(DropdownMenuSeparator, {}),
|
|
586
575
|
/* @__PURE__ */ jsx9(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pelatform/starter.shared",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "A part of SaaS starter kit for Pelatform applications.",
|
|
5
5
|
"author": "Pelatform",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@pelatform/starter.config": "0.2.2",
|
|
39
39
|
"@pelatform/starter.hook": "0.2.4",
|
|
40
|
-
"@pelatform/starter.utils": "0.2.
|
|
40
|
+
"@pelatform/starter.utils": "0.2.7",
|
|
41
41
|
"@pelatform/tsconfig": "^0.1.4",
|
|
42
42
|
"@types/react": "^19.2.7",
|
|
43
43
|
"lucide-react": "^0.562.0",
|
|
44
44
|
"next": "^16.1.1",
|
|
45
45
|
"next-intl": "^4.6.1",
|
|
46
|
-
"pelatform-ui": "^1.1.
|
|
46
|
+
"pelatform-ui": "^1.1.12",
|
|
47
47
|
"react": "^19.2.3",
|
|
48
48
|
"tsup": "^8.5.1"
|
|
49
49
|
},
|