@veevarts/design-system 2.22.0 → 2.24.0

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/README.md CHANGED
@@ -195,6 +195,14 @@ For `mode="datetime"`, the design system does not convert timezones. The consumi
195
195
  </HeroUIProvider>
196
196
  ```
197
197
 
198
+ **React Aria locale (`HeroUIProvider`).** Set `locale` (BCP 47, e.g. `"fr-FR"`) so the strings React Aria renders follow the app's language: the hidden "Dismiss" buttons of every overlay, date and number formatting. Without it HeroUI uses `"en-US"`. `closeLabel` stays separate because HeroUI's close button text is not a React Aria string.
199
+
200
+ ```tsx
201
+ <HeroUIProvider locale="fr-FR" closeLabel="Fermer">
202
+ {/* ... */}
203
+ </HeroUIProvider>
204
+ ```
205
+
198
206
  **Table header contrast (`Table`).** Column headers default to `text-default-600` (`text-default-700` on a hovered sortable column) so 12px header text clears 4.5:1 (WCAG 1.4.3). Your classes win: a `classNames.th` color on the table, or a `className` on a `TableColumn`, replaces the default.
199
207
 
200
208
  For complete HeroUI documentation, visit: [HeroUI Storybook](https://storybook.heroui.com/)