Update API doc
parent
fadd88a0a3
commit
83da44f351
|
@ -27511,6 +27511,14 @@
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": "false",
|
"default": "false",
|
||||||
"description": "When enabled, it removes component related styles in the core."
|
"description": "When enabled, it removes component related styles in the core."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "variant",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "\"in\" | \"over\" | \"on\"",
|
||||||
|
"default": "false",
|
||||||
|
"description": "Defines the positioning of the label relative to the input."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"methods": []
|
"methods": []
|
||||||
|
@ -79467,6 +79475,22 @@
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Used to pass tokens of the root section"
|
"description": "Used to pass tokens of the root section"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "in",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "Object",
|
||||||
|
"default": "",
|
||||||
|
"description": "Used to pass tokens of the in section"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "on",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "Object",
|
||||||
|
"default": "",
|
||||||
|
"description": "Used to pass tokens of the on section"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "colorScheme",
|
"name": "colorScheme",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
|
@ -79503,6 +79527,15 @@
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Focus color of root"
|
"description": "Focus color of root"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "root.activeColor",
|
||||||
|
"token": "floatlabel.active.color",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Active color of root"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "root.invalidColor",
|
"name": "root.invalidColor",
|
||||||
"token": "floatlabel.invalid.color",
|
"token": "floatlabel.invalid.color",
|
||||||
|
@ -79520,6 +79553,105 @@
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Transition duration of root"
|
"description": "Transition duration of root"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "root.positionX",
|
||||||
|
"token": "floatlabel.position.x",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Position x of root"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "root.fontWeight",
|
||||||
|
"token": "floatlabel.font.weight",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Font weight of root"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "focus.top",
|
||||||
|
"token": "floatlabel.focus.top",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Focus top of root"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "focus.fontSize",
|
||||||
|
"token": "floatlabel.focus.font.size",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Focus font size of root"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "focus.fontWeight",
|
||||||
|
"token": "floatlabel.focus.font.weight",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Focus font weight of root"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "input.paddingTop",
|
||||||
|
"token": "floatlabel.in.input.padding.top",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Input padding top of in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "focus.top",
|
||||||
|
"token": "floatlabel.in.focus.top",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Focus top of in"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "input.paddingTop",
|
||||||
|
"token": "floatlabel.on.input.padding.top",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Input padding top of on"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "input.paddingBottom",
|
||||||
|
"token": "floatlabel.on.input.padding.bottom",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Input padding bottom of on"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "focus.background",
|
||||||
|
"token": "floatlabel.on.focus.background",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Focus background of on"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "focus.padding",
|
||||||
|
"token": "floatlabel.on.focus.padding",
|
||||||
|
"optional": true,
|
||||||
|
"readonly": false,
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "Focus padding of on"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,12 @@ export interface FloatLabelDesignTokens extends ColorSchemeDesignToken<FloatLabe
|
||||||
* @designToken floatlabel.focus.color
|
* @designToken floatlabel.focus.color
|
||||||
*/
|
*/
|
||||||
focusColor?: string;
|
focusColor?: string;
|
||||||
|
/**
|
||||||
|
* Active color of root
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.active.color
|
||||||
|
*/
|
||||||
|
activeColor?: string;
|
||||||
/**
|
/**
|
||||||
* Invalid color of root
|
* Invalid color of root
|
||||||
*
|
*
|
||||||
|
@ -39,5 +45,106 @@ export interface FloatLabelDesignTokens extends ColorSchemeDesignToken<FloatLabe
|
||||||
* @designToken floatlabel.transition.duration
|
* @designToken floatlabel.transition.duration
|
||||||
*/
|
*/
|
||||||
transitionDuration?: string;
|
transitionDuration?: string;
|
||||||
|
/**
|
||||||
|
* Position x of root
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.position.x
|
||||||
|
*/
|
||||||
|
positionX?: string;
|
||||||
|
/**
|
||||||
|
* Font weight of root
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.font.weight
|
||||||
|
*/
|
||||||
|
fontWeight?: string;
|
||||||
|
/**
|
||||||
|
* Focus of root
|
||||||
|
*/
|
||||||
|
focus?: {
|
||||||
|
/**
|
||||||
|
* Focus top of root
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.focus.top
|
||||||
|
*/
|
||||||
|
top?: string;
|
||||||
|
/**
|
||||||
|
* Focus font size of root
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.focus.font.size
|
||||||
|
*/
|
||||||
|
fontSize?: string;
|
||||||
|
/**
|
||||||
|
* Focus font weight of root
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.focus.font.weight
|
||||||
|
*/
|
||||||
|
fontWeight?: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* Used to pass tokens of the in section
|
||||||
|
*/
|
||||||
|
in?: {
|
||||||
|
/**
|
||||||
|
* Input of in
|
||||||
|
*/
|
||||||
|
input?: {
|
||||||
|
/**
|
||||||
|
* Input padding top of in
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.in.input.padding.top
|
||||||
|
*/
|
||||||
|
paddingTop?: string;
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* Focus of in
|
||||||
|
*/
|
||||||
|
focus?: {
|
||||||
|
/**
|
||||||
|
* Focus top of in
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.in.focus.top
|
||||||
|
*/
|
||||||
|
top?: string;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* Used to pass tokens of the on section
|
||||||
|
*/
|
||||||
|
on?: {
|
||||||
|
/**
|
||||||
|
* Input of on
|
||||||
|
*/
|
||||||
|
input?: {
|
||||||
|
/**
|
||||||
|
* Input padding top of on
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.on.input.padding.top
|
||||||
|
*/
|
||||||
|
paddingTop?: string;
|
||||||
|
/**
|
||||||
|
* Input padding bottom of on
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.on.input.padding.bottom
|
||||||
|
*/
|
||||||
|
paddingBottom?: string;
|
||||||
|
};
|
||||||
|
/**
|
||||||
|
* Focus of on
|
||||||
|
*/
|
||||||
|
focus?: {
|
||||||
|
/**
|
||||||
|
* Focus background of on
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.on.focus.background
|
||||||
|
*/
|
||||||
|
background?: string;
|
||||||
|
/**
|
||||||
|
* Focus padding of on
|
||||||
|
*
|
||||||
|
* @designToken floatlabel.on.focus.padding
|
||||||
|
*/
|
||||||
|
padding?: string;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue