diff --git a/packages/beeq/src/components.d.ts b/packages/beeq/src/components.d.ts index 689269d33..bdda8115a 100644 --- a/packages/beeq/src/components.d.ts +++ b/packages/beeq/src/components.d.ts @@ -2569,7 +2569,7 @@ declare namespace LocalJSX { */ "onBqBlur"?: (event: BqCheckboxCustomEvent) => void; /** - * Handler to be called when the chebkbox state changes + * Handler to be called when the checkbox state changes */ "onBqChange"?: (event: BqCheckboxCustomEvent<{ checked: boolean }>) => void; /** diff --git a/packages/beeq/src/components/checkbox/_storybook/bq-checkbox.stories.tsx b/packages/beeq/src/components/checkbox/_storybook/bq-checkbox.stories.tsx index 9c25497c2..66562da78 100644 --- a/packages/beeq/src/components/checkbox/_storybook/bq-checkbox.stories.tsx +++ b/packages/beeq/src/components/checkbox/_storybook/bq-checkbox.stories.tsx @@ -128,7 +128,7 @@ export const Indeterminate: Story = { Interests -
+
Music diff --git a/packages/beeq/src/components/checkbox/bq-checkbox.tsx b/packages/beeq/src/components/checkbox/bq-checkbox.tsx index 6ea9e261a..7fba2363b 100644 --- a/packages/beeq/src/components/checkbox/bq-checkbox.tsx +++ b/packages/beeq/src/components/checkbox/bq-checkbox.tsx @@ -74,7 +74,7 @@ export class BqCheckbox { // Requires JSDocs for public API documentation // ============================================== - /** Handler to be called when the chebkbox state changes */ + /** Handler to be called when the checkbox state changes */ @Event() bqChange: EventEmitter<{ checked: boolean }>; /** Handler to be called when the checkbox gets focus */ @@ -178,12 +178,12 @@ export class BqCheckbox { part="base" >
{/* @@ -211,7 +211,7 @@ export class BqCheckbox { {this.checked && ( @@ -228,7 +228,7 @@ export class BqCheckbox { {!this.checked && this.indeterminate && ( diff --git a/packages/beeq/src/components/checkbox/readme.md b/packages/beeq/src/components/checkbox/readme.md index 8cfafbfc7..ad77c12bd 100644 --- a/packages/beeq/src/components/checkbox/readme.md +++ b/packages/beeq/src/components/checkbox/readme.md @@ -24,7 +24,7 @@ | Event | Description | Type | | ---------- | ---------------------------------------------------- | ------------------------------------ | | `bqBlur` | Handler to be called when the checkbox loses focus | `CustomEvent` | -| `bqChange` | Handler to be called when the chebkbox state changes | `CustomEvent<{ checked: boolean; }>` | +| `bqChange` | Handler to be called when the checkbox state changes | `CustomEvent<{ checked: boolean; }>` | | `bqFocus` | Handler to be called when the checkbox gets focus | `CustomEvent` | diff --git a/packages/beeq/src/components/checkbox/scss/bq-checkbox.scss b/packages/beeq/src/components/checkbox/scss/bq-checkbox.scss index 6f28486e1..0f119fea2 100644 --- a/packages/beeq/src/components/checkbox/scss/bq-checkbox.scss +++ b/packages/beeq/src/components/checkbox/scss/bq-checkbox.scss @@ -9,7 +9,7 @@ } .bq-checkbox { - @apply box-border inline-flex cursor-pointer select-none rounded-s p-xs transition-colors duration-300 ease-in-out; + @apply box-border inline-flex cursor-pointer select-none rounded-s transition-colors duration-300 ease-in-out p-b-xs p-i-xs; // Default hover state &:not(.is-checked), @@ -66,7 +66,7 @@ // Checkbox square icon `DEFAULT` state (not checked/indeterminate, not hover, not disabled) .bq-checkbox__checkbox { - @apply rounded-[var(--bq-checkbox--border-radius)] border-[length:var(--bq-checkbox--border-width)] border-solid border-icon-primary; + @apply rounded-[--bq-checkbox--border-radius] border-[length:--bq-checkbox--border-width] border-solid border-icon-primary; } .bq-checkbox__checkbox,