@1money/component-ui 0.1.20 → 0.1.22

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
@@ -12,6 +12,18 @@ Browse the published component documentation and interactive examples at:
12
12
 
13
13
  The site is built from the `main` branch (`pnpm build:demo`) and deployed to GitHub Pages on every push. For unreleased work on other branches, run Storybook locally with `pnpm dev`.
14
14
 
15
+ ## Releases
16
+
17
+ Include a new stable `package.json` version in a PR to `main`. **PR Release
18
+ Version** checks the version before merge; **Auto Tag** creates the matching
19
+ annotated tag and GitHub Release after merge. The tag starts the existing **NPM
20
+ CICD** workflow. Repository tooling and documentation alone do not require a
21
+ release; published MCP server changes do.
22
+
23
+ See [Automatic release tags](.github/AUTO_TAG.md) for the required GitHub App
24
+ setup, manual prereleases, dry runs, and recovery. `pnpm release` prepares a
25
+ version locally; npm publication runs through GitHub Actions.
26
+
15
27
  ## Features
16
28
 
17
29
  - React and TypeScript component library
@@ -204,6 +216,16 @@ Build output is generated in:
204
216
  - `lib/` for CommonJS
205
217
  - `es/` for ES modules
206
218
 
219
+ ### Required i18n for feature changes
220
+
221
+ Every new feature or enhancement must deliver its i18n in the same PR. Cover all library-owned copy, including validation, empty/loading states, tooltips, and accessibility labels. Feature flags and gray releases do not waive this requirement.
222
+
223
+ - Maintain the locale contract in `src/locale/interface.ts` and translations in all supported packs: `src/locale/en_US/`, `src/locale/zh_CN/`, and `src/locale/pt_BR/`. Keep required keys and placeholders aligned.
224
+ - Use the existing `ConfigProvider` locale APIs for defaults and formatting; preserve caller prop overrides, English fallback, and runtime language changes.
225
+ - Review each changed file for i18n, verify all three languages in Storybook, and include check results in the PR. Explain an N/A claim when there is no user-facing copy or locale-sensitive behavior. Missing translations block feature completion and merge.
226
+
227
+ See [the contributor rules](AGENTS.md#mandatory-i18n-for-new-features) and [ConfigProvider usage](src/components/ConfigProvider/README.md) for details.
228
+
207
229
  ## Project Structure
208
230
 
209
231
  ```text