@gearbox-protocol/permissionless-ui 1.2.25 → 1.2.26
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/dist/cjs/components/cards/expendable-card.js +3 -3
- package/dist/cjs/components/cards/index.js +2 -2
- package/dist/esm/components/cards/expendable-card.js +2 -2
- package/dist/esm/components/cards/index.js +1 -1
- package/dist/types/components/cards/expendable-card.d.ts +3 -3
- package/dist/types/components/cards/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
30
|
var expendable_card_exports = {};
|
|
31
31
|
__export(expendable_card_exports, {
|
|
32
|
-
|
|
32
|
+
ExpandableCard: () => ExpandableCard
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(expendable_card_exports);
|
|
35
35
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -37,7 +37,7 @@ var import_lucide_react = require("lucide-react");
|
|
|
37
37
|
var React = __toESM(require("react"));
|
|
38
38
|
var import_utils = __toESM(require('../../utils/index.js'));
|
|
39
39
|
var import_card = require('./card.js');
|
|
40
|
-
function
|
|
40
|
+
function ExpandableCard({ header, children }) {
|
|
41
41
|
const [isExpanded, setIsExpanded] = React.useState(false);
|
|
42
42
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_card.Card, { children: [
|
|
43
43
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
@@ -68,5 +68,5 @@ function ExpendableCard({ header, children }) {
|
|
|
68
68
|
}
|
|
69
69
|
// Annotate the CommonJS export names for ESM import in node:
|
|
70
70
|
0 && (module.exports = {
|
|
71
|
-
|
|
71
|
+
ExpandableCard
|
|
72
72
|
});
|
|
@@ -17,10 +17,10 @@ var cards_exports = {};
|
|
|
17
17
|
module.exports = __toCommonJS(cards_exports);
|
|
18
18
|
__reExport(cards_exports, require('./card.js'), module.exports);
|
|
19
19
|
__reExport(cards_exports, require('./danger-zone.js'), module.exports);
|
|
20
|
-
__reExport(cards_exports, require('./
|
|
20
|
+
__reExport(cards_exports, require('./Expandable-card.js'), module.exports);
|
|
21
21
|
// Annotate the CommonJS export names for ESM import in node:
|
|
22
22
|
0 && (module.exports = {
|
|
23
23
|
...require('./card.js'),
|
|
24
24
|
...require('./danger-zone.js'),
|
|
25
|
-
...require('./
|
|
25
|
+
...require('./Expandable-card.js')
|
|
26
26
|
});
|
|
@@ -4,7 +4,7 @@ import { ChevronDown } from "lucide-react";
|
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import cn from "../../utils/index.js";
|
|
6
6
|
import { Card, CardContent } from "./card.js";
|
|
7
|
-
function
|
|
7
|
+
function ExpandableCard({ header, children }) {
|
|
8
8
|
const [isExpanded, setIsExpanded] = React.useState(false);
|
|
9
9
|
return /* @__PURE__ */ jsxs(Card, { children: [
|
|
10
10
|
/* @__PURE__ */ jsxs(
|
|
@@ -34,5 +34,5 @@ function ExpendableCard({ header, children }) {
|
|
|
34
34
|
] });
|
|
35
35
|
}
|
|
36
36
|
export {
|
|
37
|
-
|
|
37
|
+
ExpandableCard
|
|
38
38
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
interface
|
|
2
|
+
interface ExpandableCardProps {
|
|
3
3
|
header: React.ReactNode;
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
}
|
|
6
|
-
declare function
|
|
7
|
-
export {
|
|
6
|
+
declare function ExpandableCard({ header, children }: ExpandableCardProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { ExpandableCard };
|