Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/lib/multistatecheckbox/MultiStateCheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const MultiStateCheckbox = React.memo(
const checkboxProps = mergeProps(
{
id: props.id + '_checkbox',
className: classNames(props.className),
className: cx('checkbox'),
style: sx('checkbox', { selectedOption }),
tabIndex: props.tabIndex,
onFocus: onFocus,
Expand Down
13 changes: 11 additions & 2 deletions components/lib/multistatecheckbox/MultiStateCheckboxBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ const classes = {
classNames('p-checkbox-icon p-c', {
[`${icon}`]: true
}),
root: ({ props }) => classNames('p-multistatecheckbox p-checkbox p-component', props.classNames)
root: ({ props }) =>
classNames('p-multistatecheckbox p-checkbox p-component', props.classNames, {
'p-variant-filled': props.variant === 'filled'
}),
checkbox: ({ props }) =>
classNames(props.className, {
'p-invalid': props.invalid
})
};

const inlineStyles = {
Expand Down Expand Up @@ -34,7 +41,9 @@ export const MultiStateCheckboxBase = ComponentBase.extend({
tooltip: null,
tooltipOptions: null,
value: null,
children: undefined
children: undefined,
invalid: false,
variant: null
},
css: {
classes,
Expand Down
Loading