diff --git a/.changeset/itchy-dogs-matter.md b/.changeset/itchy-dogs-matter.md new file mode 100644 index 0000000000..0399e0da68 --- /dev/null +++ b/.changeset/itchy-dogs-matter.md @@ -0,0 +1,5 @@ +--- +"@rhds/elements": patch +--- + +``: removed unused color-palette attribute diff --git a/elements/rh-tabs/rh-tab-panel.ts b/elements/rh-tabs/rh-tab-panel.ts index fcb59bb75f..ac4a6bc5da 100644 --- a/elements/rh-tabs/rh-tab-panel.ts +++ b/elements/rh-tabs/rh-tab-panel.ts @@ -7,7 +7,6 @@ import { classMap } from 'lit/directives/class-map.js'; import { BaseTabPanel } from '@patternfly/elements/pf-tabs/BaseTabPanel.js'; import { colorContextConsumer, type ColorTheme } from '../../lib/context/color/consumer.js'; -import { colorContextProvider, type ColorPalette } from '../../lib/context/color/provider.js'; import styles from './rh-tab-panel.css'; @@ -28,12 +27,6 @@ export class RhTabPanel extends BaseTabPanel { */ @colorContextConsumer() private on?: ColorTheme; - /** - * Sets color context for child components, overrides parent context - */ - @colorContextProvider() - @property({ reflect: true, attribute: 'color-palette' }) colorPalette?: ColorPalette; - render() { const { on = '' } = this; return html`