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": "",
"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",
"token": "imagecompare.handle.background",
@ -81887,25 +81896,16 @@
"description": "Background of handle"
},
{
"name": "border.width",
"token": "imagecompare.handle.border.width",
"name": "handle.hoverBackground",
"token": "imagecompare.handle.hover.background",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Border width of handle"
"description": "Hover background of handle"
},
{
"name": "border.style",
"token": "imagecompare.handle.border.style",
"optional": true,
"readonly": false,
"type": "string",
"default": "",
"description": "Border style of handle"
},
{
"name": "border.color",
"name": "handle.borderColor",
"token": "imagecompare.handle.border.color",
"optional": true,
"readonly": false,
@ -81914,7 +81914,25 @@
"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",
"optional": true,
"readonly": false,

View File

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