39 lines
1.4 KiB
TypeScript
39 lines
1.4 KiB
TypeScript
'use client'
|
|
export { MaskedField } from '../globals/SiteIntegrations/components/MaskedField.js'
|
|
export { TestEmailButton } from '../globals/SiteIntegrations/components/TestEmailButton.js'
|
|
export {
|
|
AccessibilityProvider,
|
|
AccessibilityWidget,
|
|
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
|
|
*
|
|
* Client-side ('use client') exports — React hooks, providers, and UI
|
|
* components. Kept separate from the main entry so server bundles don't pull in
|
|
* client-only code.
|
|
*/
|
|
export {
|
|
ConsentProvider,
|
|
CookieBanner,
|
|
CookieButton,
|
|
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).
|
|
export {
|
|
buildLocalizedPath,
|
|
getLocaleCodes,
|
|
getLocalizedSlugs,
|
|
switchLocalePath,
|
|
} from '../modules/i18n/index.js'
|
|
export type { I18nConfig, LocalizedSlugs } 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'
|