chore(deps): upgrade freecodecamp/ui to v6.0.0 (#66443)

This commit is contained in:
Huyen Nguyen
2026-03-22 10:53:26 +07:00
committed by GitHub
parent ff1d3683b5
commit 81fe118aed
5 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -52,7 +52,7 @@
"@fortawesome/free-solid-svg-icons": "6.7.1",
"@fortawesome/react-fontawesome": "0.2.2",
"@freecodecamp/challenge-builder": "workspace:*",
"@freecodecamp/ui": "5.2.1",
"@freecodecamp/ui": "6.0.0",
"@gatsbyjs/reach-router": "1.3.9",
"@growthbook/growthbook-react": "1.6.0",
"@headlessui/react": "1.7.19",
@@ -3,7 +3,7 @@
exports[`<BlockSaveButton /> > <BlockSaveButton /> snapshot 1`] = `
<div>
<button
class=" relative inline-block mt-[0.5px] border-solid border-3 active:before:w-full active:before:h-full active:before:absolute active:before:inset-0 active:before:border-3 active:before:border-transparent active:before:bg-gray-900 active:before:opacity-20 text-center cursor-pointer no-underline block w-full bg-background-quaternary text-foreground-secondary border-foreground-secondary hover:bg-foreground-primary hover:text-background-primary hover:border-foreground-secondary dark:hover:bg-background-primary dark:hover:text-foreground-primary px-3 py-1.5 text-md"
class=" relative inline-block mt-[0.5px] border-solid border-3 active:before:w-full active:before:h-full active:before:absolute active:before:inset-0 active:before:border-3 active:before:border-transparent active:before:bg-gray-900 active:before:opacity-20 text-center cursor-pointer no-underline block w-full bg-background-quaternary text-foreground-secondary border-foreground-secondary hover:bg-foreground-primary hover:text-background-primary hover:border-foreground-secondary dark:hover:bg-background-primary dark:hover:text-foreground-primary aria-expanded:border-foreground-secondary aria-expanded:bg-foreground-primary aria-expanded:text-background-primary dark:aria-expanded:bg-background-primary dark:aria-expanded:text-foreground-primary px-3 py-1.5 text-md"
type="submit"
>
buttons.save
@@ -56,7 +56,7 @@ exports[`<Honesty /> > <Honesty /> snapshot when isHonest is false > Honesty 1`]
</div>
<button
aria-disabled="false"
class=" relative inline-block mt-[0.5px] border-solid border-3 active:before:w-full active:before:h-full active:before:absolute active:before:inset-0 active:before:border-3 active:before:border-transparent active:before:bg-gray-900 active:before:opacity-20 text-center cursor-pointer no-underline block w-full bg-background-quaternary text-foreground-secondary border-foreground-secondary hover:bg-foreground-primary hover:text-background-primary hover:border-foreground-secondary dark:hover:bg-background-primary dark:hover:text-foreground-primary px-3 py-1.5 text-md"
class=" relative inline-block mt-[0.5px] border-solid border-3 active:before:w-full active:before:h-full active:before:absolute active:before:inset-0 active:before:border-3 active:before:border-transparent active:before:bg-gray-900 active:before:opacity-20 text-center cursor-pointer no-underline block w-full bg-background-quaternary text-foreground-secondary border-foreground-secondary hover:bg-foreground-primary hover:text-background-primary hover:border-foreground-secondary dark:hover:bg-background-primary dark:hover:text-foreground-primary aria-expanded:border-foreground-secondary aria-expanded:bg-foreground-primary aria-expanded:text-background-primary dark:aria-expanded:bg-background-primary dark:aria-expanded:text-foreground-primary px-3 py-1.5 text-md"
type="button"
>
buttons.agree-honesty
@@ -98,6 +98,7 @@ button .block-header-button-text {
justify-content: space-between;
font-weight: normal;
gap: 10px;
color: var(--primary-text);
}
.super-block-accordion .module-button-left,