@jsenv/navi 0.29.27 → 0.29.29
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 +4 -0
- package/dist/jsenv_navi.js +17628 -16861
- package/dist/jsenv_navi.js.map +159 -150
- package/docs/AI_INSTRUCTIONS.md +18 -0
- package/docs/i18n.md +183 -0
- package/docs/interactions.md +375 -0
- package/docs/resource.md +11 -11
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -29,6 +29,10 @@ between related actions. Parent/child relations are first-class — `.one`,
|
|
|
29
29
|
|
|
30
30
|
**`Text`** and related components (`Title`, `Paragraph`, `Code`, `Caption`) handle typography consistently across the app.
|
|
31
31
|
|
|
32
|
+
## Texts & i18n
|
|
33
|
+
|
|
34
|
+
`interpolateText`/`Interpolate` keep a sentence containing values readable as one string, and `createI18n` gives the app a single place holding its wording — worth it even with one language. `naviI18n` is where navi's own texts (validation messages, button labels, relative time) can be overridden or translated. See [docs/i18n.md](./docs/i18n.md).
|
|
35
|
+
|
|
32
36
|
## Icons
|
|
33
37
|
|
|
34
38
|
Icons are a piece that is often missing or painful in web projects. The `Icon` component makes icons behave like text — they scale with font size, inherit color, and align naturally in any layout. No sizing hacks, no SVG wrangling.
|