diff --git a/docs/functions/client_color_switch_color_switch.ColorSwitch.html b/docs/functions/client_color_switch_color_switch.ColorSwitch.html index e9d6fb54..d070e428 100644 --- a/docs/functions/client_color_switch_color_switch.ColorSwitch.html +++ b/docs/functions/client_color_switch_color_switch.ColorSwitch.html @@ -4,4 +4,4 @@

Custom size & skipSystem

<ColorSwitch size={20} skipSystem />
 
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/client_force_color_scheme_force_color_scheme.ForceColorScheme.html b/docs/functions/client_force_color_scheme_force_color_scheme.ForceColorScheme.html index efc75400..fcb73bb0 100644 --- a/docs/functions/client_force_color_scheme_force_color_scheme.ForceColorScheme.html +++ b/docs/functions/client_force_color_scheme_force_color_scheme.ForceColorScheme.html @@ -1,2 +1,2 @@ ForceColorScheme | React18 Loaders
\ No newline at end of file +

Parameters

Returns null

\ No newline at end of file diff --git a/docs/functions/client_force_theme_force_theme.ForceTheme.html b/docs/functions/client_force_theme_force_theme.ForceTheme.html index 68b0a22d..d71ffc7f 100644 --- a/docs/functions/client_force_theme_force_theme.ForceTheme.html +++ b/docs/functions/client_force_theme_force_theme.ForceTheme.html @@ -1,2 +1,2 @@ ForceTheme | React18 Loaders
\ No newline at end of file +

Parameters

Returns null

\ No newline at end of file diff --git a/docs/functions/client_theme_switcher_no_fouc.noFOUCScript.html b/docs/functions/client_theme_switcher_no_fouc.noFOUCScript.html index 4d4d1c49..9560fb9f 100644 --- a/docs/functions/client_theme_switcher_no_fouc.noFOUCScript.html +++ b/docs/functions/client_theme_switcher_no_fouc.noFOUCScript.html @@ -1,2 +1,2 @@ noFOUCScript | React18 Loaders
\ No newline at end of file +

Parameters

Returns void

\ No newline at end of file diff --git a/docs/functions/client_theme_switcher_theme_switcher.ThemeSwitcher.html b/docs/functions/client_theme_switcher_theme_switcher.ThemeSwitcher.html index eb228727..0b1f56ce 100644 --- a/docs/functions/client_theme_switcher_theme_switcher.ThemeSwitcher.html +++ b/docs/functions/client_theme_switcher_theme_switcher.ThemeSwitcher.html @@ -5,4 +5,4 @@

Source

const ThemeSwitcher = ({
forcedTheme,
forcedColorScheme,
targetSelector,
themeTransition,
styles,
nonce,
}: ThemeSwitcherProps) => {
const k = targetSelector || `#${DEFAULT_ID}`;
// handle client side exceptions when script is not run. <- for client side apps like vite or CRA
if (typeof window !== "undefined" && !window.m)
noFOUCScript(k, initialState, styles, forcedTheme, forcedColorScheme);

const [state, setState] = useThemeStore(targetSelector);
const [forced] = useForcedStore(targetSelector);

useEffect(() => {
media.addEventListener("change", () =>
setState(state => ({ ...state, s: media.matches ? DARK : LIGHT })),
);
addEventListener("storage", e => {
if (e.key === k) setState(state => ({ ...state, ...JSON.parse(e.newValue || "{}") }));
});
}, []);

useEffect(() => {
const restoreThansitions = modifyTransition(themeTransition);
updateDOM(resolveTheme(state));
restoreThansitions();
localStorage.setItem(k, JSON.stringify(state));
}, [state]);

useEffect(() => {
updateForcedProps(forcedTheme, forcedColorScheme);
updateDOM(resolveTheme(state));
}, [forcedColorScheme, forcedTheme]);

useEffect(() => {
updateForcedState(forced.f, forced.fc);
updateDOM(resolveTheme(state));
}, [forced]);

return <Script {...{ k, n: nonce, s: styles, t: forcedTheme, c: forcedColorScheme }} />;
}
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/hooks_use_theme.useTheme.html b/docs/functions/hooks_use_theme.useTheme.html index b94b492d..64a7f83b 100644 --- a/docs/functions/hooks_use_theme.useTheme.html +++ b/docs/functions/hooks_use_theme.useTheme.html @@ -5,4 +5,4 @@

Source

