Added languageswitcher, alternatelinkscontext components support
This commit is contained in:
@@ -7,7 +7,6 @@ export {
|
||||
useAccessibility,
|
||||
} from '../modules/accessibility/client.js'
|
||||
export type { A11yClassNames, A11yState, A11yTexts } from '../modules/accessibility/client.js'
|
||||
|
||||
export { Analytics } from '../modules/analytics/client.js'
|
||||
/**
|
||||
* Entry point: ipal-kit/client
|
||||
@@ -23,6 +22,7 @@ export {
|
||||
useConsent,
|
||||
useConsentContext,
|
||||
} from '../modules/consent/client.js'
|
||||
|
||||
export type { CookieBannerClassNames } from '../modules/consent/client.js'
|
||||
// Pure i18n path helpers — no server/RSC deps, safe to import in client
|
||||
// components (e.g. a LanguageSwitcher that computes locale URLs on the client).
|
||||
@@ -33,6 +33,14 @@ export {
|
||||
switchLocalePath,
|
||||
} from '../modules/i18n/index.js'
|
||||
export type { I18nConfig, LocalizedSlugs } from '../modules/i18n/index.js'
|
||||
export {
|
||||
AlternateLinksProvider,
|
||||
AlternateLinksUpdater,
|
||||
LanguageSwitcher,
|
||||
useAlternateLinks,
|
||||
useSetAlternateLinks,
|
||||
} from '../modules/i18n/index.js'
|
||||
export type { AlternateLinks, LanguageSwitcherClassNames } from '../modules/i18n/index.js'
|
||||
export { Turnstile } from '../modules/turnstile/client.js'
|
||||
export { TurnstileProvider, useTurnstile } from '../modules/turnstile/client.js'
|
||||
export type { TurnstileProps } from '../modules/turnstile/client.js'
|
||||
|
||||
@@ -7,3 +7,4 @@
|
||||
*/
|
||||
export { createLocaleMiddleware, DEFAULT_MIDDLEWARE_MATCHER } from '../modules/i18n/index.js'
|
||||
export type { LocaleMiddlewareResult } from '../modules/i18n/index.js'
|
||||
export { createProxy, DEFAULT_PROXY_MATCHER } from '../modules/i18n/index.js'
|
||||
|
||||
Reference in New Issue
Block a user