@release-test/ui 0.3.0-alpha-feat-badge-component.14.0 → 0.3.0-canary.16.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.
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
export type
|
|
2
|
-
export
|
|
1
|
+
export type BadgeVariant = 'primary' | 'secondary';
|
|
2
|
+
export type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
3
|
+
/**
|
|
4
|
+
* Visual style of the badge
|
|
5
|
+
* @default 'primary'
|
|
6
|
+
*/
|
|
7
|
+
variant?: BadgeVariant;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* A component that displays a small badge, often used to indicate status or counts.
|
|
11
|
+
*/
|
|
12
|
+
export declare const Badge: ({ variant, children, className, ...props }: BadgeProps) => import('react').JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@release-test/ui",
|
|
3
|
-
"version": "0.3.0-
|
|
3
|
+
"version": "0.3.0-canary.16.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"typecheck": "tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@release-test/tokens": "0.1.1-
|
|
30
|
+
"@release-test/tokens": "0.1.1-canary.16.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"clsx": "^2.1.1",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "53979705462bb9011290cb01dae578d737ff7133"
|
|
54
54
|
}
|