hazo_ui 6.12.4 → 6.12.5
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 +28 -0
- package/README.md +1 -1
- package/dist/index.cjs +313 -215
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +313 -215
- package/dist/index.js.map +1 -1
- package/dist/index.locale-picker.cjs +217 -3
- package/dist/index.locale-picker.cjs.map +1 -1
- package/dist/index.locale-picker.d.cts +1 -1
- package/dist/index.locale-picker.d.ts +1 -1
- package/dist/index.locale-picker.js +217 -3
- package/dist/index.locale-picker.js.map +1 -1
- package/package.json +2 -2
package/CHANGE_LOG.md
CHANGED
|
@@ -5,6 +5,34 @@ 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.5 (2026-10-03)
|
|
9
|
+
|
|
10
|
+
### Changed — i18n string wiring (remaining hardcoded strings)
|
|
11
|
+
|
|
12
|
+
- Nine previously unwired components now go through
|
|
13
|
+
`createPackageT("hazo_ui", en)`: `hazo_ui_flex_input` (validation messages),
|
|
14
|
+
`hazo_ui_textarea` / `hazo_ui_textbox` (placeholder + "Remove"),
|
|
15
|
+
`locale_picker`, `app_logo`, `app_header`, `skeleton`, `ui/spinner`,
|
|
16
|
+
`hazo_ui_kanban/kanban_filter`.
|
|
17
|
+
- Leaked literals wired in already-wired components: RTE toolbar
|
|
18
|
+
(link/table-ops/variable search) and RTE placeholder, multi-sort dialog,
|
|
19
|
+
kanban DnD announcements and card role description, `loading_timeout`,
|
|
20
|
+
icon picker tab and group labels, `error_page` correlation-ID label and
|
|
21
|
+
title default, funnel chart tooltip prefixes, toaster "Missing:" prefix.
|
|
22
|
+
- `hazo_ui_rte/index.tsx`, `hazo_ui_kanban/index.tsx`,
|
|
23
|
+
`hazo_ui_kanban/kanban_card.tsx` and `hazo_ui_charts/funnel_chart.tsx` had
|
|
24
|
+
no `createPackageT` wiring before this release; they now import it.
|
|
25
|
+
- `src/locales/en.json` grows from 133 to 207 keys (additive). Key names
|
|
26
|
+
follow the `<component>.<meaning>` convention already in use.
|
|
27
|
+
- Prop defaults resolve in the body (`prop ?? t(key)`), never in a default
|
|
28
|
+
parameter. English output is unchanged except as noted below.
|
|
29
|
+
- Known gap: `flex_input` decimal/character counts use one plural form, so a
|
|
30
|
+
count of 1 reads "1 decimal places" / "1 characters". Needs `_one`/`_other`
|
|
31
|
+
plural keys; not changed here.
|
|
32
|
+
- Intentionally left hardcoded: font family names in `canvas_text_toolbar`
|
|
33
|
+
(proper nouns), format tab labels in the RTE source view (`HTML`,
|
|
34
|
+
`Plain Text`, `Raw HTML`) — follow-up.
|
|
35
|
+
|
|
8
36
|
## v6.12.4 (2026-10-03)
|
|
9
37
|
|
|
10
38
|
### Changed — i18n string wiring (remaining components)
|
package/README.md
CHANGED
|
@@ -83,7 +83,7 @@ The `tw-animate-css` import replaces the legacy `tailwindcss-animate` plugin (us
|
|
|
83
83
|
|
|
84
84
|
## Internationalisation
|
|
85
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` (
|
|
86
|
+
All built-in user-facing strings (dialogs, form inputs, rich text toolbar, sort dialog, kanban, loading/error states, 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` (207 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
87
|
|
|
88
88
|
## Color Configuration
|
|
89
89
|
|