magneto365.ui 2.52.0 → 2.52.1

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.
@@ -11,9 +11,13 @@ export declare type TToggleButtonList = {
11
11
  /**
12
12
  * this property returns the values of the toggle button selected
13
13
  */
14
- onChange?: (value: IToggleButtonOnchangeValues | null) => void;
14
+ onChange?: (value: IToggleButtonOnchangeValues | null | number) => void;
15
15
  /**
16
16
  * this property sets customs className for toggle buttons
17
17
  */
18
18
  className?: string;
19
+ /**
20
+ * this property sets the default value or current value of the toggle button
21
+ */
22
+ currentSelect?: Pick<IToggleButton, 'id' | 'name'>;
19
23
  };
package/dist/index.d.ts CHANGED
@@ -2991,11 +2991,15 @@ declare type TToggleButtonList = {
2991
2991
  /**
2992
2992
  * this property returns the values of the toggle button selected
2993
2993
  */
2994
- onChange?: (value: IToggleButtonOnchangeValues$1 | null) => void;
2994
+ onChange?: (value: IToggleButtonOnchangeValues$1 | null | number) => void;
2995
2995
  /**
2996
2996
  * this property sets customs className for toggle buttons
2997
2997
  */
2998
2998
  className?: string;
2999
+ /**
3000
+ * this property sets the default value or current value of the toggle button
3001
+ */
3002
+ currentSelect?: Pick<IToggleButton$1, 'id' | 'name'>;
2999
3003
  };
3000
3004
 
3001
3005
  declare const ToggleButtonList: React$1.FC<TToggleButtonList>;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/W170/talenta.magneto365.ui.git"
6
6
  },
7
- "version": "2.52.0",
7
+ "version": "2.52.1",
8
8
  "description": "Magneto365 UI common components",
9
9
  "scripts": {
10
10
  "lint": "eslint ./src --ext .js,.ts,.jsx,.tsx",