@yimingliao/cms 0.0.108 → 0.0.109
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/client/index.d.ts +3 -3
- package/dist/client/index.js +2 -2
- package/package.json +1 -1
package/dist/client/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as _tanstack_query_core from '@tanstack/query-core';
|
|
|
6
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
7
|
import { ThemeProvider as ThemeProvider$1 } from 'next-themes';
|
|
8
8
|
import * as React$1 from 'react';
|
|
9
|
-
import { HTMLAttributes, ReactNode, ComponentProps, InputHTMLAttributes, Dispatch, SetStateAction } from 'react';
|
|
9
|
+
import { HTMLAttributes, ReactNode, JSX, ComponentProps, InputHTMLAttributes, Dispatch, SetStateAction } from 'react';
|
|
10
10
|
import { c as createVerifyAction, a as createSignOutAction, b as createSignInAction, d as createVerifyEmailAction, e as createEmailUnverifiedAction, f as createForgotPasswordAction, g as createResetPasswordAction, h as createChangePasswordAction } from '../create-reset-password-action-C-B3uh5m.js';
|
|
11
11
|
import { LucideIcon } from 'lucide-react';
|
|
12
12
|
import { S as Sidebar, B as ButtonProps$1, L as LabelProps } from '../sidebar-Dei7UxR1.js';
|
|
@@ -363,8 +363,8 @@ declare function SidebarSkeleton({ ...props }: React$1.ComponentProps<typeof Sid
|
|
|
363
363
|
declare function createNavbar({ webUrl, storageUrl, I18nSelector, SignOutButton, }: {
|
|
364
364
|
webUrl: string;
|
|
365
365
|
storageUrl: string;
|
|
366
|
-
I18nSelector:
|
|
367
|
-
SignOutButton:
|
|
366
|
+
I18nSelector: () => JSX.Element | null;
|
|
367
|
+
SignOutButton: () => JSX.Element | null;
|
|
368
368
|
}): () => react_jsx_runtime.JSX.Element;
|
|
369
369
|
|
|
370
370
|
declare function createI18nSelector({ enabled, locales, localeDisplay, }: {
|
package/dist/client/index.js
CHANGED
|
@@ -664,13 +664,13 @@ function createNavbar({
|
|
|
664
664
|
t("ui.layout.navbar.website-homepage.text")
|
|
665
665
|
] }) }),
|
|
666
666
|
/* @__PURE__ */ jsx("div", { className: "ml-auto" }),
|
|
667
|
-
I18nSelector,
|
|
667
|
+
/* @__PURE__ */ jsx(I18nSelector, {}),
|
|
668
668
|
/* @__PURE__ */ jsx(ThemeSelector, {}),
|
|
669
669
|
/* @__PURE__ */ jsx(
|
|
670
670
|
NavUser,
|
|
671
671
|
{
|
|
672
672
|
storageUrl,
|
|
673
|
-
SignOutButton,
|
|
673
|
+
SignOutButton: /* @__PURE__ */ jsx(SignOutButton, {}),
|
|
674
674
|
admin,
|
|
675
675
|
isLoading
|
|
676
676
|
}
|