From 9f79b82ef88473b7412a755ee179196b93c4e3e7 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Mon, 15 Jul 2024 16:07:13 +0100 Subject: [PATCH] Move to scss --- docusaurus.config.ts | 5 +- package.json | 2 + src/css/custom.css | 424 ------------------------------------------- src/css/custom.scss | 347 +++++++++++++++++++++++++++++++++++ yarn.lock | 35 +++- 5 files changed, 382 insertions(+), 431 deletions(-) delete mode 100644 src/css/custom.css create mode 100644 src/css/custom.scss diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 3cd41fb..15bab9f 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -37,7 +37,7 @@ const config: Config = { }, blog: {}, theme: { - customCss: './src/css/custom.css', + customCss: './src/css/custom.scss', }, } satisfies Preset.Options, ], @@ -77,7 +77,8 @@ const config: Config = { 'docusaurus-plugin-content-blog': blogOgRenderer, }, }, - ] + ], + 'docusaurus-plugin-sass' ], themes: ["docusaurus-theme-openapi-docs"], diff --git a/package.json b/package.json index 86892f8..4f0771a 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,8 @@ "@docusaurus/module-type-aliases": "^3.4.0", "@docusaurus/tsconfig": "^3.4.0", "@docusaurus/types": "^3.4.0", + "docusaurus-plugin-sass": "^0.2.5", + "sass": "^1.77.8", "typescript": "~5.2.2" }, "browserslist": { diff --git a/src/css/custom.css b/src/css/custom.css deleted file mode 100644 index 2e84407..0000000 --- a/src/css/custom.css +++ /dev/null @@ -1,424 +0,0 @@ -/** - * Any CSS included here will be global. The classic template - * bundles Infima by default. Infima is a CSS framework designed to - * work well for content-centric websites. - */ - -/* You can override the default Infima variables here. */ -@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); - -:root { - --ifm-color-primary: #2e8555; - --ifm-color-secondary: #0097c5; - --ifm-color-primary-dark: #29784c; - --ifm-color-primary-darker: #277148; - --ifm-color-primary-darkest: #205d3b; - --ifm-color-primary-light: #33925d; - --ifm-color-primary-lighter: #359962; - --ifm-color-primary-lightest: #3cad6e; - --ifm-code-font-size: 95%; - --ifm-footer-color: rgb(238, 249, 253); - --ifm-footer-background-color: #303846; - --ifm-footer-link-color: #dadde1; - --ifm-horizontal-line-color: rgba(28, 30, 33, 0.2); - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); - --ifm-font-family-base: 'Montserrat', sans-serif; - --ifm-heading-font-family: 'Montserrat', sans-serif; - --switch-background-color: rgba(0, 0, 0, 0.25); -} - -/* For readability concerns, you should choose a lighter palette in dark mode. */ -[data-theme='dark'] { - --ifm-color-primary: #25c2a0; - --ifm-color-secondary: #00d5ff; - --ifm-color-primary-dark: #21af90; - --ifm-color-primary-darker: #1fa588; - --ifm-color-primary-darkest: #1a8870; - --ifm-color-primary-light: #29d5b0; - --ifm-color-primary-lighter: #32d8b4; - --ifm-color-primary-lightest: #4fddbf; - --ifm-footer-color: rgb(238, 249, 253); - --ifm-navbar-background-color: #0f1b23; - --ifm-dropdown-background-color: #0f1b23; - --ifm-background-color: #0f1b23; - --ifm-background-surface-color: #1a2a3a; - --ifm-horizontal-line-color: rgba(227, 227, 227, 0.2); - --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); - --switch-background-color: rgb(135, 129, 129); -} - -html[data-theme='dark'] { - --ifm-background-color: #0e161b; - --ifm-background-surface-color: #1a2a3a; -} - -@media (max-width: 996px) { - .navbar__item { - display: none !important; - } -} - -.navbar { - box-shadow: 0px 10px 12px 0px rgba(0, 100, 100, 0.1); -} - -.header-blog-link { - display: flex; - align-items: center; - gap: 10px; -} - -.header-blog-link::before { - content: ''; - width: 24px; - height: 24px; - display: inline-block; - background-color: var(--ifm-navbar-link-color); - mask-image: url('data:image/svg+xml,'); - transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default); -} - -.header-blog-link:hover::before { - background-color: var(--ifm-navbar-link-hover-color); -} - -.header-discord-link { - display: flex; - align-items: center; - gap: 10px; -} - -.header-discord-link::before { - content: ''; - width: 32px; - height: 26px; - display: inline-block; - background-color: var(--ifm-navbar-link-color); - mask-image: url('data:image/svg+xml,'); - transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default); -} - -.header-discord-link:hover::before { - background-color: var(--ifm-navbar-link-hover-color); -} - -.header-utilities-link { - display: flex; - align-items: center; - gap: 10px; -} - -.header-utilities-link::before { - content: ''; - width: 24px; - height: 24px; - display: inline-block; - background-color: var(--ifm-navbar-link-color); - mask-image: url('data:image/svg+xml, '); - transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default); -} - -.header-utilities-link:hover::before { - background-color: var(--ifm-navbar-link-hover-color); -} - -.header-download-link { - display: flex; - align-items: center; - gap: 10px; -} - -.header-download-link::before { - content: ''; - width: 24px; - height: 24px; - display: inline-block; - background-color: var(--ifm-navbar-link-color); - mask-image: url('data:image/svg+xml,'); - transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default); -} - -.header-download-link:hover::before { - background-color: var(--ifm-navbar-link-hover-color); -} - -.header-github-link { - display: flex; - align-items: center; - gap: 10px; -} - -.header-github-link::before { - content: ''; - width: 24px; - height: 24px; - display: inline-block; - background-color: var(--ifm-navbar-link-color); - mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E"); - transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default); -} - -.header-github-link:hover::before { - background-color: var(--ifm-navbar-link-hover-color); -} - -.header-wiki-link { - display: flex; - align-items: center; - gap: 10px; -} - -.header-wiki-link::before { - content: ''; - width: 22px; - height: 25px; - display: inline-block; - background-color: var(--ifm-navbar-link-color); - mask-image: url('data:image/svg+xml,'); - transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default); -} - -.header-wiki-link:hover::before { - background-color: var(--ifm-navbar-link-hover-color); -} - -.api-method>.menu__link { - align-items: center; - justify-content: start; -} - -.api-method>.menu__link::before { - width: 50px; - height: 20px; - font-size: 12px; - line-height: 20px; - text-transform: uppercase; - font-weight: 600; - border-radius: 0.25rem; - border: 1px solid; - margin-right: var(--ifm-spacing-horizontal); - text-align: center; - flex-shrink: 0; - border-color: transparent; - color: white; -} - -.get>.menu__link::before { - content: "get"; - background-color: var(--ifm-color-primary); -} - -.put>.menu__link::before { - content: "put"; - background-color: var(--openapi-code-blue); -} - -.post>.menu__link::before { - content: "post"; - background-color: var(--openapi-code-green); -} - -.delete>.menu__link::before { - content: "del"; - background-color: var(--openapi-code-red); -} - -.patch>.menu__link::before { - content: "patch"; - background-color: var(--openapi-code-orange); -} - -.collapsible-header { - display: flex; - justify-content: space-between; - align-items: center; - width: 100%; - position: relative; -} - -.collapsible-header h3 { - margin: 0; -} - -.collapsible-header p { - margin-right: 18px; -} - -.collapsible-arrow { - display: inline-block; - width: 10px; - height: 10px; - border-right: 2px solid var(--ifm-color-primary); - border-bottom: 2px solid var(--ifm-color-primary); - transform: rotate(45deg); - transition: transform 0.3s ease; - position: absolute; - right: 0; - top: 50%; - margin-top: -20px; -} - -.collapsible-arrow.expanded { - transform: rotate(225deg); -} - - -.collapsible-line { - border-bottom: 1px solid var(--ifm-horizontal-line-color); - margin-top: -15px; - margin-bottom: 10px; -} - -.collapsible-subtitle { - font-size: 14px; -} - -.collapsible-title { - font-size: 20px; - margin-right: 20px; -} - -.columns { - display: flex; - flex-direction: row; - flex-wrap: wrap; - gap: 20px; -} - -.column { - flex: 1; - box-sizing: border-box; - overflow: hidden; -} - -@media (max-width: 600px) { - .column { - flex-basis: 100% !important; - max-width: 100%; - } -} - -.large-button { - display: flex; - flex-direction: column; - height: calc(2lh + 20px); - justify-content: center; -} - -.download-button { - width: 100%; - border: 3px solid var(--ifm-tabs-color-active); - border-radius: var(--ifm-global-radius); - text-align: center; - font-size: 18px; - transition: background-color 0.5s ease, color 0.5s ease; - padding-top: 10px; - padding-bottom: 10px; -} - -.download-button:hover { - background-color: var(--ifm-color-primary); - color: #fff; -} - -.download-link { - font-family: var(--ifm-font-family-monospace); -} - -.host-select select { - font-family: var(--ifm-font-family-base); - vertical-align: middle; - padding: 11px; - margin-bottom: 15px; - width: 99.5%; - height: 50px; - border: 1px solid var(--ifm-tabs-color-active); - border-radius: var(--ifm-global-radius); - background-color: var(--ifm-background-color); - font-size: 16px; - color: var(--ifm-font-color-base); -} - -.host-select select:focus { - border-radius: var(--ifm-global-radius); - border: 1px solid var(--ifm-tabs-color-active); -} - -.inner { - overflow: hidden; - transition: height 0.3s ease-out; -} - -.inner-content { - margin-bottom: 20px; - margin-top: -20px; -} - -.no-underline { - text-decoration: transparent !important; -} - -.question-text p { - font-size: 20px; - margin-right: 18px; -} - -.setup-button { - width: 100%; - border: 3px solid var(--ifm-color-secondary); - border-radius: var(--ifm-global-radius); - text-align: center; - font-size: 18px; - transition: background-color 0.5s ease, color 0.5s ease; - padding-top: 10px; - padding-bottom: 10px; - color: var(--ifm-color-secondary); -} - -.setup-button:hover { - background-color: var(--ifm-color-secondary); - color: #fff; -} - -.tabs { - flex-wrap: wrap; - border-bottom-color: var(--ifm-horizontal-line-color); - border-bottom-width: 3px; - border-bottom-style: solid; -} - -@media (pointer:coarse) { - .tabs { - flex-wrap: nowrap; - white-space: nowrap; - display: inline-block; - max-width: 100%; - } - - .openapi-tabs__code-list-container, - .tabs-host-type { - display: flex !important; - } -} - -.tabs-host-type { - flex-wrap: nowrap; - border-bottom-style: none; - display: flex; -} - -.tabs-host-type .tabs__item { - line-height: 16px; - margin-right: 4px; - width: 100%; - outline: 1px solid var(--ifm-tabs-color-active); - outline-offset: -1px; - justify-content: center; -} - -.tabs-host-type .tabs__item--active { - background-color: var(--ifm-tabs-color-active); - border: 0; - border-radius: var(--ifm-global-radius); - color: #fff -} \ No newline at end of file diff --git a/src/css/custom.scss b/src/css/custom.scss new file mode 100644 index 0000000..27c3a93 --- /dev/null +++ b/src/css/custom.scss @@ -0,0 +1,347 @@ +/** + * Any CSS included here will be global. The classic template + * bundles Infima by default. Infima is a CSS framework designed to + * work well for content-centric websites. + */ + +/* You can override the default Infima variables here. */ +@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); + +:root { + --ifm-color-primary: #2e8555; + --ifm-color-secondary: #0097c5; + --ifm-color-primary-dark: #29784c; + --ifm-color-primary-darker: #277148; + --ifm-color-primary-darkest: #205d3b; + --ifm-color-primary-light: #33925d; + --ifm-color-primary-lighter: #359962; + --ifm-color-primary-lightest: #3cad6e; + --ifm-code-font-size: 95%; + --ifm-footer-color: rgb(238, 249, 253); + --ifm-footer-background-color: #303846; + --ifm-footer-link-color: #dadde1; + --ifm-horizontal-line-color: rgba(28, 30, 33, 0.2); + --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); + --ifm-font-family-base: 'Montserrat', sans-serif; + --ifm-heading-font-family: 'Montserrat', sans-serif; + --switch-background-color: rgba(0, 0, 0, 0.25); +} + +/* For readability concerns, you should choose a lighter palette in dark mode. */ +[data-theme='dark'] { + --ifm-color-primary: #25c2a0; + --ifm-color-secondary: #00d5ff; + --ifm-color-primary-dark: #21af90; + --ifm-color-primary-darker: #1fa588; + --ifm-color-primary-darkest: #1a8870; + --ifm-color-primary-light: #29d5b0; + --ifm-color-primary-lighter: #32d8b4; + --ifm-color-primary-lightest: #4fddbf; + --ifm-footer-color: rgb(238, 249, 253); + --ifm-navbar-background-color: #0f1b23; + --ifm-dropdown-background-color: #0f1b23; + --ifm-background-color: #0f1b23; + --ifm-background-surface-color: #1a2a3a; + --ifm-horizontal-line-color: rgba(227, 227, 227, 0.2); + --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); + --switch-background-color: rgb(135, 129, 129); +} + +html[data-theme='dark'] { + --ifm-background-color: #0e161b; + --ifm-background-surface-color: #1a2a3a; +} + +@media (max-width: 996px) { + .navbar__item { + display: none !important; + } +} + +.navbar { + box-shadow: 0px 10px 12px 0px rgba(0, 100, 100, 0.1); +} + +@mixin header-link($width, $height, $url) { + display: flex; + align-items: center; + gap: 10px; + + &::before { + content: ''; + width: $width; + height: $height; + display: inline-block; + background-color: var(--ifm-navbar-link-color); + mask-image: $url; + transition: background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default); + } + + &:hover::before { + background-color: var(--ifm-navbar-link-hover-color); + } +} + +.header-blog-link { + @include header-link(24px, 24px, url('data:image/svg+xml,')); +} + +.header-discord-link { + @include header-link(32px, 26px, url('data:image/svg+xml,')); +} + +.header-utilities-link { + @include header-link(24px, 24px, url('data:image/svg+xml, ')); +} + +.header-download-link { + @include header-link(24px, 24px, url('data:image/svg+xml,')); +} + +.header-github-link { + @include header-link(24px, 24px, url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")); +} + +.header-wiki-link { + @include header-link(22px, 25px, url('data:image/svg+xml,')); +} + +.api-method>.menu__link { + align-items: center; + justify-content: start; +} + +.api-method>.menu__link::before { + width: 50px; + height: 20px; + font-size: 12px; + line-height: 20px; + text-transform: uppercase; + font-weight: 600; + border-radius: 0.25rem; + border: 1px solid; + margin-right: var(--ifm-spacing-horizontal); + text-align: center; + flex-shrink: 0; + border-color: transparent; + color: white; +} + +.get>.menu__link::before { + content: "get"; + background-color: var(--ifm-color-primary); +} + +.put>.menu__link::before { + content: "put"; + background-color: var(--openapi-code-blue); +} + +.post>.menu__link::before { + content: "post"; + background-color: var(--openapi-code-green); +} + +.delete>.menu__link::before { + content: "del"; + background-color: var(--openapi-code-red); +} + +.patch>.menu__link::before { + content: "patch"; + background-color: var(--openapi-code-orange); +} + +.collapsible-header { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + position: relative; + + h3 { + margin: 0; + } + + p { + margin-right: 18px; + } +} + +.collapsible-arrow { + display: inline-block; + width: 10px; + height: 10px; + border-right: 2px solid var(--ifm-color-primary); + border-bottom: 2px solid var(--ifm-color-primary); + transform: rotate(45deg); + transition: transform 0.3s ease; + position: absolute; + right: 0; + top: 50%; + margin-top: -20px; + + &.expanded { + transform: rotate(225deg); + } +} + +.collapsible-line { + border-bottom: 1px solid var(--ifm-horizontal-line-color); + margin-top: -15px; + margin-bottom: 10px; +} + +.collapsible-subtitle { + font-size: 14px; +} + +.collapsible-title { + font-size: 20px; + margin-right: 20px; +} + +.columns { + display: flex; + flex-direction: row; + flex-wrap: wrap; + gap: 20px; +} + +.column { + flex: 1; + box-sizing: border-box; + overflow: hidden; +} + +@media (max-width: 600px) { + .column { + flex-basis: 100% !important; + max-width: 100%; + } +} + +.large-button { + display: flex; + flex-direction: column; + height: calc(2lh + 20px); + justify-content: center; +} + +.download-button { + width: 100%; + border: 3px solid var(--ifm-tabs-color-active); + border-radius: var(--ifm-global-radius); + text-align: center; + font-size: 18px; + transition: background-color 0.5s ease, color 0.5s ease; + padding-top: 10px; + padding-bottom: 10px; + + &:hover { + background-color: var(--ifm-color-primary); + color: #fff; + } +} + +.download-link { + font-family: var(--ifm-font-family-monospace); +} + +.host-select select { + font-family: var(--ifm-font-family-base); + vertical-align: middle; + padding: 11px; + margin-bottom: 15px; + width: 99.5%; + height: 50px; + border: 1px solid var(--ifm-tabs-color-active); + border-radius: var(--ifm-global-radius); + background-color: var(--ifm-background-color); + font-size: 16px; + color: var(--ifm-font-color-base); + + &:focus { + border-radius: var(--ifm-global-radius); + border: 1px solid var(--ifm-tabs-color-active); + } +} + +.inner { + overflow: hidden; + transition: height 0.3s ease-out; +} + +.inner-content { + margin-bottom: 20px; + margin-top: -20px; +} + +.no-underline { + text-decoration: transparent !important; +} + +.question-text p { + font-size: 20px; + margin-right: 18px; +} + +.setup-button { + width: 100%; + border: 3px solid var(--ifm-color-secondary); + border-radius: var(--ifm-global-radius); + text-align: center; + font-size: 18px; + transition: background-color 0.5s ease, color 0.5s ease; + padding-top: 10px; + padding-bottom: 10px; + color: var(--ifm-color-secondary); + + &:hover { + background-color: var(--ifm-color-secondary); + color: #fff; + } +} + +.tabs { + flex-wrap: wrap; + border-bottom-color: var(--ifm-horizontal-line-color); + border-bottom-width: 3px; + border-bottom-style: solid; +} + +@media (pointer:coarse) { + .tabs { + flex-wrap: nowrap; + white-space: nowrap; + display: inline-block; + max-width: 100%; + } + + .openapi-tabs__code-list-container, + .tabs-host-type { + display: flex !important; + } +} + +.tabs-host-type { + flex-wrap: nowrap; + border-bottom-style: none; + display: flex; + + .tabs__item { + line-height: 16px; + margin-right: 4px; + width: 100%; + outline: 1px solid var(--ifm-tabs-color-active); + outline-offset: -1px; + justify-content: center; + } + + .tabs__item--active { + background-color: var(--ifm-tabs-color-active); + border: 0; + border-radius: var(--ifm-global-radius); + color: #fff + } +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index f69f110..8a8cf12 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4238,7 +4238,7 @@ docusaurus-plugin-openapi-docs@^3.0.1: swagger2openapi "^7.0.8" xml-formatter "^2.6.1" -docusaurus-plugin-sass@^0.2.3: +docusaurus-plugin-sass@^0.2.3, docusaurus-plugin-sass@^0.2.5: version "0.2.5" resolved "https://registry.yarnpkg.com/docusaurus-plugin-sass/-/docusaurus-plugin-sass-0.2.5.tgz#6bfb8a227ac6265be685dcbc24ba1989e27b8005" integrity sha512-Z+D0fLFUKcFpM+bqSUmqKIU+vO+YF1xoEQh5hoFreg2eMf722+siwXDD+sqtwU8E4MvVpuvsQfaHwODNlxJAEg== @@ -9184,7 +9184,7 @@ sass-loader@^13.3.2: dependencies: neo-async "^2.6.2" -sass@^1.58.1: +sass@^1.58.1, sass@^1.77.8: version "1.77.8" resolved "https://registry.yarnpkg.com/sass/-/sass-1.77.8.tgz#9f18b449ea401759ef7ec1752a16373e296b52bd" integrity sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ== @@ -9656,7 +9656,16 @@ stream-http@^3.2.0: readable-stream "^3.6.0" xtend "^4.0.2" -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -9710,7 +9719,14 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -10600,7 +10616,16 @@ wildcard@^2.0.0: resolved "https://registry.yarnpkg.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67" integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==