@tidbcloud/uikit 2.0.9 → 2.0.10

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.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Feat/remove clear btn icon ([#460](https://github.com/tidbcloud/tidbcloud-uikit/pull/460))
8
+
3
9
  ## 2.0.9
4
10
 
5
11
  ### Patch Changes
@@ -176,10 +176,7 @@ function SearchArea(props) {
176
176
  x.name
177
177
  )),
178
178
  /* @__PURE__ */ jsxRuntime.jsxs(Box.Box, { sx: SX_Y_MID, children: [
179
- /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { sx: SX_Y_MID, children: /* @__PURE__ */ jsxRuntime.jsxs(index.Button, { variant: "subtle", onClick: handleReset, children: [
180
- /* @__PURE__ */ jsxRuntime.jsx(index$1.IconEraser, { size: 16, style: { marginRight: 4 } }),
181
- "Clear Filters"
182
- ] }) }),
179
+ /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { sx: SX_Y_MID, children: /* @__PURE__ */ jsxRuntime.jsx(index.Button, { variant: "subtle", onClick: handleReset, children: "Clear Filters" }) }),
183
180
  onRefresh && /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { ml: 16, sx: SX_Y_MID, children: /* @__PURE__ */ jsxRuntime.jsx(index.Button, { variant: "subtle", onClick: handleRefresh, children: /* @__PURE__ */ jsxRuntime.jsx(index$1.IconRefreshCw01, { size: 16 }) }) })
184
181
  ] })
185
182
  ] }) }),
@@ -2,7 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
3
  import { useForm } from "react-hook-form";
4
4
  import { useURLQueryState } from "../../hooks/useURLQueryState.mjs";
5
- import { IconEraser, IconRefreshCw01, IconXClose } from "../../icons/index.mjs";
5
+ import { IconRefreshCw01, IconXClose } from "../../icons/index.mjs";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
@@ -174,10 +174,7 @@ function SearchArea(props) {
174
174
  x.name
175
175
  )),
176
176
  /* @__PURE__ */ jsxs(Box, { sx: SX_Y_MID, children: [
177
- /* @__PURE__ */ jsx(Box, { sx: SX_Y_MID, children: /* @__PURE__ */ jsxs(Button, { variant: "subtle", onClick: handleReset, children: [
178
- /* @__PURE__ */ jsx(IconEraser, { size: 16, style: { marginRight: 4 } }),
179
- "Clear Filters"
180
- ] }) }),
177
+ /* @__PURE__ */ jsx(Box, { sx: SX_Y_MID, children: /* @__PURE__ */ jsx(Button, { variant: "subtle", onClick: handleReset, children: "Clear Filters" }) }),
181
178
  onRefresh && /* @__PURE__ */ jsx(Box, { ml: 16, sx: SX_Y_MID, children: /* @__PURE__ */ jsx(Button, { variant: "subtle", onClick: handleRefresh, children: /* @__PURE__ */ jsx(IconRefreshCw01, { size: 16 }) }) })
182
179
  ] })
183
180
  ] }) }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",