const useTheme = (targetSelector?: string): UseThemeYield => {
const [state, setState] = useThemeStore(targetSelector);
const [_, setForcedState] = useForcedStore(targetSelector);
useEffect(() => {
resolveTheme = window.r;
}, []);


const setter =
<T>(key: string) =>
(arg: T) =>
setState(state => ({ ...state, [key]: arg }));

const hookResult: UseThemeYield = {
theme: state.t,
darkTheme: state.d,
lightTheme: state.l,
colorSchemePref: state.c,
systemColorScheme: state.s,
resolvedColorScheme: state.c === SYSTEM || state.c === "" ? state.s : state.c,
resolvedTheme: state.t,
setTheme: setter<string>("t"),
setDarkTheme: setter<string>("d"),
setLightTheme: setter<string>("l"),
setThemeSet: ({ darkTheme: d, lightTheme: l }) => setState(state => ({ ...state, d, l })),
setColorSchemePref: setter<ColorSchemeType>("c"),
toggleColorScheme(skipSystem) {
let index = colorSchemes.indexOf(state.c);
const len = colorSchemes.length;
if (index === -1 || (skipSystem && index === len - 1)) index = 0;
setter("c")(colorSchemes[(index + 1) % len]);
},
setForcedColorScheme: forcedColorScheme =>
setForcedState(state => ({ ...state, fc: forcedColorScheme })),
setForcedTheme: forcedTheme => setForcedState(state => ({ ...state, f: forcedTheme })),
};

if (resolveTheme) {
const resolvedValues = resolveTheme(state);
hookResult.resolvedColorScheme = resolvedValues[0];
hookResult.resolvedTheme = resolvedValues[1];
}

return hookResult;
}
-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/server_nextjs_server_side_wrapper_server_side_wrapper.NextJsSSGThemeSwitcher.html b/docs/functions/server_nextjs_server_side_wrapper_server_side_wrapper.NextJsSSGThemeSwitcher.html index 15e8c5ad..51423868 100644 --- a/docs/functions/server_nextjs_server_side_wrapper_server_side_wrapper.NextJsSSGThemeSwitcher.html +++ b/docs/functions/server_nextjs_server_side_wrapper_server_side_wrapper.NextJsSSGThemeSwitcher.html @@ -1,4 +1,4 @@ NextJsSSGThemeSwitcher | React18 Loaders
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/server_nextjs_server_side_wrapper_server_side_wrapper.ServerSideWrapper.html b/docs/functions/server_nextjs_server_side_wrapper_server_side_wrapper.ServerSideWrapper.html index e75e6de9..1c72a219 100644 --- a/docs/functions/server_nextjs_server_side_wrapper_server_side_wrapper.ServerSideWrapper.html +++ b/docs/functions/server_nextjs_server_side_wrapper_server_side_wrapper.ServerSideWrapper.html @@ -1,4 +1,4 @@ ServerSideWrapper | React18 Loaders
  • Parameters

    Returns Element

    Deprecated

    No longer need to add this component for avoiding FOUC.

    This component is deprecated and will be removed in the next major release. Use ServerSideWrapper instead. This component is kept here only to ensure no sudden breaking changes are introduced.

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/store.useForcedStore.html b/docs/functions/store.useForcedStore.html index 1a5bd24c..5ec80885 100644 --- a/docs/functions/store.useForcedStore.html +++ b/docs/functions/store.useForcedStore.html @@ -1 +1 @@ -useForcedStore | React18 Loaders

Function useForcedStore

\ No newline at end of file +useForcedStore | React18 Loaders

Function useForcedStore

\ No newline at end of file diff --git a/docs/functions/store.useThemeStore.html b/docs/functions/store.useThemeStore.html index 1a0684c5..0803a9b8 100644 --- a/docs/functions/store.useThemeStore.html +++ b/docs/functions/store.useThemeStore.html @@ -1,2 +1,2 @@ useThemeStore | React18 Loaders

Function useThemeStore

\ No newline at end of file +

Parameters

Returns [ThemeStoreType, SetStateAction<ThemeStoreType>]

\ No newline at end of file diff --git a/docs/interfaces/client_color_switch_color_switch.ColorSwitchProps.html b/docs/interfaces/client_color_switch_color_switch.ColorSwitchProps.html index 62308566..a122c304 100644 --- a/docs/interfaces/client_color_switch_color_switch.ColorSwitchProps.html +++ b/docs/interfaces/client_color_switch_color_switch.ColorSwitchProps.html @@ -1,6 +1,6 @@ -ColorSwitchProps | React18 Loaders
interface ColorSwitchProps {
    size?: number;
    skipSystem?: boolean;
    targetSelector?: string;
}

Hierarchy

Properties

size? +ColorSwitchProps | React18 Loaders
interface ColorSwitchProps {
    size?: number;
    skipSystem?: boolean;
    targetSelector?: string;
}

Hierarchy

Properties

size?: number

Diameter of the color switch

-
skipSystem?: boolean

Skip system colorScheme while toggling

-
targetSelector?: string
\ No newline at end of file +
skipSystem?: boolean

Skip system colorScheme while toggling

+
targetSelector?: string
\ No newline at end of file diff --git a/docs/interfaces/client_theme_switcher_theme_switcher.ThemeSwitcherProps.html b/docs/interfaces/client_theme_switcher_theme_switcher.ThemeSwitcherProps.html index fb5b57e3..4add2351 100644 --- a/docs/interfaces/client_theme_switcher_theme_switcher.ThemeSwitcherProps.html +++ b/docs/interfaces/client_theme_switcher_theme_switcher.ThemeSwitcherProps.html @@ -1,11 +1,11 @@ -ThemeSwitcherProps | React18 Loaders
interface ThemeSwitcherProps {
    forcedColorScheme?: ColorSchemeType;
    forcedTheme?: string;
    nonce?: string;
    styles?: Record<string, string>;
    targetSelector?: string;
    themeTransition?: string;
}

Properties

forcedColorScheme? +ThemeSwitcherProps | React18 Loaders
interface ThemeSwitcherProps {
    forcedColorScheme?: ColorSchemeType;
    forcedTheme?: string;
    nonce?: string;
    styles?: Record<string, string>;
    targetSelector?: string;
    themeTransition?: string;
}

Properties

forcedColorScheme?: ColorSchemeType
forcedTheme?: string
nonce?: string

The nonce value for your Content Security Policy.

+

Properties

forcedColorScheme?: ColorSchemeType
forcedTheme?: string
nonce?: string

The nonce value for your Content Security Policy.

Default Value

''
 
-
styles?: Record<string, string>

provide styles object imported from CSS/SCSS modules, if you are using CSS/SCSS modules.

-
targetSelector?: string
themeTransition?: string
\ No newline at end of file +
styles?: Record<string, string>

provide styles object imported from CSS/SCSS modules, if you are using CSS/SCSS modules.

+
targetSelector?: string
themeTransition?: string
\ No newline at end of file diff --git a/docs/interfaces/hooks_use_theme._internal_.UseThemeYield.html b/docs/interfaces/hooks_use_theme._internal_.UseThemeYield.html index 11c5c3a9..6984d57c 100644 --- a/docs/interfaces/hooks_use_theme._internal_.UseThemeYield.html +++ b/docs/interfaces/hooks_use_theme._internal_.UseThemeYield.html @@ -1,4 +1,4 @@ -UseThemeYield | React18 Loaders
interface UseThemeYield {
    colorSchemePref: ColorSchemeType;
    darkTheme: string;
    lightTheme: string;
    resolvedColorScheme: ResolvedColorSchemeType;
    resolvedTheme: string;
    setColorSchemePref: ((colorSchemePref) => void);
    setDarkTheme: ((darkTheme) => void);
    setForcedColorScheme: ((forcedColorScheme) => void);
    setForcedTheme: ((forcedTheme) => void);
    setLightTheme: ((lightTheme) => void);
    setTheme: ((theme) => void);
    setThemeSet: ((themeSet) => void);
    systemColorScheme: ResolvedColorSchemeType;
    theme: string;
    toggleColorScheme: ((skipSystem?) => void);
}

Properties

colorSchemePref +UseThemeYield | React18 Loaders
interface UseThemeYield {
    colorSchemePref: ColorSchemeType;
    darkTheme: string;
    lightTheme: string;
    resolvedColorScheme: ResolvedColorSchemeType;
    resolvedTheme: string;
    setColorSchemePref: ((colorSchemePref) => void);
    setDarkTheme: ((darkTheme) => void);
    setForcedColorScheme: ((forcedColorScheme) => void);
    setForcedTheme: ((forcedTheme) => void);
    setLightTheme: ((lightTheme) => void);
    setTheme: ((theme) => void);
    setThemeSet: ((themeSet) => void);
    systemColorScheme: ResolvedColorSchemeType;
    theme: string;
    toggleColorScheme: ((skipSystem?) => void);
}

Properties

colorSchemePref: ColorSchemeType
darkTheme: string
lightTheme: string
resolvedColorScheme: ResolvedColorSchemeType
resolvedTheme: string
setColorSchemePref: ((colorSchemePref) => void)

Type declaration

    • (colorSchemePref): void
    • Parameters

      Returns void

setDarkTheme: ((darkTheme) => void)

Type declaration

    • (darkTheme): void
    • Parameters

      • darkTheme: string

      Returns void

setForcedColorScheme: ((forcedColorScheme) => void)

Type declaration

    • (forcedColorScheme): void
    • Parameters

      Returns void

setForcedTheme: ((forcedTheme) => void)

Type declaration

    • (forcedTheme): void
    • Parameters

      • forcedTheme: string

      Returns void

setLightTheme: ((lightTheme) => void)

Type declaration

    • (lightTheme): void
    • Parameters

      • lightTheme: string

      Returns void

setTheme: ((theme) => void)

actions

-

Type declaration

    • (theme): void
    • Parameters

      • theme: string

      Returns void

setThemeSet: ((themeSet) => void)

Type declaration

    • (themeSet): void
    • Parameters

      • themeSet: {
            darkTheme: string;
            lightTheme: string;
        }
        • darkTheme: string
        • lightTheme: string

      Returns void

systemColorScheme: ResolvedColorSchemeType
theme: string
toggleColorScheme: ((skipSystem?) => void)

Type declaration

    • (skipSystem?): void
    • Parameters

      • Optional skipSystem: boolean

      Returns void

\ No newline at end of file +

Properties

colorSchemePref: ColorSchemeType
darkTheme: string
lightTheme: string
resolvedColorScheme: ResolvedColorSchemeType
resolvedTheme: string
setColorSchemePref: ((colorSchemePref) => void)

Type declaration

    • (colorSchemePref): void
    • Parameters

      Returns void

setDarkTheme: ((darkTheme) => void)

Type declaration

    • (darkTheme): void
    • Parameters

      • darkTheme: string

      Returns void

setForcedColorScheme: ((forcedColorScheme) => void)

Type declaration

    • (forcedColorScheme): void
    • Parameters

      Returns void

setForcedTheme: ((forcedTheme) => void)

Type declaration

    • (forcedTheme): void
    • Parameters

      • forcedTheme: string

      Returns void

setLightTheme: ((lightTheme) => void)

Type declaration

    • (lightTheme): void
    • Parameters

      • lightTheme: string

      Returns void

setTheme: ((theme) => void)

actions

+

Type declaration

    • (theme): void
    • Parameters

      • theme: string

      Returns void

setThemeSet: ((themeSet) => void)

Type declaration

    • (themeSet): void
    • Parameters

      • themeSet: {
            darkTheme: string;
            lightTheme: string;
        }
        • darkTheme: string
        • lightTheme: string

      Returns void

systemColorScheme: ResolvedColorSchemeType
theme: string
toggleColorScheme: ((skipSystem?) => void)

Type declaration

    • (skipSystem?): void
    • Parameters

      • Optional skipSystem: boolean

      Returns void

\ No newline at end of file diff --git a/docs/interfaces/server_nextjs_server_side_wrapper_server_side_wrapper.NextJsSSRThemeSwitcherProps.html b/docs/interfaces/server_nextjs_server_side_wrapper_server_side_wrapper.NextJsSSRThemeSwitcherProps.html index 9a684e65..53751131 100644 --- a/docs/interfaces/server_nextjs_server_side_wrapper_server_side_wrapper.NextJsSSRThemeSwitcherProps.html +++ b/docs/interfaces/server_nextjs_server_side_wrapper_server_side_wrapper.NextJsSSRThemeSwitcherProps.html @@ -1,10 +1,10 @@ -NextJsSSRThemeSwitcherProps | React18 Loaders
interface NextJsSSRThemeSwitcherProps {
    children?: ReactNode;
    forcedPages?: ForcedPage[];
    styles?: Record<string, string>;
    tag?: keyof IntrinsicElements;
    targetId?: string;
}

