hazo_ui 6.12.3 → 6.12.4
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/CHANGE_LOG.md +20 -0
- package/README.md +4 -0
- package/dist/index.cjs +134 -85
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +134 -85
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGE_LOG.md
CHANGED
|
@@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## v6.12.4 (2026-10-03)
|
|
9
|
+
|
|
10
|
+
### Changed — i18n string wiring (remaining components)
|
|
11
|
+
|
|
12
|
+
- The 8 remaining components are now wired through
|
|
13
|
+
`createPackageT("hazo_ui", en)` from `hazo_core/i18n`: `HazoUiDialog`,
|
|
14
|
+
`kanban_editor`, `MarkdownEditor`, `HazoUiImageCropperDialog`,
|
|
15
|
+
`HazoUiImageCropper`, `HazoUiMemoryDropdown`, `HazoUiCelebration` and
|
|
16
|
+
`DateRangeSelector`.
|
|
17
|
+
- `src/locales/en.json` grows from 102 to 133 keys, adding the `dialog.*`,
|
|
18
|
+
`kanban.*`, `markdown.*`, `cropper.*`, `memory.*`, `celebration.*` and
|
|
19
|
+
`charts.date_range` namespaces. Additive only.
|
|
20
|
+
- Prop defaults for user-facing labels now resolve in the component body via
|
|
21
|
+
`prop ?? t(key)`, so consumer overrides still win. Behaviour is identical
|
|
22
|
+
in English.
|
|
23
|
+
- Intentionally left hardcoded: the `![uploading…]()` markdown marker and
|
|
24
|
+
developer-facing `Error` messages.
|
|
25
|
+
- Non-English translations (de/es/fr/zh) are to be generated via the
|
|
26
|
+
test-app `/translations` page.
|
|
27
|
+
|
|
8
28
|
## v6.12.3 (2026-09-30)
|
|
9
29
|
|
|
10
30
|
### Changed — i18n string wiring
|
package/README.md
CHANGED
|
@@ -81,6 +81,10 @@ The `tw-animate-css` import replaces the legacy `tailwindcss-animate` plugin (us
|
|
|
81
81
|
|
|
82
82
|
---
|
|
83
83
|
|
|
84
|
+
## Internationalisation
|
|
85
|
+
|
|
86
|
+
All built-in user-facing strings (dialogs, kanban editor, markdown editor, image cropper, memory dropdown, celebration, date-range selector, etc.) resolve through `createPackageT("hazo_ui", en)` from `hazo_core/i18n`. The English catalogue lives in `src/locales/en.json` (133 keys). Prop defaults for labels resolve as `prop ?? t(key)`, so explicit props always override translations. Other locales are generated through `hazo_i18n` (see the test-app `/translations` page).
|
|
87
|
+
|
|
84
88
|
## Color Configuration
|
|
85
89
|
|
|
86
90
|
hazo_ui provides a centralized configuration system for customizing button and header colors across all components. You can set colors globally using `set_hazo_ui_config()` or override them per-component using props.
|