@titaui/pc 1.12.7-beta.3 → 1.12.7-beta.4

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.
@@ -71,7 +71,7 @@ var ColorDatePicker = function ColorDatePicker(_ref) {
71
71
  className: "".concat(prefix, "__content-daily-text"),
72
72
  style: {
73
73
  background: value === item.value ? item.selectedBgColor : item.bgColor,
74
- color: item.color
74
+ color: value === item.value && item.bgColor ? "#ffffff" : item.color
75
75
  }
76
76
  }, item.text));
77
77
  })));
@@ -84,11 +84,11 @@ var ColorDatePicker = function ColorDatePicker(_ref) {
84
84
  },
85
85
  style: {
86
86
  background: value === item.value ? item.selectedBgColor : item.bgColor,
87
- color: item.color
87
+ color: value === item.value && item.bgColor ? "#ffffff" : item.color
88
88
  }
89
89
  }, /*#__PURE__*/_react["default"].createElement("span", {
90
90
  className: "".concat(prefix, "__content-weekly-text")
91
- }, item.text, " ", /*#__PURE__*/_react["default"].createElement("span", {
91
+ }, item.text, /*#__PURE__*/_react["default"].createElement("span", {
92
92
  className: "".concat(prefix, "__content-weekly-desc")
93
93
  }, item.desc)));
94
94
  })));
@@ -101,7 +101,7 @@ var ColorDatePicker = function ColorDatePicker(_ref) {
101
101
  },
102
102
  style: {
103
103
  background: value === item.value ? item.selectedBgColor : item.bgColor,
104
- color: item.color
104
+ color: value === item.value && item.bgColor ? "#ffffff" : item.color
105
105
  }
106
106
  }, item.text);
107
107
  })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.12.7-beta.3",
3
+ "version": "1.12.7-beta.4",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",