Hierarchy (view full)

Properties

children? +NextJsSSRThemeSwitcherProps | React18 Loaders
interface NextJsSSRThemeSwitcherProps {
    children?: ReactNode;
    forcedPages?: ForcedPage[];
    styles?: Record<string, string>;
    tag?: keyof IntrinsicElements;
    targetId?: string;
}

Hierarchy (view full)

Properties

children?: ReactNode
forcedPages?: ForcedPage[]
styles?: Record<string, string>

provide styles object imported from CSS/SCSS modules, if you are using CSS/SCSS modules.

-
tag?: keyof IntrinsicElements

Default Value

'div'
+

Properties

children?: ReactNode
forcedPages?: ForcedPage[]
styles?: Record<string, string>

provide styles object imported from CSS/SCSS modules, if you are using CSS/SCSS modules.

+
tag?: keyof IntrinsicElements

Default Value

'div'
 
-
targetId?: string

id of target element to apply classes to. This is useful when you want to apply theme only to specific container.

-
\ No newline at end of file +
targetId?: string

id of target element to apply classes to. This is useful when you want to apply theme only to specific container.

+
\ No newline at end of file diff --git a/docs/interfaces/server_nextjs_server_side_wrapper_server_side_wrapper.ServerSideWrapperProps.html b/docs/interfaces/server_nextjs_server_side_wrapper_server_side_wrapper.ServerSideWrapperProps.html index 23e9ce7b..c1193a13 100644 --- a/docs/interfaces/server_nextjs_server_side_wrapper_server_side_wrapper.ServerSideWrapperProps.html +++ b/docs/interfaces/server_nextjs_server_side_wrapper_server_side_wrapper.ServerSideWrapperProps.html @@ -1,10 +1,10 @@ -ServerSideWrapperProps | React18 Loaders
interface ServerSideWrapperProps {
    children?: ReactNode;
    forcedPages?: ForcedPage[];
    styles?: Record<string, string>;
    tag?: keyof IntrinsicElements;
    targetId?: string;
}

Hierarchy (view full)

Properties

children? +ServerSideWrapperProps | React18 Loaders
interface ServerSideWrapperProps {
    children?: ReactNode;
    forcedPages?: ForcedPage[];
    styles?: Record<string, string>;
    tag?: keyof IntrinsicElements;
    targetId?: string;
}

Hierarchy (view full)

Properties

children?: ReactNode
forcedPages?: ForcedPage[]
styles?: Record<string, string>

provide styles object imported from CSS/SCSS modules, if you are using CSS/SCSS modules.

-
tag?: keyof IntrinsicElements

Default Value

'html'
+

Properties

children?: ReactNode
forcedPages?: ForcedPage[]
styles?: Record<string, string>

provide styles object imported from CSS/SCSS modules, if you are using CSS/SCSS modules.

+
tag?: keyof IntrinsicElements

Default Value

'html'
 
-
targetId?: string

id of target element to apply classes to. This is useful when you want to apply theme only to specific container.

-
\ No newline at end of file +
targetId?: string

id of target element to apply classes to. This is useful when you want to apply theme only to specific container.

+
\ No newline at end of file diff --git a/docs/interfaces/store.ForcedStoreType.html b/docs/interfaces/store.ForcedStoreType.html index aa9aff46..fedb3780 100644 --- a/docs/interfaces/store.ForcedStoreType.html +++ b/docs/interfaces/store.ForcedStoreType.html @@ -1,5 +1,5 @@ -ForcedStoreType | React18 Loaders

Interface ForcedStoreType

interface ForcedStoreType {
    f?: string;
    fc?: ColorSchemeType;
}

Properties

f? +ForcedStoreType | React18 Loaders

Interface ForcedStoreType

interface ForcedStoreType {
    f?: string;
    fc?: ColorSchemeType;
}

Properties

Properties

f?: string

forced theme

-

forced colorScheme

-
\ No newline at end of file +

forced colorScheme

+
\ No newline at end of file diff --git a/docs/interfaces/store.ThemeStoreType.html b/docs/interfaces/store.ThemeStoreType.html index b7ef9263..e655a2c5 100644 --- a/docs/interfaces/store.ThemeStoreType.html +++ b/docs/interfaces/store.ThemeStoreType.html @@ -1,11 +1,11 @@ -ThemeStoreType | React18 Loaders

Interface ThemeStoreType

interface ThemeStoreType {
    c: ColorSchemeType;
    d: string;
    l: string;
    s: ResolvedColorSchemeType;
    t: string;
}

Properties

c +ThemeStoreType | React18 Loaders

Interface ThemeStoreType

interface ThemeStoreType {
    c: ColorSchemeType;
    d: string;
    l: string;
    s: ResolvedColorSchemeType;
    t: string;
}

Properties

c d l s t

Properties

colorSchemePref

-
d: string

darkTheme

-
l: string

lightTheme

-

systemColorScheme

-
t: string

theme

-
\ No newline at end of file +
d: string

darkTheme

+
l: string

lightTheme

+

systemColorScheme

+
t: string

theme

+
\ No newline at end of file diff --git a/docs/modules/client_color_switch_color_switch.html b/docs/modules/client_color_switch_color_switch.html index 4a52e242..35f44ab9 100644 --- a/docs/modules/client_color_switch_color_switch.html +++ b/docs/modules/client_color_switch_color_switch.html @@ -1,3 +1,3 @@ -client/color-switch/color-switch | React18 Loaders

