diff --git a/package.json b/package.json index 7821ee20..feee5802 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "@sentry/vite-plugin": "^2.10.2", "axios": "^1.6.5", "eslint-plugin-react": "^7.33.2", + "grapheme-splitter": "^1.0.4", "lottie-react": "^2.4.0", "postcss": "^8.4.33", "postcss-styled-syntax": "^0.6.3", diff --git a/src/CreateBook/components/CompleteButton/index.tsx b/src/CreateBook/components/CompleteButton/index.tsx index d5dc9204..7250bf09 100644 --- a/src/CreateBook/components/CompleteButton/index.tsx +++ b/src/CreateBook/components/CompleteButton/index.tsx @@ -4,12 +4,17 @@ import * as S from './CompleteButton.style'; interface CompleteButtonProps { isActive: boolean; onClick: () => void; + backgroundColor: string; } -function CompleteButton({ isActive, onClick }: CompleteButtonProps) { +function CompleteButton({ + isActive, + onClick, + backgroundColor, +}: CompleteButtonProps) { return ( - diff --git a/src/CreateBook/components/SelectColor/SelectColor.style.ts b/src/CreateBook/components/SelectColor/SelectColor.style.ts index f1a48128..a0c34153 100644 --- a/src/CreateBook/components/SelectColor/SelectColor.style.ts +++ b/src/CreateBook/components/SelectColor/SelectColor.style.ts @@ -5,9 +5,9 @@ export const Wrapper = styled.article` gap: 1.6rem; flex-direction: column; `; -export const Category = styled.p` +export const Category = styled.p<{ variant: boolean }>` display: flex; - ${({ theme }) => theme.colors.BG}; + color: ${({ theme, variant }) => (variant ? theme.colors.white : theme.colors.BG)}; ${({ theme }) => theme.fonts.Title1_SB_16}; `; diff --git a/src/CreateBook/components/SelectColor/index.tsx b/src/CreateBook/components/SelectColor/index.tsx index 94ed57d2..d4b6faab 100644 --- a/src/CreateBook/components/SelectColor/index.tsx +++ b/src/CreateBook/components/SelectColor/index.tsx @@ -12,7 +12,9 @@ function SelectColor({ }: SelectColorProps) { return ( - 레큐북 배경색 + + 레큐북 배경색 + diff --git a/src/CreateBook/components/ShowColorChart/index.tsx b/src/CreateBook/components/ShowColorChart/index.tsx index 6fe4ce7f..e98fb7a2 100644 --- a/src/CreateBook/components/ShowColorChart/index.tsx +++ b/src/CreateBook/components/ShowColorChart/index.tsx @@ -11,17 +11,17 @@ function ShowColorChart({ backgroundColor, handleFn }: ShowColorChartProps) { handleFn('#191919')} - variant={backgroundColor === '#191919'} + $colorCode={'#F5F5F5'} + onClick={() => handleFn('#F5F5F5')} + variant={backgroundColor === '#F5F5F5'} > handleFn('#F5F5F5')} - variant={backgroundColor === '#F5F5F5'} + $colorCode={'#191919'} + onClick={() => handleFn('#191919')} + variant={backgroundColor === '#191919'} > diff --git a/src/CreateBook/page/CreateBook.style.ts b/src/CreateBook/page/CreateBook.style.ts index efaaa0f2..9ab6ca19 100644 --- a/src/CreateBook/page/CreateBook.style.ts +++ b/src/CreateBook/page/CreateBook.style.ts @@ -1,11 +1,13 @@ import styled from '@emotion/styled'; -export const CreateBookWrapper = styled.section` +export const CreateBookWrapper = styled.section<{ $backgroundColor: string }>` display: flex; flex-direction: column; width: 100vw; height: 100dvh; + + background-color: ${({ $backgroundColor }) => $backgroundColor}; `; export const CreateBookBodyWrapper = styled.div` @@ -23,8 +25,9 @@ export const InputWrapper = styled.div` width: 100%; `; -export const SectionTitle = styled.p` - color: ${({ theme }) => theme.colors.BG}; +export const SectionTitle = styled.p<{ variant: boolean }>` + color: ${({ theme, variant }) => + variant ? theme.colors.white : theme.colors.BG}; ${({ theme }) => theme.fonts.Head2_SB_18}; `; diff --git a/src/CreateBook/page/index.tsx b/src/CreateBook/page/index.tsx index 746d9d69..287944a3 100644 --- a/src/CreateBook/page/index.tsx +++ b/src/CreateBook/page/index.tsx @@ -12,7 +12,7 @@ import * as S from './CreateBook.style'; function CreateBook() { const [title, setTitle] = useState(''); const [description, setDescription] = useState(''); - const [backgroundColor, setBackgroundColor] = useState('#191919'); + const [backgroundColor, setBackgroundColor] = useState('#F5F5F5'); const location = useLocation(); const navigate = useNavigate(); const { presignedFileName, name } = location.state || {}; @@ -31,16 +31,16 @@ function CreateBook() { }; return ( - +
- 레큐북 제목 + 레큐북 제목 setTitle(title)} /> - 레큐북 소개 + 레큐북 소개 setDescription(description)} @@ -54,6 +54,7 @@ function CreateBook() { /> diff --git a/src/LecueNote/components/WriteNote/index.tsx b/src/LecueNote/components/WriteNote/index.tsx index 2904f0bc..c5e47a4a 100644 --- a/src/LecueNote/components/WriteNote/index.tsx +++ b/src/LecueNote/components/WriteNote/index.tsx @@ -1,3 +1,4 @@ +import GraphemeSplitter from 'grapheme-splitter'; import { useEffect, useState } from 'react'; import { WriteNoteProps } from '../../type/lecueNoteType'; @@ -13,6 +14,8 @@ function WriteNote({ }: WriteNoteProps) { const nickname = '와라라라랄라'; + // 이모지 글자 수 세기 관련 라이브러리 + const split = new GraphemeSplitter(); const today = new Date(); const [dateArr, setDateArr] = useState([0, 0, 0]); @@ -33,7 +36,7 @@ function WriteNote({ {dateArr[0]}.{dateArr[1]}.{dateArr[2]} - ({contents.length}/1000) + ({split.splitGraphemes(contents).length}/1000) *욕설/비속어는 자동 필터링됩니다. diff --git a/src/components/common/Button/Button.style.ts b/src/components/common/Button/Button.style.ts index 9297b813..126604d5 100644 --- a/src/components/common/Button/Button.style.ts +++ b/src/components/common/Button/Button.style.ts @@ -2,13 +2,18 @@ import styled from '@emotion/styled'; export type ButtonStyle = 'choose' | 'complete'; -export const CustomButton = styled.button<{ variant: ButtonStyle }>` +export const CustomButton = styled.button<{ + variant: ButtonStyle; + $bookBackgroundColor?: string; +}>` width: 100%; height: 6rem; border-radius: 0.625rem; - background-color: ${({ theme, variant }) => - variant === 'choose' ? theme.colors.key : theme.colors.BG}; + background-color: ${({ theme, variant, $bookBackgroundColor }) => + variant === 'choose' || $bookBackgroundColor === '#191919' + ? theme.colors.key + : theme.colors.BG}; color: ${({ theme }) => theme.colors.white}; ${({ theme }) => theme.fonts.Head2_SB_18}; diff --git a/src/components/common/Button/index.tsx b/src/components/common/Button/index.tsx index b98ee569..88dc6f96 100644 --- a/src/components/common/Button/index.tsx +++ b/src/components/common/Button/index.tsx @@ -8,17 +8,19 @@ export interface ButtonProps 'type' | 'disabled' | 'onClick' > { variant: S.ButtonStyle; + backgroundColor?: string; children: ReactNode; } function Button(props: ButtonProps) { - const { children, onClick, disabled, variant } = props; + const { children, onClick, disabled, variant, backgroundColor } = props; return ( {children} diff --git a/src/components/common/Modal/CommonModalForm/index.tsx b/src/components/common/Modal/CommonModalForm/index.tsx index 2b5331fe..38786c0d 100644 --- a/src/components/common/Modal/CommonModalForm/index.tsx +++ b/src/components/common/Modal/CommonModalForm/index.tsx @@ -1,4 +1,5 @@ import { useEffect, useState } from 'react'; +import { useNavigate } from 'react-router-dom'; import { MODAL_CONTETNS } from '../constants/ModalContents'; import * as S from './CommonModalForm.style'; @@ -9,7 +10,30 @@ interface CommonModalFormProps { } function CommonModalForm({ onClose, category }: CommonModalFormProps) { + const navigate = useNavigate(); const [idx, setIdx] = useState(0); + + const handleClickRightBtn = () => { + onClose(); + switch (category) { + case 'note_complete': + break; + case 'note_escape': + break; + case 'book_escape': + break; + case 'book_create': + break; + case 'book_delete': + break; + case 'login': + navigate('/login'); + break; + default: + break; + } + }; + useEffect(() => { switch (category) { case 'note_complete': @@ -47,7 +71,11 @@ function CommonModalForm({ onClose, category }: CommonModalFormProps) { )} - + {MODAL_CONTETNS[idx].rightBtn} diff --git a/yarn.lock b/yarn.lock index 496bf54f..9a0c3f2a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -179,7 +179,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2": +"@babel/runtime@^7.12.5", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.8", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2": version "7.23.8" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.8.tgz#8ee6fe1ac47add7122902f257b8ddf55c898f650" integrity sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw== @@ -983,15 +983,15 @@ integrity sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A== "@typescript-eslint/eslint-plugin@^6.16.0": - version "6.18.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.18.1.tgz#0df881a47da1c1a9774f39495f5f7052f86b72e0" - integrity sha512-nISDRYnnIpk7VCFrGcu1rnZfM1Dh9LRHnfgdkjcbi/l7g16VYRri3TjXi9Ir4lOZSw5N/gnV/3H7jIPQ8Q4daA== + version "6.19.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.0.tgz#db03f3313b57a30fbbdad2e6929e88fc7feaf9ba" + integrity sha512-DUCUkQNklCQYnrBSSikjVChdc84/vMPDQSgJTHBZ64G9bA9w0Crc0rd2diujKbTdp6w2J47qkeHQLoi0rpLCdg== dependencies: "@eslint-community/regexpp" "^4.5.1" - "@typescript-eslint/scope-manager" "6.18.1" - "@typescript-eslint/type-utils" "6.18.1" - "@typescript-eslint/utils" "6.18.1" - "@typescript-eslint/visitor-keys" "6.18.1" + "@typescript-eslint/scope-manager" "6.19.0" + "@typescript-eslint/type-utils" "6.19.0" + "@typescript-eslint/utils" "6.19.0" + "@typescript-eslint/visitor-keys" "6.19.0" debug "^4.3.4" graphemer "^1.4.0" ignore "^5.2.4" @@ -1000,46 +1000,46 @@ ts-api-utils "^1.0.1" "@typescript-eslint/parser@^6.16.0": - version "6.18.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.18.1.tgz#3c3987e186b38c77b30b6bfa5edf7c98ae2ec9d3" - integrity sha512-zct/MdJnVaRRNy9e84XnVtRv9Vf91/qqe+hZJtKanjojud4wAVy/7lXxJmMyX6X6J+xc6c//YEWvpeif8cAhWA== - dependencies: - "@typescript-eslint/scope-manager" "6.18.1" - "@typescript-eslint/types" "6.18.1" - "@typescript-eslint/typescript-estree" "6.18.1" - "@typescript-eslint/visitor-keys" "6.18.1" + version "6.19.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.19.0.tgz#80344086f362181890ade7e94fc35fe0480bfdf5" + integrity sha512-1DyBLG5SH7PYCd00QlroiW60YJ4rWMuUGa/JBV0iZuqi4l4IK3twKPq5ZkEebmGqRjXWVgsUzfd3+nZveewgow== + dependencies: + "@typescript-eslint/scope-manager" "6.19.0" + "@typescript-eslint/types" "6.19.0" + "@typescript-eslint/typescript-estree" "6.19.0" + "@typescript-eslint/visitor-keys" "6.19.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@6.18.1": - version "6.18.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.18.1.tgz#28c31c60f6e5827996aa3560a538693cb4bd3848" - integrity sha512-BgdBwXPFmZzaZUuw6wKiHKIovms97a7eTImjkXCZE04TGHysG+0hDQPmygyvgtkoB/aOQwSM/nWv3LzrOIQOBw== +"@typescript-eslint/scope-manager@6.19.0": + version "6.19.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.19.0.tgz#b6d2abb825b29ab70cb542d220e40c61c1678116" + integrity sha512-dO1XMhV2ehBI6QN8Ufi7I10wmUovmLU0Oru3n5LVlM2JuzB4M+dVphCPLkVpKvGij2j/pHBWuJ9piuXx+BhzxQ== dependencies: - "@typescript-eslint/types" "6.18.1" - "@typescript-eslint/visitor-keys" "6.18.1" + "@typescript-eslint/types" "6.19.0" + "@typescript-eslint/visitor-keys" "6.19.0" -"@typescript-eslint/type-utils@6.18.1": - version "6.18.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.18.1.tgz#115cf535f8b39db8301677199ce51151e2daee96" - integrity sha512-wyOSKhuzHeU/5pcRDP2G2Ndci+4g653V43gXTpt4nbyoIOAASkGDA9JIAgbQCdCkcr1MvpSYWzxTz0olCn8+/Q== +"@typescript-eslint/type-utils@6.19.0": + version "6.19.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.19.0.tgz#522a494ef0d3e9fdc5e23a7c22c9331bbade0101" + integrity sha512-mcvS6WSWbjiSxKCwBcXtOM5pRkPQ6kcDds/juxcy/727IQr3xMEcwr/YLHW2A2+Fp5ql6khjbKBzOyjuPqGi/w== dependencies: - "@typescript-eslint/typescript-estree" "6.18.1" - "@typescript-eslint/utils" "6.18.1" + "@typescript-eslint/typescript-estree" "6.19.0" + "@typescript-eslint/utils" "6.19.0" debug "^4.3.4" ts-api-utils "^1.0.1" -"@typescript-eslint/types@6.18.1": - version "6.18.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.18.1.tgz#91617d8080bcd99ac355d9157079970d1d49fefc" - integrity sha512-4TuMAe+tc5oA7wwfqMtB0Y5OrREPF1GeJBAjqwgZh1lEMH5PJQgWgHGfYufVB51LtjD+peZylmeyxUXPfENLCw== +"@typescript-eslint/types@6.19.0": + version "6.19.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.19.0.tgz#689b0498c436272a6a2059b09f44bcbd90de294a" + integrity sha512-lFviGV/vYhOy3m8BJ/nAKoAyNhInTdXpftonhWle66XHAtT1ouBlkjL496b5H5hb8dWXHwtypTqgtb/DEa+j5A== -"@typescript-eslint/typescript-estree@6.18.1": - version "6.18.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.18.1.tgz#a12b6440175b4cbc9d09ab3c4966c6b245215ab4" - integrity sha512-fv9B94UAhywPRhUeeV/v+3SBDvcPiLxRZJw/xZeeGgRLQZ6rLMG+8krrJUyIf6s1ecWTzlsbp0rlw7n9sjufHA== +"@typescript-eslint/typescript-estree@6.19.0": + version "6.19.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.0.tgz#0813ba364a409afb4d62348aec0202600cb468fa" + integrity sha512-o/zefXIbbLBZ8YJ51NlkSAt2BamrK6XOmuxSR3hynMIzzyMY33KuJ9vuMdFSXW+H0tVvdF9qBPTHA91HDb4BIQ== dependencies: - "@typescript-eslint/types" "6.18.1" - "@typescript-eslint/visitor-keys" "6.18.1" + "@typescript-eslint/types" "6.19.0" + "@typescript-eslint/visitor-keys" "6.19.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" @@ -1047,25 +1047,25 @@ semver "^7.5.4" ts-api-utils "^1.0.1" -"@typescript-eslint/utils@6.18.1": - version "6.18.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.18.1.tgz#3451cfe2e56babb6ac657e10b6703393d4b82955" - integrity sha512-zZmTuVZvD1wpoceHvoQpOiewmWu3uP9FuTWo8vqpy2ffsmfCE8mklRPi+vmnIYAIk9t/4kOThri2QCDgor+OpQ== +"@typescript-eslint/utils@6.19.0": + version "6.19.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.19.0.tgz#557b72c3eeb4f73bef8037c85dae57b21beb1a4b" + integrity sha512-QR41YXySiuN++/dC9UArYOg4X86OAYP83OWTewpVx5ct1IZhjjgTLocj7QNxGhWoTqknsgpl7L+hGygCO+sdYw== dependencies: "@eslint-community/eslint-utils" "^4.4.0" "@types/json-schema" "^7.0.12" "@types/semver" "^7.5.0" - "@typescript-eslint/scope-manager" "6.18.1" - "@typescript-eslint/types" "6.18.1" - "@typescript-eslint/typescript-estree" "6.18.1" + "@typescript-eslint/scope-manager" "6.19.0" + "@typescript-eslint/types" "6.19.0" + "@typescript-eslint/typescript-estree" "6.19.0" semver "^7.5.4" -"@typescript-eslint/visitor-keys@6.18.1": - version "6.18.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.18.1.tgz#704d789bda2565a15475e7d22f145b8fe77443f4" - integrity sha512-/kvt0C5lRqGoCfsbmm7/CwMqoSkY3zzHLIjdhHZQW3VFrnz7ATecOHR7nb7V+xn4286MBxfnQfQhAmCI0u+bJA== +"@typescript-eslint/visitor-keys@6.19.0": + version "6.19.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.0.tgz#4565e0ecd63ca1f81b96f1dd76e49f746c6b2b49" + integrity sha512-hZaUCORLgubBvtGpp1JEFEazcuEdfxta9j4iUwdSAr7mEsYYAp3EAUyCZk3VEEqGj6W+AV4uWyrDGtrlawAsgQ== dependencies: - "@typescript-eslint/types" "6.18.1" + "@typescript-eslint/types" "6.19.0" eslint-visitor-keys "^3.4.1" "@ungap/structured-clone@^1.2.0": @@ -1357,9 +1357,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001565: - version "1.0.30001576" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz#893be772cf8ee6056d6c1e2d07df365b9ec0a5c4" - integrity sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg== + version "1.0.30001577" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001577.tgz#a24991eb4ad67324ba8b96716340d53151f2f6f8" + integrity sha512-rs2ZygrG1PNXMfmncM0B5H1hndY5ZCC9b5TkFaVNfZ+AUlyqcMyVIQtc3fsezi0NUCk5XZfDf9WS6WxMxnfdrg== chalk@^2.4.2: version "2.4.2" @@ -1592,9 +1592,9 @@ eastasianwidth@^0.2.0: integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== electron-to-chromium@^1.4.601: - version "1.4.630" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.630.tgz#1d9f4169653784997bec98975e11a2c05214ce39" - integrity sha512-osHqhtjojpCsACVnuD11xO5g9xaCyw7Qqn/C2KParkMv42i8jrJJgx3g7mkHfpxwhy9MnOJr8+pKOdZ7qzgizg== + version "1.4.633" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.633.tgz#df8831d2fef994fe9c013e61db6cfb98eeebf52d" + integrity sha512-7BvxzXrHFliyQ1oZc6NRMjyEaKOO1Ma1NY98sFZofogWlm+klLWSgrDw7EhatiMgi4R4NV+iWxDdxuIKXtPbOw== emoji-regex@^8.0.0: version "8.0.0" @@ -2172,6 +2172,11 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" +grapheme-splitter@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" + integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== + graphemer@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/graphemer/-/graphemer-1.4.0.tgz#fb2f1d55e0e3a1849aeffc90c4fa0dd53a0e66c6" @@ -2671,12 +2676,12 @@ magic-string@0.27.0: "@jridgewell/sourcemap-codec" "^1.4.13" match-sorter@^6.0.2: - version "6.3.1" - resolved "https://registry.yarnpkg.com/match-sorter/-/match-sorter-6.3.1.tgz#98cc37fda756093424ddf3cbc62bfe9c75b92bda" - integrity sha512-mxybbo3pPNuA+ZuCUhm5bwNkXrJTbsk5VWbR5wiwz/GC6LIiegBGn2w3O08UG/jdbYLinw51fSQ5xNU1U3MgBw== + version "6.3.3" + resolved "https://registry.yarnpkg.com/match-sorter/-/match-sorter-6.3.3.tgz#95bd788b9d33e1a7f0b8d78434895e2e8ecf40da" + integrity sha512-sgiXxrRijEe0SzHKGX4HouCpfHRPnqteH42UdMEW7BlWy990ZkzcvonJGv4Uu9WE7Y1f8Yocm91+4qFPCbmNww== dependencies: - "@babel/runtime" "^7.12.5" - remove-accents "0.4.2" + "@babel/runtime" "^7.23.8" + remove-accents "0.5.0" mathml-tag-names@^2.1.3: version "2.1.3" @@ -3132,10 +3137,10 @@ regexp.prototype.flags@^1.5.0, regexp.prototype.flags@^1.5.1: define-properties "^1.2.0" set-function-name "^2.0.0" -remove-accents@0.4.2: - version "0.4.2" - resolved "https://registry.yarnpkg.com/remove-accents/-/remove-accents-0.4.2.tgz#0a43d3aaae1e80db919e07ae254b285d9e1c7bb5" - integrity sha512-7pXIJqJOq5tFgG1A2Zxti3Ht8jJF337m4sowbuHsW30ZnkQFnDzy9qBNhgzX8ZLW4+UBcXiiR7SwR6pokHsxiA== +remove-accents@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/remove-accents/-/remove-accents-0.5.0.tgz#77991f37ba212afba162e375b627631315bed687" + integrity sha512-8g3/Otx1eJaVD12e31UbJj1YzdtVvzH85HV7t+9MJYk/u3XmkOUJ5Ys9wQrf9PCPK8+xn4ymzqYCiZl6QWKn+A== require-from-string@^2.0.2: version "2.0.2" @@ -3219,12 +3224,12 @@ run-parallel@^1.1.9: queue-microtask "^1.2.2" safe-array-concat@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c" - integrity sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q== + version "1.1.0" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.0.tgz#8d0cae9cb806d6d1c06e08ab13d847293ebe0692" + integrity sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.2.1" + call-bind "^1.0.5" + get-intrinsic "^1.2.2" has-symbols "^1.0.3" isarray "^2.0.5"