@cloudflare/component-logo 5.2.84 → 5.2.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.2.87](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-logo@5.2.86...@cloudflare/component-logo@5.2.87) (2022-06-16)
7
+
8
+ **Note:** Version bump only for package @cloudflare/component-logo
9
+
10
+
11
+
12
+
13
+
14
+ ## [5.2.86](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-logo@5.2.85...@cloudflare/component-logo@5.2.86) (2022-06-16)
15
+
16
+ **Note:** Version bump only for package @cloudflare/component-logo
17
+
18
+
19
+
20
+
21
+
22
+ ## [5.2.85](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-logo@5.2.84...@cloudflare/component-logo@5.2.85) (2022-06-14)
23
+
24
+ **Note:** Version bump only for package @cloudflare/component-logo
25
+
26
+
27
+
28
+
29
+
6
30
  ## [5.2.84](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/component-logo@5.2.83...@cloudflare/component-logo@5.2.84) (2022-06-14)
7
31
 
8
32
  **Note:** Version bump only for package @cloudflare/component-logo
package/es/Logo.js CHANGED
@@ -10,7 +10,7 @@ const Logo = ({
10
10
  }) => {
11
11
  var _textColor;
12
12
 
13
- const textCol = (_textColor = textColor) !== null && _textColor !== void 0 ? _textColor : light ? theme.colors.white : theme.colors.marketing.black;
13
+ const textCol = (_textColor = textColor) !== null && _textColor !== void 0 ? _textColor : light ? theme.colors.white : theme.colors.black;
14
14
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("svg", {
15
15
  viewBox: "0 0 105 36",
16
16
  role: "img",
package/es/LogoHeader.js CHANGED
@@ -30,7 +30,7 @@ export const MobileOnly = createStyledComponent(({
30
30
  }));
31
31
 
32
32
  const LogoHeader = () => /*#__PURE__*/React.createElement(LogoWrapper, null, /*#__PURE__*/React.createElement(DesktopOnly, null, /*#__PURE__*/React.createElement(Logo, {
33
- textColor: isDarkMode() ? theme.colors.gray[1] : undefined
33
+ textColor: isDarkMode() ? theme.colors.black : undefined
34
34
  })), /*#__PURE__*/React.createElement(MobileOnly, null, /*#__PURE__*/React.createElement(LogoCloud, {
35
35
  width: "70px",
36
36
  height: "41px"
package/es/LogoInline.js CHANGED
@@ -8,7 +8,7 @@ const LogoInline = ({
8
8
  width = '200px',
9
9
  height = '46px'
10
10
  }) => {
11
- const textColor = light ? theme.colors.white : theme.colors.marketing.black;
11
+ const textColor = light ? theme.colors.white : theme.colors.black;
12
12
  return /*#__PURE__*/React.createElement("svg", {
13
13
  viewBox: "0 0 1179.5 271.2",
14
14
  width: width,
package/lib/Logo.js CHANGED
@@ -21,7 +21,7 @@ var Logo = function Logo(_ref) {
21
21
  width = _ref$width === void 0 ? '105px' : _ref$width,
22
22
  _ref$height = _ref.height,
23
23
  height = _ref$height === void 0 ? '41px' : _ref$height;
24
- var textCol = (_textColor = textColor) !== null && _textColor !== void 0 ? _textColor : light ? theme.colors.white : theme.colors.marketing.black;
24
+ var textCol = (_textColor = textColor) !== null && _textColor !== void 0 ? _textColor : light ? theme.colors.white : theme.colors.black;
25
25
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("svg", {
26
26
  viewBox: "0 0 105 36",
27
27
  role: "img",
package/lib/LogoHeader.js CHANGED
@@ -51,7 +51,7 @@ exports.MobileOnly = MobileOnly;
51
51
 
52
52
  var LogoHeader = function LogoHeader() {
53
53
  return /*#__PURE__*/_react.default.createElement(LogoWrapper, null, /*#__PURE__*/_react.default.createElement(DesktopOnly, null, /*#__PURE__*/_react.default.createElement(_Logo.default, {
54
- textColor: (0, _styleConst.isDarkMode)() ? _styleConst.variables.colors.gray[1] : undefined
54
+ textColor: (0, _styleConst.isDarkMode)() ? _styleConst.variables.colors.black : undefined
55
55
  })), /*#__PURE__*/_react.default.createElement(MobileOnly, null, /*#__PURE__*/_react.default.createElement(_LogoCloud.default, {
56
56
  width: "70px",
57
57
  height: "41px"
package/lib/LogoInline.js CHANGED
@@ -20,7 +20,7 @@ var LogoInline = function LogoInline(_ref) {
20
20
  width = _ref$width === void 0 ? '200px' : _ref$width,
21
21
  _ref$height = _ref.height,
22
22
  height = _ref$height === void 0 ? '46px' : _ref$height;
23
- var textColor = light ? theme.colors.white : theme.colors.marketing.black;
23
+ var textColor = light ? theme.colors.white : theme.colors.black;
24
24
  return /*#__PURE__*/_react.default.createElement("svg", {
25
25
  viewBox: "0 0 1179.5 271.2",
26
26
  width: width,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-logo",
3
3
  "description": "Cloudflare Logo Component",
4
- "version": "5.2.84",
4
+ "version": "5.2.87",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "Vojtech Miksu <vojtech@miksu.cz>",
@@ -11,9 +11,9 @@
11
11
  "access": "public"
12
12
  },
13
13
  "dependencies": {
14
- "@cloudflare/intl-react": "^1.9.70",
15
- "@cloudflare/style-const": "^5.3.1",
16
- "@cloudflare/style-container": "^7.8.33",
14
+ "@cloudflare/intl-react": "^1.9.71",
15
+ "@cloudflare/style-const": "^5.3.2",
16
+ "@cloudflare/style-container": "^7.8.34",
17
17
  "prop-types": "^15.6.0"
18
18
  },
19
19
  "peerDependencies": {
@@ -34,5 +34,5 @@
34
34
  "title": "Logo",
35
35
  "status": "active"
36
36
  },
37
- "gitHead": "c3936d6c389481eb17398683929663cd86178ac9"
37
+ "gitHead": "2e1d3d1d764e59488d769e86d94afcfde19d449e"
38
38
  }