Module client/color-switch/color-switch

Index

Interfaces

ColorSwitchProps +client/color-switch/color-switch | React18 Loaders

Module client/color-switch/color-switch

Index

Interfaces

Functions

\ No newline at end of file diff --git a/docs/modules/client_force_color_scheme_force_color_scheme.html b/docs/modules/client_force_color_scheme_force_color_scheme.html index 61d3bb54..c1d2bd3d 100644 --- a/docs/modules/client_force_color_scheme_force_color_scheme.html +++ b/docs/modules/client_force_color_scheme_force_color_scheme.html @@ -1,2 +1,2 @@ -client/force-color-scheme/force-color-scheme | React18 Loaders

Module client/force-color-scheme/force-color-scheme

Index

Functions

ForceColorScheme +client/force-color-scheme/force-color-scheme | React18 Loaders
\ No newline at end of file diff --git a/docs/modules/client_force_theme_force_theme.html b/docs/modules/client_force_theme_force_theme.html index 8a2c6d8f..40912f1c 100644 --- a/docs/modules/client_force_theme_force_theme.html +++ b/docs/modules/client_force_theme_force_theme.html @@ -1,2 +1,2 @@ -client/force-theme/force-theme | React18 Loaders

Module client/force-theme/force-theme

Index

Functions

ForceTheme +client/force-theme/force-theme | React18 Loaders

Module client/force-theme/force-theme

Index

Functions

\ No newline at end of file diff --git a/docs/modules/client_theme_switcher_no_fouc.html b/docs/modules/client_theme_switcher_no_fouc.html index d1e74665..d58e4fb5 100644 --- a/docs/modules/client_theme_switcher_no_fouc.html +++ b/docs/modules/client_theme_switcher_no_fouc.html @@ -1,4 +1,4 @@ -client/theme-switcher/no-fouc | React18 Loaders

Module client/theme-switcher/no-fouc

Index

Modules

<internal> +client/theme-switcher/no-fouc | React18 Loaders

Module client/theme-switcher/no-fouc

Index

Modules

Type Aliases

ResolveFunc UpdateDOMFunc UpdateForcedPropsFunc diff --git a/docs/modules/client_theme_switcher_theme_switcher.html b/docs/modules/client_theme_switcher_theme_switcher.html index 6a673714..8eedf109 100644 --- a/docs/modules/client_theme_switcher_theme_switcher.html +++ b/docs/modules/client_theme_switcher_theme_switcher.html @@ -1,3 +1,3 @@ -client/theme-switcher/theme-switcher | React18 Loaders

Module client/theme-switcher/theme-switcher

Index

Interfaces

ThemeSwitcherProps +client/theme-switcher/theme-switcher | React18 Loaders
\ No newline at end of file diff --git a/docs/modules/constants.html b/docs/modules/constants.html index acef8148..a59ab922 100644 --- a/docs/modules/constants.html +++ b/docs/modules/constants.html @@ -1,4 +1,4 @@ -constants | React18 Loaders

Module constants

Index

Variables

DARK +constants | React18 Loaders

Module constants

Index

Variables

DARK DEFAULT_ID LIGHT SYSTEM diff --git a/docs/modules/hooks_use_theme.html b/docs/modules/hooks_use_theme.html index 45feabf8..773629f1 100644 --- a/docs/modules/hooks_use_theme.html +++ b/docs/modules/hooks_use_theme.html @@ -1,3 +1,3 @@ -hooks/use-theme | React18 Loaders

Module hooks/use-theme

Index

Modules

<internal> +hooks/use-theme | React18 Loaders

Module hooks/use-theme

Index

Modules

Functions

\ No newline at end of file diff --git a/docs/modules/server_nextjs_server_side_wrapper_server_side_wrapper.html b/docs/modules/server_nextjs_server_side_wrapper_server_side_wrapper.html index 072109ab..5e718061 100644 --- a/docs/modules/server_nextjs_server_side_wrapper_server_side_wrapper.html +++ b/docs/modules/server_nextjs_server_side_wrapper_server_side_wrapper.html @@ -1,4 +1,4 @@ -server/nextjs/server-side-wrapper/server-side-wrapper | React18 Loaders

Module server/nextjs/server-side-wrapper/server-side-wrapper

References

NextJsServerTarget +server/nextjs/server-side-wrapper/server-side-wrapper | React18 Loaders

Module server/nextjs/server-side-wrapper/server-side-wrapper

References

Interfaces

Type Aliases

ForcedPage diff --git a/docs/modules/store.html b/docs/modules/store.html index 37ec6f1d..9e38040c 100644 --- a/docs/modules/store.html +++ b/docs/modules/store.html @@ -1,4 +1,4 @@ -store | React18 Loaders

Index

Interfaces

ForcedStoreType +store | React18 Loaders

Index

Interfaces

Variables

Functions

useForcedStore diff --git a/docs/modules/types.html b/docs/modules/types.html index 87a1e074..04530e38 100644 --- a/docs/modules/types.html +++ b/docs/modules/types.html @@ -1,3 +1,3 @@ -types | React18 Loaders

Index

Type Aliases

ColorSchemeType +types | React18 Loaders
\ No newline at end of file diff --git a/docs/types/client_theme_switcher_no_fouc.ResolveFunc.html b/docs/types/client_theme_switcher_no_fouc.ResolveFunc.html index 5e096a9d..2757cc37 100644 --- a/docs/types/client_theme_switcher_no_fouc.ResolveFunc.html +++ b/docs/types/client_theme_switcher_no_fouc.ResolveFunc.html @@ -1 +1 @@ -ResolveFunc | React18 Loaders
ResolveFunc: ((store) => ValuesType)

