@titelmedia/bricks-cta
Advanced tools
Comparing version 1.11.21 to 2.0.0
@@ -6,2 +6,6 @@ # Change Log | ||
# [2.0.0](https://github.com/titel-media/bricks-lerna/compare/v1.11.27...v2.0.0) (2023-06-22) | ||
**Note:** Version bump only for package @titelmedia/bricks-cta | ||
## [1.11.21](https://github.com/titel-media/bricks-lerna/compare/v1.11.20...v1.11.21) (2023-05-24) | ||
@@ -8,0 +12,0 @@ |
@@ -43,3 +43,3 @@ "use strict"; | ||
}, text && _react.default.createElement(_styles.Text, { | ||
textColor: (textColor === null || textColor === void 0 ? void 0 : textColor.hex) || textColor || '#000000' | ||
textColor: textColor?.hex || textColor || '#000000' | ||
}, text), _react.default.createElement(_styles.Button, { | ||
@@ -51,6 +51,6 @@ href: url, | ||
bold: fontWeight === 'bold', | ||
backgroundColor: (backgroundColor === null || backgroundColor === void 0 ? void 0 : backgroundColor.hex) || backgroundColor || 'transparent', | ||
textColor: (textColor === null || textColor === void 0 ? void 0 : textColor.hex) || textColor || '#000000', | ||
backgroundColorHover: (backgroundColorHover === null || backgroundColorHover === void 0 ? void 0 : backgroundColorHover.hex) || backgroundColorHover, | ||
textColorHover: (textColorHover === null || textColorHover === void 0 ? void 0 : textColorHover.hex) || textColorHover | ||
backgroundColor: backgroundColor?.hex || backgroundColor || 'transparent', | ||
textColor: textColor?.hex || textColor || '#000000', | ||
backgroundColorHover: backgroundColorHover?.hex || backgroundColorHover, | ||
textColorHover: textColorHover?.hex || textColorHover | ||
}, buttonText))); | ||
@@ -57,0 +57,0 @@ }; |
{ | ||
"name": "@titelmedia/bricks-cta", | ||
"version": "1.11.21", | ||
"version": "2.0.0", | ||
"description": "> TODO: description", | ||
@@ -23,11 +23,11 @@ "author": "highsnob", | ||
"peerDependencies": { | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"styled-components": "5.3.3" | ||
}, | ||
"dependencies": { | ||
"@titelmedia/bricks-theme": "^1.11.21", | ||
"@titelmedia/bricks-utils": "^1.11.19" | ||
"@titelmedia/bricks-theme": "^2.0.0", | ||
"@titelmedia/bricks-utils": "^2.0.0" | ||
}, | ||
"gitHead": "51990c87de391f2f5b0eba69de60ec2a304ad4e0" | ||
"gitHead": "cc99e7238db49ff90624d25f73ca3af276223a20" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32326
+ Added@titelmedia/bricks-theme@2.7.0(transitive)
+ Added@titelmedia/bricks-utils@2.14.0(transitive)
+ Addedreact@18.3.1(transitive)
+ Addedreact-dom@18.3.1(transitive)
+ Addedscheduler@0.23.2(transitive)
- Removed@titelmedia/bricks-theme@1.11.21(transitive)
- Removed@titelmedia/bricks-utils@1.11.19(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedreact@17.0.2(transitive)
- Removedreact-dom@17.0.2(transitive)
- Removedscheduler@0.20.2(transitive)