From 9cbb0b8a959d954d942b54a8ef0270965e946d79 Mon Sep 17 00:00:00 2001 From: Susanne Kirchner Date: Thu, 29 Feb 2024 17:14:58 +0100 Subject: [PATCH] Add missing form-control styles import (#1897) --- src/components/checkbox/checkbox.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/checkbox/checkbox.component.ts b/src/components/checkbox/checkbox.component.ts index 903d13f030..603dd4e655 100644 --- a/src/components/checkbox/checkbox.component.ts +++ b/src/components/checkbox/checkbox.component.ts @@ -8,6 +8,7 @@ import { live } from 'lit/directives/live.js'; import { property, query, state } from 'lit/decorators.js'; import { watch } from '../../internal/watch.js'; import componentStyles from '../../styles/component.styles.js'; +import formControlStyles from '../../styles/form-control.styles.js'; import ShoelaceElement from '../../internal/shoelace-element.js'; import SlIcon from '../icon/icon.component.js'; import styles from './checkbox.styles.js'; @@ -41,7 +42,7 @@ import type { ShoelaceFormControl } from '../../internal/shoelace-element.js'; * @csspart form-control-help-text - The help text's wrapper. */ export default class SlCheckbox extends ShoelaceElement implements ShoelaceFormControl { - static styles: CSSResultGroup = [componentStyles, styles]; + static styles: CSSResultGroup = [componentStyles, formControlStyles, styles]; static dependencies = { 'sl-icon': SlIcon }; private readonly formControlController = new FormControlController(this, {