@tidbcloud/uikit 2.8.0 → 2.8.1

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
@@ -1,5 +1,11 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(uikit): improve DateTimePicker dark mode contrast ([#648](https://github.com/tidbcloud/tidbcloud-uikit/pull/648))
8
+
3
9
  ## 2.8.0
4
10
 
5
11
  ### Minor Changes
@@ -164,11 +164,17 @@ const DateTimePicker = ({
164
164
  day: {
165
165
  "&[data-disabled]": {
166
166
  color: `${theme.colors.carbon[4]} !important`,
167
- opacity: 1
167
+ opacity: 1,
168
+ '[data-mantine-color-scheme="dark"] &': {
169
+ color: `${theme.colors.carbon[5]} !important`
170
+ }
168
171
  },
169
172
  "&[data-outside]": {
170
173
  color: theme.colors.carbon[6],
171
- opacity: 1
174
+ opacity: 1,
175
+ '[data-mantine-color-scheme="dark"] &': {
176
+ color: theme.colors.carbon[7]
177
+ }
172
178
  },
173
179
  "&[data-today]:not([data-selected])": {
174
180
  border: 0
@@ -162,11 +162,17 @@ const DateTimePicker = ({
162
162
  day: {
163
163
  "&[data-disabled]": {
164
164
  color: `${theme.colors.carbon[4]} !important`,
165
- opacity: 1
165
+ opacity: 1,
166
+ '[data-mantine-color-scheme="dark"] &': {
167
+ color: `${theme.colors.carbon[5]} !important`
168
+ }
166
169
  },
167
170
  "&[data-outside]": {
168
171
  color: theme.colors.carbon[6],
169
- opacity: 1
172
+ opacity: 1,
173
+ '[data-mantine-color-scheme="dark"] &': {
174
+ color: theme.colors.carbon[7]
175
+ }
170
176
  },
171
177
  "&[data-today]:not([data-selected])": {
172
178
  border: 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",