magneto365.ui 2.52.0 → 2.53.0

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.
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IBadge } from './Badge.interface';
3
+ export declare const Badge: React.FC<IBadge>;
@@ -0,0 +1,10 @@
1
+ export interface IBadge {
2
+ /**
3
+ * this property sets a custom number
4
+ */
5
+ number?: number;
6
+ /**
7
+ * this property sets custom classname
8
+ */
9
+ className?: string;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './Badge.component';
@@ -16,6 +16,13 @@ export interface IHeaderTab {
16
16
  * Sets the active state of tab
17
17
  */
18
18
  isActive: boolean;
19
+ /**
20
+ * Sets custom className
21
+ */
19
22
  className?: string;
23
+ /**
24
+ * Sets badge count
25
+ */
26
+ count?: number;
20
27
  }
21
28
  export {};
@@ -1,4 +1,5 @@
1
1
  export * from './Avatar';
2
+ export * from './Badge';
2
3
  export * from './BarLoader';
3
4
  export * from './Breadcrumb';
4
5
  export * from './Button';
@@ -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
  };