diff --git a/.changeset/empty-readers-yawn.md b/.changeset/empty-readers-yawn.md new file mode 100644 index 0000000..d6077bc --- /dev/null +++ b/.changeset/empty-readers-yawn.md @@ -0,0 +1,7 @@ +--- +'@commencis/stylelint-config': minor +--- + +update dependency: postcss-styled-syntax@0.7.0 + +- Added support for passing a function to `styled` instead using it as a tagged template. For example, `styled.div(props => 'color: red;'')`, or `styled(Component)(props => 'color: red;')` diff --git a/packages/stylelint-config/package.json b/packages/stylelint-config/package.json index 2a1341e..dd7d068 100644 --- a/packages/stylelint-config/package.json +++ b/packages/stylelint-config/package.json @@ -40,7 +40,7 @@ }, "dependencies": { "@stylistic/stylelint-config": "2.0.0", - "postcss-styled-syntax": "0.6.4", + "postcss-styled-syntax": "0.7.0", "stylelint-config-html": "1.1.0", "stylelint-config-prettier-scss": "1.0.0", "stylelint-config-standard": "36.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f610777..9409640 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -159,8 +159,8 @@ importers: specifier: 2.0.0 version: 2.0.0(stylelint@16.10.0(typescript@5.6.3)) postcss-styled-syntax: - specifier: 0.6.4 - version: 0.6.4(postcss@8.4.47) + specifier: 0.7.0 + version: 0.7.0(postcss@8.4.47) stylelint: specifier: '>= 16.8' version: 16.10.0(typescript@5.6.3) @@ -2461,8 +2461,8 @@ packages: peerDependencies: postcss: ^8.4.20 - postcss-styled-syntax@0.6.4: - resolution: {integrity: sha512-uWiLn+9rKgIghUYmTHvXMR6MnyPULMe9Gv3bV537Fg4FH6CA6cn21WMjKss2Qb98LUhT847tKfnRGG3FhSOgUQ==} + postcss-styled-syntax@0.7.0: + resolution: {integrity: sha512-OeStzPkHJ1/WDGRKm/JuVK8UdJbjt3U7AFC+zUc9omJ79SaXSxWoy+PXxJz7t8vOO8HcUgCLndNEQfLvZ74TuQ==} engines: {node: '>=14.17'} peerDependencies: postcss: ^8.4.21 @@ -5529,7 +5529,7 @@ snapshots: dependencies: postcss: 8.4.47 - postcss-styled-syntax@0.6.4(postcss@8.4.47): + postcss-styled-syntax@0.7.0(postcss@8.4.47): dependencies: postcss: 8.4.47 typescript: 5.6.3