@wordpress/primitives
Advanced tools
Comparing version 3.41.0 to 3.42.0
@@ -21,3 +21,5 @@ import { createElement } from "react"; | ||
} = props; | ||
const blockQuoteStyle = [usePreferredColorSchemeStyle(styles.wpBlockQuoteLight, styles.wpBlockQuoteDark), style?.color && { | ||
const blockQuoteStyle = [usePreferredColorSchemeStyle(styles.wpBlockQuoteLight, styles.wpBlockQuoteDark), style?.baseColors?.color?.text && { | ||
borderLeftColor: style.baseColors.color.text | ||
}, style?.color && { | ||
borderLeftColor: style.color | ||
@@ -24,0 +26,0 @@ }, style, style?.backgroundColor && styles.paddingWithBackground]; |
@@ -31,3 +31,5 @@ "use strict"; | ||
} = props; | ||
const blockQuoteStyle = [(0, _compose.usePreferredColorSchemeStyle)(_style.default.wpBlockQuoteLight, _style.default.wpBlockQuoteDark), style?.color && { | ||
const blockQuoteStyle = [(0, _compose.usePreferredColorSchemeStyle)(_style.default.wpBlockQuoteLight, _style.default.wpBlockQuoteDark), style?.baseColors?.color?.text && { | ||
borderLeftColor: style.baseColors.color.text | ||
}, style?.color && { | ||
borderLeftColor: style.color | ||
@@ -34,0 +36,0 @@ }, style, style?.backgroundColor && _style.default.paddingWithBackground]; |
@@ -5,2 +5,4 @@ <!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. --> | ||
## 3.42.0 (2023-10-18) | ||
## 3.41.0 (2023-10-05) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "@wordpress/primitives", | ||
"version": "3.41.0", | ||
"version": "3.42.0", | ||
"description": "WordPress cross-platform primitives.", | ||
@@ -34,3 +34,3 @@ "author": "The WordPress Contributors", | ||
"@babel/runtime": "^7.16.0", | ||
"@wordpress/element": "^5.20.0", | ||
"@wordpress/element": "^5.21.0", | ||
"classnames": "^2.3.1" | ||
@@ -41,3 +41,3 @@ }, | ||
}, | ||
"gitHead": "9b8e598c5418d38fe72197c24ef1d3dd6c712151" | ||
"gitHead": "f83bb1a71e8fa416131b81a9f282a72a1dc6c694" | ||
} |
@@ -23,2 +23,5 @@ /** | ||
), | ||
style?.baseColors?.color?.text && { | ||
borderLeftColor: style.baseColors.color.text, | ||
}, | ||
style?.color && { | ||
@@ -25,0 +28,0 @@ borderLeftColor: style.color, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
130245
1014
Updated@wordpress/element@^5.21.0