@versini/ui-types 8.3.0 → 9.0.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 +6 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,6 @@ type CommonButtonProps = {
|
|
|
5
5
|
* CSS class(es) to add to the main component wrapper.
|
|
6
6
|
*/
|
|
7
7
|
className?: string;
|
|
8
|
-
/**
|
|
9
|
-
* The type of focus for the Button. This will change the color
|
|
10
|
-
* of the focus ring around the Button.
|
|
11
|
-
*/
|
|
12
|
-
focusMode?: "dark" | "light" | "system" | "alt-system";
|
|
13
8
|
/**
|
|
14
9
|
* Whether or not the Button is full width.
|
|
15
10
|
* @default false
|
|
@@ -42,6 +37,12 @@ type CommonButtonProps = {
|
|
|
42
37
|
* The rounded style of the Button.
|
|
43
38
|
*/
|
|
44
39
|
radius?: "small" | "medium" | "large";
|
|
40
|
+
/**
|
|
41
|
+
* Whether or not to render the Button with an Aqua-style
|
|
42
|
+
* split background (lighter top half, darker-to-light bottom half).
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
splitBackground?: boolean;
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
declare namespace ButtonTypes {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.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": "a295349019d1512796f266bba535de383f12b6ee"
|
|
36
36
|
}
|