@xyo-network/react-address-render 2.61.0 → 2.62.3

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.
Files changed (114) hide show
  1. package/dist/components/RenderRowBox.d.mts.map +1 -0
  2. package/dist/components/RenderRowBox.d.ts +14 -0
  3. package/dist/components/RenderRowBox.d.ts.map +1 -0
  4. package/dist/components/RenderRowBox.stories.d.mts +12 -0
  5. package/dist/components/RenderRowBox.stories.d.mts.map +1 -0
  6. package/dist/components/RenderRowBox.stories.d.ts +12 -0
  7. package/dist/components/RenderRowBox.stories.d.ts.map +1 -0
  8. package/dist/components/favorite/FavoriteIconButton.d.mts.map +1 -0
  9. package/dist/components/favorite/FavoriteIconButton.d.ts +12 -0
  10. package/dist/components/favorite/FavoriteIconButton.d.ts.map +1 -0
  11. package/dist/components/favorite/FavoriteToggleSVG.d.mts.map +1 -0
  12. package/dist/components/favorite/FavoriteToggleSVG.d.ts +5 -0
  13. package/dist/components/favorite/FavoriteToggleSVG.d.ts.map +1 -0
  14. package/dist/components/favorite/Popper.d.mts.map +1 -0
  15. package/dist/components/favorite/Popper.d.ts +11 -0
  16. package/dist/components/favorite/Popper.d.ts.map +1 -0
  17. package/dist/components/favorite/PopperButtonGroup.d.mts.map +1 -0
  18. package/dist/components/favorite/PopperButtonGroup.d.ts +9 -0
  19. package/dist/components/favorite/PopperButtonGroup.d.ts.map +1 -0
  20. package/dist/components/favorite/index.d.mts.map +1 -0
  21. package/dist/{esm/components/favorite/index.js → components/favorite/index.d.ts} +1 -1
  22. package/dist/components/favorite/index.d.ts.map +1 -0
  23. package/dist/components/favorite/lib/PopperId.d.mts.map +1 -0
  24. package/dist/components/favorite/lib/PopperId.d.ts +2 -0
  25. package/dist/components/favorite/lib/PopperId.d.ts.map +1 -0
  26. package/dist/components/favorite/lib/index.d.mts.map +1 -0
  27. package/dist/components/favorite/lib/index.d.ts +2 -0
  28. package/dist/components/favorite/lib/index.d.ts.map +1 -0
  29. package/dist/components/index.d.mts.map +1 -0
  30. package/dist/{esm/components/index.js → components/index.d.ts} +1 -1
  31. package/dist/components/index.d.ts.map +1 -0
  32. package/dist/components/lib/FavoriteItemEvent.d.mts.map +1 -0
  33. package/dist/components/lib/FavoriteItemEvent.d.ts +9 -0
  34. package/dist/components/lib/FavoriteItemEvent.d.ts.map +1 -0
  35. package/dist/components/lib/index.d.mts.map +1 -0
  36. package/dist/{esm/components/lib/index.js → components/lib/index.d.ts} +1 -1
  37. package/dist/components/lib/index.d.ts.map +1 -0
  38. package/dist/docs.json +24106 -0
  39. package/dist/index.d.mts.map +1 -0
  40. package/dist/index.d.ts +2 -0
  41. package/dist/{types/index.d.ts.map → index.d.ts.map} +1 -1
  42. package/dist/index.js +259 -0
  43. package/dist/index.js.map +1 -0
  44. package/dist/index.mjs +220 -0
  45. package/dist/index.mjs.map +1 -0
  46. package/package.json +31 -23
  47. package/dist/cjs/components/RenderRowBox.js +0 -25
  48. package/dist/cjs/components/RenderRowBox.js.map +0 -1
  49. package/dist/cjs/components/favorite/FavoriteIconButton.js +0 -43
  50. package/dist/cjs/components/favorite/FavoriteIconButton.js.map +0 -1
  51. package/dist/cjs/components/favorite/FavoriteToggleSVG.js +0 -10
  52. package/dist/cjs/components/favorite/FavoriteToggleSVG.js.map +0 -1
  53. package/dist/cjs/components/favorite/Popper.js +0 -23
  54. package/dist/cjs/components/favorite/Popper.js.map +0 -1
  55. package/dist/cjs/components/favorite/PopperButtonGroup.js +0 -20
  56. package/dist/cjs/components/favorite/PopperButtonGroup.js.map +0 -1
  57. package/dist/cjs/components/favorite/index.js +0 -5
  58. package/dist/cjs/components/favorite/index.js.map +0 -1
  59. package/dist/cjs/components/favorite/lib/PopperId.js +0 -5
  60. package/dist/cjs/components/favorite/lib/PopperId.js.map +0 -1
  61. package/dist/cjs/components/favorite/lib/index.js +0 -5
  62. package/dist/cjs/components/favorite/lib/index.js.map +0 -1
  63. package/dist/cjs/components/index.js +0 -7
  64. package/dist/cjs/components/index.js.map +0 -1
  65. package/dist/cjs/components/lib/FavoriteItemEvent.js +0 -11
  66. package/dist/cjs/components/lib/FavoriteItemEvent.js.map +0 -1
  67. package/dist/cjs/components/lib/index.js +0 -5
  68. package/dist/cjs/components/lib/index.js.map +0 -1
  69. package/dist/cjs/index.js +0 -5
  70. package/dist/cjs/index.js.map +0 -1
  71. package/dist/esm/components/RenderRowBox.js +0 -20
  72. package/dist/esm/components/RenderRowBox.js.map +0 -1
  73. package/dist/esm/components/favorite/FavoriteIconButton.js +0 -38
  74. package/dist/esm/components/favorite/FavoriteIconButton.js.map +0 -1
  75. package/dist/esm/components/favorite/FavoriteToggleSVG.js +0 -5
  76. package/dist/esm/components/favorite/FavoriteToggleSVG.js.map +0 -1
  77. package/dist/esm/components/favorite/Popper.js +0 -18
  78. package/dist/esm/components/favorite/Popper.js.map +0 -1
  79. package/dist/esm/components/favorite/PopperButtonGroup.js +0 -14
  80. package/dist/esm/components/favorite/PopperButtonGroup.js.map +0 -1
  81. package/dist/esm/components/favorite/index.js.map +0 -1
  82. package/dist/esm/components/favorite/lib/PopperId.js +0 -2
  83. package/dist/esm/components/favorite/lib/PopperId.js.map +0 -1
  84. package/dist/esm/components/favorite/lib/index.js +0 -2
  85. package/dist/esm/components/favorite/lib/index.js.map +0 -1
  86. package/dist/esm/components/index.js.map +0 -1
  87. package/dist/esm/components/lib/FavoriteItemEvent.js +0 -7
  88. package/dist/esm/components/lib/FavoriteItemEvent.js.map +0 -1
  89. package/dist/esm/components/lib/index.js.map +0 -1
  90. package/dist/esm/index.js +0 -2
  91. package/dist/esm/index.js.map +0 -1
  92. package/dist/types/components/RenderRowBox.d.ts.map +0 -1
  93. package/dist/types/components/favorite/FavoriteIconButton.d.ts.map +0 -1
  94. package/dist/types/components/favorite/FavoriteToggleSVG.d.ts.map +0 -1
  95. package/dist/types/components/favorite/Popper.d.ts.map +0 -1
  96. package/dist/types/components/favorite/PopperButtonGroup.d.ts.map +0 -1
  97. package/dist/types/components/favorite/index.d.ts.map +0 -1
  98. package/dist/types/components/favorite/lib/PopperId.d.ts.map +0 -1
  99. package/dist/types/components/favorite/lib/index.d.ts.map +0 -1
  100. package/dist/types/components/index.d.ts.map +0 -1
  101. package/dist/types/components/lib/FavoriteItemEvent.d.ts.map +0 -1
  102. package/dist/types/components/lib/index.d.ts.map +0 -1
  103. /package/dist/{types/components/RenderRowBox.d.ts → components/RenderRowBox.d.mts} +0 -0
  104. /package/dist/{types/components/favorite/FavoriteIconButton.d.ts → components/favorite/FavoriteIconButton.d.mts} +0 -0
  105. /package/dist/{types/components/favorite/FavoriteToggleSVG.d.ts → components/favorite/FavoriteToggleSVG.d.mts} +0 -0
  106. /package/dist/{types/components/favorite/Popper.d.ts → components/favorite/Popper.d.mts} +0 -0
  107. /package/dist/{types/components/favorite/PopperButtonGroup.d.ts → components/favorite/PopperButtonGroup.d.mts} +0 -0
  108. /package/dist/{types/components/favorite/index.d.ts → components/favorite/index.d.mts} +0 -0
  109. /package/dist/{types/components/favorite/lib/PopperId.d.ts → components/favorite/lib/PopperId.d.mts} +0 -0
  110. /package/dist/{types/components/favorite/lib/index.d.ts → components/favorite/lib/index.d.mts} +0 -0
  111. /package/dist/{types/components/index.d.ts → components/index.d.mts} +0 -0
  112. /package/dist/{types/components/lib/FavoriteItemEvent.d.ts → components/lib/FavoriteItemEvent.d.mts} +0 -0
  113. /package/dist/{types/components/lib/index.d.ts → components/lib/index.d.mts} +0 -0
  114. /package/dist/{types/index.d.ts → index.d.mts} +0 -0
