@webdevarif/dashui 1.2.8 → 1.2.10

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.mjs CHANGED
@@ -4406,40 +4406,6 @@ function AuthFootnote({ text, linkText, linkHref }) {
4406
4406
 
4407
4407
  // src/index.ts
4408
4408
  import { ThemeProvider, useTheme as useTheme2 } from "next-themes";
4409
-
4410
- // src/setup/providers/auth-provider.tsx
4411
- import { SessionProvider } from "next-auth/react";
4412
- import { jsx as jsx67 } from "react/jsx-runtime";
4413
- function AuthProvider({ children, session }) {
4414
- return /* @__PURE__ */ jsx67(SessionProvider, { session, children });
4415
- }
4416
-
4417
- // src/setup/providers/swr-provider.tsx
4418
- import { SWRConfig } from "swr";
4419
- import { jsx as jsx68 } from "react/jsx-runtime";
4420
- var fetchFetcher = (url) => fetch(url).then((r) => r.json());
4421
- var DEFAULT_SWR_CONFIG = {
4422
- revalidateOnFocus: false,
4423
- revalidateOnReconnect: true,
4424
- dedupingInterval: 6e4,
4425
- focusThrottleInterval: 3e5
4426
- };
4427
- function SWRProvider({ children, fetcher, config }) {
4428
- return /* @__PURE__ */ jsx68(SWRConfig, { value: {
4429
- fetcher: fetcher ?? fetchFetcher,
4430
- ...DEFAULT_SWR_CONFIG,
4431
- ...config
4432
- }, children });
4433
- }
4434
-
4435
- // src/setup/providers/root-provider.tsx
4436
- import { jsx as jsx69 } from "react/jsx-runtime";
4437
- function RootProvider({
4438
- children,
4439
- session
4440
- }) {
4441
- return /* @__PURE__ */ jsx69(AuthProvider, { session, children: /* @__PURE__ */ jsx69(SWRProvider, { children }) });
4442
- }
4443
4409
  export {
4444
4410
  Alert,
4445
4411
  AppShell,
@@ -4450,7 +4416,6 @@ export {
4450
4416
  AuthFootnote,
4451
4417
  AuthHeader,
4452
4418
  AuthLogo,
4453
- AuthProvider,
4454
4419
  AuthShell,
4455
4420
  Badge,
4456
4421
  Button,
@@ -4526,8 +4491,6 @@ export {
4526
4491
  PostStatusBadge,
4527
4492
  ResponsiveSizeDeviceIcon,
4528
4493
  ResponsiveSizeField,
4529
- RootProvider,
4530
- SWRProvider,
4531
4494
  SearchBar,
4532
4495
  Select,
4533
4496
  SelectContent,