SelectButton remove old classes
parent
5ba2a6b9d5
commit
e1e1387caf
|
@ -58,14 +58,6 @@ export interface SelectButtonPassThroughOptions {
|
||||||
* Used to pass attributes to the root's DOM element.
|
* Used to pass attributes to the root's DOM element.
|
||||||
*/
|
*/
|
||||||
root?: SelectButtonPassThroughOptionType;
|
root?: SelectButtonPassThroughOptionType;
|
||||||
/**
|
|
||||||
* Used to pass attributes to the button's DOM element.
|
|
||||||
*/
|
|
||||||
button?: SelectButtonPassThroughOptionType;
|
|
||||||
/**
|
|
||||||
* Used to pass attributes to the label's DOM element.
|
|
||||||
*/
|
|
||||||
label?: SelectButtonPassThroughOptionType;
|
|
||||||
/**
|
/**
|
||||||
* Used to manage all lifecycle hooks.
|
* Used to manage all lifecycle hooks.
|
||||||
* @see {@link BaseComponent.ComponentHooks}
|
* @see {@link BaseComponent.ComponentHooks}
|
||||||
|
|
|
@ -6,15 +6,7 @@ const classes = {
|
||||||
{
|
{
|
||||||
'p-invalid': props.invalid
|
'p-invalid': props.invalid
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
button: ({ instance, option }) => [
|
|
||||||
'p-selectbutton-button',
|
|
||||||
{
|
|
||||||
'p-highlight': instance.isSelected(option),
|
|
||||||
'p-disabled': instance.isOptionDisabled(option)
|
|
||||||
}
|
|
||||||
],
|
|
||||||
label: 'p-selectbutton-label'
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default BaseStyle.extend({
|
export default BaseStyle.extend({
|
||||||
|
|
|
@ -47192,22 +47192,6 @@
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Used to pass attributes to the root's DOM element."
|
"description": "Used to pass attributes to the root's DOM element."
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "button",
|
|
||||||
"optional": true,
|
|
||||||
"readonly": false,
|
|
||||||
"type": "SelectButtonPassThroughOptionType",
|
|
||||||
"default": "",
|
|
||||||
"description": "Used to pass attributes to the button's DOM element."
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "label",
|
|
||||||
"optional": true,
|
|
||||||
"readonly": false,
|
|
||||||
"type": "SelectButtonPassThroughOptionType",
|
|
||||||
"default": "",
|
|
||||||
"description": "Used to pass attributes to the label's DOM element."
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "hooks",
|
"name": "hooks",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
|
|
Loading…
Reference in New Issue