@homecode/ui 5.1.5 → 5.1.6

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.
@@ -2,11 +2,8 @@ export type LangLoader = Record<string, any> | (() => Promise<{
2
2
  default: object;
3
3
  }>);
4
4
  export type RegisterConfig = Record<string, LangLoader>;
5
- export type I18NPropsField = number | {
6
- plural?: number;
7
- params?: Record<string, any>;
8
- context?: string;
9
- };
5
+ /** Number = plural count. Object: roddeh keys `plural` / `params` / `context`, or any other keys → interpolation params (see getTrans). */
6
+ export type I18NPropsField = number | Record<string, unknown>;
10
7
  export type I18NProps = {
11
8
  id?: string;
12
9
  children?: React.ReactNode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homecode/ui",
3
- "version": "5.1.5",
3
+ "version": "5.1.6",
4
4
  "description": "React UI components library",
5
5
  "scripts": {
6
6
  "tests": "jest",