Type declaration

\ No newline at end of file +ResolveFunc | React18 Loaders
ResolveFunc: ((store) => ValuesType)

Type declaration

\ No newline at end of file diff --git a/docs/types/client_theme_switcher_no_fouc.UpdateDOMFunc.html b/docs/types/client_theme_switcher_no_fouc.UpdateDOMFunc.html index 313f425a..43fe5172 100644 --- a/docs/types/client_theme_switcher_no_fouc.UpdateDOMFunc.html +++ b/docs/types/client_theme_switcher_no_fouc.UpdateDOMFunc.html @@ -1 +1 @@ -UpdateDOMFunc | React18 Loaders
UpdateDOMFunc: ((values) => void)

Type declaration

    • (values): void
    • Parameters

      Returns void

\ No newline at end of file +UpdateDOMFunc | React18 Loaders
UpdateDOMFunc: ((values) => void)

Type declaration

    • (values): void
    • Parameters

      Returns void

\ No newline at end of file diff --git a/docs/types/client_theme_switcher_no_fouc.UpdateForcedPropsFunc.html b/docs/types/client_theme_switcher_no_fouc.UpdateForcedPropsFunc.html index 3cc0085d..d1698e7c 100644 --- a/docs/types/client_theme_switcher_no_fouc.UpdateForcedPropsFunc.html +++ b/docs/types/client_theme_switcher_no_fouc.UpdateForcedPropsFunc.html @@ -1 +1 @@ -UpdateForcedPropsFunc | React18 Loaders
UpdateForcedPropsFunc: ((forcedThemeProp?, forcedColorSchemeProp?) => void)

Type declaration

    • (forcedThemeProp?, forcedColorSchemeProp?): void
    • Parameters

      • Optional forcedThemeProp: string
      • Optional forcedColorSchemeProp: ColorSchemeType

      Returns void

\ No newline at end of file +UpdateForcedPropsFunc | React18 Loaders
UpdateForcedPropsFunc: ((forcedThemeProp?, forcedColorSchemeProp?) => void)

Type declaration

    • (forcedThemeProp?, forcedColorSchemeProp?): void
    • Parameters

      • Optional forcedThemeProp: string
      • Optional forcedColorSchemeProp: ColorSchemeType

      Returns void

\ No newline at end of file diff --git a/docs/types/client_theme_switcher_no_fouc._internal_.ValuesType.html b/docs/types/client_theme_switcher_no_fouc._internal_.ValuesType.html index 307e0943..f2ef5e47 100644 --- a/docs/types/client_theme_switcher_no_fouc._internal_.ValuesType.html +++ b/docs/types/client_theme_switcher_no_fouc._internal_.ValuesType.html @@ -1 +1 @@ -ValuesType | React18 Loaders
\ No newline at end of file +ValuesType | React18 Loaders
\ No newline at end of file diff --git a/docs/types/server_nextjs_server_side_wrapper_server_side_wrapper.ForcedPage.html b/docs/types/server_nextjs_server_side_wrapper_server_side_wrapper.ForcedPage.html index be10fc17..592f83af 100644 --- a/docs/types/server_nextjs_server_side_wrapper_server_side_wrapper.ForcedPage.html +++ b/docs/types/server_nextjs_server_side_wrapper_server_side_wrapper.ForcedPage.html @@ -1,2 +1,2 @@ ForcedPage | React18 Loaders
ForcedPage: {
    pathMatcher: RegExp | string;
    props: {
        forcedColorScheme?: ColorSchemeType;
        forcedTheme?: string;
    };
} | [pathMatcher: RegExp | string, themes: {
    colorScheme?: ColorSchemeType;
    theme?: string;
}]

Type declaration

  • pathMatcher: RegExp | string
  • props: {
        forcedColorScheme?: ColorSchemeType;
        forcedTheme?: string;
    }

Deprecated

as no longer needed.

-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/types/types.ColorSchemeType.html b/docs/types/types.ColorSchemeType.html index cb7cae0a..6512259c 100644 --- a/docs/types/types.ColorSchemeType.html +++ b/docs/types/types.ColorSchemeType.html @@ -1,2 +1,2 @@ ColorSchemeType | React18 Loaders

Type alias ColorSchemeType

ColorSchemeType: "" | "system" | "dark" | "light"

Types to be exposed to users

-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/types/types.ResolvedColorSchemeType.html b/docs/types/types.ResolvedColorSchemeType.html index 49f79c82..7b71fb31 100644 --- a/docs/types/types.ResolvedColorSchemeType.html +++ b/docs/types/types.ResolvedColorSchemeType.html @@ -1 +1 @@ -ResolvedColorSchemeType | React18 Loaders

Type alias ResolvedColorSchemeType

ResolvedColorSchemeType: "dark" | "light"
\ No newline at end of file +ResolvedColorSchemeType | React18 Loaders

Type alias ResolvedColorSchemeType

ResolvedColorSchemeType: "dark" | "light"
\ No newline at end of file diff --git a/docs/variables/constants.DARK.html b/docs/variables/constants.DARK.html index 351b7884..a169ab78 100644 --- a/docs/variables/constants.DARK.html +++ b/docs/variables/constants.DARK.html @@ -1 +1 @@ -DARK | React18 Loaders

Variable DARKConst

DARK: "dark" = "dark"
\ No newline at end of file +DARK | React18 Loaders

Variable DARKConst

