Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui-kit): update checkbox so it is more clear when is not checked #4141

Merged
merged 3 commits into from
Nov 20, 2024

Conversation

evavirseda
Copy link
Contributor

@evavirseda evavirseda commented Nov 19, 2024

Description of change

Please write a summary of your changes and why you made them.

Links to any relevant issues

fixes #4124 and fixes #4142

Type of change

Choose a type of change, and delete any options that are not relevant.

  • Bug fix (a non-breaking change which fixes an issue)
  • Enhancement (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Fix

How the change has been tested

Describe the tests that you ran to verify your changes.

Make sure to provide instructions for the maintainer as well as any relevant configurations.

Change checklist

Tick the boxes that are relevant to your changes, and delete any items that are not.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

@evavirseda evavirseda requested review from a team as code owners November 19, 2024 16:28
@evavirseda evavirseda self-assigned this Nov 19, 2024
@evavirseda evavirseda added tooling Issues related to the Tooling team apps-ui-kit Issues related to the Apps UI Kit wallet Issues related to the IOTA Wallet labels Nov 19, 2024
Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: 01f6fa4

✅ Preview: https://apps-ui-a2gsyeesn-iota1.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: 01f6fa4

✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-mq52512qd.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: 01f6fa4

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-cw3uccdpi.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: 1bbc527

✅ Preview: https://apps-ui-7pby0i7y8-iota1.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: 1bbc527

✅ Preview: https://wallet-dashboard-a225fcfa1e2f852205a61a7cd1d5d93e92-jrf6unstd.vercel.app

Copy link
Contributor

This pull request has been deployed to Vercel.

Latest commit: 1bbc527

✅ Preview: https://iota-rebased-explorer-092603f1de8088243ccb8b861b23e-pvse01u97.vercel.app

@@ -91,10 +91,11 @@ export const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
/>
<span
onClick={() => inputRef.current?.click()}
className="peer-enabled:state-layer relative inset-0 flex h-5 w-5 items-center justify-center rounded border border-neutral-80 text-neutral-40 group-[.disabled]:cursor-not-allowed peer-disabled:text-neutral-70 peer-disabled:text-opacity-40 peer-disabled:opacity-40 peer-[&:is(:checked,:indeterminate)]:border-primary-30 peer-[&:is(:checked,:indeterminate)]:bg-primary-30 peer-[&:is(:checked,:indeterminate)]:text-white peer-[&:not(:checked,:indeterminate)]:text-opacity-40 disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-70 dark:border-neutral-20 dark:text-neutral-60 dark:peer-disabled:text-neutral-30 dark:peer-disabled:text-opacity-40 dark:peer-disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-30 dark:peer-disabled:peer-[&:is(:checked,:indeterminate)]:bg-neutral-40 peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-60 peer-disabled:[&:is(:checked,:indeterminate)]:bg-neutral-60 dark:peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-40 [&_svg]:h-4 [&_svg]:w-4"
className="peer-enabled:state-layer relative inset-0 flex h-5 w-5 items-center justify-center rounded border border-neutral-80 text-neutral-40 group-[.disabled]:cursor-not-allowed peer-disabled:text-neutral-70 peer-disabled:text-opacity-40 peer-disabled:opacity-40 peer-[&:is(:checked,:indeterminate)]:border-primary-30 peer-[&:is(:checked,:indeterminate)]:bg-primary-30 peer-[&:is(:checked,:indeterminate)]:text-white peer-[&:not(:checked,:indeterminate)]:text-opacity-40 disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-70 dark:border-neutral-20 dark:text-neutral-60 dark:peer-disabled:text-neutral-30 dark:peer-disabled:text-opacity-40 dark:peer-disabled:peer-[&:not(:checked,:indeterminate)]:border-neutral-30 dark:peer-disabled:peer-[&:is(:checked,:indeterminate)]:bg-neutral-40 peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-60 peer-disabled:[&:is(:checked,:indeterminate)]:bg-neutral-60 dark:peer-disabled:[&:is(:checked,:indeterminate)]:border-neutral-40 [&_svg]:h-4 [&_svg]:w-4 peer-[&:not(:checked,:indeterminate)]:[&_svg]:hidden"
Copy link
Contributor

Choose a reason for hiding this comment

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

✝️

@marc2332 marc2332 merged commit 3af1f53 into develop Nov 20, 2024
32 of 33 checks passed
@marc2332 marc2332 deleted the tooling-ui-kit/remove-icon-checkbox-not-checked branch November 20, 2024 10:49
begonaalvarezd pushed a commit that referenced this pull request Nov 20, 2024
…#4141)

* Update checkbox component

* fix select and unselect accounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apps-ui-kit Issues related to the Apps UI Kit tooling Issues related to the Tooling team wallet Issues related to the IOTA Wallet
Projects
None yet
4 participants