diff --git a/packages/components/src/components/a11y.scss b/packages/components/src/components/a11y.scss index 458f08f302..19b3a7b078 100644 --- a/packages/components/src/components/a11y.scss +++ b/packages/components/src/components/a11y.scss @@ -1,3 +1,5 @@ +@import '@shared/mixins'; + /* * This file contains all rules for accessibility. */ @@ -47,8 +49,7 @@ /* select, */ /* textarea, */ [role='button'], - button:not([role='link']), - .kol-input .input { + button:not([role='link']) { min-height: var(--a11y-min-size); min-width: var(--a11y-min-size); } diff --git a/packages/components/src/components/abbr/style.scss b/packages/components/src/components/abbr/style.scss index 97a26f056d..98368bb263 100644 --- a/packages/components/src/components/abbr/style.scss +++ b/packages/components/src/components/abbr/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @import '../tooltip/style.scss'; @layer kol-component { diff --git a/packages/components/src/components/accordion/style.scss b/packages/components/src/components/accordion/style.scss index 20ab484764..119f9a5162 100644 --- a/packages/components/src/components/accordion/style.scss +++ b/packages/components/src/components/accordion/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @import '../host-display-block'; @import '../../functional-components/Collapsible/collapsible'; diff --git a/packages/components/src/components/alert/style.scss b/packages/components/src/components/alert/style.scss index 9b4c78304d..7b766521a6 100644 --- a/packages/components/src/components/alert/style.scss +++ b/packages/components/src/components/alert/style.scss @@ -1,11 +1,11 @@ +@import '../../styles/global'; +@import '../../styles/kol-alert-mixin'; @import '../@shared/mixins'; -@import '../style'; -@import '../@shared/kol-alert-mixin'; + +@include kol-alert; @layer kol-component { .kol-alert { font-size: rem(16); } } - -@include kol-alert-styles; diff --git a/packages/components/src/components/avatar/style.scss b/packages/components/src/components/avatar/style.scss index a03bfa8098..3ad65cd7b5 100644 --- a/packages/components/src/components/avatar/style.scss +++ b/packages/components/src/components/avatar/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @import '../host-display-block'; @layer kol-component { diff --git a/packages/components/src/components/badge/style.scss b/packages/components/src/components/badge/style.scss index 21ce1fd1c8..a9fd1fbf52 100644 --- a/packages/components/src/components/badge/style.scss +++ b/packages/components/src/components/badge/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @import '../tooltip/style.scss'; @layer kol-component { diff --git a/packages/components/src/components/breadcrumb/style.scss b/packages/components/src/components/breadcrumb/style.scss index 6e080d637b..d4f4d3fd2a 100644 --- a/packages/components/src/components/breadcrumb/style.scss +++ b/packages/components/src/components/breadcrumb/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @layer kol-component { .kol-breadcrumb { diff --git a/packages/components/src/components/button-link/style.scss b/packages/components/src/components/button-link/style.scss index 9a8e01b7c8..66eea306b6 100644 --- a/packages/components/src/components/button-link/style.scss +++ b/packages/components/src/components/button-link/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @import '../@shared/kol-link-mixin'; @include kol-link-styles('kol-button'); diff --git a/packages/components/src/components/button/style.scss b/packages/components/src/components/button/style.scss index 69a9214db8..c75ce6606e 100644 --- a/packages/components/src/components/button/style.scss +++ b/packages/components/src/components/button/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @import '../@shared/kol-button-mixin'; @include kol-button-styles('kol-button'); diff --git a/packages/components/src/components/card/style.scss b/packages/components/src/components/card/style.scss index 64be42d9e9..2a401036aa 100644 --- a/packages/components/src/components/card/style.scss +++ b/packages/components/src/components/card/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @import '../tooltip/style.scss'; @layer kol-component { diff --git a/packages/components/src/components/combobox/style.scss b/packages/components/src/components/combobox/style.scss index 4f5b30d3df..03d7fbc79a 100644 --- a/packages/components/src/components/combobox/style.scss +++ b/packages/components/src/components/combobox/style.scss @@ -1,6 +1,7 @@ +@import '../../styles/global'; @import '../@shared/mixins'; -@import '../style'; -@import '../input-line'; +@import '../host-display-block'; +@import '../tooltip/style'; @layer kol-component { :host { @@ -28,6 +29,10 @@ &__input { flex-grow: 1; + + &:focus { + outline: none; + } } &__icon { @@ -59,4 +64,8 @@ } } } + + .kol-input { + display: grid; + } } diff --git a/packages/components/src/components/details/style.scss b/packages/components/src/components/details/style.scss index ca76a757a0..2d4be8bf0c 100644 --- a/packages/components/src/components/details/style.scss +++ b/packages/components/src/components/details/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @import '../host-display-block'; @import '../../functional-components/Collapsible/collapsible'; diff --git a/packages/components/src/components/drawer/style.scss b/packages/components/src/components/drawer/style.scss index 0d76e08942..d5935d8370 100644 --- a/packages/components/src/components/drawer/style.scss +++ b/packages/components/src/components/drawer/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @layer kol-component { .kol-drawer { diff --git a/packages/components/src/components/form/style.scss b/packages/components/src/components/form/style.scss index c88ea78593..5593860642 100644 --- a/packages/components/src/components/form/style.scss +++ b/packages/components/src/components/form/style.scss @@ -1,11 +1,13 @@ @import '../@shared/mixins'; -@import '../style'; -@import '../input-line'; +@import '../../styles/global'; +@import '../host-display-block'; @import '../@shared/kol-link-mixin'; +@import '../../styles/kol-alert-mixin'; @layer kol-component { @include kol-link-styles('kol-link'); - @include kol-alert-styles; + @include kol-alert; + .kol-form { font-size: rem(16); } diff --git a/packages/components/src/components/heading/style.scss b/packages/components/src/components/heading/style.scss index 148f579055..e0f63d3e40 100644 --- a/packages/components/src/components/heading/style.scss +++ b/packages/components/src/components/heading/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @layer kol-component { .kol-headline { diff --git a/packages/components/src/components/image/style.scss b/packages/components/src/components/image/style.scss index 0a879c62a8..e0ec8f5377 100644 --- a/packages/components/src/components/image/style.scss +++ b/packages/components/src/components/image/style.scss @@ -1,5 +1,5 @@ @import '../@shared/mixins'; -@import '../style'; +@import '../../styles/global'; @layer kol-component { .kol-image { diff --git a/packages/components/src/components/input-checkbox/button.scss b/packages/components/src/components/input-checkbox/button.scss deleted file mode 100644 index 65f8eabb4b..0000000000 --- a/packages/components/src/components/input-checkbox/button.scss +++ /dev/null @@ -1,43 +0,0 @@ -@layer kol-component { - .button { - display: grid; - grid-template-columns: var(--a11y-min-size) auto; - grid-template-areas: 'error error' 'input label' 'hint hint'; - } - - .button[data-label-align='left']:not(.hide-label) { - grid-template-columns: auto var(--a11y-min-size); - grid-template-areas: 'error error' 'label input' 'hint hint'; - } - - .button:focus-within { - /* override global `[tabindex]:focus` style */ - cursor: inherit; - outline-color: black; - outline-style: solid; - } - - .button > .error { - grid-area: error; - } - - .button > label { - grid-area: label; - } - - .button > .input { - grid-area: input; - } - - .button > .hint { - grid-area: hint; - } - - .button .icon { - display: flex; - align-items: center; - justify-content: center; - width: var(--a11y-min-size); - height: var(--a11y-min-size); - } -} diff --git a/packages/components/src/components/input-checkbox/checkbox.scss b/packages/components/src/components/input-checkbox/checkbox.scss deleted file mode 100644 index ba8104f805..0000000000 --- a/packages/components/src/components/input-checkbox/checkbox.scss +++ /dev/null @@ -1,29 +0,0 @@ -@layer kol-component { - .default { - & .checkbox-container { - align-items: center; - display: flex; - height: var(--a11y-min-size); - justify-content: center; - position: relative; - width: var(--a11y-min-size); - } - - & .icon { - display: block; - inset: auto; - position: absolute; - z-index: 1; - pointer-events: none; - } - - &:not(.checked):not(.indeterminate) .icon::part(icon) { - display: none; - } - - & .checkbox-input-element { - width: rem(22); - height: rem(22); - } - } -} diff --git a/packages/components/src/components/input-checkbox/common.scss b/packages/components/src/components/input-checkbox/common.scss deleted file mode 100644 index d5dfc31b9c..0000000000 --- a/packages/components/src/components/input-checkbox/common.scss +++ /dev/null @@ -1,86 +0,0 @@ -@import '../@shared/mixins'; - -@layer kol-component { - :host { - font-size: rem(16); - } - - label { - cursor: pointer; - } - - .kol-input { - align-items: center; - display: grid; - justify-items: left; - } - - .kol-input.default, - .kol-input.switch { - grid-template-areas: 'input label'; - grid-template-columns: auto 1fr; - } - - .kol-input.default[data-label-align='left']:not(.hide-label), - .kol-input.switch[data-label-align='left']:not(.hide-label) { - grid-template-areas: 'label input'; - grid-template-columns: 1fr auto; - } - - .kol-input .input { - grid-area: input; - align-items: center; - display: grid; - } - - .kol-input .input div { - display: inline-flex; - } - - .kol-input .input input { - margin: 0; - } - - .kol-input label { - grid-area: label; - } - - .kol-input .hint, - .kol-input.error > .kol-alert { - grid-column: span 2; - } - - .kol-input .kol-alert.error { - order: 3; - } - - .kol-input .hint { - order: 4; - } - - input { - border-style: solid; - border-width: rem(2); - line-height: 1.5; - } - - input[type='checkbox'] { - appearance: none; - background-color: #fff; - cursor: pointer; - transition: 0.5s; - } - - input[type='checkbox']:before { - content: ''; - cursor: pointer; - } - - input[type='checkbox']:disabled:before { - cursor: not-allowed; - } - - .kol-input.required .tooltip-content .kol-span__label::after { - content: '*'; - } -} diff --git a/packages/components/src/components/input-checkbox/shadow.tsx b/packages/components/src/components/input-checkbox/shadow.tsx index f0b3baef38..a96429d08f 100644 --- a/packages/components/src/components/input-checkbox/shadow.tsx +++ b/packages/components/src/components/input-checkbox/shadow.tsx @@ -29,8 +29,8 @@ import { nonce } from '../../utils/dev.utils'; import { InputCheckboxController } from './controller'; import KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper'; -import KolInputStateWrapperFc, { type InputStateWrapperProps } from '../../functional-component-wrappers/InputStateWrapper'; -import KolIconFc from '../../functional-components/Icon'; +import KolFieldControlStateWrapperFc, { type FieldControlStateWrapperProps } from '../../functional-component-wrappers/FieldControlStateWrapper'; +import KolCheckboxStateWrapperFc, { type CheckboxStateWrapperProps } from '../../functional-component-wrappers/CheckboxStateWrapper'; /** * @slot expert - Checkbox description. @@ -71,40 +71,52 @@ export class KolInputCheckbox implements InputCheckboxAPI, FocusableElement { private getFormFieldProps(): FormFieldStateWrapperProps { return { state: this.state, - class: clsx('kol-input-checkbox', 'checkbox', this.state._variant, { - 'hide-label': !!this.state._hideLabel, - checked: this.state._checked, - indeterminate: this.state._indeterminate, + class: clsx('kol-input-checkbox', { + [`kol-input-checkbox--checked`]: this.state._checked, + [`kol-input-checkbox--indeterminate`]: this.state._indeterminate, + [`kol-input-checkbox--variant-${this.state._variant || 'default'}`]: true, + [`kol-input-checkbox--label-align-${this.state._labelAlign || 'right'}`]: true, }), tooltipAlign: this._tooltipAlign, - 'data-label-align': this.state._labelAlign || 'right', 'data-role': this.state._variant === 'button' ? 'button' : undefined, alert: this.showAsAlert(), - reverseLabelInput: this.state._labelAlign === 'right', + renderNoTooltip: true, }; } - private getInputProps(): InputStateWrapperProps { + private getFieldControlProps(): FieldControlStateWrapperProps { return { - class: clsx('checkbox-input-element', { - 'visually-hidden': this.state._variant === 'button', + class: clsx('kol-input-checkbox__field-control', { + [`kol-input-checkbox__field-control--checked`]: this.state._checked, + [`kol-input-checkbox__field-control--indeterminate`]: this.state._indeterminate, + [`kol-input-checkbox__field-control--variant-${this.state._variant || 'default'}`]: true, }), - ref: this.catchRef, - type: 'checkbox', - slot: 'input', state: this.state, - ...this.controller.onFacade, - onInput: this.onInput, - onChange: this.onChange, - onFocus: (event: Event) => { - this.controller.onFacade.onFocus(event); - this.inputHasFocus = true; - }, - onBlur: (event: Event) => { - this.controller.onFacade.onBlur(event); - this.inputHasFocus = false; + }; + } + + private getInputProps(): CheckboxStateWrapperProps { + return { + state: this.state, + icon: this.getIcon(), + inputProps: { + class: clsx({ + 'visually-hidden': this.state._variant === 'button', + }), + ref: this.catchRef, + ...this.controller.onFacade, + onInput: this.onInput, + onChange: this.onChange, + onFocus: (event: Event) => { + this.controller.onFacade.onFocus(event); + this.inputHasFocus = true; + }, + onBlur: (event: Event) => { + this.controller.onFacade.onBlur(event); + this.inputHasFocus = false; + }, + onClick: undefined, // onClick is not needed since onChange already triggers the correct event }, - onClick: undefined, // onClick is not needed since onChange already triggers the correct event }; } @@ -114,23 +126,12 @@ export class KolInputCheckbox implements InputCheckboxAPI, FocusableElement { return this.state._icons.unchecked; } - private getIconProps() { - return { - class: 'icon', - icons: this.getIcon(), - label: '', - }; - } - public render(): JSX.Element { return ( - -
- -
+ + + + ); } diff --git a/packages/components/src/components/input-checkbox/style.scss b/packages/components/src/components/input-checkbox/style.scss index f1a32b3255..34c245bd9e 100644 --- a/packages/components/src/components/input-checkbox/style.scss +++ b/packages/components/src/components/input-checkbox/style.scss @@ -1,9 +1,151 @@ +@import '../../styles/global'; +@import '../../styles/kol-field-control-mixin'; +@import '../../styles/kol-form-field-mixin'; @import '../@shared/mixins'; -@import '../style'; -@import '../input'; -@import './common'; -@import './button'; -@import './checkbox'; -@import './switch'; - -@include kol-alert-styles; +@import '../host-display-block'; +@import '../tooltip/style'; + +@include kol-form-field; +@include kol-field-control; + +@layer kol-component { + $root: '.kol-checkbox'; + + .kol-form-field { + display: grid; + } + + #{$root} { + position: relative; + display: flex; + align-items: center; + + .kol-input { + font-size: rem(16); + + appearance: none; + background-color: #fff; + cursor: pointer; + transition: 0.5s; + + margin: 0; + border-style: solid; + border-width: rem(2); + + &:before { + content: ''; + cursor: pointer; + } + + &:disabled:before { + cursor: not-allowed; + } + } + } + + /** + * Variant: Checkbox + */ + #{$root}--variant-default { + height: var(--a11y-min-size); + justify-content: center; + position: relative; + width: var(--a11y-min-size); + + .kol-icon { + display: flex; + inset: auto; + position: absolute; + z-index: 1; + pointer-events: none; + + &::part(icon) { + display: none; + } + } + + .kol-input { + width: rem(22); + height: rem(22); + } + + &#{$root}--checked, + &#{$root}--indeterminate { + .kol-icon::part(icon) { + display: block; + } + } + } + + /** + * Variant: Switch + */ + #{$root}--variant-switch { + position: relative; + + .kol-input { + display: inline-block; + height: 1.7em; + min-width: 3.2em; + position: relative; + width: 3.2em; + + &::before { + background-color: #000; + height: 1.2em; + left: calc(0.25em - rem(2)); + top: calc(0.25em - rem(2)); + position: absolute; + transition: 0.5s; + width: 1.2em; + } + + &:checked::before { + transform: translateX(1.5em); + } + + &:indeterminate::before { + transform: translateX(0.75em); + } + } + + .kol-icon { + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + width: 1.2em; + height: 1.2em; + position: absolute; + z-index: 1; + top: 50%; + left: rem(4); + transform: translate(0, -50%); + transition: 0.5s; + color: #000; + } + + &#{$root}--checked .kol-icon { + transform: translate(1.5em, -50%); + } + + &#{$root}--indeterminate .kol-icon { + transform: translate(0.75em, -50%); + } + } + + /** + * Variant: Button + */ + #{$root}--variant-button { + width: var(--a11y-min-size); + + .kol-icon { + display: flex; + align-items: center; + justify-content: center; + width: var(--a11y-min-size); + height: var(--a11y-min-size); + } + } +} diff --git a/packages/components/src/components/input-checkbox/switch.scss b/packages/components/src/components/input-checkbox/switch.scss deleted file mode 100644 index 3234e3ddd3..0000000000 --- a/packages/components/src/components/input-checkbox/switch.scss +++ /dev/null @@ -1,55 +0,0 @@ -@layer kol-component { - .switch .input { - position: relative; - } - - .switch input[type='checkbox'] { - display: inline-block; - height: 1.7em; - min-width: 3.2em; - position: relative; - width: 3.2em; - } - - .switch input[type='checkbox']::before { - background-color: #000; - height: 1.2em; - left: calc(0.25em - rem(2)); - top: calc(0.25em - rem(2)); - position: absolute; - transition: 0.5s; - width: 1.2em; - } - - .switch input[type='checkbox']:checked::before { - transform: translateX(1.5em); - } - - .switch input[type='checkbox']:indeterminate::before { - transform: translateX(0.75em); - } - - .switch .icon { - cursor: pointer; - display: flex; - align-items: center; - justify-content: center; - width: 1.2em; - height: 1.2em; - position: absolute; - z-index: 1; - top: 50%; - left: rem(4); - transform: translate(0, -50%); - transition: 0.5s; - color: #000; - } - - .switch.checked .icon { - transform: translate(1.5em, -50%); - } - - .switch.indeterminate .icon { - transform: translate(0.75em, -50%); - } -} diff --git a/packages/components/src/components/input-checkbox/test/__snapshots__/snapshot.spec.tsx.snap b/packages/components/src/components/input-checkbox/test/__snapshots__/snapshot.spec.tsx.snap index 233c6839b8..b2915ddc73 100644 --- a/packages/components/src/components/input-checkbox/test/__snapshots__/snapshot.spec.tsx.snap +++ b/packages/components/src/components/input-checkbox/test/__snapshots__/snapshot.spec.tsx.snap @@ -3,20 +3,24 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _accessKey="V" 1`] = ` @@ -26,19 +30,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _alert=true 1`] = ` @@ -48,19 +56,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _disabled=true 1`] = ` @@ -70,23 +82,27 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _hint="Hint" 1`] = ` @@ -95,19 +111,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _icons={"left":{"icon":"codicon codicon-arrow-left"},"right":{"icon":"codicon codicon-arrow-right"}} 1`] = ` @@ -117,19 +137,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _icons={"left":{"icon":"codicon codicon-arrow-left"}} 1`] = ` @@ -139,19 +163,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _icons={"right":{"icon":"codicon codicon-arrow-right"}} 1`] = ` @@ -161,19 +189,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _msg={"_type":"error","_description":"Es ist ein Fehler aufgetreten"} _hideError=true 1`] = ` @@ -183,19 +215,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _msg={"_type":"error","_description":"Es ist ein Fehler aufgetreten"} 1`] = ` @@ -205,19 +241,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _readOnly=true 1`] = ` @@ -227,20 +267,24 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _shortKey="S" 1`] = ` @@ -250,19 +294,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" _touched=true 1`] = ` @@ -272,19 +320,23 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _labelAlign="left" 1`] = ` @@ -294,21 +346,25 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _variant="button" _accessKey="V" 1`] = ` @@ -317,20 +373,24 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _variant="button" _alert=true 1`] = ` @@ -339,20 +399,24 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _variant="button" _disabled=true 1`] = ` @@ -361,21 +425,25 @@ exports[`kol-input-checkbox should render with _label="Label" _name="field" _pla exports[`kol-input-checkbox should render with _label="Label" _name="field" _placeholder="Hier steht ein Platzhaltertext" _checked=false _variant="button" _hint="Hint" 1`] = `