DARK: "dark" = "dark"
\ No newline at end of file diff --git a/docs/variables/constants.DEFAULT_ID.html b/docs/variables/constants.DEFAULT_ID.html index 903a6294..efe90a4a 100644 --- a/docs/variables/constants.DEFAULT_ID.html +++ b/docs/variables/constants.DEFAULT_ID.html @@ -1,2 +1,2 @@ DEFAULT_ID | React18 Loaders

Variable DEFAULT_IDConst

DEFAULT_ID: "nth" = "nth"

shared constants -- keep in separate files for better tree-shaking and dependency injection

-
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/variables/constants.LIGHT.html b/docs/variables/constants.LIGHT.html index 5af2a839..afee219d 100644 --- a/docs/variables/constants.LIGHT.html +++ b/docs/variables/constants.LIGHT.html @@ -1 +1 @@ -LIGHT | React18 Loaders

Variable LIGHTConst

LIGHT: "light" = "light"
\ No newline at end of file +LIGHT | React18 Loaders

Variable LIGHTConst

LIGHT: "light" = "light"
\ No newline at end of file diff --git a/docs/variables/constants.SYSTEM.html b/docs/variables/constants.SYSTEM.html index 3ce04297..2a191ba2 100644 --- a/docs/variables/constants.SYSTEM.html +++ b/docs/variables/constants.SYSTEM.html @@ -1 +1 @@ -SYSTEM | React18 Loaders

Variable SYSTEMConst

SYSTEM: "system" = "system"
\ No newline at end of file +SYSTEM | React18 Loaders

Variable SYSTEMConst

SYSTEM: "system" = "system"
\ No newline at end of file diff --git a/docs/variables/store.initialState.html b/docs/variables/store.initialState.html index 8a7f060b..8a55ca5c 100644 --- a/docs/variables/store.initialState.html +++ b/docs/variables/store.initialState.html @@ -1 +1 @@ -initialState | React18 Loaders

Variable initialStateConst

initialState: ThemeStoreType = ...
\ No newline at end of file +initialState | React18 Loaders

Variable initialStateConst

