@hybr1d-tech/charizard 2.3.8 → 2.3.10

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/dist/index.d.ts CHANGED
@@ -2279,7 +2279,7 @@ declare interface RadioGroupProps {
2279
2279
  handleClickManually?: boolean;
2280
2280
  }
2281
2281
 
2282
- export declare function RadioGroupV2({ items, label, defaultValue, onChange, required, errorMsg, optionsContainerStyles, disabled, isLoading, handleClickManually, }: RadioGroupV2Props): JSX.Element;
2282
+ export declare function RadioGroupV2({ items, label, defaultValue, value, onChange, required, errorMsg, optionsContainerStyles, disabled, isLoading, handleClickManually, }: RadioGroupV2Props): JSX.Element;
2283
2283
 
2284
2284
  declare interface RadioGroupV2Props {
2285
2285
  /**
@@ -2302,9 +2302,13 @@ declare interface RadioGroupV2Props {
2302
2302
  };
2303
2303
  }>;
2304
2304
  /**
2305
- * default value to be selected on first render
2305
+ * default value to be selected on first render (uncontrolled)
2306
2306
  */
2307
2307
  defaultValue?: string;
2308
+ /**
2309
+ * controlled value - when provided, component becomes controlled
2310
+ */
2311
+ value?: string;
2308
2312
  /**
2309
2313
  * callback to be called on change of radio group
2310
2314
  * @param value
@@ -3371,11 +3375,12 @@ declare interface UserChipProps {
3371
3375
  profileImgUrl?: string;
3372
3376
  }
3373
3377
 
3374
- export declare function UsersChip({ status, users }: UsersChipProps): JSX.Element;
3378
+ export declare function UsersChip({ status, users, userCount }: UsersChipProps): JSX.Element;
3375
3379
 
3376
3380
  declare interface UsersChipProps {
3377
3381
  status?: USER_CHIP_STATUS;
3378
3382
  users: Array<Partial<UsersChipUser>>;
3383
+ userCount?: number;
3379
3384
  }
3380
3385
 
3381
3386
  export declare interface UsersChipUser {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hybr1d-tech/charizard",
3
- "version": "2.3.8",
3
+ "version": "2.3.10",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"