Skip to content

v4.7.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@LouisMazel LouisMazel released this 18 Feb 14:19
· 623 commits to master since this release

compare changes

🚀 Features

  • maz-ui: Enforce locale presence in MazUiProvider translations prop (ea657089)

    The translations prop is now required and uses a generic TLocale parameter to ensure
    that messages contains at least the specified locale's translations at compile time.

    <!-- TypeScript will error if 'fr' key is missing from messages -->
    <MazUiProvider
      :theme="{ preset: mazUi }"
      :translations="{ locale: 'fr', messages: { fr } }"
    />

❤️ Contributors