@versini/ui-types 8.2.0 → 8.3.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.
- package/dist/index.d.ts +8 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -183,6 +183,14 @@ declare namespace ButtonIconTypes {
|
|
|
183
183
|
* @default false
|
|
184
184
|
*/
|
|
185
185
|
animated?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Show a badge on the button icon.
|
|
188
|
+
* - If `true`, a red dot badge will be displayed.
|
|
189
|
+
* - If a number, the number will be displayed in the badge.
|
|
190
|
+
* - Numbers greater than 99 will be displayed as "99+".
|
|
191
|
+
* @default undefined
|
|
192
|
+
*/
|
|
193
|
+
badge?: boolean | number;
|
|
186
194
|
} & CommonButtonProps &
|
|
187
195
|
React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
188
196
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-types",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"test:watch": "vitest",
|
|
33
33
|
"test": "vitest run"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "fae53f4bd56440f7a72ed63b1a2a02b0c3b5a7e6"
|
|
36
36
|
}
|