From 02f8175be7d8ca71276ffd1b203972fd665bde64 Mon Sep 17 00:00:00 2001 From: Alder Whiteford Date: Wed, 29 May 2024 00:53:26 -0400 Subject: [PATCH] Clean-up --- frontend/mobile/app/(app)/(tabs)/_layout.tsx | 30 ++- frontend/mobile/app/(app)/(tabs)/index.tsx | 2 +- frontend/mobile/app/(auth)/index.tsx | 5 - frontend/mobile/app/(design-system)/Colors.ts | 16 -- .../RecruitmentInfo/ClubRecruitmentInfo.tsx} | 24 ++- .../RecruitmentItem/ClubRecruitmentItem.tsx | 55 +++++ .../(design-system)/components/Icon/Icon.tsx | 10 +- .../components/club-recruitment-item.tsx | 51 ----- frontend/mobile/package.json | 2 + frontend/mobile/yarn.lock | 188 +++++++++++++++++- 10 files changed, 271 insertions(+), 112 deletions(-) delete mode 100644 frontend/mobile/app/(design-system)/Colors.ts rename frontend/mobile/{components/club-recruitment-info.tsx => app/(design-system)/components/ClubRecruitment/RecruitmentInfo/ClubRecruitmentInfo.tsx} (77%) create mode 100644 frontend/mobile/app/(design-system)/components/ClubRecruitment/RecruitmentItem/ClubRecruitmentItem.tsx delete mode 100644 frontend/mobile/components/club-recruitment-item.tsx diff --git a/frontend/mobile/app/(app)/(tabs)/_layout.tsx b/frontend/mobile/app/(app)/(tabs)/_layout.tsx index 9fa2df835..b0447b614 100644 --- a/frontend/mobile/app/(app)/(tabs)/_layout.tsx +++ b/frontend/mobile/app/(app)/(tabs)/_layout.tsx @@ -54,12 +54,10 @@ const Layout = () => { options={{ title: 'Home', headerShown: false, - tabBarLabel: ({ focused }) => ( - - ), - tabBarIcon: ({ focused }) => ( - - ) + tabBarLabel: ({ focused }) => + TabBarLabel({ focused, title: 'Home' }), + tabBarIcon: ({ focused }) => + TabBarIcon({ focused, icon: faHouse }) }} /> { options={{ title: 'Calendar', headerShown: false, - tabBarLabel: ({ focused }) => ( - - ), - tabBarIcon: ({ focused }) => ( - - ) + tabBarLabel: ({ focused }) => + TabBarLabel({ focused, title: 'Calendar' }), + tabBarIcon: ({ focused }) => + TabBarIcon({ focused, icon: faCalendarDays }) }} /> { options={{ title: 'Profile', headerShown: false, - tabBarLabel: ({ focused }) => ( - - ), - tabBarIcon: ({ focused }) => ( - - ) + tabBarLabel: ({ focused }) => + TabBarLabel({ focused, title: 'Profile' }), + tabBarIcon: ({ focused }) => + TabBarIcon({ focused, icon: faUser }) }} /> diff --git a/frontend/mobile/app/(app)/(tabs)/index.tsx b/frontend/mobile/app/(app)/(tabs)/index.tsx index c111c2b15..b59627075 100644 --- a/frontend/mobile/app/(app)/(tabs)/index.tsx +++ b/frontend/mobile/app/(app)/(tabs)/index.tsx @@ -1,7 +1,7 @@ import { StyleSheet, View } from 'react-native'; import { Text } from '@/app/(design-system)'; -import { RecruitmentInfo } from '@/components/club-recruitment-info'; +import { RecruitmentInfo } from '@/app/(design-system)/components/ClubRecruitment/RecruitmentInfo/ClubRecruitmentInfo'; const HomePage = () => { return ( diff --git a/frontend/mobile/app/(auth)/index.tsx b/frontend/mobile/app/(auth)/index.tsx index 09c4d6459..d1e4b89e7 100644 --- a/frontend/mobile/app/(auth)/index.tsx +++ b/frontend/mobile/app/(auth)/index.tsx @@ -1,15 +1,10 @@ import React from 'react'; import { Text, View } from 'react-native'; -import { Button } from '../(design-system)/components/Button/Button'; - const Welcome = () => { return ( Welcome - ); }; diff --git a/frontend/mobile/app/(design-system)/Colors.ts b/frontend/mobile/app/(design-system)/Colors.ts deleted file mode 100644 index 869edf08f..000000000 --- a/frontend/mobile/app/(design-system)/Colors.ts +++ /dev/null @@ -1,16 +0,0 @@ -// TODO: We will have to change these -export const Colors = { - darkBlue: '#0C3354', - darkRed: '#C8102E', - green: '#14AC3F', - blue: '#2663FF', - aqua: '#35B8E2', - purple: '#9226FF', - red: '#EC2215', - orange: '#FF7426', - yellow: '#FFB626', - black: '#000000', - gray: '#C3C9D0' -}; - -export type ColorName = keyof typeof Colors; diff --git a/frontend/mobile/components/club-recruitment-info.tsx b/frontend/mobile/app/(design-system)/components/ClubRecruitment/RecruitmentInfo/ClubRecruitmentInfo.tsx similarity index 77% rename from frontend/mobile/components/club-recruitment-info.tsx rename to frontend/mobile/app/(design-system)/components/ClubRecruitment/RecruitmentInfo/ClubRecruitmentInfo.tsx index bb211bb36..94ba83f68 100644 --- a/frontend/mobile/components/club-recruitment-info.tsx +++ b/frontend/mobile/app/(design-system)/components/ClubRecruitment/RecruitmentInfo/ClubRecruitmentInfo.tsx @@ -5,12 +5,12 @@ import { faComments } from '@fortawesome/free-solid-svg-icons/faComments'; import { faPenToSquare } from '@fortawesome/free-solid-svg-icons/faPenToSquare'; import { RecruitmentCycle, RecruitmentType } from '@generatesac/lib'; -import { Box, ColorName } from '@/app/(design-system)'; +import { Box, SACColors, createStyles } from '@/app/(design-system)'; -import { RecruitmentItem } from './club-recruitment-item'; +import { RecruitmentItem } from '../RecruitmentItem/ClubRecruitmentItem'; interface RecruitmentInfoProps { - color: ColorName; + color: SACColors; recruitmentCycle: RecruitmentCycle; recruitingType: RecruitmentType; isRecruiting?: boolean; @@ -25,13 +25,7 @@ export const RecruitmentInfo = ({ isRecruiting = false }: RecruitmentInfoProps) => { return ( - + ); }; + +const styles = createStyles({ + recruitmentInfo: { + padding: 'l', + flexDirection: 'row', + gap: 'm', + alignItems: 'stretch', + justifyContent: 'space-evenly' + } +}); diff --git a/frontend/mobile/app/(design-system)/components/ClubRecruitment/RecruitmentItem/ClubRecruitmentItem.tsx b/frontend/mobile/app/(design-system)/components/ClubRecruitment/RecruitmentItem/ClubRecruitmentItem.tsx new file mode 100644 index 000000000..7418f84d2 --- /dev/null +++ b/frontend/mobile/app/(design-system)/components/ClubRecruitment/RecruitmentItem/ClubRecruitmentItem.tsx @@ -0,0 +1,55 @@ +import { IconDefinition } from '@fortawesome/fontawesome-svg-core'; + +import { Box, SACColors, Text, createStyles } from '@/app/(design-system)'; +import { firstLetterUppercase } from '@/utils/string'; + +import { Icon } from '../../Icon/Icon'; + +interface RecruitmentItemProps { + icon: IconDefinition; + title: string; + text: string; + color: SACColors; +} + +export const RecruitmentItem = ({ + icon, + title, + text, + color +}: RecruitmentItemProps) => { + return ( + + + + + {firstLetterUppercase(title)} + + + {firstLetterUppercase(text)} + + + + ); +}; + +const styles = createStyles({ + recruitmentItem: { + alignItems: 'center', + borderWidth: 1, + borderRadius: 'base', + borderColor: 'gray', + width: '33%' + }, + recruitmentItemContent: { + paddingTop: 'm', + paddingBottom: 'm', + gap: 'xs', + flexDirection: 'column', + alignItems: 'center' + }, + recruitmentItemTitle: { + textAlign: 'center', + fontWeight: '600' + } +}); diff --git a/frontend/mobile/app/(design-system)/components/Icon/Icon.tsx b/frontend/mobile/app/(design-system)/components/Icon/Icon.tsx index 8a43abbaa..49adb8d43 100644 --- a/frontend/mobile/app/(design-system)/components/Icon/Icon.tsx +++ b/frontend/mobile/app/(design-system)/components/Icon/Icon.tsx @@ -1,7 +1,7 @@ import { IconDefinition } from '@fortawesome/fontawesome-svg-core'; import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome'; -import { SACColors } from '../../shared/colors'; +import { Colors, SACColors, defaultColor } from '../../shared/colors'; import { ComponentSizes } from '../../shared/types'; import { createStyles } from '../../theme'; @@ -11,12 +11,16 @@ type IconProps = { color?: SACColors; }; -export const Icon: React.FC = ({ icon, size = 'medium', color }) => { +export const Icon: React.FC = ({ + icon, + size = 'medium', + color = defaultColor +}) => { return ( ); }; diff --git a/frontend/mobile/components/club-recruitment-item.tsx b/frontend/mobile/components/club-recruitment-item.tsx deleted file mode 100644 index 2bbe7c1b8..000000000 --- a/frontend/mobile/components/club-recruitment-item.tsx +++ /dev/null @@ -1,51 +0,0 @@ -import { IconDefinition } from '@fortawesome/fontawesome-svg-core'; -import { FontAwesomeIcon } from '@fortawesome/react-native-fontawesome'; - -import { Box, ColorName, Colors, Text } from '@/app/(design-system)'; -import { firstLetterUppercase } from '@/utils/string'; - -interface RecruitmentItemProps { - icon: IconDefinition; - title: string; - text: string; - color: ColorName; -} - -export const RecruitmentItem = ({ - icon, - title, - text, - color -}: RecruitmentItemProps) => { - return ( - - - - - {firstLetterUppercase(title)} - - - {firstLetterUppercase(text)} - - - - ); -}; diff --git a/frontend/mobile/package.json b/frontend/mobile/package.json index 3c05ea861..09798a845 100644 --- a/frontend/mobile/package.json +++ b/frontend/mobile/package.json @@ -47,6 +47,8 @@ "react-native-reanimated": "^3.11.0", "react-native-safe-area-context": "4.10.1", "react-native-screens": "3.31.1", + "react-native-svg": "^15.3.0", + "react-native-svg-transformer": "^1.4.0", "react-native-web": "~0.19.10", "react-redux": "^9.1.2" }, diff --git a/frontend/mobile/yarn.lock b/frontend/mobile/yarn.lock index c2ae8f0d7..9ae50c011 100644 --- a/frontend/mobile/yarn.lock +++ b/frontend/mobile/yarn.lock @@ -870,7 +870,7 @@ "@babel/helper-validator-identifier" "^7.16.7" to-fast-properties "^2.0.0" -"@babel/types@^7.0.0", "@babel/types@^7.17.0", "@babel/types@^7.20.0", "@babel/types@^7.20.7", "@babel/types@^7.23.0", "@babel/types@^7.24.6", "@babel/types@^7.3.3": +"@babel/types@^7.0.0", "@babel/types@^7.17.0", "@babel/types@^7.20.0", "@babel/types@^7.20.7", "@babel/types@^7.21.3", "@babel/types@^7.23.0", "@babel/types@^7.24.6", "@babel/types@^7.3.3": version "7.24.6" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.6.tgz#ba4e1f59870c10dc2fa95a274ac4feec23b21912" integrity sha512-WaMsgi6Q8zMgMth93GvWPXkhAIEobfsIkLTacoVZoK1J0CevIPGYY2Vo5YvJGqyHqXM6P4ppOYGsIRU8MM9pFQ== @@ -1367,7 +1367,7 @@ "@floating-ui/utils@^0.2.0": version "0.2.2" - resolved "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.2.tgz" + resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.2.tgz#d8bae93ac8b815b2bd7a98078cf91e2724ef11e5" integrity sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw== "@fortawesome/fontawesome-common-types@6.5.2": @@ -1435,17 +1435,17 @@ "@graphql-typed-document-node/core@^3.1.0": version "3.2.0" - resolved "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.2.0.tgz" + resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861" integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ== "@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0": version "9.3.0" - resolved "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz" + resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb" integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ== "@hapi/topo@^5.1.0": version "5.1.0" - resolved "https://registry.npmjs.org/@hapi/topo/-/topo-5.1.0.tgz" + resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012" integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg== dependencies: "@hapi/hoek" "^9.0.0" @@ -2433,6 +2433,33 @@ cosmiconfig "^8.1.3" snake-case "^3.0.4" +"@svgr/hast-util-to-babel-ast@8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-8.0.0.tgz#6952fd9ce0f470e1aded293b792a2705faf4ffd4" + integrity sha512-EbDKwO9GpfWP4jN9sGdYwPBU0kdomaPIL2Eu4YwmgP+sJeXT+L7bMwJUBnhzfH8Q2qMBqZ4fJwpCyYsAN3mt2Q== + dependencies: + "@babel/types" "^7.21.3" + entities "^4.4.0" + +"@svgr/plugin-jsx@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@svgr/plugin-jsx/-/plugin-jsx-8.1.0.tgz#96969f04a24b58b174ee4cd974c60475acbd6928" + integrity sha512-0xiIyBsLlr8quN+WyuxooNW9RJ0Dpr8uOnH/xrCVO8GLUcwHISwj1AG0k+LFzteTkAA0GbX0kj9q6Dk70PTiPA== + dependencies: + "@babel/core" "^7.21.3" + "@svgr/babel-preset" "8.1.0" + "@svgr/hast-util-to-babel-ast" "8.0.0" + svg-parser "^2.0.4" + +"@svgr/plugin-svgo@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@svgr/plugin-svgo/-/plugin-svgo-8.1.0.tgz#b115b7b967b564f89ac58feae89b88c3decd0f00" + integrity sha512-Ywtl837OGO9pTLIN/onoWLmDQ4zFUycI1g76vuKGEz6evR/ZTJlJuz3G/fIkb6OVBJ2g0o6CGJzaEjfmEo3AHA== + dependencies: + cosmiconfig "^8.1.3" + deepmerge "^4.3.1" + svgo "^3.0.2" + "@tiptap/core@^2.0.3": version "2.4.0" resolved "https://registry.yarnpkg.com/@tiptap/core/-/core-2.4.0.tgz#6f8eee8beb5b89363582366b201ccc4798ac98a9" @@ -2593,6 +2620,11 @@ javascript-natural-sort "0.7.1" lodash "^4.17.21" +"@trysound/sax@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" + integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== + "@types/babel__core@^7.1.14": version "7.20.5" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" @@ -3425,6 +3457,11 @@ bl@^4.1.0: inherits "^2.0.4" readable-stream "^3.4.0" +boolbase@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" + integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== + bplist-creator@0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/bplist-creator/-/bplist-creator-0.1.0.tgz#018a2d1b587f769e379ef5519103730f8963ba1e" @@ -4001,6 +4038,53 @@ css-in-js-utils@^3.1.0: dependencies: hyphenate-style-name "^1.0.3" +css-select@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" + integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg== + dependencies: + boolbase "^1.0.0" + css-what "^6.1.0" + domhandler "^5.0.2" + domutils "^3.0.1" + nth-check "^2.0.1" + +css-tree@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.1.3.tgz#eb4870fb6fd7707327ec95c2ff2ab09b5e8db91d" + integrity sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q== + dependencies: + mdn-data "2.0.14" + source-map "^0.6.1" + +css-tree@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.3.1.tgz#10264ce1e5442e8572fc82fbe490644ff54b5c20" + integrity sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw== + dependencies: + mdn-data "2.0.30" + source-map-js "^1.0.1" + +css-tree@~2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-2.2.1.tgz#36115d382d60afd271e377f9c5f67d02bd48c032" + integrity sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA== + dependencies: + mdn-data "2.0.28" + source-map-js "^1.0.1" + +css-what@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" + integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== + +csso@^5.0.5: + version "5.0.5" + resolved "https://registry.yarnpkg.com/csso/-/csso-5.0.5.tgz#f9b7fe6cc6ac0b7d90781bb16d5e9874303e2ca6" + integrity sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ== + dependencies: + css-tree "~2.2.0" + cssom@^0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.5.0.tgz#d254fa92cd8b6fbd83811b9fbaed34663cc17c36" @@ -4132,7 +4216,7 @@ deep-is@^0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== -deepmerge@^4.2.2, deepmerge@^4.3.0: +deepmerge@^4.2.2, deepmerge@^4.3.0, deepmerge@^4.3.1: version "4.3.1" resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== @@ -4260,6 +4344,20 @@ doctrine@^3.0.0: dependencies: esutils "^2.0.2" +dom-serializer@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-2.0.0.tgz#e41b802e1eedf9f6cae183ce5e622d789d7d8e53" + integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg== + dependencies: + domelementtype "^2.3.0" + domhandler "^5.0.2" + entities "^4.2.0" + +domelementtype@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" + integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== + domexception@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/domexception/-/domexception-4.0.0.tgz#4ad1be56ccadc86fc76d033353999a8037d03673" @@ -4267,6 +4365,22 @@ domexception@^4.0.0: dependencies: webidl-conversions "^7.0.0" +domhandler@^5.0.2, domhandler@^5.0.3: + version "5.0.3" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31" + integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w== + dependencies: + domelementtype "^2.3.0" + +domutils@^3.0.1: + version "3.1.0" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-3.1.0.tgz#c47f551278d3dc4b0b1ab8cbb42d751a6f0d824e" + integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA== + dependencies: + dom-serializer "^2.0.0" + domelementtype "^2.3.0" + domhandler "^5.0.3" + dot-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" @@ -4329,7 +4443,7 @@ end-of-stream@^1.1.0: dependencies: once "^1.4.0" -entities@^4.4.0: +entities@^4.2.0, entities@^4.4.0: version "4.5.0" resolved "https://registry.yarnpkg.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== @@ -7396,6 +7510,21 @@ mdast-util-to-string@^3.0.0, mdast-util-to-string@^3.1.0: dependencies: "@types/mdast" "^3.0.0" +mdn-data@2.0.14: + version "2.0.14" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" + integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== + +mdn-data@2.0.28: + version "2.0.28" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.28.tgz#5ec48e7bef120654539069e1ae4ddc81ca490eba" + integrity sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g== + +mdn-data@2.0.30: + version "2.0.30" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.30.tgz#ce4df6f80af6cfbe218ecd5c552ba13c4dfa08cc" + integrity sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA== + mdurl@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0" @@ -8164,6 +8293,13 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" +nth-check@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" + integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== + dependencies: + boolbase "^1.0.0" + nullthrows@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/nullthrows/-/nullthrows-1.1.1.tgz#7818258843856ae971eae4208ad7d7eb19a431b1" @@ -9022,6 +9158,24 @@ react-native-screens@3.31.1: react-freeze "^1.0.0" warn-once "^0.1.0" +react-native-svg-transformer@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/react-native-svg-transformer/-/react-native-svg-transformer-1.4.0.tgz#d17502d3659cfe58780ca28cb13b353cb68bbd76" + integrity sha512-ZJ9dpSl8EONXbFQcVoGVr0cAl/7Vm/sKtOH1V6Mf9lcdyeT1/rfww43xgSfQWjmneTNTTXjslM5EoyZTHPfawQ== + dependencies: + "@svgr/core" "^8.1.0" + "@svgr/plugin-jsx" "^8.1.0" + "@svgr/plugin-svgo" "^8.1.0" + path-dirname "^1.0.2" + +react-native-svg@^15.3.0: + version "15.3.0" + resolved "https://registry.yarnpkg.com/react-native-svg/-/react-native-svg-15.3.0.tgz#e24b833fe330714c99f1dd894bb0da52ad859a4c" + integrity sha512-mBHu/fdlzUbpGX8SZFxgbKvK/sgqLfDLP8uh8G7Us+zJgdjO8OSEeqHQs+kPRdQmdLJQiqPJX2WXgCl7ToTWqw== + dependencies: + css-select "^5.1.0" + css-tree "^1.1.3" + react-native-web@~0.19.10: version "0.19.12" resolved "https://registry.yarnpkg.com/react-native-web/-/react-native-web-0.19.12.tgz#30d1fd70bdff7886f43c0c2698629d830fade6bc" @@ -9829,7 +9983,7 @@ snake-case@^3.0.4: dot-case "^3.0.4" tslib "^2.0.3" -source-map-js@^1.2.0: +source-map-js@^1.0.1, source-map-js@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af" integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg== @@ -10197,6 +10351,24 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +svg-parser@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5" + integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ== + +svgo@^3.0.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/svgo/-/svgo-3.3.2.tgz#ad58002652dffbb5986fc9716afe52d869ecbda8" + integrity sha512-OoohrmuUlBs8B8o6MB2Aevn+pRIH9zDALSR+6hhqVfa6fRwG/Qw9VUMSMW9VNg2CFc/MTIfabtdOVl9ODIJjpw== + dependencies: + "@trysound/sax" "0.2.0" + commander "^7.2.0" + css-select "^5.1.0" + css-tree "^2.3.1" + css-what "^6.1.0" + csso "^5.0.5" + picocolors "^1.0.0" + symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"