@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
|
@@ -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.
|
|
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 {
|
|
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__ */
|
|
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
|
] }) }),
|