initialState: ThemeStoreType = ...
\ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 56361dda..ac7c9b2f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1508,6 +1508,9 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} + aria-query@5.1.3: + resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==} + aria-query@5.3.0: resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} @@ -1582,12 +1585,12 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} - axe-core@4.7.0: - resolution: {integrity: sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==} + axe-core@4.9.1: + resolution: {integrity: sha512-QbUdXJVTpvUTHU7871ppZkdOLBeGUKBQWHkHrvN2V9IQWGMt61zf3B45BtzjxEJzYuj0JBjBZP/hmYS/R9pmAw==} engines: {node: '>=4'} - axobject-query@3.2.1: - resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} + axobject-query@3.1.1: + resolution: {integrity: sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==} babel-jest@29.7.0: resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} @@ -1986,6 +1989,10 @@ packages: resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} engines: {node: '>=6'} + deep-equal@2.2.3: + resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==} + engines: {node: '>= 0.4'} + deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -2073,8 +2080,8 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - electron-to-chromium@1.4.806: - resolution: {integrity: sha512-nkoEX2QIB8kwCOtvtgwhXWy2IHVcOLQZu9Qo36uaGB835mdX/h8uLRlosL6QIhLVUnAiicXRW00PwaPZC74Nrg==} + electron-to-chromium@1.4.807: + resolution: {integrity: sha512-kSmJl2ZwhNf/bcIuCH/imtNOKlpkLDn2jqT5FJ+/0CXjhnFaOa9cOe9gHKKy71eM49izwuQjZhKk+lWQ1JxB7A==} emittery@0.13.1: resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} @@ -2116,6 +2123,9 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} + es-get-iterator@1.1.3: + resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} + es-iterator-helpers@1.0.19: resolution: {integrity: sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==} engines: {node: '>= 0.4'} @@ -2261,8 +2271,8 @@ packages: jest: optional: true - eslint-plugin-jsx-a11y@6.8.0: - resolution: {integrity: sha512-Hdh937BS3KdwwbBaKd5+PLCOmYY6U4f2h9Z2ktwtNKvIdIEu137rjYbcb9ApSbVJfWxANNuiKTD/9tOKjK9qOA==} + eslint-plugin-jsx-a11y@6.9.0: + resolution: {integrity: sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==} engines: {node: '>=4.0'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 @@ -2840,6 +2850,10 @@ packages: is-alphanumerical@2.0.1: resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==} + is-arguments@1.1.1: + resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} + engines: {node: '>= 0.4'} + is-array-buffer@3.0.4: resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} engines: {node: '>= 0.4'} @@ -3777,6 +3791,10 @@ packages: object-inspect@1.13.1: resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} + object-is@1.1.6: + resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==} + engines: {node: '>= 0.4'} + object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} @@ -4500,6 +4518,10 @@ packages: resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==} engines: {node: '>=18'} + stop-iteration-iterator@1.0.0: + resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} + engines: {node: '>= 0.4'} + stream-transform@2.1.3: resolution: {integrity: sha512-9GHUiM5hMiCi6Y03jD2ARC1ettBXkQBoQAe7nJsPknnI0ow10aXjTnew8QtYQmLjzn974BnmWEAJgCY6ZP1DeQ==} @@ -4530,6 +4552,9 @@ packages: resolution: {integrity: sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==} engines: {node: '>=18'} + string.prototype.includes@2.0.0: + resolution: {integrity: sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==} + string.prototype.matchall@4.0.11: resolution: {integrity: sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==} engines: {node: '>= 0.4'} @@ -6485,7 +6510,7 @@ snapshots: eslint-plugin-eslint-comments: 3.2.0(eslint@9.5.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.13.1(eslint@9.5.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@9.5.0) eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.13.1(@typescript-eslint/parser@7.13.1(eslint@9.5.0)(typescript@5.4.5))(eslint@9.5.0)(typescript@5.4.5))(eslint@9.5.0)(jest@29.7.0(@types/node@20.14.6))(typescript@5.4.5) - eslint-plugin-jsx-a11y: 6.8.0(eslint@9.5.0) + eslint-plugin-jsx-a11y: 6.9.0(eslint@9.5.0) eslint-plugin-playwright: 1.6.2(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.13.1(@typescript-eslint/parser@7.13.1(eslint@9.5.0)(typescript@5.4.5))(eslint@9.5.0)(typescript@5.4.5))(eslint@9.5.0)(jest@29.7.0(@types/node@20.14.6))(typescript@5.4.5))(eslint@9.5.0) eslint-plugin-react: 7.34.3(eslint@9.5.0) eslint-plugin-react-hooks: 4.6.2(eslint@9.5.0) @@ -6645,6 +6670,10 @@ snapshots: argparse@2.0.1: {} + aria-query@5.1.3: + dependencies: + deep-equal: 2.2.3 + aria-query@5.3.0: dependencies: dequal: 2.0.3 @@ -6749,11 +6778,11 @@ snapshots: dependencies: possible-typed-array-names: 1.0.0 - axe-core@4.7.0: {} + axe-core@4.9.1: {} - axobject-query@3.2.1: + axobject-query@3.1.1: dependencies: - dequal: 2.0.3 + deep-equal: 2.2.3 babel-jest@29.7.0(@babel/core@7.24.7): dependencies: @@ -6845,7 +6874,7 @@ snapshots: browserslist@4.23.1: dependencies: caniuse-lite: 1.0.30001636 - electron-to-chromium: 1.4.806 + electron-to-chromium: 1.4.807 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.1) @@ -7189,6 +7218,27 @@ snapshots: dependencies: type-detect: 4.0.8 + deep-equal@2.2.3: + dependencies: + array-buffer-byte-length: 1.0.1 + call-bind: 1.0.7 + es-get-iterator: 1.1.3 + get-intrinsic: 1.2.4 + is-arguments: 1.1.1 + is-array-buffer: 3.0.4 + is-date-object: 1.0.5 + is-regex: 1.1.4 + is-shared-array-buffer: 1.0.3 + isarray: 2.0.5 + object-is: 1.1.6 + object-keys: 1.1.1 + object.assign: 4.1.5 + regexp.prototype.flags: 1.5.2 + side-channel: 1.0.6 + which-boxed-primitive: 1.0.2 + which-collection: 1.0.2 + which-typed-array: 1.1.15 + deep-is@0.1.4: {} deepmerge@4.3.1: {} @@ -7265,7 +7315,7 @@ snapshots: eastasianwidth@0.2.0: {} - electron-to-chromium@1.4.806: {} + electron-to-chromium@1.4.807: {} emittery@0.13.1: {} @@ -7346,6 +7396,18 @@ snapshots: es-errors@1.3.0: {} + es-get-iterator@1.1.3: + dependencies: + call-bind: 1.0.7 + get-intrinsic: 1.2.4 + has-symbols: 1.0.3 + is-arguments: 1.1.1 + is-map: 2.0.3 + is-set: 2.0.3 + is-string: 1.0.7 + isarray: 2.0.5 + stop-iteration-iterator: 1.0.0 + es-iterator-helpers@1.0.19: dependencies: call-bind: 1.0.7 @@ -7554,15 +7616,14 @@ snapshots: - supports-color - typescript - eslint-plugin-jsx-a11y@6.8.0(eslint@9.5.0): + eslint-plugin-jsx-a11y@6.9.0(eslint@9.5.0): dependencies: - '@babel/runtime': 7.24.7 - aria-query: 5.3.0 + aria-query: 5.1.3 array-includes: 3.1.8 array.prototype.flatmap: 1.3.2 ast-types-flow: 0.0.8 - axe-core: 4.7.0 - axobject-query: 3.2.1 + axe-core: 4.9.1 + axobject-query: 3.1.1 damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 es-iterator-helpers: 1.0.19 @@ -7571,8 +7632,9 @@ snapshots: jsx-ast-utils: 3.3.5 language-tags: 1.0.9 minimatch: 3.1.2 - object.entries: 1.1.8 object.fromentries: 2.0.8 + safe-regex-test: 1.0.3 + string.prototype.includes: 2.0.0 eslint-plugin-markdown@3.0.1(eslint@9.5.0): dependencies: @@ -8265,6 +8327,11 @@ snapshots: is-alphabetical: 2.0.1 is-decimal: 2.0.1 + is-arguments@1.1.1: + dependencies: + call-bind: 1.0.7 + has-tostringtag: 1.0.2 + is-array-buffer@3.0.4: dependencies: call-bind: 1.0.7 @@ -9574,6 +9641,11 @@ snapshots: object-inspect@1.13.1: {} + object-is@1.1.6: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + object-keys@1.1.1: {} object.assign@4.1.5: @@ -10375,6 +10447,10 @@ snapshots: stdin-discarder@0.2.2: {} + stop-iteration-iterator@1.0.0: + dependencies: + internal-slot: 1.0.7 + stream-transform@2.1.3: dependencies: mixme: 0.5.10 @@ -10412,6 +10488,11 @@ snapshots: get-east-asian-width: 1.2.0 strip-ansi: 7.1.0 + string.prototype.includes@2.0.0: + dependencies: + define-properties: 1.2.1 + es-abstract: 1.23.3 + string.prototype.matchall@4.0.11: dependencies: call-bind: 1.0.7