@xyo-network/react-address-render 2.81.9 → 2.82.0
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/browser/components/RenderRowBox.d.cts +2 -1
- package/dist/browser/components/RenderRowBox.d.cts.map +1 -1
- package/dist/browser/components/RenderRowBox.d.mts +2 -1
- package/dist/browser/components/RenderRowBox.d.mts.map +1 -1
- package/dist/browser/components/RenderRowBox.d.ts +2 -1
- package/dist/browser/components/RenderRowBox.d.ts.map +1 -1
- package/dist/browser/components/favorite/FavoriteIconButton.d.cts +3 -2
- package/dist/browser/components/favorite/FavoriteIconButton.d.cts.map +1 -1
- package/dist/browser/components/favorite/FavoriteIconButton.d.mts +3 -2
- package/dist/browser/components/favorite/FavoriteIconButton.d.mts.map +1 -1
- package/dist/browser/components/favorite/FavoriteIconButton.d.ts +3 -2
- package/dist/browser/components/favorite/FavoriteIconButton.d.ts.map +1 -1
- package/dist/browser/components/favorite/FavoriteToggleSVG.d.cts +1 -0
- package/dist/browser/components/favorite/FavoriteToggleSVG.d.cts.map +1 -1
- package/dist/browser/components/favorite/FavoriteToggleSVG.d.mts +1 -0
- package/dist/browser/components/favorite/FavoriteToggleSVG.d.mts.map +1 -1
- package/dist/browser/components/favorite/FavoriteToggleSVG.d.ts +1 -0
- package/dist/browser/components/favorite/FavoriteToggleSVG.d.ts.map +1 -1
- package/dist/browser/components/favorite/Popper.d.cts +2 -2
- package/dist/browser/components/favorite/Popper.d.cts.map +1 -1
- package/dist/browser/components/favorite/Popper.d.mts +2 -2
- package/dist/browser/components/favorite/Popper.d.mts.map +1 -1
- package/dist/browser/components/favorite/Popper.d.ts +2 -2
- package/dist/browser/components/favorite/Popper.d.ts.map +1 -1
- package/dist/browser/components/favorite/PopperButtonGroup.d.cts +1 -0
- package/dist/browser/components/favorite/PopperButtonGroup.d.cts.map +1 -1
- package/dist/browser/components/favorite/PopperButtonGroup.d.mts +1 -0
- package/dist/browser/components/favorite/PopperButtonGroup.d.mts.map +1 -1
- package/dist/browser/components/favorite/PopperButtonGroup.d.ts +1 -0
- package/dist/browser/components/favorite/PopperButtonGroup.d.ts.map +1 -1
- package/dist/browser/components/favorite/index.d.cts +1 -1
- package/dist/browser/components/favorite/index.d.cts.map +1 -1
- package/dist/browser/components/favorite/index.d.mts +1 -1
- package/dist/browser/components/favorite/index.d.mts.map +1 -1
- package/dist/browser/components/favorite/index.d.ts +1 -1
- package/dist/browser/components/favorite/index.d.ts.map +1 -1
- package/dist/browser/components/favorite/lib/index.d.cts +1 -1
- package/dist/browser/components/favorite/lib/index.d.mts +1 -1
- package/dist/browser/components/favorite/lib/index.d.ts +1 -1
- package/dist/browser/components/index.d.cts +3 -3
- package/dist/browser/components/index.d.cts.map +1 -1
- package/dist/browser/components/index.d.mts +3 -3
- package/dist/browser/components/index.d.mts.map +1 -1
- package/dist/browser/components/index.d.ts +3 -3
- package/dist/browser/components/index.d.ts.map +1 -1
- package/dist/browser/components/lib/index.d.cts +1 -1
- package/dist/browser/components/lib/index.d.mts +1 -1
- package/dist/browser/components/lib/index.d.ts +1 -1
- package/dist/browser/index.cjs +173 -169
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +1 -1
- package/dist/browser/index.d.mts +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.mjs +214 -0
- package/dist/browser/index.mjs.map +1 -0
- package/dist/neutral/components/RenderRowBox.d.cts +2 -1
- package/dist/neutral/components/RenderRowBox.d.cts.map +1 -1
- package/dist/neutral/components/RenderRowBox.d.mts +2 -1
- package/dist/neutral/components/RenderRowBox.d.mts.map +1 -1
- package/dist/neutral/components/RenderRowBox.d.ts +2 -1
- package/dist/neutral/components/RenderRowBox.d.ts.map +1 -1
- package/dist/neutral/components/favorite/FavoriteIconButton.d.cts +3 -2
- package/dist/neutral/components/favorite/FavoriteIconButton.d.cts.map +1 -1
- package/dist/neutral/components/favorite/FavoriteIconButton.d.mts +3 -2
- package/dist/neutral/components/favorite/FavoriteIconButton.d.mts.map +1 -1
- package/dist/neutral/components/favorite/FavoriteIconButton.d.ts +3 -2
- package/dist/neutral/components/favorite/FavoriteIconButton.d.ts.map +1 -1
- package/dist/neutral/components/favorite/FavoriteToggleSVG.d.cts +1 -0
- package/dist/neutral/components/favorite/FavoriteToggleSVG.d.cts.map +1 -1
- package/dist/neutral/components/favorite/FavoriteToggleSVG.d.mts +1 -0
- package/dist/neutral/components/favorite/FavoriteToggleSVG.d.mts.map +1 -1
- package/dist/neutral/components/favorite/FavoriteToggleSVG.d.ts +1 -0
- package/dist/neutral/components/favorite/FavoriteToggleSVG.d.ts.map +1 -1
- package/dist/neutral/components/favorite/Popper.d.cts +2 -2
- package/dist/neutral/components/favorite/Popper.d.cts.map +1 -1
- package/dist/neutral/components/favorite/Popper.d.mts +2 -2
- package/dist/neutral/components/favorite/Popper.d.mts.map +1 -1
- package/dist/neutral/components/favorite/Popper.d.ts +2 -2
- package/dist/neutral/components/favorite/Popper.d.ts.map +1 -1
- package/dist/neutral/components/favorite/PopperButtonGroup.d.cts +1 -0
- package/dist/neutral/components/favorite/PopperButtonGroup.d.cts.map +1 -1
- package/dist/neutral/components/favorite/PopperButtonGroup.d.mts +1 -0
- package/dist/neutral/components/favorite/PopperButtonGroup.d.mts.map +1 -1
- package/dist/neutral/components/favorite/PopperButtonGroup.d.ts +1 -0
- package/dist/neutral/components/favorite/PopperButtonGroup.d.ts.map +1 -1
- package/dist/neutral/components/favorite/index.d.cts +1 -1
- package/dist/neutral/components/favorite/index.d.cts.map +1 -1
- package/dist/neutral/components/favorite/index.d.mts +1 -1
- package/dist/neutral/components/favorite/index.d.mts.map +1 -1
- package/dist/neutral/components/favorite/index.d.ts +1 -1
- package/dist/neutral/components/favorite/index.d.ts.map +1 -1
- package/dist/neutral/components/favorite/lib/index.d.cts +1 -1
- package/dist/neutral/components/favorite/lib/index.d.mts +1 -1
- package/dist/neutral/components/favorite/lib/index.d.ts +1 -1
- package/dist/neutral/components/index.d.cts +3 -3
- package/dist/neutral/components/index.d.cts.map +1 -1
- package/dist/neutral/components/index.d.mts +3 -3
- package/dist/neutral/components/index.d.mts.map +1 -1
- package/dist/neutral/components/index.d.ts +3 -3
- package/dist/neutral/components/index.d.ts.map +1 -1
- package/dist/neutral/components/lib/index.d.cts +1 -1
- package/dist/neutral/components/lib/index.d.mts +1 -1
- package/dist/neutral/components/lib/index.d.ts +1 -1
- package/dist/neutral/index.cjs +173 -169
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +1 -1
- package/dist/neutral/index.d.mts +1 -1
- package/dist/neutral/index.d.ts +1 -1
- package/dist/neutral/index.mjs +214 -0
- package/dist/neutral/index.mjs.map +1 -0
- package/dist/node/components/RenderRowBox.d.cts +2 -1
- package/dist/node/components/RenderRowBox.d.cts.map +1 -1
- package/dist/node/components/RenderRowBox.d.mts +2 -1
- package/dist/node/components/RenderRowBox.d.mts.map +1 -1
- package/dist/node/components/RenderRowBox.d.ts +2 -1
- package/dist/node/components/RenderRowBox.d.ts.map +1 -1
- package/dist/node/components/favorite/FavoriteIconButton.d.cts +3 -2
- package/dist/node/components/favorite/FavoriteIconButton.d.cts.map +1 -1
- package/dist/node/components/favorite/FavoriteIconButton.d.mts +3 -2
- package/dist/node/components/favorite/FavoriteIconButton.d.mts.map +1 -1
- package/dist/node/components/favorite/FavoriteIconButton.d.ts +3 -2
- package/dist/node/components/favorite/FavoriteIconButton.d.ts.map +1 -1
- package/dist/node/components/favorite/FavoriteToggleSVG.d.cts +1 -0
- package/dist/node/components/favorite/FavoriteToggleSVG.d.cts.map +1 -1
- package/dist/node/components/favorite/FavoriteToggleSVG.d.mts +1 -0
- package/dist/node/components/favorite/FavoriteToggleSVG.d.mts.map +1 -1
- package/dist/node/components/favorite/FavoriteToggleSVG.d.ts +1 -0
- package/dist/node/components/favorite/FavoriteToggleSVG.d.ts.map +1 -1
- package/dist/node/components/favorite/Popper.d.cts +2 -2
- package/dist/node/components/favorite/Popper.d.cts.map +1 -1
- package/dist/node/components/favorite/Popper.d.mts +2 -2
- package/dist/node/components/favorite/Popper.d.mts.map +1 -1
- package/dist/node/components/favorite/Popper.d.ts +2 -2
- package/dist/node/components/favorite/Popper.d.ts.map +1 -1
- package/dist/node/components/favorite/PopperButtonGroup.d.cts +1 -0
- package/dist/node/components/favorite/PopperButtonGroup.d.cts.map +1 -1
- package/dist/node/components/favorite/PopperButtonGroup.d.mts +1 -0
- package/dist/node/components/favorite/PopperButtonGroup.d.mts.map +1 -1
- package/dist/node/components/favorite/PopperButtonGroup.d.ts +1 -0
- package/dist/node/components/favorite/PopperButtonGroup.d.ts.map +1 -1
- package/dist/node/components/favorite/index.d.cts +1 -1
- package/dist/node/components/favorite/index.d.cts.map +1 -1
- package/dist/node/components/favorite/index.d.mts +1 -1
- package/dist/node/components/favorite/index.d.mts.map +1 -1
- package/dist/node/components/favorite/index.d.ts +1 -1
- package/dist/node/components/favorite/index.d.ts.map +1 -1
- package/dist/node/components/favorite/lib/index.d.cts +1 -1
- package/dist/node/components/favorite/lib/index.d.mts +1 -1
- package/dist/node/components/favorite/lib/index.d.ts +1 -1
- package/dist/node/components/index.d.cts +3 -3
- package/dist/node/components/index.d.cts.map +1 -1
- package/dist/node/components/index.d.mts +3 -3
- package/dist/node/components/index.d.mts.map +1 -1
- package/dist/node/components/index.d.ts +3 -3
- package/dist/node/components/index.d.ts.map +1 -1
- package/dist/node/components/lib/index.d.cts +1 -1
- package/dist/node/components/lib/index.d.mts +1 -1
- package/dist/node/components/lib/index.d.ts +1 -1
- package/dist/node/index.cjs +173 -169
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +1 -1
- package/dist/node/index.d.mts +1 -1
- package/dist/node/index.d.ts +1 -1
- package/dist/node/index.mjs +214 -0
- package/dist/node/index.mjs.map +1 -0
- package/package.json +15 -15
- package/src/components/RenderRowBox.stories.tsx +4 -5
- package/src/components/RenderRowBox.tsx +24 -20
- package/src/components/favorite/FavoriteIconButton.tsx +6 -6
- package/src/components/favorite/FavoriteToggleSVG.tsx +4 -3
- package/src/components/favorite/Popper.tsx +8 -10
- package/src/components/favorite/PopperButtonGroup.tsx +15 -12
- package/src/components/favorite/index.ts +1 -1
- package/src/components/favorite/lib/index.ts +1 -1
- package/src/components/index.ts +3 -3
- package/src/components/lib/index.ts +1 -1
- package/src/index.ts +1 -1
- package/dist/browser/index.js +0 -218
- package/dist/browser/index.js.map +0 -1
- package/dist/neutral/index.js +0 -218
- package/dist/neutral/index.js.map +0 -1
- package/dist/node/index.js +0 -218
- package/dist/node/index.js.map +0 -1
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
|
|
4
|
+
// src/components/favorite/FavoriteIconButton.tsx
|
|
5
|
+
import { IconButton, styled as styled2 } from "@mui/material";
|
|
6
|
+
import { useEvent } from "@xyo-network/react-event";
|
|
7
|
+
import { useShareForwardedRef } from "@xyo-network/react-shared";
|
|
8
|
+
import React4, { forwardRef as forwardRef2, useEffect as useEffect2, useRef, useState as useState2 } from "react";
|
|
9
|
+
|
|
10
|
+
// src/components/lib/FavoriteItemEvent.ts
|
|
11
|
+
var generateFavoriteEvent = /* @__PURE__ */ __name((favorite, favoriteType, favoriteValue, name) => ({
|
|
12
|
+
favorite: !!favorite,
|
|
13
|
+
favoriteType,
|
|
14
|
+
favoriteValue,
|
|
15
|
+
name
|
|
16
|
+
}), "generateFavoriteEvent");
|
|
17
|
+
|
|
18
|
+
// src/components/favorite/FavoriteToggleSVG.tsx
|
|
19
|
+
import { Star as StarIcon, StarBorder as StarBorderIcon } from "@mui/icons-material";
|
|
20
|
+
import React from "react";
|
|
21
|
+
var FavoriteToggleSVG = /* @__PURE__ */ __name(({ favorite }) => /* @__PURE__ */ React.createElement(React.Fragment, null, favorite ? /* @__PURE__ */ React.createElement(StarIcon, {
|
|
22
|
+
className: "favorite-icon",
|
|
23
|
+
component: "svg",
|
|
24
|
+
color: "secondary",
|
|
25
|
+
fontSize: "small"
|
|
26
|
+
}) : /* @__PURE__ */ React.createElement(StarBorderIcon, {
|
|
27
|
+
className: "favorite-icon",
|
|
28
|
+
fontSize: "small"
|
|
29
|
+
})), "FavoriteToggleSVG");
|
|
30
|
+
|
|
31
|
+
// src/components/favorite/lib/PopperId.ts
|
|
32
|
+
var popperId = "favorite-popper";
|
|
33
|
+
|
|
34
|
+
// src/components/favorite/Popper.tsx
|
|
35
|
+
import { Card, CardContent, ClickAwayListener, Fade, Popper, styled, TextField } from "@mui/material";
|
|
36
|
+
import React3, { forwardRef, useEffect, useState } from "react";
|
|
37
|
+
|
|
38
|
+
// src/components/favorite/PopperButtonGroup.tsx
|
|
39
|
+
import { Delete as DeleteIcon, Star as StarIcon2 } from "@mui/icons-material";
|
|
40
|
+
import { Button, ButtonGroup } from "@mui/material";
|
|
41
|
+
import React2 from "react";
|
|
42
|
+
var PopperButtonGroup = /* @__PURE__ */ __name(({ name, onConfirmFavorite, favorite, ...props }) => {
|
|
43
|
+
return /* @__PURE__ */ React2.createElement(ButtonGroup, props, /* @__PURE__ */ React2.createElement(Button, {
|
|
44
|
+
title: "Save Favorite",
|
|
45
|
+
variant: "contained",
|
|
46
|
+
onClick: /* @__PURE__ */ __name((e) => {
|
|
47
|
+
e.stopPropagation();
|
|
48
|
+
onConfirmFavorite?.(name, true);
|
|
49
|
+
}, "onClick")
|
|
50
|
+
}, /* @__PURE__ */ React2.createElement(StarIcon2, null)), favorite ? /* @__PURE__ */ React2.createElement(Button, {
|
|
51
|
+
title: "Remove Favorite",
|
|
52
|
+
variant: "contained",
|
|
53
|
+
onClick: /* @__PURE__ */ __name((e) => {
|
|
54
|
+
e.stopPropagation();
|
|
55
|
+
onConfirmFavorite?.(name, false);
|
|
56
|
+
}, "onClick")
|
|
57
|
+
}, /* @__PURE__ */ React2.createElement(DeleteIcon, null)) : null);
|
|
58
|
+
}, "PopperButtonGroup");
|
|
59
|
+
|
|
60
|
+
// src/components/favorite/Popper.tsx
|
|
61
|
+
var FavoritePopper = /* @__PURE__ */ forwardRef(({ name: nameProp, favorite, favoriteRef, onClickAway, onConfirmFavorite, ...props }, ref) => {
|
|
62
|
+
const [name, setName] = useState(nameProp);
|
|
63
|
+
useEffect(() => {
|
|
64
|
+
setName(nameProp);
|
|
65
|
+
}, [
|
|
66
|
+
nameProp
|
|
67
|
+
]);
|
|
68
|
+
return /* @__PURE__ */ React3.createElement(ClickAwayListener, {
|
|
69
|
+
onClickAway: onClickAway ?? (() => null)
|
|
70
|
+
}, /* @__PURE__ */ React3.createElement(PopperStyled, {
|
|
71
|
+
id: popperId,
|
|
72
|
+
anchorEl: favoriteRef?.current,
|
|
73
|
+
onClick: /* @__PURE__ */ __name((e) => e.stopPropagation(), "onClick"),
|
|
74
|
+
onTouchStart: /* @__PURE__ */ __name((e) => e.stopPropagation(), "onTouchStart"),
|
|
75
|
+
transition: true,
|
|
76
|
+
ref,
|
|
77
|
+
...props
|
|
78
|
+
}, ({ TransitionProps }) => /* @__PURE__ */ React3.createElement(Fade, {
|
|
79
|
+
...TransitionProps,
|
|
80
|
+
timeout: 350
|
|
81
|
+
}, /* @__PURE__ */ React3.createElement(Card, null, /* @__PURE__ */ React3.createElement(CardContent, {
|
|
82
|
+
sx: {
|
|
83
|
+
display: "flex",
|
|
84
|
+
gap: 1
|
|
85
|
+
}
|
|
86
|
+
}, /* @__PURE__ */ React3.createElement(TextField, {
|
|
87
|
+
autoFocus: true,
|
|
88
|
+
label: "Favorite Name",
|
|
89
|
+
placeholder: "optional",
|
|
90
|
+
size: "small",
|
|
91
|
+
value: name ?? "",
|
|
92
|
+
onChange: /* @__PURE__ */ __name((e) => setName(e.target.value), "onChange")
|
|
93
|
+
}), /* @__PURE__ */ React3.createElement(PopperButtonGroup, {
|
|
94
|
+
favorite,
|
|
95
|
+
onConfirmFavorite,
|
|
96
|
+
name
|
|
97
|
+
}))))));
|
|
98
|
+
});
|
|
99
|
+
FavoritePopper.displayName = "FavoritePopper";
|
|
100
|
+
var PopperStyled = styled(Popper, {
|
|
101
|
+
name: "PopperStyled"
|
|
102
|
+
})(() => ({
|
|
103
|
+
zIndex: 9999
|
|
104
|
+
}));
|
|
105
|
+
|
|
106
|
+
// src/components/favorite/FavoriteIconButton.tsx
|
|
107
|
+
var FavoriteIconButton = /* @__PURE__ */ forwardRef2(({ children, favorite: favoriteProp, name, valueType, value, ...props }, ref) => {
|
|
108
|
+
const [openPopper, setOpenPopper] = useState2(false);
|
|
109
|
+
const [favorite, setFavorite] = useState2(favoriteProp);
|
|
110
|
+
useEffect2(() => {
|
|
111
|
+
setFavorite(favoriteProp);
|
|
112
|
+
}, [
|
|
113
|
+
favoriteProp
|
|
114
|
+
]);
|
|
115
|
+
const sharedRef = useShareForwardedRef(ref);
|
|
116
|
+
const [buttonRef, dispatch] = useEvent(void 0, sharedRef);
|
|
117
|
+
const onConfirmFavorite = /* @__PURE__ */ __name((name2, newFavoriteState) => {
|
|
118
|
+
const favoriteEvent = generateFavoriteEvent(!!newFavoriteState, valueType, value, name2);
|
|
119
|
+
dispatch("address", "favorite", JSON.stringify(favoriteEvent));
|
|
120
|
+
setFavorite(newFavoriteState);
|
|
121
|
+
setOpenPopper(false);
|
|
122
|
+
}, "onConfirmFavorite");
|
|
123
|
+
const starRef = useRef(null);
|
|
124
|
+
return /* @__PURE__ */ React4.createElement(IconButtonCondensed, {
|
|
125
|
+
"aria-describedby": popperId,
|
|
126
|
+
ref: buttonRef,
|
|
127
|
+
onClick: /* @__PURE__ */ __name((event) => {
|
|
128
|
+
event.stopPropagation();
|
|
129
|
+
setOpenPopper(!openPopper);
|
|
130
|
+
}, "onClick"),
|
|
131
|
+
onTouchStart: /* @__PURE__ */ __name((event) => {
|
|
132
|
+
event.stopPropagation();
|
|
133
|
+
setOpenPopper(!openPopper);
|
|
134
|
+
}, "onTouchStart"),
|
|
135
|
+
onMouseDown: /* @__PURE__ */ __name((e) => e.stopPropagation(), "onMouseDown"),
|
|
136
|
+
sx: {
|
|
137
|
+
lineHeight: 0,
|
|
138
|
+
p: 0.25
|
|
139
|
+
},
|
|
140
|
+
...props
|
|
141
|
+
}, /* @__PURE__ */ React4.createElement("span", {
|
|
142
|
+
ref: starRef
|
|
143
|
+
}, /* @__PURE__ */ React4.createElement(FavoriteToggleSVG, {
|
|
144
|
+
favorite
|
|
145
|
+
})), /* @__PURE__ */ React4.createElement(FavoritePopper, {
|
|
146
|
+
sx: {
|
|
147
|
+
zIndex: 1301
|
|
148
|
+
},
|
|
149
|
+
name,
|
|
150
|
+
favorite,
|
|
151
|
+
favoriteRef: starRef,
|
|
152
|
+
open: openPopper,
|
|
153
|
+
onConfirmFavorite,
|
|
154
|
+
onClickAway: /* @__PURE__ */ __name(() => setOpenPopper(false), "onClickAway")
|
|
155
|
+
}), children);
|
|
156
|
+
});
|
|
157
|
+
FavoriteIconButton.displayName = "FavoriteIconButton";
|
|
158
|
+
var IconButtonCondensed = styled2(IconButton, {
|
|
159
|
+
name: "IconButtonCondensed"
|
|
160
|
+
})(({ theme }) => ({
|
|
161
|
+
lineHeight: 0,
|
|
162
|
+
padding: theme.spacing(0.25)
|
|
163
|
+
}));
|
|
164
|
+
|
|
165
|
+
// src/components/RenderRowBox.tsx
|
|
166
|
+
import { ListItemIcon, useTheme } from "@mui/material";
|
|
167
|
+
import { FlexRow } from "@xylabs/react-flexbox";
|
|
168
|
+
import { Identicon } from "@xylabs/react-identicon";
|
|
169
|
+
import { useEvent as useEvent2 } from "@xyo-network/react-event";
|
|
170
|
+
import { EllipsizeBox, useShareForwardedRef as useShareForwardedRef2 } from "@xyo-network/react-shared";
|
|
171
|
+
import React5, { forwardRef as forwardRef3 } from "react";
|
|
172
|
+
var AddressRenderRowBox = /* @__PURE__ */ forwardRef3(({ address, children, disableSharedRef, favorite: favoriteProp = false, iconOnly, iconSize = 24, icons, name, showFavorite = false, ...props }, ref) => {
|
|
173
|
+
const theme = useTheme();
|
|
174
|
+
const sharedRef = useShareForwardedRef2(ref);
|
|
175
|
+
const [elementRef, dispatch] = useEvent2(void 0, sharedRef);
|
|
176
|
+
return /* @__PURE__ */ React5.createElement(FlexRow, {
|
|
177
|
+
gap: 2,
|
|
178
|
+
justifyContent: "flex-start",
|
|
179
|
+
ref: elementRef,
|
|
180
|
+
onClick: /* @__PURE__ */ __name(() => {
|
|
181
|
+
if (address) {
|
|
182
|
+
dispatch("address", "click", address);
|
|
183
|
+
}
|
|
184
|
+
}, "onClick"),
|
|
185
|
+
...props
|
|
186
|
+
}, icons && address ? /* @__PURE__ */ React5.createElement(ListItemIcon, {
|
|
187
|
+
sx: {
|
|
188
|
+
minWidth: 0
|
|
189
|
+
}
|
|
190
|
+
}, /* @__PURE__ */ React5.createElement(Identicon, {
|
|
191
|
+
size: iconSize,
|
|
192
|
+
value: address
|
|
193
|
+
})) : null, iconOnly ? null : /* @__PURE__ */ React5.createElement(EllipsizeBox, {
|
|
194
|
+
disableSharedRef,
|
|
195
|
+
ellipsisPosition: "end",
|
|
196
|
+
width: "100%",
|
|
197
|
+
typographyProps: {
|
|
198
|
+
fontSize: theme.typography.body1.fontSize
|
|
199
|
+
}
|
|
200
|
+
}, name ?? address), children, showFavorite && address ? /* @__PURE__ */ React5.createElement(FavoriteIconButton, {
|
|
201
|
+
name,
|
|
202
|
+
size: "small",
|
|
203
|
+
value: address,
|
|
204
|
+
valueType: "address",
|
|
205
|
+
favorite: favoriteProp
|
|
206
|
+
}) : null);
|
|
207
|
+
});
|
|
208
|
+
AddressRenderRowBox.displayName = "AddressRenderRowBox";
|
|
209
|
+
export {
|
|
210
|
+
AddressRenderRowBox,
|
|
211
|
+
FavoriteIconButton,
|
|
212
|
+
generateFavoriteEvent
|
|
213
|
+
};
|
|
214
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/favorite/FavoriteIconButton.tsx","../../src/components/lib/FavoriteItemEvent.ts","../../src/components/favorite/FavoriteToggleSVG.tsx","../../src/components/favorite/lib/PopperId.ts","../../src/components/favorite/Popper.tsx","../../src/components/favorite/PopperButtonGroup.tsx","../../src/components/RenderRowBox.tsx"],"sourcesContent":["import { IconButton, IconButtonProps, styled } from '@mui/material'\nimport { WithChildren } from '@xylabs/react-shared'\nimport { useEvent } from '@xyo-network/react-event'\nimport { useShareForwardedRef } from '@xyo-network/react-shared'\nimport React, { forwardRef, useEffect, useRef, useState } from 'react'\n\nimport { FavoriteItemEvent, generateFavoriteEvent } from '../lib/index.ts'\nimport { FavoriteToggleSVG } from './FavoriteToggleSVG.tsx'\nimport { popperId } from './lib/index.ts'\nimport { FavoritePopper } from './Popper.tsx'\n\nexport interface FavoriteIconButtonProps extends WithChildren, IconButtonProps {\n favorite?: FavoriteItemEvent['favorite']\n name?: FavoriteItemEvent['name']\n value?: string\n valueType?: FavoriteItemEvent['favoriteType']\n}\n\nexport const FavoriteIconButton = forwardRef<HTMLButtonElement, FavoriteIconButtonProps>(\n ({ children, favorite: favoriteProp, name, valueType, value, ...props }, ref) => {\n const [openPopper, setOpenPopper] = useState(false)\n\n const [favorite, setFavorite] = useState(favoriteProp)\n useEffect(() => {\n setFavorite(favoriteProp)\n }, [favoriteProp])\n\n const sharedRef = useShareForwardedRef(ref)\n const [buttonRef, dispatch] = useEvent(undefined, sharedRef)\n\n const onConfirmFavorite = (name?: string, newFavoriteState?: boolean) => {\n const favoriteEvent = generateFavoriteEvent(!!newFavoriteState, valueType, value, name)\n dispatch('address', 'favorite', JSON.stringify(favoriteEvent))\n setFavorite(newFavoriteState)\n setOpenPopper(false)\n }\n\n const starRef = useRef<HTMLSpanElement>(null)\n\n return (\n <IconButtonCondensed\n aria-describedby={popperId}\n ref={buttonRef}\n onClick={(event) => {\n event.stopPropagation()\n setOpenPopper(!openPopper)\n }}\n onTouchStart={(event) => {\n event.stopPropagation()\n setOpenPopper(!openPopper)\n }}\n onMouseDown={e => e.stopPropagation()}\n sx={{ lineHeight: 0, p: 0.25 }}\n {...props}\n >\n <span ref={starRef}>\n <FavoriteToggleSVG favorite={favorite} />\n </span>\n <FavoritePopper\n sx={{ zIndex: 1301 }}\n name={name}\n favorite={favorite}\n favoriteRef={starRef}\n open={openPopper}\n onConfirmFavorite={onConfirmFavorite}\n onClickAway={() => setOpenPopper(false)}\n />\n {children}\n </IconButtonCondensed>\n )\n },\n)\n\nFavoriteIconButton.displayName = 'FavoriteIconButton'\n\nconst IconButtonCondensed = styled(IconButton, { name: 'IconButtonCondensed' })(({ theme }) => ({\n lineHeight: 0,\n padding: theme.spacing(0.25),\n}))\n","export interface FavoriteItemEvent {\n favorite?: boolean\n favoriteType?: FavoriteType\n favoriteValue?: string\n name?: string\n}\n\nexport type FavoriteType = 'address' | 'schema' | 'hash'\n\nexport const generateFavoriteEvent = (favorite?: boolean, favoriteType?: FavoriteType, favoriteValue?: string, name?: string): FavoriteItemEvent => ({\n favorite: !!favorite,\n favoriteType,\n favoriteValue,\n name,\n})\n","import { Star as StarIcon, StarBorder as StarBorderIcon } from '@mui/icons-material'\nimport React from 'react'\n\nexport const FavoriteToggleSVG: React.FC<{ favorite?: boolean }> = ({ favorite }) => (\n <>\n {favorite\n ? <StarIcon className=\"favorite-icon\" component=\"svg\" color=\"secondary\" fontSize=\"small\" />\n : <StarBorderIcon className=\"favorite-icon\" fontSize=\"small\" />}\n </>\n)\n","export const popperId = 'favorite-popper'\n","import { Card, CardContent, ClickAwayListener, Fade, Popper, PopperProps, styled, TextField } from '@mui/material'\nimport React, { forwardRef, RefObject, useEffect, useState } from 'react'\n\nimport { popperId } from './lib/index.ts'\nimport { PopperButtonGroup } from './PopperButtonGroup.tsx'\n\nexport interface FavoritePopperProps extends PopperProps {\n favorite?: boolean\n favoriteRef?: RefObject<HTMLElement>\n name?: string\n onClickAway?: (event: MouseEvent | TouchEvent) => void\n onConfirmFavorite?: (name?: string, newFavoriteState?: boolean) => void\n}\nexport const FavoritePopper = forwardRef<HTMLDivElement, FavoritePopperProps>(\n (\n {\n name: nameProp,\n favorite,\n favoriteRef,\n onClickAway,\n onConfirmFavorite,\n ...props\n },\n ref,\n ) => {\n const [name, setName] = useState(nameProp)\n useEffect(() => {\n setName(nameProp)\n }, [nameProp])\n\n return (\n <ClickAwayListener onClickAway={onClickAway ?? (() => null)}>\n <PopperStyled\n id={popperId}\n anchorEl={favoriteRef?.current}\n onClick={e => e.stopPropagation()}\n onTouchStart={e => e.stopPropagation()}\n transition\n ref={ref}\n {...props}\n >\n {({ TransitionProps }) => (\n <Fade {...TransitionProps} timeout={350}>\n <Card>\n <CardContent sx={{ display: 'flex', gap: 1 }}>\n <TextField\n autoFocus\n label=\"Favorite Name\"\n placeholder=\"optional\"\n size=\"small\"\n value={name ?? ''}\n onChange={e => setName(e.target.value)}\n />\n <PopperButtonGroup favorite={favorite} onConfirmFavorite={onConfirmFavorite} name={name} />\n </CardContent>\n </Card>\n </Fade>\n )}\n </PopperStyled>\n </ClickAwayListener>\n )\n },\n)\n\nFavoritePopper.displayName = 'FavoritePopper'\n\n// Ensure the popper is over all other mui portal elements\nconst PopperStyled = styled(Popper, { name: 'PopperStyled' })(() => ({ zIndex: 9999 }))\n","import { Delete as DeleteIcon, Star as StarIcon } from '@mui/icons-material'\nimport { Button, ButtonGroup, ButtonGroupProps } from '@mui/material'\nimport React from 'react'\n\nexport interface FavoritePopperProps extends ButtonGroupProps {\n favorite?: boolean\n name?: string\n onConfirmFavorite?: (name?: string, newFavoriteState?: boolean) => void\n}\n\nexport const PopperButtonGroup: React.FC<FavoritePopperProps> = ({ name, onConfirmFavorite, favorite, ...props }) => {\n return (\n <ButtonGroup {...props}>\n <Button\n title=\"Save Favorite\"\n variant=\"contained\"\n onClick={(e) => {\n e.stopPropagation()\n onConfirmFavorite?.(name, true)\n }}\n >\n <StarIcon />\n </Button>\n {favorite\n ? (\n <Button\n title=\"Remove Favorite\"\n variant=\"contained\"\n onClick={(e) => {\n e.stopPropagation()\n onConfirmFavorite?.(name, false)\n }}\n >\n <DeleteIcon />\n </Button>\n )\n : null}\n </ButtonGroup>\n )\n}\n","import { ListItemIcon, useTheme } from '@mui/material'\nimport { FlexBoxProps, FlexRow } from '@xylabs/react-flexbox'\nimport { Identicon } from '@xylabs/react-identicon'\nimport { useEvent } from '@xyo-network/react-event'\nimport { EllipsizeBox, useShareForwardedRef } from '@xyo-network/react-shared'\nimport React, { forwardRef } from 'react'\n\nimport { FavoriteIconButton } from './favorite/index.ts'\n\nexport interface AddressRenderRowBoxProps extends FlexBoxProps {\n address?: string | null\n disableSharedRef?: boolean\n favorite?: boolean\n iconOnly?: boolean\n iconSize?: number\n icons?: boolean\n name?: string\n showFavorite?: boolean\n}\n\nexport const AddressRenderRowBox = forwardRef<HTMLElement, AddressRenderRowBoxProps>(\n (\n { address, children, disableSharedRef, favorite: favoriteProp = false, iconOnly, iconSize = 24, icons, name, showFavorite = false, ...props },\n ref,\n ) => {\n const theme = useTheme()\n\n const sharedRef = useShareForwardedRef(ref)\n const [elementRef, dispatch] = useEvent(undefined, sharedRef)\n\n return (\n <FlexRow\n gap={2}\n justifyContent=\"flex-start\"\n ref={elementRef}\n onClick={() => {\n if (address) {\n dispatch('address', 'click', address)\n }\n }}\n {...props}\n >\n {icons && address\n ? (\n <ListItemIcon sx={{ minWidth: 0 }}>\n <Identicon size={iconSize} value={address} />\n </ListItemIcon>\n )\n : null}\n {iconOnly\n ? null\n : (\n <EllipsizeBox\n disableSharedRef={disableSharedRef}\n ellipsisPosition=\"end\"\n width=\"100%\"\n typographyProps={{ fontSize: theme.typography.body1.fontSize }}\n >\n {name ?? address}\n </EllipsizeBox>\n )}\n {children}\n {showFavorite && address\n ? <FavoriteIconButton name={name} size=\"small\" value={address} valueType=\"address\" favorite={favoriteProp} />\n : null}\n </FlexRow>\n )\n },\n)\n\nAddressRenderRowBox.displayName = 'AddressRenderRowBox'\n"],"mappings":";;;;AAAA,SAASA,YAA6BC,UAAAA,eAAc;AAEpD,SAASC,gBAAgB;AACzB,SAASC,4BAA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ASuC,WAAU;IAAUpC,UAAUC;OAC3F,IAAA;AAGV,CAAA;AAGFN,oBAAoB0C,cAAc;","names":["IconButton","styled","useEvent","useShareForwardedRef","React","forwardRef","useEffect","useRef","useState","generateFavoriteEvent","favorite","favoriteType","favoriteValue","name","Star","StarIcon","StarBorder","StarBorderIcon","React","FavoriteToggleSVG","favorite","StarIcon","className","component","color","fontSize","StarBorderIcon","popperId","Card","CardContent","ClickAwayListener","Fade","Popper","styled","TextField","React","forwardRef","useEffect","useState","Delete","DeleteIcon","Star","StarIcon","Button","ButtonGroup","React","PopperButtonGroup","name","onConfirmFavorite","favorite","props","React","ButtonGroup","Button","title","variant","onClick","e","stopPropagation","StarIcon","DeleteIcon","FavoritePopper","forwardRef","name","nameProp","favorite","favoriteRef","onClickAway","onConfirmFavorite","props","ref","setName","useState","useEffect","React","ClickAwayListener","PopperStyled","id","popperId","anchorEl","current","onClick","e","stopPropagation","onTouchStart","transition","TransitionProps","Fade","timeout","Card","CardContent","sx","display","gap","TextField","autoFocus","label","placeholder","size","value","onChange","target","PopperButtonGroup","displayName","styled","Popper","zIndex","FavoriteIconButton","forwardRef","children","favorite","favoriteProp","name","valueType","value","props","ref","openPopper","setOpenPopper","useState","setFavorite","useEffect","sharedRef","useShareForwardedRef","buttonRef","dispatch","useEvent","undefined","onConfirmFavorite","newFavoriteState","favoriteEvent","generateFavoriteEvent","JSON","stringify","starRef","useRef","React","IconButtonCondensed","aria-describedby","popperId","onClick","event","stopPropagation","onTouchStart","onMouseDown","e","sx","lineHeight","p","span","FavoriteToggleSVG","FavoritePopper","zIndex","favoriteRef","open","onClickAway","displayName","styled","IconButton","theme","padding","spacing","ListItemIcon","useTheme","FlexRow","Identicon","useEvent","EllipsizeBox","useShareForwardedRef","React","forwardRef","AddressRenderRowBox","forwardRef","address","children","disableSharedRef","favorite","favoriteProp","iconOnly","iconSize","icons","name","showFavorite","props","ref","theme","useTheme","sharedRef","useShareForwardedRef","elementRef","dispatch","useEvent","undefined","React","FlexRow","gap","justifyContent","onClick","ListItemIcon","sx","minWidth","Identicon","size","value","EllipsizeBox","ellipsisPosition","width","typographyProps","fontSize","typography","body1","FavoriteIconButton","valueType","displayName"]}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export interface AddressRenderRowBoxProps extends FlexBoxProps {
|
|
3
4
|
address?: string | null;
|
|
4
5
|
disableSharedRef?: boolean;
|
|
@@ -9,5 +10,5 @@ export interface AddressRenderRowBoxProps extends FlexBoxProps {
|
|
|
9
10
|
name?: string;
|
|
10
11
|
showFavorite?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare const AddressRenderRowBox:
|
|
13
|
+
export declare const AddressRenderRowBox: React.ForwardRefExoticComponent<AddressRenderRowBoxProps & React.RefAttributes<HTMLElement>>;
|
|
13
14
|
//# sourceMappingURL=RenderRowBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderRowBox.d.ts","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"RenderRowBox.d.ts","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAI7D,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,MAAM,WAAW,wBAAyB,SAAQ,YAAY;IAC5D,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,mBAAmB,8FAgD/B,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export interface AddressRenderRowBoxProps extends FlexBoxProps {
|
|
3
4
|
address?: string | null;
|
|
4
5
|
disableSharedRef?: boolean;
|
|
@@ -9,5 +10,5 @@ export interface AddressRenderRowBoxProps extends FlexBoxProps {
|
|
|
9
10
|
name?: string;
|
|
10
11
|
showFavorite?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare const AddressRenderRowBox:
|
|
13
|
+
export declare const AddressRenderRowBox: React.ForwardRefExoticComponent<AddressRenderRowBoxProps & React.RefAttributes<HTMLElement>>;
|
|
13
14
|
//# sourceMappingURL=RenderRowBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderRowBox.d.ts","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"RenderRowBox.d.ts","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAI7D,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,MAAM,WAAW,wBAAyB,SAAQ,YAAY;IAC5D,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,mBAAmB,8FAgD/B,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export interface AddressRenderRowBoxProps extends FlexBoxProps {
|
|
3
4
|
address?: string | null;
|
|
4
5
|
disableSharedRef?: boolean;
|
|
@@ -9,5 +10,5 @@ export interface AddressRenderRowBoxProps extends FlexBoxProps {
|
|
|
9
10
|
name?: string;
|
|
10
11
|
showFavorite?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare const AddressRenderRowBox:
|
|
13
|
+
export declare const AddressRenderRowBox: React.ForwardRefExoticComponent<AddressRenderRowBoxProps & React.RefAttributes<HTMLElement>>;
|
|
13
14
|
//# sourceMappingURL=RenderRowBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RenderRowBox.d.ts","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"RenderRowBox.d.ts","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAI7D,OAAO,KAAqB,MAAM,OAAO,CAAA;AAIzC,MAAM,WAAW,wBAAyB,SAAQ,YAAY;IAC5D,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,eAAO,MAAM,mBAAmB,8FAgD/B,CAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { IconButtonProps } from '@mui/material';
|
|
2
2
|
import { WithChildren } from '@xylabs/react-shared';
|
|
3
|
-
import
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { FavoriteItemEvent } from '../lib/index.ts';
|
|
4
5
|
export interface FavoriteIconButtonProps extends WithChildren, IconButtonProps {
|
|
5
6
|
favorite?: FavoriteItemEvent['favorite'];
|
|
6
7
|
name?: FavoriteItemEvent['name'];
|
|
7
8
|
value?: string;
|
|
8
9
|
valueType?: FavoriteItemEvent['favoriteType'];
|
|
9
10
|
}
|
|
10
|
-
export declare const FavoriteIconButton:
|
|
11
|
+
export declare const FavoriteIconButton: React.ForwardRefExoticComponent<Omit<FavoriteIconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
12
|
//# sourceMappingURL=FavoriteIconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAU,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"FavoriteIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAU,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,OAAO,KAAkD,MAAM,OAAO,CAAA;AAEtE,OAAO,EAAE,iBAAiB,EAAyB,MAAM,iBAAiB,CAAA;AAK1E,MAAM,WAAW,uBAAwB,SAAQ,YAAY,EAAE,eAAe;IAC5E,QAAQ,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAA;IACxC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAA;CAC9C;AAED,eAAO,MAAM,kBAAkB,gHAqD9B,CAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { IconButtonProps } from '@mui/material';
|
|
2
2
|
import { WithChildren } from '@xylabs/react-shared';
|
|
3
|
-
import
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { FavoriteItemEvent } from '../lib/index.ts';
|
|
4
5
|
export interface FavoriteIconButtonProps extends WithChildren, IconButtonProps {
|
|
5
6
|
favorite?: FavoriteItemEvent['favorite'];
|
|
6
7
|
name?: FavoriteItemEvent['name'];
|
|
7
8
|
value?: string;
|
|
8
9
|
valueType?: FavoriteItemEvent['favoriteType'];
|
|
9
10
|
}
|
|
10
|
-
export declare const FavoriteIconButton:
|
|
11
|
+
export declare const FavoriteIconButton: React.ForwardRefExoticComponent<Omit<FavoriteIconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
12
|
//# sourceMappingURL=FavoriteIconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAU,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"FavoriteIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAU,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,OAAO,KAAkD,MAAM,OAAO,CAAA;AAEtE,OAAO,EAAE,iBAAiB,EAAyB,MAAM,iBAAiB,CAAA;AAK1E,MAAM,WAAW,uBAAwB,SAAQ,YAAY,EAAE,eAAe;IAC5E,QAAQ,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAA;IACxC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAA;CAC9C;AAED,eAAO,MAAM,kBAAkB,gHAqD9B,CAAA"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { IconButtonProps } from '@mui/material';
|
|
2
2
|
import { WithChildren } from '@xylabs/react-shared';
|
|
3
|
-
import
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { FavoriteItemEvent } from '../lib/index.ts';
|
|
4
5
|
export interface FavoriteIconButtonProps extends WithChildren, IconButtonProps {
|
|
5
6
|
favorite?: FavoriteItemEvent['favorite'];
|
|
6
7
|
name?: FavoriteItemEvent['name'];
|
|
7
8
|
value?: string;
|
|
8
9
|
valueType?: FavoriteItemEvent['favoriteType'];
|
|
9
10
|
}
|
|
10
|
-
export declare const FavoriteIconButton:
|
|
11
|
+
export declare const FavoriteIconButton: React.ForwardRefExoticComponent<Omit<FavoriteIconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
12
|
//# sourceMappingURL=FavoriteIconButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAU,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"FavoriteIconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteIconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAU,MAAM,eAAe,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAGnD,OAAO,KAAkD,MAAM,OAAO,CAAA;AAEtE,OAAO,EAAE,iBAAiB,EAAyB,MAAM,iBAAiB,CAAA;AAK1E,MAAM,WAAW,uBAAwB,SAAQ,YAAY,EAAE,eAAe;IAC5E,QAAQ,CAAC,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAA;IACxC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAA;CAC9C;AAED,eAAO,MAAM,kBAAkB,gHAqD9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteToggleSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FavoriteToggleSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAM9D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteToggleSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FavoriteToggleSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAM9D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FavoriteToggleSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FavoriteToggleSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAM9D,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopperProps } from '@mui/material';
|
|
2
|
-
import { RefObject } from 'react';
|
|
2
|
+
import React, { RefObject } from 'react';
|
|
3
3
|
export interface FavoritePopperProps extends PopperProps {
|
|
4
4
|
favorite?: boolean;
|
|
5
5
|
favoriteRef?: RefObject<HTMLElement>;
|
|
@@ -7,5 +7,5 @@ export interface FavoritePopperProps extends PopperProps {
|
|
|
7
7
|
onClickAway?: (event: MouseEvent | TouchEvent) => void;
|
|
8
8
|
onConfirmFavorite?: (name?: string, newFavoriteState?: boolean) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare const FavoritePopper:
|
|
10
|
+
export declare const FavoritePopper: React.ForwardRefExoticComponent<Omit<FavoritePopperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//# sourceMappingURL=Popper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsD,WAAW,EAAqB,MAAM,eAAe,CAAA;AAClH,OAAO,EAAc,SAAS,EAAuB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsD,WAAW,EAAqB,MAAM,eAAe,CAAA;AAClH,OAAO,KAAK,EAAE,EAAc,SAAS,EAAuB,MAAM,OAAO,CAAA;AAKzE,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,CAAA;IACtD,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;CACxE;AACD,eAAO,MAAM,cAAc,yGAiD1B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopperProps } from '@mui/material';
|
|
2
|
-
import { RefObject } from 'react';
|
|
2
|
+
import React, { RefObject } from 'react';
|
|
3
3
|
export interface FavoritePopperProps extends PopperProps {
|
|
4
4
|
favorite?: boolean;
|
|
5
5
|
favoriteRef?: RefObject<HTMLElement>;
|
|
@@ -7,5 +7,5 @@ export interface FavoritePopperProps extends PopperProps {
|
|
|
7
7
|
onClickAway?: (event: MouseEvent | TouchEvent) => void;
|
|
8
8
|
onConfirmFavorite?: (name?: string, newFavoriteState?: boolean) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare const FavoritePopper:
|
|
10
|
+
export declare const FavoritePopper: React.ForwardRefExoticComponent<Omit<FavoritePopperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//# sourceMappingURL=Popper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsD,WAAW,EAAqB,MAAM,eAAe,CAAA;AAClH,OAAO,EAAc,SAAS,EAAuB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsD,WAAW,EAAqB,MAAM,eAAe,CAAA;AAClH,OAAO,KAAK,EAAE,EAAc,SAAS,EAAuB,MAAM,OAAO,CAAA;AAKzE,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,CAAA;IACtD,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;CACxE;AACD,eAAO,MAAM,cAAc,yGAiD1B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopperProps } from '@mui/material';
|
|
2
|
-
import { RefObject } from 'react';
|
|
2
|
+
import React, { RefObject } from 'react';
|
|
3
3
|
export interface FavoritePopperProps extends PopperProps {
|
|
4
4
|
favorite?: boolean;
|
|
5
5
|
favoriteRef?: RefObject<HTMLElement>;
|
|
@@ -7,5 +7,5 @@ export interface FavoritePopperProps extends PopperProps {
|
|
|
7
7
|
onClickAway?: (event: MouseEvent | TouchEvent) => void;
|
|
8
8
|
onConfirmFavorite?: (name?: string, newFavoriteState?: boolean) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare const FavoritePopper:
|
|
10
|
+
export declare const FavoritePopper: React.ForwardRefExoticComponent<Omit<FavoritePopperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
11
|
//# sourceMappingURL=Popper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsD,WAAW,EAAqB,MAAM,eAAe,CAAA;AAClH,OAAO,EAAc,SAAS,EAAuB,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsD,WAAW,EAAqB,MAAM,eAAe,CAAA;AAClH,OAAO,KAAK,EAAE,EAAc,SAAS,EAAuB,MAAM,OAAO,CAAA;AAKzE,MAAM,WAAW,mBAAoB,SAAQ,WAAW;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IACpC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,GAAG,UAAU,KAAK,IAAI,CAAA;IACtD,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;CACxE;AACD,eAAO,MAAM,cAAc,yGAiD1B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopperButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"PopperButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;CACxE;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6B3D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopperButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"PopperButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;CACxE;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6B3D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopperButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"PopperButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACrE,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,OAAO,KAAK,IAAI,CAAA;CACxE;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA6B3D,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './FavoriteIconButton.
|
|
1
|
+
export * from './FavoriteIconButton.tsx';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './FavoriteIconButton.
|
|
1
|
+
export * from './FavoriteIconButton.tsx';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './FavoriteIconButton.
|
|
1
|
+
export * from './FavoriteIconButton.tsx';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './PopperId.
|
|
1
|
+
export * from './PopperId.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './PopperId.
|
|
1
|
+
export * from './PopperId.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './PopperId.
|
|
1
|
+
export * from './PopperId.ts';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './favorite/index.
|
|
2
|
-
export * from './lib/index.
|
|
3
|
-
export * from './RenderRowBox.
|
|
1
|
+
export * from './favorite/index.ts';
|
|
2
|
+
export * from './lib/index.ts';
|
|
3
|
+
export * from './RenderRowBox.tsx';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './favorite/index.
|
|
2
|
-
export * from './lib/index.
|
|
3
|
-
export * from './RenderRowBox.
|
|
1
|
+
export * from './favorite/index.ts';
|
|
2
|
+
export * from './lib/index.ts';
|
|
3
|
+
export * from './RenderRowBox.tsx';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA"}
|