@@ -1,25 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddressRenderRowBox = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const material_1 = require("@mui/material");
7
- const react_flexbox_1 = require("@xylabs/react-flexbox");
8
- const react_identicon_1 = require("@xylabs/react-identicon");
9
- const react_event_1 = require("@xyo-network/react-event");
10
- const react_shared_1 = require("@xyo-network/react-shared");
11
- const react_1 = require("react");
12
- const favorite_1 = require("./favorite");
13
- exports.AddressRenderRowBox = (0, react_1.forwardRef)((_a, ref) => {
14
- var { address, children, disableSharedRef, favorite: favoriteProp = false, iconOnly, iconSize = 24, icons, name, showFavorite = false } = _a, props = tslib_1.__rest(_a, ["address", "children", "disableSharedRef", "favorite", "iconOnly", "iconSize", "icons", "name", "showFavorite"]);
15
- const theme = (0, material_1.useTheme)();
16
- const sharedRef = (0, react_shared_1.useShareForwardedRef)(ref);
17
- const [elementRef, dispatch] = (0, react_event_1.useEvent)(undefined, sharedRef);
18
- return ((0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ gap: 2, justifyContent: "flex-start", ref: elementRef, onClick: () => {
19
- if (address) {
20
- dispatch('address', 'click', address);
21
- }
22
- } }, props, { children: [icons && address ? ((0, jsx_runtime_1.jsx)(material_1.ListItemIcon, Object.assign({ sx: { minWidth: 0 } }, { children: (0, jsx_runtime_1.jsx)(react_identicon_1.Identicon, { size: iconSize, value: address }) }))) : null, iconOnly ? null : ((0, jsx_runtime_1.jsx)(react_shared_1.EllipsizeBox, Object.assign({ disableSharedRef: disableSharedRef, ellipsisPosition: 'end', width: "100%", typographyProps: { fontSize: theme.typography.body1.fontSize } }, { children: name !== null && name !== void 0 ? name : address }))), children, showFavorite && address ? ((0, jsx_runtime_1.jsx)(favorite_1.FavoriteIconButton, { name: name, size: 'small', value: address, valueType: 'address', favorite: favoriteProp })) : null] })));
23
- });
24
- exports.AddressRenderRowBox.displayName = 'AddressRenderRowBox';
25
- //# sourceMappingURL=RenderRowBox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RenderRowBox.js","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAsD;AACtD,yDAA6D;AAC7D,6DAAmD;AACnD,0DAAmD;AACnD,4DAA8E;AAC9E,iCAAkC;AAElC,yCAA+C;AAalC,QAAA,mBAAmB,GAAG,IAAA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GAAI,OAAO,IACH,CAChB,EACA,QAAQ,EACR,YAAY,IAAI,OAAO,CAAC,CAAC,CAAC,CACzB,uBAAC,6BAAkB,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAI,CAChH,CAAC,CAAC,CAAC,IAAI,KACA,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,2BAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAA"}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FavoriteIconButton = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const material_1 = require("@mui/material");
7
- const react_event_1 = require("@xyo-network/react-event");
8
- const react_shared_1 = require("@xyo-network/react-shared");
9
- const react_1 = require("react");
10
- const lib_1 = require("../lib");
11
- const FavoriteToggleSVG_1 = require("./FavoriteToggleSVG");
12
- const lib_2 = require("./lib");
13
- const Popper_1 = require("./Popper");
14
- exports.FavoriteIconButton = (0, react_1.forwardRef)((_a, ref) => {
15
- var { children, favorite: favoriteProp, name, valueType, value } = _a, props = tslib_1.__rest(_a, ["children", "favorite", "name", "valueType", "value"]);
16
- const [openPopper, setOpenPopper] = (0, react_1.useState)(false);
17
- const [favorite, setFavorite] = (0, react_1.useState)(favoriteProp);
18
- (0, react_1.useEffect)(() => {
19
- setFavorite(favoriteProp);
20
- }, [favoriteProp]);
21
- const sharedRef = (0, react_shared_1.useShareForwardedRef)(ref);
22
- const [buttonRef, dispatch] = (0, react_event_1.useEvent)(undefined, sharedRef);
23
- const onConfirmFavorite = (name, newFavoriteState) => {
24
- const favoriteEvent = (0, lib_1.generateFavoriteEvent)(!!newFavoriteState, valueType, value, name);
25
- dispatch('address', 'favorite', JSON.stringify(favoriteEvent));
26
- setFavorite(newFavoriteState);
27
- setOpenPopper(false);
28
- };
29
- const starRef = (0, react_1.useRef)(null);
30
- return ((0, jsx_runtime_1.jsxs)(IconButtonCondensed, Object.assign({ "aria-describedby": lib_2.popperId, ref: buttonRef, onClick: (event) => {
31
- event.stopPropagation();
32
- setOpenPopper(!openPopper);
33
- }, onTouchStart: (event) => {
34
- event.stopPropagation();
35
- setOpenPopper(!openPopper);
36
- }, onMouseDown: (e) => e.stopPropagation(), sx: { lineHeight: 0, p: 0.25 } }, props, { children: [(0, jsx_runtime_1.jsx)("span", Object.assign({ ref: starRef }, { children: (0, jsx_runtime_1.jsx)(FavoriteToggleSVG_1.FavoriteToggleSVG, { favorite: favorite }) })), (0, jsx_runtime_1.jsx)(Popper_1.FavoritePopper, { sx: { zIndex: 1301 }, name: name, favorite: favorite, favoriteRef: starRef, open: openPopper, onConfirmFavorite: onConfirmFavorite, onClickAway: () => setOpenPopper(false) }), children] })));
37
- });
38
- exports.FavoriteIconButton.displayName = 'FavoriteIconButton';
39
- const IconButtonCondensed = (0, material_1.styled)(material_1.IconButton, { name: 'IconButtonCondensed' })(({ theme }) => ({
40
- lineHeight: 0,
41
- padding: theme.spacing(0.25),
42
- }));
43
- //# sourceMappingURL=FavoriteIconButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FavoriteIconButton.js","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteIconButton.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAmE;AAEnE,0DAAmD;AACnD,4DAAgE;AAChE,iCAA+D;AAE/D,gCAAiE;AACjE,2DAAuD;AACvD,+BAAgC;AAChC,qCAAyC;AAS5B,QAAA,kBAAkB,GAAG,IAAA,kBAAU,EAC1C,CAAC,EAAsE,EAAE,GAAG,EAAE,EAAE;QAA/E,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,OAAY,EAAP,KAAK,sBAApE,sDAAsE,CAAF;IACnE,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,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C,eAAe,EAAE,EACvC,EAAE,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,IAC1B,KAAK,eAET,+CAAM,GAAG,EAAE,OAAO,gBAChB,uBAAC,qCAAiB,IAAC,QAAQ,EAAE,QAAQ,GAAI,IACpC,EACP,uBAAC,uBAAc,IACb,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EACpB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,OAAO,EACpB,IAAI,EAAE,UAAU,EAChB,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,GAAG,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,GACvC,EACD,QAAQ,KACW,CACvB,CAAA;AACH,CAAC,CACF,CAAA;AAED,0BAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAA;AAErD,MAAM,mBAAmB,GAAG,IAAA,iBAAM,EAAC,qBAAU,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9F,UAAU,EAAE,CAAC;IACb,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;CAC7B,CAAC,CAAC,CAAA"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FavoriteToggleSVG = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const Star_1 = tslib_1.__importDefault(require("@mui/icons-material/Star"));
7
- const StarBorder_1 = tslib_1.__importDefault(require("@mui/icons-material/StarBorder"));
8
- const FavoriteToggleSVG = ({ favorite }) => ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: favorite ? ((0, jsx_runtime_1.jsx)(Star_1.default, { className: "favorite-icon", component: 'svg', color: "secondary", fontSize: "small" })) : ((0, jsx_runtime_1.jsx)(StarBorder_1.default, { className: "favorite-icon", fontSize: "small" })) }));
9
- exports.FavoriteToggleSVG = FavoriteToggleSVG;
10
- //# sourceMappingURL=FavoriteToggleSVG.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FavoriteToggleSVG.js","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":";;;;;AAAA,4EAA+C;AAC/C,wFAA2D;AAEpD,MAAM,iBAAiB,GAAqC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACnF,2DACG,QAAQ,CAAC,CAAC,CAAC,CACV,uBAAC,cAAQ,IAAC,SAAS,EAAC,eAAe,EAAC,SAAS,EAAE,KAAK,EAAE,KAAK,EAAC,WAAW,EAAC,QAAQ,EAAC,OAAO,GAAG,CAC5F,CAAC,CAAC,CAAC,CACF,uBAAC,oBAAc,IAAC,SAAS,EAAC,eAAe,EAAC,QAAQ,EAAC,OAAO,GAAG,CAC9D,GACA,CACJ,CAAA;AARY,QAAA,iBAAiB,qBAQ7B"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FavoritePopper = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const material_1 = require("@mui/material");
7
- const react_1 = require("react");
8
- const lib_1 = require("./lib");
9
- const PopperButtonGroup_1 = require("./PopperButtonGroup");
10
- exports.FavoritePopper = (0, react_1.forwardRef)((_a, ref) => {
11
- var { name: nameProp, favorite, favoriteRef, onClickAway = () => {
12
- return;
13
- }, onConfirmFavorite } = _a, props = tslib_1.__rest(_a, ["name", "favorite", "favoriteRef", "onClickAway", "onConfirmFavorite"]);
14
- const [name, setName] = (0, react_1.useState)(nameProp);
15
- (0, react_1.useEffect)(() => {
16
- setName(nameProp);
17
- }, [nameProp]);
18
- return ((0, jsx_runtime_1.jsx)(material_1.ClickAwayListener, Object.assign({ onClickAway: onClickAway }, { children: (0, jsx_runtime_1.jsx)(PopperStyled, Object.assign({ id: lib_1.popperId, anchorEl: favoriteRef === null || favoriteRef === void 0 ? void 0 : favoriteRef.current, onClick: (e) => e.stopPropagation(), onTouchStart: (e) => e.stopPropagation(), transition: true, ref: ref }, props, { children: ({ TransitionProps }) => ((0, jsx_runtime_1.jsx)(material_1.Fade, Object.assign({}, TransitionProps, { timeout: 350 }, { children: (0, jsx_runtime_1.jsx)(material_1.Card, { children: (0, jsx_runtime_1.jsxs)(material_1.CardContent, Object.assign({ sx: { display: 'flex', gap: 1 } }, { children: [(0, jsx_runtime_1.jsx)(material_1.TextField, { autoFocus: true, label: "Favorite Name", placeholder: "optional", size: "small", value: name !== null && name !== void 0 ? name : '', onChange: (e) => setName(e.target.value) }), (0, jsx_runtime_1.jsx)(PopperButtonGroup_1.PopperButtonGroup, { favorite: favorite, onConfirmFavorite: onConfirmFavorite, name: name })] })) }) }))) })) })));
19
- });
20
- exports.FavoritePopper.displayName = 'FavoritePopper';
21
- // Ensure the popper is over all other mui portal elements
22
- const PopperStyled = (0, material_1.styled)(material_1.Popper, { name: 'PopperStyled' })(() => ({ zIndex: 9999 }));
23
- //# sourceMappingURL=Popper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Popper.js","sourceRoot":"","sources":["../../../../src/components/favorite/Popper.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAkH;AAClH,iCAAkE;AAElE,+BAAgC;AAChC,2DAAuD;AAS1C,QAAA,cAAc,GAAG,IAAA,kBAAU,EACtC,CACE,EASC,EACD,GAAG,EACH,EAAE;QAXF,EACE,IAAI,EAAE,QAAQ,EACd,QAAQ,EACR,WAAW,EACX,WAAW,GAAG,GAAG,EAAE;QACjB,OAAM;IACR,CAAC,EACD,iBAAiB,OAElB,EADI,KAAK,sBARV,uEASC,CADS;IAIV,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAC,QAAQ,CAAC,CAAA;IAC1C,IAAA,iBAAS,EAAC,GAAG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,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA"}
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PopperButtonGroup = void 0;
4
- const tslib_1 = require("tslib");
5
- const jsx_runtime_1 = require("react/jsx-runtime");
6
- const Delete_1 = tslib_1.__importDefault(require("@mui/icons-material/Delete"));
7
- const Star_1 = tslib_1.__importDefault(require("@mui/icons-material/Star"));
8
- const material_1 = require("@mui/material");
9
- const PopperButtonGroup = (_a) => {
10
- var { name, onConfirmFavorite, favorite } = _a, props = tslib_1.__rest(_a, ["name", "onConfirmFavorite", "favorite"]);
11
- return ((0, jsx_runtime_1.jsxs)(material_1.ButtonGroup, Object.assign({}, props, { children: [(0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ title: "Save Favorite", variant: "contained", onClick: (e) => {
12
- e.stopPropagation();
13
- onConfirmFavorite === null || onConfirmFavorite === void 0 ? void 0 : onConfirmFavorite(name, true);
14
- } }, { children: (0, jsx_runtime_1.jsx)(Star_1.default, {}) })), favorite ? ((0, jsx_runtime_1.jsx)(material_1.Button, Object.assign({ title: "Remove Favorite", variant: "contained", onClick: (e) => {
15
- e.stopPropagation();
16
- onConfirmFavorite === null || onConfirmFavorite === void 0 ? void 0 : onConfirmFavorite(name, false);
17
- } }, { children: (0, jsx_runtime_1.jsx)(Delete_1.default, {}) }))) : null] })));
18
- };
19
- exports.PopperButtonGroup = PopperButtonGroup;
20
- //# sourceMappingURL=PopperButtonGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PopperButtonGroup.js","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":";;;;;AAAA,gFAAmD;AACnD,4EAA+C;AAC/C,4CAAqE;AAQ9D,MAAM,iBAAiB,GAAkC,CAAC,EAA+C,EAAE,EAAE;QAAnD,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,OAAY,EAAP,KAAK,sBAA7C,yCAA+C,CAAF;IAC5G,OAAO,CACL,wBAAC,sBAAW,oBAAK,KAAK,eACpB,uBAAC,iBAAM,kBACL,KAAK,EAAC,eAAe,EACrB,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,eAAe,EAAE,CAAA;oBACnB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,IAAI,EAAE,IAAI,CAAC,CAAA;gBACjC,CAAC,gBAED,uBAAC,cAAQ,KAAG,IACL,EACR,QAAQ,CAAC,CAAC,CAAC,CACV,uBAAC,iBAAM,kBACL,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,eAAe,EAAE,CAAA;oBACnB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,IAAI,EAAE,KAAK,CAAC,CAAA;gBAClC,CAAC,gBAED,uBAAC,gBAAU,KAAG,IACP,CACV,CAAC,CAAC,CAAC,IAAI,KACI,CACf,CAAA;AACH,CAAC,CAAA;AA3BY,QAAA,iBAAiB,qBA2B7B"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./FavoriteIconButton"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":";;;AAAA,+DAAoC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.popperId = void 0;
4
- exports.popperId = 'favorite-popper';
5
- //# sourceMappingURL=PopperId.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PopperId.js","sourceRoot":"","sources":["../../../../../src/components/favorite/lib/PopperId.ts"],"names":[],"mappings":";;;AAAa,QAAA,QAAQ,GAAG,iBAAiB,CAAA"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./PopperId"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/favorite/lib/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B"}
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./favorite"), exports);
5
- tslib_1.__exportStar(require("./lib"), exports);
6
- tslib_1.__exportStar(require("./RenderRowBox"), exports);
7
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":";;;AAAA,qDAA0B;AAC1B,gDAAqB;AACrB,yDAA8B"}
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateFavoriteEvent = void 0;
4
- const generateFavoriteEvent = (favorite, favoriteType, favoriteValue, name) => ({
5
- favorite: !!favorite,
6
- favoriteType,
7
- favoriteValue,
8
- name,
9
- });
10
- exports.generateFavoriteEvent = generateFavoriteEvent;
11
- //# sourceMappingURL=FavoriteItemEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FavoriteItemEvent.js","sourceRoot":"","sources":["../../../../src/components/lib/FavoriteItemEvent.ts"],"names":[],"mappings":";;;AASO,MAAM,qBAAqB,GAAG,CAAC,QAAkB,EAAE,YAA2B,EAAE,aAAsB,EAAE,IAAa,EAAqB,EAAE,CAAC,CAAC;IACnJ,QAAQ,EAAE,CAAC,CAAC,QAAQ;IACpB,YAAY;IACZ,aAAa;IACb,IAAI;CACL,CAAC,CAAA;AALW,QAAA,qBAAqB,yBAKhC"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./FavoriteItemEvent"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/lib/index.ts"],"names":[],"mappings":";;;AAAA,8DAAmC"}
package/dist/cjs/index.js DELETED
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./components"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,uDAA4B"}
@@ -1,20 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ListItemIcon, useTheme } from '@mui/material';
3
- import { FlexRow } from '@xylabs/react-flexbox';
4
- import { Identicon } from '@xylabs/react-identicon';
5
- import { useEvent } from '@xyo-network/react-event';
6
- import { EllipsizeBox, useShareForwardedRef } from '@xyo-network/react-shared';
7
- import { forwardRef } from 'react';
8
- import { FavoriteIconButton } from './favorite';
9
- export const AddressRenderRowBox = forwardRef(({ address, children, disableSharedRef, favorite: favoriteProp = false, iconOnly, iconSize = 24, icons, name, showFavorite = false, ...props }, ref) => {
10
- const theme = useTheme();
11
- const sharedRef = useShareForwardedRef(ref);
12
- const [elementRef, dispatch] = useEvent(undefined, sharedRef);
13
- return (_jsxs(FlexRow, { gap: 2, justifyContent: "flex-start", ref: elementRef, onClick: () => {
14
- if (address) {
15
- dispatch('address', 'click', address);
16
- }
17
- }, ...props, children: [icons && address ? (_jsx(ListItemIcon, { sx: { minWidth: 0 }, children: _jsx(Identicon, { size: iconSize, value: address }) })) : null, iconOnly ? null : (_jsx(EllipsizeBox, { disableSharedRef: disableSharedRef, ellipsisPosition: 'end', width: "100%", typographyProps: { fontSize: theme.typography.body1.fontSize }, children: name ?? address })), children, showFavorite && address ? (_jsx(FavoriteIconButton, { name: name, size: 'small', value: address, valueType: 'address', favorite: favoriteProp })) : null] }));
18
- });
19
- AddressRenderRowBox.displayName = 'AddressRenderRowBox';
20
- //# sourceMappingURL=RenderRowBox.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RenderRowBox.js","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACtD,OAAO,EAAgB,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAa/C,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAC3C,CACE,EAAE,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,QAAQ,EAAE,YAAY,GAAG,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,YAAY,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,EAC7I,GAAG,EACH,EAAE;IACF,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IAExB,MAAM,SAAS,GAAG,oBAAoB,CAAC,GAAG,CAAC,CAAA;IAC3C,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC,CAAA;IAE7D,OAAO,CACL,MAAC,OAAO,IACN,GAAG,EAAE,CAAC,EACN,cAAc,EAAC,YAAY,EAC3B,GAAG,EAAE,UAAU,EACf,OAAO,EAAE,GAAG,EAAE;YACZ,IAAI,OAAO,EAAE;gBACX,QAAQ,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;aACtC;QACH,CAAC,KACG,KAAK,aAER,KAAK,IAAI,OAAO,CAAC,CAAC,CAAC,CAClB,KAAC,YAAY,IAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,YAC/B,KAAC,SAAS,IAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,GAAI,GAChC,CAChB,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACjB,KAAC,YAAY,IACX,gBAAgB,EAAE,gBAAgB,EAClC,gBAAgB,EAAE,KAAK,EACvB,KAAK,EAAC,MAAM,EACZ,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,QAAQ,EAAE,YAE7D,IAAI,IAAI,OAAO,GACH,CAChB,EACA,QAAQ,EACR,YAAY,IAAI,OAAO,CAAC,CAAC,CAAC,CACzB,KAAC,kBAAkB,IAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,GAAI,CAChH,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,mBAAmB,CAAC,WAAW,GAAG,qBAAqB,CAAA"}
@@ -1,38 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { IconButton, styled } from '@mui/material';
3
- import { useEvent } from '@xyo-network/react-event';
4
- import { useShareForwardedRef } from '@xyo-network/react-shared';
5
- import { forwardRef, useEffect, useRef, useState } from 'react';
6
- import { generateFavoriteEvent } from '../lib';
7
- import { FavoriteToggleSVG } from './FavoriteToggleSVG';
8
- import { popperId } from './lib';
9
- import { FavoritePopper } from './Popper';
10
- export const FavoriteIconButton = forwardRef(({ children, favorite: favoriteProp, name, valueType, value, ...props }, ref) => {
11
- const [openPopper, setOpenPopper] = useState(false);
12
- const [favorite, setFavorite] = useState(favoriteProp);
13
- useEffect(() => {
14
- setFavorite(favoriteProp);
15
- }, [favoriteProp]);
16
- const sharedRef = useShareForwardedRef(ref);
17
- const [buttonRef, dispatch] = useEvent(undefined, sharedRef);
18
- const onConfirmFavorite = (name, newFavoriteState) => {
19
- const favoriteEvent = generateFavoriteEvent(!!newFavoriteState, valueType, value, name);
20
- dispatch('address', 'favorite', JSON.stringify(favoriteEvent));
21
- setFavorite(newFavoriteState);
22
- setOpenPopper(false);
23
- };
24
- const starRef = useRef(null);
25
- return (_jsxs(IconButtonCondensed, { "aria-describedby": popperId, ref: buttonRef, onClick: (event) => {
26
- event.stopPropagation();
27
- setOpenPopper(!openPopper);
28
- }, onTouchStart: (event) => {
29
- event.stopPropagation();
30
- setOpenPopper(!openPopper);
31
- }, onMouseDown: (e) => e.stopPropagation(), sx: { lineHeight: 0, p: 0.25 }, ...props, children: [_jsx("span", { ref: starRef, children: _jsx(FavoriteToggleSVG, { favorite: favorite }) }), _jsx(FavoritePopper, { sx: { zIndex: 1301 }, name: name, favorite: favorite, favoriteRef: starRef, open: openPopper, onConfirmFavorite: onConfirmFavorite, onClickAway: () => setOpenPopper(false) }), children] }));
32
- });
33
- FavoriteIconButton.displayName = 'FavoriteIconButton';
34
- const IconButtonCondensed = styled(IconButton, { name: 'IconButtonCondensed' })(({ theme }) => ({
35
- lineHeight: 0,
36
- padding: theme.spacing(0.25),
37
- }));
38
- //# sourceMappingURL=FavoriteIconButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FavoriteIconButton.js","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteIconButton.tsx"],"names":[],"mapp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,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9F,UAAU,EAAE,CAAC;IACb,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;CAC7B,CAAC,CAAC,CAAA"}
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
- import StarIcon from '@mui/icons-material/Star';
3
- import StarBorderIcon from '@mui/icons-material/StarBorder';
4
- export const FavoriteToggleSVG = ({ favorite }) => (_jsx(_Fragment, { children: favorite ? (_jsx(StarIcon, { className: "favorite-icon", component: 'svg', color: "secondary", fontSize: "small" })) : (_jsx(StarBorderIcon, { className: "favorite-icon", fontSize: "small" })) }));
5
- //# sourceMappingURL=FavoriteToggleSVG.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FavoriteToggleSVG.js","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":";AAAA,OAAO,QAAQ,MAAM,0BAA0B,CAAA;AAC/C,OAAO,cAAc,MAAM,gCAAgC,CAAA;AAE3D,MAAM,CAAC,MAAM,iBAAiB,GAAqC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACnF,4BACG,QAAQ,CAAC,CAAC,CAAC,CACV,KAAC,QAAQ,IAAC,SAAS,EAAC,eAAe,EAAC,SAAS,EAAE,KAAK,EAAE,KAAK,EAAC,WAAW,EAAC,QAAQ,EAAC,OAAO,GAAG,CAC5F,CAAC,CAAC,CAAC,CACF,KAAC,cAAc,IAAC,SAAS,EAAC,eAAe,EAAC,QAAQ,EAAC,OAAO,GAAG,CAC9D,GACA,CACJ,CAAA"}
@@ -1,18 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Card, CardContent, ClickAwayListener, Fade, Popper, styled, TextField } from '@mui/material';
3
- import { forwardRef, useEffect, useState } from 'react';
4
- import { popperId } from './lib';
5
- import { PopperButtonGroup } from './PopperButtonGroup';
6
- export const FavoritePopper = forwardRef(({ name: nameProp, favorite, favoriteRef, onClickAway = () => {
7
- return;
8
- }, onConfirmFavorite, ...props }, ref) => {
9
- const [name, setName] = useState(nameProp);
10
- useEffect(() => {
11
- setName(nameProp);
12
- }, [nameProp]);
13
- return (_jsx(ClickAwayListener, { onClickAway: onClickAway, children: _jsx(PopperStyled, { id: popperId, anchorEl: favoriteRef?.current, onClick: (e) => e.stopPropagation(), onTouchStart: (e) => e.stopPropagation(), transition: true, ref: ref, ...props, children: ({ TransitionProps }) => (_jsx(Fade, { ...TransitionProps, timeout: 350, children: _jsx(Card, { children: _jsxs(CardContent, { sx: { display: 'flex', gap: 1 }, children: [_jsx(TextField, { autoFocus: true, label: "Favorite Name", placeholder: "optional", size: "small", value: name ?? '', onChange: (e) => setName(e.target.value) }), _jsx(PopperButtonGroup, { favorite: favorite, onConfirmFavorite: onConfirmFavorite, name: name })] }) }) })) }) }));
14
- });
15
- FavoritePopper.displayName = 'FavoritePopper';
16
- // Ensure the popper is over all other mui portal elements
17
- const PopperStyled = styled(Popper, { name: 'PopperStyled' })(() => ({ zIndex: 9999 }));
18
- //# sourceMappingURL=Popper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Popper.js","sourceRoot":"","sources":["../../../../src/components/favorite/Popper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,EAAe,MAAM,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAClH,OAAO,EAAE,UAAU,EAAa,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAElE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AASvD,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CACtC,CACE,EACE,IA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,GACT,GACF,CACR,GACY,GACG,CACrB,CAAA;AACH,CAAC,CACF,CAAA;AAED,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAA;AAE7C,0DAA0D;AAC1D,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAA"}
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import DeleteIcon from '@mui/icons-material/Delete';
3
- import StarIcon from '@mui/icons-material/Star';
4
- import { Button, ButtonGroup } from '@mui/material';
5
- export const PopperButtonGroup = ({ name, onConfirmFavorite, favorite, ...props }) => {
6
- return (_jsxs(ButtonGroup, { ...props, children: [_jsx(Button, { title: "Save Favorite", variant: "contained", onClick: (e) => {
7
- e.stopPropagation();
8
- onConfirmFavorite?.(name, true);
9
- }, children: _jsx(StarIcon, {}) }), favorite ? (_jsx(Button, { title: "Remove Favorite", variant: "contained", onClick: (e) => {
10
- e.stopPropagation();
11
- onConfirmFavorite?.(name, false);
12
- }, children: _jsx(DeleteIcon, {}) })) : null] }));
13
- };
14
- //# sourceMappingURL=PopperButtonGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PopperButtonGroup.js","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,4BAA4B,CAAA;AACnD,OAAO,QAAQ,MAAM,0BAA0B,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,WAAW,EAAoB,MAAM,eAAe,CAAA;AAQrE,MAAM,CAAC,MAAM,iBAAiB,GAAkC,CAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IAClH,OAAO,CACL,MAAC,WAAW,OAAK,KAAK,aACpB,KAAC,MAAM,IACL,KAAK,EAAC,eAAe,EACrB,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,eAAe,EAAE,CAAA;oBACnB,iBAAiB,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;gBACjC,CAAC,YAED,KAAC,QAAQ,KAAG,GACL,EACR,QAAQ,CAAC,CAAC,CAAC,CACV,KAAC,MAAM,IACL,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAC,WAAW,EACnB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,eAAe,EAAE,CAAA;oBACnB,iBAAiB,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;gBAClC,CAAC,YAED,KAAC,UAAU,KAAG,GACP,CACV,CAAC,CAAC,CAAC,IAAI,IACI,CACf,CAAA;AACH,CAAC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -1,2 +0,0 @@
1
- export const popperId = 'favorite-popper';
2
- //# sourceMappingURL=PopperId.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PopperId.js","sourceRoot":"","sources":["../../../../../src/components/favorite/lib/PopperId.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './PopperId';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/favorite/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,gBAAgB,CAAA"}
@@ -1,7 +0,0 @@
1
- export const generateFavoriteEvent = (favorite, favoriteType, favoriteValue, name) => ({
2
- favorite: !!favorite,
3
- favoriteType,
4
- favoriteValue,
5
- name,
6
- });
7
- //# sourceMappingURL=FavoriteItemEvent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FavoriteItemEvent.js","sourceRoot":"","sources":["../../../../src/components/lib/FavoriteItemEvent.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,QAAkB,EAAE,YAA2B,EAAE,aAAsB,EAAE,IAAa,EAAqB,EAAE,CAAC,CAAC;IACnJ,QAAQ,EAAE,CAAC,CAAC,QAAQ;IACpB,YAAY;IACZ,aAAa;IACb,IAAI;CACL,CAAC,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
package/dist/esm/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './components';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RenderRowBox.d.ts","sourceRoot":"","sources":["../../../src/components/RenderRowBox.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAW,MAAM,uBAAuB,CAAA;AAQ7D,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,kHA4C/B,CAAA"}
@@ -1 +0,0 @@
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;AAKnD,OAAO,EAAE,iBAAiB,EAAyB,MAAM,QAAQ,CAAA;AAKjE,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,oIAqD9B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FavoriteToggleSVG.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/FavoriteToggleSVG.tsx"],"names":[],"mappings":";AAGA,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAQ9D,CAAA"}
@@ -1 +0,0 @@
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;AAKlE,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,6HAmD1B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PopperButtonGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/PopperButtonGroup.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAuB,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAErE,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,CA2B3D,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/favorite/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PopperId.d.ts","sourceRoot":"","sources":["../../../../../src/components/favorite/lib/PopperId.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,oBAAoB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/favorite/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,gBAAgB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FavoriteItemEvent.d.ts","sourceRoot":"","sources":["../../../../src/components/lib/FavoriteItemEvent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAA;AAExD,eAAO,MAAM,qBAAqB,cAAe,OAAO,iBAAiB,YAAY,kBAAkB,MAAM,SAAS,MAAM,KAAG,iBAK7H,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
File without changes