@pelatform/starter.shared 0.2.4 → 0.2.5
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 +2 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -153,7 +153,7 @@ function AuthLayout({
|
|
|
153
153
|
signInHint = false,
|
|
154
154
|
signInHref
|
|
155
155
|
}) {
|
|
156
|
-
const {
|
|
156
|
+
const { path } = useConfig3();
|
|
157
157
|
const pathname = usePathname();
|
|
158
158
|
const t = useTranslations4();
|
|
159
159
|
const footer = /* @__PURE__ */ jsxs4("p", { className: "px-20 py-4 text-center font-medium text-muted-foreground text-xs md:px-0", children: [
|
|
@@ -186,7 +186,6 @@ function AuthLayout({
|
|
|
186
186
|
{
|
|
187
187
|
className: "[&_.max-w-4xl]:max-w-sm [&_.max-w-4xl]:px-0",
|
|
188
188
|
logo,
|
|
189
|
-
logoHref: app.baseUrl,
|
|
190
189
|
footer: disableFooter || pathname === path.auth.SIGN_OUT || pathname === path.auth.CALLBACK ? null : footer,
|
|
191
190
|
children
|
|
192
191
|
}
|
|
@@ -690,7 +689,7 @@ function Sidebar({ children }) {
|
|
|
690
689
|
if (isMobile) {
|
|
691
690
|
return null;
|
|
692
691
|
}
|
|
693
|
-
return /* @__PURE__ */ jsxs9("aside", { className: "in-data-[sidebar-open=false]:-start-full
|
|
692
|
+
return /* @__PURE__ */ jsxs9("aside", { className: "fixed in-data-[sidebar-open=false]:-start-full start-0 top-(--header-height) bottom-0 flex w-(--sidebar-width) shrink-0 flex-col items-stretch border-border border-e transition-all duration-300", children: [
|
|
694
693
|
children,
|
|
695
694
|
/* @__PURE__ */ jsx11("div", {})
|
|
696
695
|
] });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pelatform/starter.shared",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
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.1",
|
|
39
39
|
"@pelatform/starter.hook": "0.2.1",
|
|
40
|
-
"@pelatform/starter.utils": "0.2.
|
|
40
|
+
"@pelatform/starter.utils": "0.2.4",
|
|
41
41
|
"@pelatform/tsconfig": "^0.1.3",
|
|
42
42
|
"@types/react": "^19.2.7",
|
|
43
43
|
"lucide-react": "^0.561.0",
|
|
44
44
|
"next": "^16.0.10",
|
|
45
45
|
"next-intl": "^4.6.0",
|
|
46
|
-
"pelatform-ui": "^1.1.
|
|
46
|
+
"pelatform-ui": "^1.1.7",
|
|
47
47
|
"react": "^19.2.3",
|
|
48
48
|
"react-hook-form": "^7.68.0",
|
|
49
49
|
"tsup": "^8.5.1"
|