Skip to content

Conversation

@var-poro
Copy link
Contributor

No description provided.

@var-poro var-poro requested a review from a team as a code owner December 22, 2025 14:19
Copy link
Contributor

@dpellier dpellier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • feels weird that the card hover effect is triggered when the mouse enter, even on a non clickable part (as in your Variant example, where there is a spacing aroung the clickable part).
  • update Demo variant controls with right category and select options

@@ -1,3 +1,4 @@
import { CHECKBOX_VARIANT } from '@ovhcloud/ods-react-checkbox/src/constants/checkbox-variant';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do not use lib import, if used on Canvas or storybook will display the minified code, import from '../../../../ods-react/src/components/checkbox/src';


export const Variants: Story = {
globals: {
imports: `import { Checkbox, CheckboxControl, CheckboxLabel } from '@ovhcloud/ods-react';`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing CHECKBOX_VARIANT

@@ -0,0 +1,14 @@
enum CHECKBOX_VARIANT {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add those to the index.ts export

background-color: var(--ods-tile-background-color-checked);
}

&:has([data-disabled]) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you try all states here?

  • disabled + hover
  • disabled + checked
  • disabled + checked + hover

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants