@tidbcloud/uikit 2.8.2 → 2.8.3

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.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(uikit): unify DateTimePicker disabled/out-of-month colors ([#652](https://github.com/tidbcloud/tidbcloud-uikit/pull/652))
8
+
3
9
  ## 2.8.2
4
10
 
5
11
  ### Patch Changes
@@ -152,18 +152,10 @@ const DateTimePicker = ({
152
152
  styles: (theme) => ({
153
153
  day: {
154
154
  "&[data-disabled]": {
155
- color: `${theme.colors.carbon[4]} !important`,
156
- opacity: 1,
157
- '[data-mantine-color-scheme="dark"] &': {
158
- color: `${theme.colors.carbon[5]} !important`
159
- }
155
+ color: `${theme.colors.carbon[5]} !important`
160
156
  },
161
157
  "&[data-outside]": {
162
- color: theme.colors.carbon[6],
163
- opacity: 1,
164
- '[data-mantine-color-scheme="dark"] &': {
165
- color: theme.colors.carbon[7]
166
- }
158
+ color: `${theme.colors.carbon[7]} !important`
167
159
  },
168
160
  "&[data-today]:not([data-selected])": {
169
161
  border: 0
@@ -150,18 +150,10 @@ const DateTimePicker = ({
150
150
  styles: (theme) => ({
151
151
  day: {
152
152
  "&[data-disabled]": {
153
- color: `${theme.colors.carbon[4]} !important`,
154
- opacity: 1,
155
- '[data-mantine-color-scheme="dark"] &': {
156
- color: `${theme.colors.carbon[5]} !important`
157
- }
153
+ color: `${theme.colors.carbon[5]} !important`
158
154
  },
159
155
  "&[data-outside]": {
160
- color: theme.colors.carbon[6],
161
- opacity: 1,
162
- '[data-mantine-color-scheme="dark"] &': {
163
- color: theme.colors.carbon[7]
164
- }
156
+ color: `${theme.colors.carbon[7]} !important`
165
157
  },
166
158
  "&[data-today]:not([data-selected])": {
167
159
  border: 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.8.2",
3
+ "version": "2.8.3",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",