@1money/component-ui 0.1.11 → 0.1.12

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.
Files changed (58) hide show
  1. package/es/business/Radio/EntityType/EntityTypeRadio.d.ts +2 -0
  2. package/es/business/Radio/EntityType/EntityTypeRadio.js +83 -0
  3. package/es/business/Radio/EntityType/index.d.ts +2 -0
  4. package/es/business/Radio/EntityType/index.js +5 -0
  5. package/es/business/Radio/EntityType/interface.d.ts +29 -0
  6. package/es/business/Radio/EntityType/interface.js +3 -0
  7. package/es/business/Radio/EntityType/style/EntityTypeRadio.css +44 -0
  8. package/es/business/Radio/EntityType/style/css.js +2 -0
  9. package/es/business/Radio/EntityType/style/index.d.ts +1 -0
  10. package/es/business/Radio/EntityType/style/index.js +2 -0
  11. package/es/business/Radio/index.d.ts +1 -0
  12. package/es/business/Radio/index.js +4 -0
  13. package/es/business/index.d.ts +1 -0
  14. package/es/business/index.js +2 -1
  15. package/es/components/ProForm/core/constants.d.ts +1 -1
  16. package/es/components/ProForm/core/constants.js +3 -3
  17. package/es/components/Radio/BaseRadio.d.ts +1 -1
  18. package/es/components/Radio/BaseRadio.js +1 -1
  19. package/es/components/Radio/Radio.js +5 -4
  20. package/es/components/Radio/RadioGroup.js +6 -3
  21. package/es/components/Radio/RadioGroupContext.d.ts +2 -0
  22. package/es/components/Radio/RadioGroupContext.js +1 -1
  23. package/es/components/Radio/interface.d.ts +9 -0
  24. package/es/index.css +1 -1
  25. package/es/locale/en_US/business.js +5 -1
  26. package/es/locale/interface.d.ts +4 -0
  27. package/es/locale/pt_BR/business.js +5 -1
  28. package/es/locale/zh_CN/business.js +5 -1
  29. package/lib/business/Radio/EntityType/EntityTypeRadio.d.ts +2 -0
  30. package/lib/business/Radio/EntityType/EntityTypeRadio.js +90 -0
  31. package/lib/business/Radio/EntityType/index.d.ts +2 -0
  32. package/lib/business/Radio/EntityType/index.js +29 -0
  33. package/lib/business/Radio/EntityType/interface.d.ts +29 -0
  34. package/lib/business/Radio/EntityType/interface.js +9 -0
  35. package/lib/business/Radio/EntityType/style/EntityTypeRadio.css +44 -0
  36. package/lib/business/Radio/EntityType/style/css.js +4 -0
  37. package/lib/business/Radio/EntityType/style/index.d.ts +1 -0
  38. package/lib/business/Radio/EntityType/style/index.js +4 -0
  39. package/lib/business/Radio/index.d.ts +1 -0
  40. package/lib/business/Radio/index.js +18 -0
  41. package/lib/business/index.d.ts +1 -0
  42. package/lib/business/index.js +13 -1
  43. package/lib/components/ProForm/core/constants.d.ts +1 -1
  44. package/lib/components/ProForm/core/constants.js +3 -3
  45. package/lib/components/Radio/BaseRadio.d.ts +1 -1
  46. package/lib/components/Radio/BaseRadio.js +1 -1
  47. package/lib/components/Radio/Radio.js +5 -4
  48. package/lib/components/Radio/RadioGroup.js +6 -3
  49. package/lib/components/Radio/RadioGroupContext.d.ts +2 -0
  50. package/lib/components/Radio/RadioGroupContext.js +1 -1
  51. package/lib/components/Radio/interface.d.ts +9 -0
  52. package/lib/index.css +1 -1
  53. package/lib/locale/en_US/business.js +5 -1
  54. package/lib/locale/interface.d.ts +4 -0
  55. package/lib/locale/pt_BR/business.js +5 -1
  56. package/lib/locale/zh_CN/business.js +5 -1
  57. package/package.json +11 -1
  58. package/scripts/mcp-server/index.generated.json +16 -0
@@ -16,6 +16,8 @@ interface RadioGroupContextValue {
16
16
  alignment: RadioAlignment;
17
17
  /** Label placement inherited by default-variant children */
18
18
  labelPlacement?: RadioLabelPlacement;
19
+ /** Cell-variant icon size (px) inherited by children */
20
+ iconSize?: number;
19
21
  }
20
22
  export declare const RadioGroupProvider: import("react").Provider<RadioGroupContextValue | null>;
21
23
  export declare const useRadioGroupContext: () => RadioGroupContextValue | null;
@@ -6,4 +6,4 @@ export var RadioGroupProvider = RadioGroupContext.Provider;
6
6
  export var useRadioGroupContext = function useRadioGroupContext() {
7
7
  return useContext(RadioGroupContext);
8
8
  };
9
- //# sourceMappingURL=data:application/json;charset=utf8;base64,ey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UFBYSxFQUFFQyxVQUFVLFFBQVEsT0FBTztBQStCakQsSUFBTUMsaUJBQWlCLGdCQUFHRixhQUFhLENBQWdDLElBQUksQ0FBQztBQUU1RSxPQUFPLElBQU1HLGtCQUFrQixHQUFHRCxpQkFBaUIsQ0FBQ0UsUUFBUTtBQUU1RCxPQUFPLElBQU1DLG9CQUFvQixHQUFHLFNBQXZCQSxvQkFBb0JBLENBQUE7RUFBQSxPQUFTSixVQUFVLENBQUNDLGlCQUFpQixDQUFDO0FBQUEiLCJmaWxlIjoiY29tcG9uZW50cy9SYWRpby9SYWRpb0dyb3VwQ29udGV4dC5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
@@ -47,6 +47,11 @@ export interface RadioProps extends NativeRadioInputProps {
47
47
  labelPlacement?: RadioLabelPlacement;
48
48
  /** Optional icon rendered by the cell variant */
49
49
  icon?: IconName | ReactNode;
50
+ /**
51
+ * Pixel size of the cell-variant icon, applied to both a named `icon` and the
52
+ * `check` shown on a selected horizontal cell. Defaults to the size/orientation map.
53
+ */
54
+ iconSize?: number;
50
55
  /** Optional tag label rendered by the cell variant */
51
56
  tag?: string;
52
57
  /** Callback when checked state changes */
@@ -71,6 +76,8 @@ export interface RadioOptionItem {
71
76
  labelPlacement?: RadioLabelPlacement;
72
77
  /** Optional icon rendered by the cell variant */
73
78
  icon?: IconName | ReactNode;
79
+ /** Pixel size of the cell-variant icon (named `icon` and the selected-state `check`) */
80
+ iconSize?: number;
74
81
  /** Optional tag label rendered by the cell variant */
75
82
  tag?: string;
76
83
  /** Whether this specific option is disabled */
@@ -106,6 +113,8 @@ export interface RadioGroupProps {
106
113
  alignment?: RadioAlignment;
107
114
  /** Label placement inherited by default-variant child radios. */
108
115
  labelPlacement?: RadioLabelPlacement;
116
+ /** Cell-variant icon size (px) inherited by child radios. */
117
+ iconSize?: number;
109
118
  /** Gap between radio items — accepts spacing token key or CSS value */
110
119
  gap?: number | string;
111
120
  /** Title attribute for the root radiogroup container */