groovinads-ui 1.9.93 → 1.9.94

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/README.md CHANGED
@@ -111,6 +111,7 @@ import { Button } from 'groovinads-ui';
111
111
  style={'warning'}
112
112
  className={'mb-5'}
113
113
  processing={true}
114
+ badge={'5'}
114
115
  >
115
116
  Let's groove!
116
117
  </Button>;
@@ -118,6 +119,7 @@ import { Button } from 'groovinads-ui';
118
119
 
119
120
  | Property | Type | Required | Options | Default | Description |
120
121
  | ------------------------- | -------- | -------- | --------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
122
+ | `badge` | String | No | n/a | n/a | Badge content to display as a data-badge attribute on the button element. Useful for notification counts or status indicators. |
121
123
  | `children` | Node | No | n/a | n/a | If true, children will be displayed alongside the spinner with '…' added to indicate the processing status in the label. If false, only the spinner will be shown. It can include text, icons, or other components. |
122
124
  | `className` | String | No | n/a | n/a | Additional CSS class names that can be applied to the button. |
123
125
  | `disabled` | Boolean | No | `true` `false` | `false` | If true, disables the button. If false, the button is enabled. |
@@ -996,13 +998,13 @@ import { Icon } from 'groovinads-ui';
996
998
  />;
997
999
  ```
998
1000
 
999
- | Property | Type | Required | Options | Default | Description |
1000
- | ----------- | ------ | -------- | ----------------------------------------------------------------------- | -------------------- | ---------------------------------- |
1001
- | `animation` | String | No | `beat` `fade` `beat-fade` `bounce` `flip` `shake` `spin` `spin-reverse` | String | Animation for the icon. |
1002
- | `className` | String | No | n/a | n/a | Additional CSS class for the icon. |
1003
- | `name` | String | No | n/a | `user-bounty-hunter` | Name of the icon. |
1004
- | `scale` | Number | No | `0.7`, `1`, `2`, `3`, `4` | `1` | Scale of the icon. |
1005
- | `style` | String | No | `light` `solid` `regular` `thin` `duotone` `sharp` `brands` | `solid` | Style of the icon. |
1001
+ | Property | Type | Required | Options | Default | Description |
1002
+ | ----------- | ------ | -------- | -------------------------------------------------------------------------------- | -------------------- | ---------------------------------- |
1003
+ | `animation` | String | No | `beat` `fade` `beat-fade` `bounce` `flip` `shake` `spin` `spin-reverse` `pulse` | String | Animation for the icon. |
1004
+ | `className` | String | No | n/a | n/a | Additional CSS class for the icon. |
1005
+ | `name` | String | No | n/a | `user-bounty-hunter` | Name of the icon. |
1006
+ | `scale` | Number | No | `0.7`, `1`, `2`, `3`, `4` | `1` | Scale of the icon. |
1007
+ | `style` | String | No | `solid` `regular` `duotone` `brands` | `solid` | Style of the icon. |
1006
1008
 
1007
1009
  ### LoginSource
1008
1010