Unverified Commit d888428d authored by Jiachi Liu's avatar Jiachi Liu Committed by GitHub

[devtool] css imports and share css variables (#81236)

parent fb9334d0
...@@ -91,6 +91,21 @@ module.exports = ({ dev, ...rest }) => { ...@@ -91,6 +91,21 @@ module.exports = ({ dev, ...rest }) => {
}, },
type: 'javascript/auto', type: 'javascript/auto',
}, },
{
test: /\.css$/,
use: [
{
loader: 'style-loader',
options: {
injectType: 'singletonStyleTag',
insert: require.resolve(
'./src/build/webpack/loaders/devtool/devtool-style-inject.js'
),
},
},
'css-loader',
],
},
], ],
}, },
externals: [], externals: [],
......
...@@ -251,6 +251,7 @@ ...@@ -251,6 +251,7 @@
"cross-env": "6.0.3", "cross-env": "6.0.3",
"cross-spawn": "7.0.3", "cross-spawn": "7.0.3",
"crypto-browserify": "3.12.0", "crypto-browserify": "3.12.0",
"css-loader": "7.1.2",
"css.escape": "1.5.1", "css.escape": "1.5.1",
"cssnano-preset-default": "7.0.6", "cssnano-preset-default": "7.0.6",
"data-uri-to-buffer": "3.0.1", "data-uri-to-buffer": "3.0.1",
...@@ -327,6 +328,7 @@ ...@@ -327,6 +328,7 @@
"string-hash": "1.1.3", "string-hash": "1.1.3",
"string_decoder": "1.3.0", "string_decoder": "1.3.0",
"strip-ansi": "6.0.0", "strip-ansi": "6.0.0",
"style-loader": "4.0.0",
"superstruct": "1.0.3", "superstruct": "1.0.3",
"tar": "6.1.15", "tar": "6.1.15",
"taskr": "1.1.0", "taskr": "1.1.0",
......
/* @ts-check */
/**
* Style injection mechanism for Next.js devtools with shadow DOM support
* Handles caching of style elements when the nextjs-portal shadow root is not available
*/
// Global cache for style elements when shadow root is not available
if (typeof window !== 'undefined') {
window._nextjsDevtoolsStyleCache = window._nextjsDevtoolsStyleCache || {
pendingElements: [],
isObserving: false,
lastInsertedElement: null,
cachedShadowRoot: null, // Cache the shadow root once found
}
}
/**
* @returns {ShadowRoot | null}
*/
function getShadowRoot() {
const cache = window._nextjsDevtoolsStyleCache
// Return cached shadow root if available
if (cache.cachedShadowRoot) {
return cache.cachedShadowRoot
}
// Query the DOM and cache the result if found
const portal = document.querySelector('nextjs-portal')
const shadowRoot = portal?.shadowRoot || null
if (shadowRoot) {
cache.cachedShadowRoot = shadowRoot
}
return shadowRoot
}
/**
* @param {HTMLElement} element
* @param {ShadowRoot} shadowRoot
*/
function insertElementIntoShadowRoot(element, shadowRoot) {
const cache = window._nextjsDevtoolsStyleCache
if (!cache.lastInsertedElement) {
shadowRoot.insertBefore(element, shadowRoot.firstChild)
} else if (cache.lastInsertedElement.nextSibling) {
shadowRoot.insertBefore(element, cache.lastInsertedElement.nextSibling)
} else {
shadowRoot.appendChild(element)
}
cache.lastInsertedElement = element
}
function flushCachedElements() {
const cache = window._nextjsDevtoolsStyleCache
const shadowRoot = getShadowRoot()
if (!shadowRoot) {
return
}
cache.pendingElements.forEach((element) => {
insertElementIntoShadowRoot(element, shadowRoot)
})
cache.pendingElements = []
}
function startObservingForPortal() {
const cache = window._nextjsDevtoolsStyleCache
if (cache.isObserving) {
return
}
cache.isObserving = true
// First check if the portal already exists
const shadowRoot = getShadowRoot() // This will cache it if found
if (shadowRoot) {
flushCachedElements()
return
}
// Set up MutationObserver to watch for the portal element
const observer = new MutationObserver((mutations) => {
if (mutations.length === 0 || mutations[0].addedNodes.length === 0) {
return
}
// Check if mutation is script[data-nextjs-dev-overlay] tag, which is the
// parent of the nextjs-portal element
const mutationNode = mutations[0].addedNodes[0]
let portalNode = null
if (
// app router: body > script[data-nextjs-dev-overlay] > nextjs-portal
mutationNode.tagName === 'SCRIPT' &&
mutationNode.getAttribute('data-nextjs-dev-overlay')
) {
portalNode = mutationNode.firstChild
} else if (
// pages router: body > nextjs-portal
mutationNode.tagName === 'NEXTJS-PORTAL'
) {
portalNode = mutationNode
}
if (!portalNode) {
return
}
// Wait until shadow root is available
const checkShadowRoot = () => {
if (getShadowRoot()) {
flushCachedElements()
observer.disconnect()
cache.isObserving = false
} else {
// Try again after a short delay
setTimeout(checkShadowRoot, 50)
}
}
checkShadowRoot()
})
observer.observe(document.body, {
childList: true,
subtree: true,
})
}
/**
* @param {HTMLElement} element
*/
function insertAtTop(element) {
// Add special recognizable data prop to element
element.setAttribute('data-nextjs-dev-tool-style', 'true')
const shadowRoot = getShadowRoot()
if (shadowRoot) {
// Shadow root is available, insert directly
insertElementIntoShadowRoot(element, shadowRoot)
} else {
// Shadow root not available, cache the element
const cache = window._nextjsDevtoolsStyleCache
cache.pendingElements.push(element)
// Start observing for the portal if not already observing
startObservingForPortal()
}
}
module.exports = insertAtTop
.tooltip-wrapper {
position: relative;
display: inline-block;
line-height: 1;
}
.tooltip {
position: relative;
padding: 6px 12px;
border-radius: 8px;
font-size: 14px;
line-height: 1.4;
min-width: 200px;
pointer-events: none;
}
.tooltip-arrow {
position: absolute;
width: 0;
height: 0;
border-style: solid;
border-width: var(--arrow-size, 6px);
border-color: transparent;
}
.tooltip-arrow--top {
border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) 0
var(--arrow-size, 6px);
border-top-color: var(--tooltip-bg-color);
bottom: 0;
transform: translateY(100%);
}
.tooltip-arrow--bottom {
border-width: 0 var(--arrow-size, 6px) var(--arrow-size, 6px)
var(--arrow-size, 6px);
border-bottom-color: var(--tooltip-bg-color);
top: 0;
transform: translateY(-100%);
}
.tooltip-arrow--left {
border-width: var(--arrow-size, 6px) 0 var(--arrow-size, 6px)
var(--arrow-size, 6px);
border-left-color: var(--tooltip-bg-color);
right: 0;
transform: translateX(100%);
}
.tooltip-arrow--right {
border-width: var(--arrow-size, 6px) var(--arrow-size, 6px)
var(--arrow-size, 6px) 0;
border-right-color: var(--tooltip-bg-color);
left: 0;
transform: translateX(-100%);
}
.tooltip-positioner {
z-index: var(--top-z-index);
}
import type { Meta, StoryObj } from '@storybook/react' import type { Meta, StoryObj } from '@storybook/react'
import { Tooltip, styles } from './tooltip' import { Tooltip } from './tooltip'
const meta: Meta<typeof Tooltip> = { const meta: Meta<typeof Tooltip> = {
title: 'DevTools/Tooltip', title: 'DevTools/Tooltip',
...@@ -57,7 +57,6 @@ export const Default: Story = { ...@@ -57,7 +57,6 @@ export const Default: Story = {
}, },
render: (args) => ( render: (args) => (
<div> <div>
<style dangerouslySetInnerHTML={{ __html: styles }} />
<Tooltip {...args}> <Tooltip {...args}>
<button <button
style={{ style={{
...@@ -88,7 +87,6 @@ export const AllDirections: Story = { ...@@ -88,7 +87,6 @@ export const AllDirections: Story = {
}, },
render: () => ( render: () => (
<div> <div>
<style dangerouslySetInnerHTML={{ __html: styles }} />
<div <div
style={{ style={{
display: 'grid', display: 'grid',
...@@ -201,7 +199,6 @@ export const DifferentTriggers: Story = { ...@@ -201,7 +199,6 @@ export const DifferentTriggers: Story = {
}, },
render: () => ( render: () => (
<div> <div>
<style dangerouslySetInnerHTML={{ __html: styles }} />
<div <div
style={{ style={{
display: 'flex', display: 'flex',
...@@ -288,7 +285,6 @@ export const LongText: Story = { ...@@ -288,7 +285,6 @@ export const LongText: Story = {
}, },
render: (args) => ( render: (args) => (
<div> <div>
<style dangerouslySetInnerHTML={{ __html: styles }} />
<Tooltip {...args}> <Tooltip {...args}>
<button <button
style={{ style={{
......
import { forwardRef } from 'react' import { forwardRef } from 'react'
import { Tooltip as BaseTooltip } from '@base-ui-components/react/tooltip' import { Tooltip as BaseTooltip } from '@base-ui-components/react/tooltip'
import { cx } from '../dev-overlay/utils/cx' import { cx } from '../dev-overlay/utils/cx'
import './tooltip.css'
type TooltipDirection = 'top' | 'bottom' | 'left' | 'right' type TooltipDirection = 'top' | 'bottom' | 'left' | 'right'
...@@ -80,62 +81,3 @@ export const Tooltip = forwardRef<HTMLDivElement, TooltipProps>( ...@@ -80,62 +81,3 @@ export const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(
) )
} }
) )
export const styles = `
.tooltip-wrapper {
position: relative;
display: inline-block;
line-height: 1;
}
.tooltip {
position: relative;
padding: 6px 12px;
border-radius: 8px;
font-size: 14px;
line-height: 1.4;
min-width: 200px;
pointer-events: none;
}
.tooltip-arrow {
position: absolute;
width: 0;
height: 0;
border-style: solid;
border-width: var(--arrow-size, 6px);
border-color: transparent;
}
.tooltip-arrow--top {
border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) 0 var(--arrow-size, 6px);
border-top-color: var(--tooltip-bg-color);
bottom: 0;
transform: translateY(100%);
}
.tooltip-arrow--bottom {
border-width: 0 var(--arrow-size, 6px) var(--arrow-size, 6px) var(--arrow-size, 6px);
border-bottom-color: var(--tooltip-bg-color);
top: 0;
transform: translateY(-100%);
}
.tooltip-arrow--left {
border-width: var(--arrow-size, 6px) 0 var(--arrow-size, 6px) var(--arrow-size, 6px);
border-left-color: var(--tooltip-bg-color);
right: 0;
transform: translateX(100%);
}
.tooltip-arrow--right {
border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) var(--arrow-size, 6px) 0;
border-right-color: var(--tooltip-bg-color);
left: 0;
transform: translateX(-100%);
}
.tooltip-positioner {
z-index: 3;
}
`
...@@ -8,7 +8,7 @@ import { ...@@ -8,7 +8,7 @@ import {
SegmentBoundaryTrigger, SegmentBoundaryTrigger,
styles as segmentBoundaryTriggerStyles, styles as segmentBoundaryTriggerStyles,
} from './segment-boundary-trigger' } from './segment-boundary-trigger'
import { Tooltip, styles as tooltipStyles } from '../../../components/tooltip' import { Tooltip } from '../../../components/tooltip'
import { useRef, useState } from 'react' import { useRef, useState } from 'react'
const BUILTIN_PREFIX = '__next_builtin__' const BUILTIN_PREFIX = '__next_builtin__'
...@@ -366,8 +366,6 @@ export const DEV_TOOLS_INFO_RENDER_FILES_STYLES = css` ...@@ -366,8 +366,6 @@ export const DEV_TOOLS_INFO_RENDER_FILES_STYLES = css`
} }
${segmentBoundaryTriggerStyles} ${segmentBoundaryTriggerStyles}
${tooltipStyles}
` `
function openInEditor({ filePath }: { filePath: string }) { function openInEditor({ filePath }: { filePath: string }) {
......
...@@ -30,7 +30,7 @@ export function ShadowPortal({ children }: { children: React.ReactNode }) { ...@@ -30,7 +30,7 @@ export function ShadowPortal({ children }: { children: React.ReactNode }) {
// So if this is a remount, we don't need to attach a shadow root. Only // So if this is a remount, we don't need to attach a shadow root. Only
// on the very first, DOM-wide mount. // on the very first, DOM-wide mount.
// This is mostly guarding against faulty _app implementations that // This is mostly guarding against faulty _app implementations that
// createa React Root in getInitialProps but don't clean it up like test/integration/app-tree/pages/_app.tsx // create React Root in getInitialProps but don't clean it up like test/integration/app-tree/pages/_app.tsx
if (portalNode.current.shadowRoot === null) { if (portalNode.current.shadowRoot === null) {
shadowNode.current = portalNode.current.attachShadow({ mode: 'open' }) shadowNode.current = portalNode.current.attachShadow({ mode: 'open' })
} }
......
export { styles } from './styles' import './style.css'
export { Toast } from './toast' export { Toast } from './toast'
.nextjs-toast {
position: fixed;
z-index: var(--top-z-index);
max-width: 420px;
box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.25);
}
.nextjs-toast-errors-parent {
padding: 16px;
border-radius: var(--rounded-4xl);
font-weight: 500;
color: var(--color-ansi-bright-white);
background-color: var(--color-ansi-red);
}
const styles = `
.nextjs-toast {
position: fixed;
z-index: 2147483647;
max-width: 420px;
box-shadow: 0px 16px 32px
rgba(0, 0, 0, 0.25);
}
.nextjs-toast-errors-parent {
padding: 16px;
border-radius: var(--rounded-4xl);
font-weight: 500;
color: var(--color-ansi-bright-white);
background-color: var(--color-ansi-red);
}
`
export { styles }
...@@ -6,7 +6,6 @@ import { styles as pagination } from '../components/errors/error-overlay-paginat ...@@ -6,7 +6,6 @@ import { styles as pagination } from '../components/errors/error-overlay-paginat
import { styles as overlay } from '../components/overlay/styles' import { styles as overlay } from '../components/overlay/styles'
import { styles as footer } from '../components/errors/error-overlay-footer/error-overlay-footer' import { styles as footer } from '../components/errors/error-overlay-footer/error-overlay-footer'
import { TERMINAL_STYLES } from '../components/terminal/terminal' import { TERMINAL_STYLES } from '../components/terminal/terminal'
import { styles as toast } from '../components/toast'
import { styles as versionStaleness } from '../components/version-staleness-info/version-staleness-info' import { styles as versionStaleness } from '../components/version-staleness-info/version-staleness-info'
import { styles as buildErrorStyles } from '../container/build-error' import { styles as buildErrorStyles } from '../container/build-error'
import { styles as containerErrorStyles } from '../container/errors' import { styles as containerErrorStyles } from '../container/errors'
...@@ -49,7 +48,6 @@ export function ComponentStyles() { ...@@ -49,7 +48,6 @@ export function ComponentStyles() {
${CALL_STACK_STYLES} ${CALL_STACK_STYLES}
${ENVIRONMENT_NAME_LABEL_STYLES} ${ENVIRONMENT_NAME_LABEL_STYLES}
${overlay} ${overlay}
${toast}
${dialog} ${dialog}
${errorLayout} ${errorLayout}
${footer} ${footer}
......
import './global.css'
import './dev-overlay/components/toast/style.css'
export * from './dev-overlay.browser' export * from './dev-overlay.browser'
/* devtool global css variables */
:host {
--top-z-index: 2147483647;
}
...@@ -1291,6 +1291,9 @@ importers: ...@@ -1291,6 +1291,9 @@ importers:
crypto-browserify: crypto-browserify:
specifier: 3.12.0 specifier: 3.12.0
version: 3.12.0 version: 3.12.0
css-loader:
specifier: 7.1.2
version: 7.1.2(@rspack/core@1.3.12(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2))
css.escape: css.escape:
specifier: 1.5.1 specifier: 1.5.1
version: 1.5.1 version: 1.5.1
...@@ -1519,6 +1522,9 @@ importers: ...@@ -1519,6 +1522,9 @@ importers:
strip-ansi: strip-ansi:
specifier: 6.0.0 specifier: 6.0.0
version: 6.0.0 version: 6.0.0
style-loader:
specifier: 4.0.0
version: 4.0.0(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2))
superstruct: superstruct:
specifier: 1.0.3 specifier: 1.0.3
version: 1.0.3 version: 1.0.3
...@@ -7631,6 +7637,18 @@ packages: ...@@ -7631,6 +7637,18 @@ packages:
webpack: webpack:
optional: true optional: true
css-loader@7.1.2:
resolution: {integrity: sha512-6WvYYn7l/XEGN8Xu2vWFt9nVzrCn39vKyTEFf/ExEyoksJjjSZV/0/35XPlMbpnr6VGhZIUg5yJrL8tGfes/FA==}
engines: {node: '>= 18.12.0'}
peerDependencies:
'@rspack/core': 0.x || 1.x
webpack: 5.98.0
peerDependenciesMeta:
'@rspack/core':
optional: true
webpack:
optional: true
css-prefers-color-scheme@6.0.3: css-prefers-color-scheme@6.0.3:
resolution: {integrity: sha512-4BqMbZksRkJQx2zAjrokiGMd07RqOa2IxIrrN10lyBe9xhn9DEvjUK79J6jkeiv9D9hQFXKb6g1jwU62jziJZA==} resolution: {integrity: sha512-4BqMbZksRkJQx2zAjrokiGMd07RqOa2IxIrrN10lyBe9xhn9DEvjUK79J6jkeiv9D9hQFXKb6g1jwU62jziJZA==}
engines: {node: ^12 || ^14 || >=16} engines: {node: ^12 || ^14 || >=16}
...@@ -13602,10 +13620,6 @@ packages: ...@@ -13602,10 +13620,6 @@ packages:
resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
engines: {node: ^10 || ^12 || >=14} engines: {node: ^10 || ^12 || >=14}
postcss@8.4.49:
resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==}
engines: {node: ^10 || ^12 || >=14}
postcss@8.5.3: postcss@8.5.3:
resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==}
engines: {node: ^10 || ^12 || >=14} engines: {node: ^10 || ^12 || >=14}
...@@ -15319,6 +15333,12 @@ packages: ...@@ -15319,6 +15333,12 @@ packages:
peerDependencies: peerDependencies:
webpack: 5.98.0 webpack: 5.98.0
style-loader@4.0.0:
resolution: {integrity: sha512-1V4WqhhZZgjVAVJyt7TdDPZoPBPNHbekX4fWnCJL1yQukhCeZhJySUL+gL9y6sNdN95uEOS83Y55SqHcP7MzLA==}
engines: {node: '>= 18.12.0'}
peerDependencies:
webpack: 5.98.0
style-to-object@0.4.1: style-to-object@0.4.1:
resolution: {integrity: sha512-HFpbb5gr2ypci7Qw+IOhnP2zOU7e77b+rzM+wTzXzfi1PrtBCX0E7Pk4wL4iTLnhzZ+JgEGAhX81ebTg/aYjQw==} resolution: {integrity: sha512-HFpbb5gr2ypci7Qw+IOhnP2zOU7e77b+rzM+wTzXzfi1PrtBCX0E7Pk4wL4iTLnhzZ+JgEGAhX81ebTg/aYjQw==}
...@@ -23910,12 +23930,26 @@ snapshots: ...@@ -23910,12 +23930,26 @@ snapshots:
css-loader@6.11.0(@rspack/core@1.3.12(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)): css-loader@6.11.0(@rspack/core@1.3.12(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)):
dependencies: dependencies:
icss-utils: 5.1.0(postcss@8.4.49) icss-utils: 5.1.0(postcss@8.5.3)
postcss: 8.4.49 postcss: 8.5.3
postcss-modules-extract-imports: 3.1.0(postcss@8.4.49) postcss-modules-extract-imports: 3.1.0(postcss@8.5.3)
postcss-modules-local-by-default: 4.2.0(postcss@8.4.49) postcss-modules-local-by-default: 4.2.0(postcss@8.5.3)
postcss-modules-scope: 3.2.1(postcss@8.4.49) postcss-modules-scope: 3.2.1(postcss@8.5.3)
postcss-modules-values: 4.0.0(postcss@8.4.49) postcss-modules-values: 4.0.0(postcss@8.5.3)
postcss-value-parser: 4.2.0
semver: 7.6.3
optionalDependencies:
'@rspack/core': 1.3.12(@swc/helpers@0.5.15)
webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)
css-loader@7.1.2(@rspack/core@1.3.12(@swc/helpers@0.5.15))(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)):
dependencies:
icss-utils: 5.1.0(postcss@8.5.3)
postcss: 8.5.3
postcss-modules-extract-imports: 3.1.0(postcss@8.5.3)
postcss-modules-local-by-default: 4.2.0(postcss@8.5.3)
postcss-modules-scope: 3.2.1(postcss@8.5.3)
postcss-modules-values: 4.0.0(postcss@8.5.3)
postcss-value-parser: 4.2.0 postcss-value-parser: 4.2.0
semver: 7.6.3 semver: 7.6.3
optionalDependencies: optionalDependencies:
...@@ -27163,9 +27197,9 @@ snapshots: ...@@ -27163,9 +27197,9 @@ snapshots:
dependencies: dependencies:
postcss: 8.4.31 postcss: 8.4.31
icss-utils@5.1.0(postcss@8.4.49): icss-utils@5.1.0(postcss@8.5.3):
dependencies: dependencies:
postcss: 8.4.49 postcss: 8.5.3
idb@3.0.2: {} idb@3.0.2: {}
...@@ -31395,9 +31429,9 @@ snapshots: ...@@ -31395,9 +31429,9 @@ snapshots:
dependencies: dependencies:
postcss: 8.4.31 postcss: 8.4.31
postcss-modules-extract-imports@3.1.0(postcss@8.4.49): postcss-modules-extract-imports@3.1.0(postcss@8.5.3):
dependencies: dependencies:
postcss: 8.4.49 postcss: 8.5.3
postcss-modules-local-by-default@4.2.0(postcss@8.4.31): postcss-modules-local-by-default@4.2.0(postcss@8.4.31):
dependencies: dependencies:
...@@ -31406,10 +31440,10 @@ snapshots: ...@@ -31406,10 +31440,10 @@ snapshots:
postcss-selector-parser: 7.0.0 postcss-selector-parser: 7.0.0
postcss-value-parser: 4.2.0 postcss-value-parser: 4.2.0
postcss-modules-local-by-default@4.2.0(postcss@8.4.49): postcss-modules-local-by-default@4.2.0(postcss@8.5.3):
dependencies: dependencies:
icss-utils: 5.1.0(postcss@8.4.49) icss-utils: 5.1.0(postcss@8.5.3)
postcss: 8.4.49 postcss: 8.5.3
postcss-selector-parser: 7.0.0 postcss-selector-parser: 7.0.0
postcss-value-parser: 4.2.0 postcss-value-parser: 4.2.0
...@@ -31418,9 +31452,9 @@ snapshots: ...@@ -31418,9 +31452,9 @@ snapshots:
postcss: 8.4.31 postcss: 8.4.31
postcss-selector-parser: 6.0.10 postcss-selector-parser: 6.0.10
postcss-modules-scope@3.2.1(postcss@8.4.49): postcss-modules-scope@3.2.1(postcss@8.5.3):
dependencies: dependencies:
postcss: 8.4.49 postcss: 8.5.3
postcss-selector-parser: 7.0.0 postcss-selector-parser: 7.0.0
postcss-modules-values@4.0.0(postcss@8.4.31): postcss-modules-values@4.0.0(postcss@8.4.31):
...@@ -31428,10 +31462,10 @@ snapshots: ...@@ -31428,10 +31462,10 @@ snapshots:
icss-utils: 5.1.0(postcss@8.4.31) icss-utils: 5.1.0(postcss@8.4.31)
postcss: 8.4.31 postcss: 8.4.31
postcss-modules-values@4.0.0(postcss@8.4.49): postcss-modules-values@4.0.0(postcss@8.5.3):
dependencies: dependencies:
icss-utils: 5.1.0(postcss@8.4.49) icss-utils: 5.1.0(postcss@8.5.3)
postcss: 8.4.49 postcss: 8.5.3
postcss-modules@4.0.0(postcss@8.4.31): postcss-modules@4.0.0(postcss@8.4.31):
dependencies: dependencies:
...@@ -31799,12 +31833,6 @@ snapshots: ...@@ -31799,12 +31833,6 @@ snapshots:
picocolors: 1.1.0 picocolors: 1.1.0
source-map-js: 1.2.1 source-map-js: 1.2.1
postcss@8.4.49:
dependencies:
nanoid: 3.3.7
picocolors: 1.1.1
source-map-js: 1.2.1
postcss@8.5.3: postcss@8.5.3:
dependencies: dependencies:
nanoid: 3.3.11 nanoid: 3.3.11
...@@ -33825,6 +33853,10 @@ snapshots: ...@@ -33825,6 +33853,10 @@ snapshots:
dependencies: dependencies:
webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2) webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)
style-loader@4.0.0(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)):
dependencies:
webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)
style-to-object@0.4.1: style-to-object@0.4.1:
dependencies: dependencies:
inline-style-parser: 0.1.1 inline-style-parser: 0.1.1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment