@tidbcloud/uikit 2.0.8 → 2.0.9

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.9
4
+
5
+ ### Patch Changes
6
+
7
+ - refine(time_range_picker): update default order of timerange ([#458](https://github.com/tidbcloud/tidbcloud-uikit/pull/458))
8
+
3
9
  ## 2.0.8
4
10
 
5
11
  ### Patch Changes
@@ -6,15 +6,15 @@ const dayjs = require("dayjs");
6
6
  require("../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.cjs");
7
7
  require("../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.cjs");
8
8
  const DEFAULT_QUICK_RANGES = [
9
- 3 * 24 * 60 * 60,
10
- 2 * 24 * 60 * 60,
11
- 24 * 60 * 60,
12
- 12 * 60 * 60,
13
- 3 * 60 * 60,
14
- 60 * 60,
15
- 30 * 60,
9
+ 5 * 60,
16
10
  15 * 60,
17
- 5 * 60
11
+ 30 * 60,
12
+ 60 * 60,
13
+ 3 * 60 * 60,
14
+ 12 * 60 * 60,
15
+ 24 * 60 * 60,
16
+ 2 * 24 * 60 * 60,
17
+ 3 * 24 * 60 * 60
18
18
  ];
19
19
  const DEFAULT_TIME_RANGE = {
20
20
  type: "relative",
@@ -4,15 +4,15 @@ import dayjs from "dayjs";
4
4
  import "../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/timezone.mjs";
5
5
  import "../../node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/plugin/utc.mjs";
6
6
  const DEFAULT_QUICK_RANGES = [
7
- 3 * 24 * 60 * 60,
8
- 2 * 24 * 60 * 60,
9
- 24 * 60 * 60,
10
- 12 * 60 * 60,
11
- 3 * 60 * 60,
12
- 60 * 60,
13
- 30 * 60,
7
+ 5 * 60,
14
8
  15 * 60,
15
- 5 * 60
9
+ 30 * 60,
10
+ 60 * 60,
11
+ 3 * 60 * 60,
12
+ 12 * 60 * 60,
13
+ 24 * 60 * 60,
14
+ 2 * 24 * 60 * 60,
15
+ 3 * 24 * 60 * 60
16
16
  ];
17
17
  const DEFAULT_TIME_RANGE = {
18
18
  type: "relative",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",