diff --git a/components/lib/selectbutton/SelectButton.d.ts b/components/lib/selectbutton/SelectButton.d.ts index d6c346134..d5358468a 100755 --- a/components/lib/selectbutton/SelectButton.d.ts +++ b/components/lib/selectbutton/SelectButton.d.ts @@ -58,14 +58,6 @@ export interface SelectButtonPassThroughOptions { * Used to pass attributes to the root's DOM element. */ 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. * @see {@link BaseComponent.ComponentHooks} diff --git a/components/lib/selectbutton/style/SelectButtonStyle.js b/components/lib/selectbutton/style/SelectButtonStyle.js index 510e71ae5..526a2f09c 100644 --- a/components/lib/selectbutton/style/SelectButtonStyle.js +++ b/components/lib/selectbutton/style/SelectButtonStyle.js @@ -6,15 +6,7 @@ const classes = { { '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({ diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index f355e1b9e..0d4c9b631 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -47192,22 +47192,6 @@ "default": "", "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", "optional": true,