@tidbcloud/uikit 2.0.2 → 2.0.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.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(SearchArea): allow undefined values in search area type ([#444](https://github.com/tidbcloud/tidbcloud-uikit/pull/444))
8
+
3
9
  ## 2.0.2
4
10
 
5
11
  ### Patch Changes
@@ -2,7 +2,7 @@ import { FieldValues } from 'react-hook-form';
2
2
  import { BoxProps } from '../../primitive/index.cjs';
3
3
  import { FormProps } from '../Form/index.cjs';
4
4
  import { TimeRange } from '../TimeRangePicker/helpers.cjs';
5
- export type TSearchAreaValue = string | string[] | Date | TimeRange;
5
+ export type TSearchAreaValue = string | string[] | Date | TimeRange | undefined;
6
6
  interface IFormItemBase {
7
7
  name: string;
8
8
  placeholder?: string;
@@ -2,7 +2,7 @@ import { FieldValues } from 'react-hook-form';
2
2
  import { BoxProps } from '../../primitive/index.mjs';
3
3
  import { FormProps } from '../Form/index.mjs';
4
4
  import { TimeRange } from '../TimeRangePicker/helpers.mjs';
5
- export type TSearchAreaValue = string | string[] | Date | TimeRange;
5
+ export type TSearchAreaValue = string | string[] | Date | TimeRange | undefined;
6
6
  interface IFormItemBase {
7
7
  name: string;
8
8
  placeholder?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",