Update API doc

pull/6537/head
GitHub Actions Bot 2024-10-04 15:51:53 +00:00
parent d3ab5c1121
commit dc801d14ae
2 changed files with 66 additions and 41 deletions

View File

@ -81877,6 +81877,15 @@
"default": "", "default": "",
"description": "Size of handle" "description": "Size of handle"
}, },
{
"name": "handle.hoverSize",
"token": "imagecompare.handle.hover.size",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Hover size of handle"
},
{ {
"name": "handle.background", "name": "handle.background",
"token": "imagecompare.handle.background", "token": "imagecompare.handle.background",
@ -81887,25 +81896,16 @@
"description": "Background of handle" "description": "Background of handle"
}, },
{ {
"name": "border.width", "name": "handle.hoverBackground",
"token": "imagecompare.handle.border.width", "token": "imagecompare.handle.hover.background",
"optional": true, "optional": true,
"readonly": false, "readonly": false,
"type": "string", "type": "string",
"default": "", "default": "",
"description": "Border width of handle" "description": "Hover background of handle"
}, },
{ {
"name": "border.style", "name": "handle.borderColor",
"token": "imagecompare.handle.border.style",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Border style of handle"
},
{
"name": "border.color",
"token": "imagecompare.handle.border.color", "token": "imagecompare.handle.border.color",
"optional": true, "optional": true,
"readonly": false, "readonly": false,
@ -81914,7 +81914,25 @@
"description": "Border color of handle" "description": "Border color of handle"
}, },
{ {
"name": "border.radius", "name": "handle.hoverBorderColor",
"token": "imagecompare.handle.hover.border.color",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Hover border color of handle"
},
{
"name": "handle.borderWidth",
"token": "imagecompare.handle.border.width",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Border width of handle"
},
{
"name": "handle.borderRadius",
"token": "imagecompare.handle.border.radius", "token": "imagecompare.handle.border.radius",
"optional": true, "optional": true,
"readonly": false, "readonly": false,

View File

@ -21,6 +21,12 @@ export interface ImageCompareDesignTokens extends ColorSchemeDesignToken<ImageCo
* @designToken imagecompare.handle.size * @designToken imagecompare.handle.size
*/ */
size?: string; size?: string;
/**
* Hover size of handle
*
* @designToken imagecompare.handle.hover.size
*/
hoverSize?: string;
/** /**
* Background of handle * Background of handle
* *
@ -28,34 +34,35 @@ export interface ImageCompareDesignTokens extends ColorSchemeDesignToken<ImageCo
*/ */
background?: string; background?: string;
/** /**
* Border of handle * Hover background of handle
*/
border?: {
/**
* Border width of handle
* *
* @designToken imagecompare.handle.border.width * @designToken imagecompare.handle.hover.background
*/ */
width?: string; hoverBackground?: string;
/**
* Border style of handle
*
* @designToken imagecompare.handle.border.style
*/
style?: string;
/** /**
* Border color of handle * Border color of handle
* *
* @designToken imagecompare.handle.border.color * @designToken imagecompare.handle.border.color
*/ */
color?: string; borderColor?: string;
/**
* Hover border color of handle
*
* @designToken imagecompare.handle.hover.border.color
*/
hoverBorderColor?: string;
/**
* Border width of handle
*
* @designToken imagecompare.handle.border.width
*/
borderWidth?: string;
/** /**
* Border radius of handle * Border radius of handle
* *
* @designToken imagecompare.handle.border.radius * @designToken imagecompare.handle.border.radius
*/ */
radius?: string; borderRadius?: string;
};
/** /**
* Transition duration of handle * Transition duration of handle
* *