@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 +8 -0
- package/dist/index.cjs +5 -5
- package/dist/index.js +5220 -4691
- package/dist/patterns/DonationAmounts/index.d.ts +1 -1
- package/dist/patterns/DonationAmounts/styles.d.ts +32 -0
- package/dist/patterns/DonationAmounts/types.d.ts +55 -1
- package/dist/patterns/DonationAmounts/utils/currency.d.ts +7 -3
- package/dist/patterns/OutcomeView/index.d.ts +1 -1
- package/dist/patterns/OutcomeView/types.d.ts +110 -3
- package/dist/patterns/StepProgress/StepProgress.d.ts +4 -0
- package/dist/patterns/StepProgress/index.d.ts +2 -0
- package/dist/patterns/StepProgress/styles.d.ts +29 -0
- package/dist/patterns/StepProgress/types.d.ts +43 -0
- package/dist/patterns/Summary/types.d.ts +7 -0
- package/dist/patterns/TileSelect/TileSelect.d.ts +13 -0
- package/dist/patterns/TileSelect/index.d.ts +1 -1
- package/dist/patterns/TileSelect/styles.d.ts +14 -0
- package/dist/patterns/UnderlineTabs/UnderlineTabs.d.ts +20 -1
- package/dist/patterns/UnderlineTabs/index.d.ts +1 -1
- package/dist/patterns/UnderlineTabs/styles.d.ts +10 -0
- package/dist/patterns/index.d.ts +6 -4
- package/dist/providers/HeroUIProvider.d.ts +6 -1
- package/dist/tailwind/index.cjs +8 -0
- package/dist/tailwind/index.mjs +8 -0
- package/dist/test/px-class-names.d.ts +1 -0
- package/dist/test/px-classes.d.ts +2 -1
- package/dist/tokens/pos-surface.d.ts +16 -4
- package/package.json +1 -1
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/)
|