mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(deps): upgrade @freecodecamp/ui to v4.3.0 (#61996)
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@
|
||||
"@fortawesome/free-solid-svg-icons": "6.7.1",
|
||||
"@fortawesome/react-fontawesome": "0.2.2",
|
||||
"@freecodecamp/loop-protect": "3.0.0",
|
||||
"@freecodecamp/ui": "4.2.0",
|
||||
"@freecodecamp/ui": "4.3.0",
|
||||
"@gatsbyjs/reach-router": "1.3.9",
|
||||
"@growthbook/growthbook-react": "0.20.0",
|
||||
"@headlessui/react": "1.7.19",
|
||||
|
||||
@@ -327,7 +327,7 @@ exports[`<Footer /> matches snapshot 1`] = `
|
||||
footer.mobile-app
|
||||
</h2>
|
||||
<div
|
||||
className=" min-h-[1px] px-[15px] md:w-2/3 md:ml-[16.6%] "
|
||||
className=" min-h-[1px] px-[15px] md:w-2/3 md:ms-[16.6%] "
|
||||
>
|
||||
<ul
|
||||
aria-labelledby="mobile-app"
|
||||
|
||||
@@ -18,10 +18,10 @@ exports[`<Profile/> renders correctly 1`] = `
|
||||
class="h-[30px]"
|
||||
/>
|
||||
<div
|
||||
class="mx-[-15px] "
|
||||
class="mx-[-15px] "
|
||||
>
|
||||
<div
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ml-[16.6%] "
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ms-[16.6%] "
|
||||
>
|
||||
<div
|
||||
class="h-[90px]"
|
||||
@@ -197,7 +197,7 @@ exports[`<Profile/> renders correctly 1`] = `
|
||||
class="profile-meta-container"
|
||||
/>
|
||||
<div
|
||||
class="mx-[-15px] "
|
||||
class="mx-[-15px] "
|
||||
>
|
||||
<div
|
||||
class="social-icons-row min-h-[1px] px-[15px] "
|
||||
@@ -300,7 +300,7 @@ exports[`<Profile/> renders correctly 1`] = `
|
||||
class="h-[30px]"
|
||||
/>
|
||||
<div
|
||||
class="mx-[-15px] text-center"
|
||||
class="mx-[-15px] text-center"
|
||||
>
|
||||
<a
|
||||
href="/user/string/report-user"
|
||||
|
||||
+2
-2
@@ -2,10 +2,10 @@
|
||||
|
||||
exports[`should check certification page consistency 1`] = `
|
||||
<div
|
||||
className="mx-[-15px] "
|
||||
className="mx-[-15px] "
|
||||
>
|
||||
<div
|
||||
className=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ml-[16.6%] "
|
||||
className=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ms-[16.6%] "
|
||||
>
|
||||
<section
|
||||
className="card"
|
||||
|
||||
@@ -6,10 +6,10 @@ exports[`<Honesty /> <Honesty /> snapshot when isHonest is false: Honesty 1`] =
|
||||
id="honesty-policy"
|
||||
>
|
||||
<div
|
||||
class="mx-[-15px] "
|
||||
class="mx-[-15px] "
|
||||
>
|
||||
<div
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ml-[16.6%] "
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ms-[16.6%] "
|
||||
>
|
||||
<h2
|
||||
class="text-center"
|
||||
@@ -20,10 +20,10 @@ exports[`<Honesty /> <Honesty /> snapshot when isHonest is false: Honesty 1`] =
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="mx-[-15px] "
|
||||
class="mx-[-15px] "
|
||||
>
|
||||
<div
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ml-[16.6%] "
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ms-[16.6%] "
|
||||
>
|
||||
<div
|
||||
class="border-1 border-solid shadow-sm mb-6 border-background-tertiary honesty-panel"
|
||||
@@ -73,10 +73,10 @@ exports[`<Honesty /> <Honesty /> snapshot when isHonest is true: HonestyAccepted
|
||||
id="honesty-policy"
|
||||
>
|
||||
<div
|
||||
class="mx-[-15px] "
|
||||
class="mx-[-15px] "
|
||||
>
|
||||
<div
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ml-[16.6%] "
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ms-[16.6%] "
|
||||
>
|
||||
<h2
|
||||
class="text-center"
|
||||
@@ -87,10 +87,10 @@ exports[`<Honesty /> <Honesty /> snapshot when isHonest is true: HonestyAccepted
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="mx-[-15px] "
|
||||
class="mx-[-15px] "
|
||||
>
|
||||
<div
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ml-[16.6%] "
|
||||
class=" min-h-[1px] px-[15px] w-full md:w-2/3 md:ms-[16.6%] "
|
||||
>
|
||||
<div
|
||||
class="border-1 border-solid shadow-sm mb-6 border-background-tertiary honesty-panel"
|
||||
|
||||
Generated
+30
-24
@@ -332,8 +332,8 @@ importers:
|
||||
specifier: 3.0.0
|
||||
version: 3.0.0
|
||||
'@freecodecamp/ui':
|
||||
specifier: 4.2.0
|
||||
version: 4.2.0(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
specifier: 4.3.0
|
||||
version: 4.3.0(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@gatsbyjs/reach-router':
|
||||
specifier: 1.3.9
|
||||
version: 1.3.9(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
@@ -2922,6 +2922,12 @@ packages:
|
||||
'@fortawesome/fontawesome-svg-core': ~1 || ~6
|
||||
react: '>=16.3'
|
||||
|
||||
'@fortawesome/react-fontawesome@0.2.6':
|
||||
resolution: {integrity: sha512-mtBFIi1UsYQo7rYonYFkjgYKGoL8T+fEH6NGUpvuqtY3ytMsAoDaPo5rk25KuMtKDipY4bGYM/CkmCHA1N3FUg==}
|
||||
peerDependencies:
|
||||
'@fortawesome/fontawesome-svg-core': ~1 || ~6 || ~7
|
||||
react: ^16.3 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||
|
||||
'@freecodecamp/curriculum-helpers@5.4.1':
|
||||
resolution: {integrity: sha512-Lcy9sTrcbFbRY6HmaCKARDbulAAgJs7Tre5QRjmNyU0Bd1NLaf+9YLvcs84mCzHy+JP3itmIkxDAT9IHD4BArQ==}
|
||||
engines: {pnpm: '>= 10'}
|
||||
@@ -2929,8 +2935,8 @@ packages:
|
||||
'@freecodecamp/loop-protect@3.0.0':
|
||||
resolution: {integrity: sha512-5zIULL5pm7Ylkk2dPq1f/4KJTAV5KQZEAFQg/qFj0t18EBSNO3fjn3HdfE1sPocXhXom3DVvZO3Rl2sqifMFYQ==}
|
||||
|
||||
'@freecodecamp/ui@4.2.0':
|
||||
resolution: {integrity: sha512-r2WG/urJLGFOhqxA9YVISuoptWnXApE+cFDSL5dVk9nAHWzdCGA8aC0QlyH/YkDuth3UmsSBojJxYLXsyhrgmA==}
|
||||
'@freecodecamp/ui@4.3.0':
|
||||
resolution: {integrity: sha512-I+5O3a49EtaYafUAyA1S3RzMFefDr9usI6MxTuwE0+L3DE4lOq1hEXt3dBkRUHb3QcbzSjvMB2S3CbA+vlOgOQ==}
|
||||
engines: {node: '>=22', pnpm: '>=10'}
|
||||
peerDependencies:
|
||||
react: ^16.14.0 || ^17.0.0 || ^18.0.0
|
||||
@@ -3662,8 +3668,8 @@ packages:
|
||||
engines: {node: '>=18'}
|
||||
hasBin: true
|
||||
|
||||
'@radix-ui/primitive@1.1.2':
|
||||
resolution: {integrity: sha512-XnbHrrprsNqZKQhStrSwgRUQzoCI1glLzdw79xiZPoofhGICeZRSQ3dIxAKH1gb3OHfNf4d6f+vAv3kil2eggA==}
|
||||
'@radix-ui/primitive@1.1.3':
|
||||
resolution: {integrity: sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg==}
|
||||
|
||||
'@radix-ui/react-collection@1.1.7':
|
||||
resolution: {integrity: sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==}
|
||||
@@ -3714,8 +3720,8 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/react-presence@1.1.4':
|
||||
resolution: {integrity: sha512-ueDqRbdc4/bkaQT3GIpLQssRlFgWaL/U2z/S31qRwwLWoxHLgry3SIfCwhxeQNbirEUXFa+lq3RL3oBYXtcmIA==}
|
||||
'@radix-ui/react-presence@1.1.5':
|
||||
resolution: {integrity: sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
'@types/react-dom': '*'
|
||||
@@ -3740,8 +3746,8 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/react-roving-focus@1.1.10':
|
||||
resolution: {integrity: sha512-dT9aOXUen9JSsxnMPv/0VqySQf5eDQ6LCk5Sw28kamz8wSOW2bJdlX2Bg5VUIIcV+6XlHpWTIuTPCf/UNIyq8Q==}
|
||||
'@radix-ui/react-roving-focus@1.1.11':
|
||||
resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
'@types/react-dom': '*'
|
||||
@@ -3762,8 +3768,8 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
|
||||
'@radix-ui/react-tabs@1.1.12':
|
||||
resolution: {integrity: sha512-GTVAlRVrQrSw3cEARM0nAx73ixrWDPNZAruETn3oHCNP6SbZ/hNxdxp+u7VkIEv3/sFoLq1PfcHrl7Pnp0CDpw==}
|
||||
'@radix-ui/react-tabs@1.1.13':
|
||||
resolution: {integrity: sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==}
|
||||
peerDependencies:
|
||||
'@types/react': '*'
|
||||
'@types/react-dom': '*'
|
||||
@@ -17483,7 +17489,7 @@ snapshots:
|
||||
prop-types: 15.8.1
|
||||
react: 17.0.2
|
||||
|
||||
'@fortawesome/react-fontawesome@0.2.2(@fortawesome/fontawesome-svg-core@6.7.2)(react@17.0.2)':
|
||||
'@fortawesome/react-fontawesome@0.2.6(@fortawesome/fontawesome-svg-core@6.7.2)(react@17.0.2)':
|
||||
dependencies:
|
||||
'@fortawesome/fontawesome-svg-core': 6.7.2
|
||||
prop-types: 15.8.1
|
||||
@@ -17517,13 +17523,13 @@ snapshots:
|
||||
|
||||
'@freecodecamp/loop-protect@3.0.0': {}
|
||||
|
||||
'@freecodecamp/ui@4.2.0(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
'@freecodecamp/ui@4.3.0(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
'@fortawesome/fontawesome-svg-core': 6.7.2
|
||||
'@fortawesome/free-solid-svg-icons': 6.7.2
|
||||
'@fortawesome/react-fontawesome': 0.2.2(@fortawesome/fontawesome-svg-core@6.7.2)(react@17.0.2)
|
||||
'@fortawesome/react-fontawesome': 0.2.6(@fortawesome/fontawesome-svg-core@6.7.2)(react@17.0.2)
|
||||
'@headlessui/react': 1.7.19(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@radix-ui/react-tabs': 1.1.12(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@radix-ui/react-tabs': 1.1.13(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
babel-plugin-prismjs: 2.1.0(prismjs@1.30.0)
|
||||
prismjs: 1.30.0
|
||||
react: 17.0.2
|
||||
@@ -18469,7 +18475,7 @@ snapshots:
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@radix-ui/primitive@1.1.2': {}
|
||||
'@radix-ui/primitive@1.1.3': {}
|
||||
|
||||
'@radix-ui/react-collection@1.1.7(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
@@ -18508,7 +18514,7 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 17.0.83
|
||||
|
||||
'@radix-ui/react-presence@1.1.4(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
'@radix-ui/react-presence@1.1.5(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
'@radix-ui/react-compose-refs': 1.1.2(@types/react@17.0.83)(react@17.0.2)
|
||||
'@radix-ui/react-use-layout-effect': 1.1.1(@types/react@17.0.83)(react@17.0.2)
|
||||
@@ -18527,9 +18533,9 @@ snapshots:
|
||||
'@types/react': 17.0.83
|
||||
'@types/react-dom': 17.0.19
|
||||
|
||||
'@radix-ui/react-roving-focus@1.1.10(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
'@radix-ui/react-roving-focus@1.1.11(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
'@radix-ui/primitive': 1.1.2
|
||||
'@radix-ui/primitive': 1.1.3
|
||||
'@radix-ui/react-collection': 1.1.7(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@radix-ui/react-compose-refs': 1.1.2(@types/react@17.0.83)(react@17.0.2)
|
||||
'@radix-ui/react-context': 1.1.2(@types/react@17.0.83)(react@17.0.2)
|
||||
@@ -18551,15 +18557,15 @@ snapshots:
|
||||
optionalDependencies:
|
||||
'@types/react': 17.0.83
|
||||
|
||||
'@radix-ui/react-tabs@1.1.12(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
'@radix-ui/react-tabs@1.1.13(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)':
|
||||
dependencies:
|
||||
'@radix-ui/primitive': 1.1.2
|
||||
'@radix-ui/primitive': 1.1.3
|
||||
'@radix-ui/react-context': 1.1.2(@types/react@17.0.83)(react@17.0.2)
|
||||
'@radix-ui/react-direction': 1.1.1(@types/react@17.0.83)(react@17.0.2)
|
||||
'@radix-ui/react-id': 1.1.1(@types/react@17.0.83)(react@17.0.2)
|
||||
'@radix-ui/react-presence': 1.1.4(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@radix-ui/react-presence': 1.1.5(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@radix-ui/react-primitive': 2.1.3(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@radix-ui/react-roving-focus': 1.1.10(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@radix-ui/react-roving-focus': 1.1.11(@types/react-dom@17.0.19)(@types/react@17.0.83)(react-dom@17.0.2(react@17.0.2))(react@17.0.2)
|
||||
'@radix-ui/react-use-controllable-state': 1.2.2(@types/react@17.0.83)(react@17.0.2)
|
||||
react: 17.0.2
|
||||
react-dom: 17.0.2(react@17.0.2)
|
||||
|
||||
Reference in New Issue
Block a user