@ludo.ninja/components 2.2.57 → 2.2.58

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.
@@ -0,0 +1,15 @@
1
+ import { TCreation } from '../../../../entities/creation/types';
2
+ import { searchSchema as schema } from "@ludo.ninja/api";
3
+ declare const useFetchLudoNftsTonPage: ({ userId, scrollTab, }: {
4
+ scrollTab: string | undefined;
5
+ userId: schema.IQueryFetchLudoNftsTonPageArgs["userId"];
6
+ }) => {
7
+ isLoading: boolean;
8
+ error: import("@apollo/client").ApolloError | undefined;
9
+ totalResults: number;
10
+ creations: TCreation[];
11
+ refetchQuery: () => Promise<void>;
12
+ loadMore: () => Promise<void>;
13
+ isNextLoading: boolean;
14
+ };
15
+ export default useFetchLudoNftsTonPage;
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const builder_1 = require("../../../../entities/creation/builder");
4
+ const getPageSizeAssets_1 = require("../../../../utils/getPageSizeAssets");
5
+ const api_1 = require("@ludo.ninja/api");
6
+ const react_1 = require("react");
7
+ const limit = 20;
8
+ const useFetchLudoNftsTonPage = ({ userId, scrollTab, }) => {
9
+ const [creations, setCreations] = (0, react_1.useState)([]);
10
+ const nextPageToken = (0, react_1.useRef)(null);
11
+ const [results, setResults] = (0, react_1.useState)(0);
12
+ const [isLoading, setIsLoading] = (0, react_1.useState)(true);
13
+ const [isNextLoading, setIsNextLoading] = (0, react_1.useState)(false);
14
+ const isHaveNextPage = creations.length < results;
15
+ const mapLudoNftToCreation = (ludoNftTon) => {
16
+ const isVideoMediaAvailable = ludoNftTon.originalUrls.length === 2;
17
+ return {
18
+ ...ludoNftTon,
19
+ creationId: ludoNftTon.id,
20
+ itemId: ludoNftTon.id,
21
+ itemType: "asset",
22
+ blockchain: "ton",
23
+ ...(isVideoMediaAvailable ? { originalUrls: [ludoNftTon.originalUrls[1]], mimeType: "video/mp4" } : {}),
24
+ };
25
+ };
26
+ const [fetchLudoCreations, { error, refetch, fetchMore }] = api_1.searchSchema.useFetchLudoNftsTonPageLazyQuery({
27
+ context: {
28
+ uri: api_1.hosts.searchHost,
29
+ },
30
+ fetchPolicy: "no-cache",
31
+ onCompleted: ({ fetchLudoNftsTonPage: { ludoNftsTon, ...nextPage } }) => {
32
+ setCreations(ludoNftsTon.map((ludoNft) => (0, builder_1.buildCreation)(mapLudoNftToCreation(ludoNft))));
33
+ setResults(nextPage.nextPage?.elements || 0);
34
+ setIsLoading(false);
35
+ nextPageToken.current = nextPage.nextPage?.token || null;
36
+ },
37
+ onError: () => {
38
+ setCreations([]);
39
+ setIsLoading(false);
40
+ nextPageToken.current = null;
41
+ },
42
+ });
43
+ (0, react_1.useEffect)(() => {
44
+ setIsLoading(true);
45
+ fetchLudoCreations({
46
+ variables: {
47
+ userId,
48
+ page: {
49
+ size: (0, getPageSizeAssets_1.getPageSize)({
50
+ scrollTab,
51
+ limit,
52
+ }),
53
+ token: null,
54
+ num: 1,
55
+ },
56
+ },
57
+ });
58
+ }, [userId]);
59
+ async function refetchQuery() {
60
+ await refetch();
61
+ }
62
+ async function loadMore() {
63
+ if (!nextPageToken.current || !isHaveNextPage)
64
+ return;
65
+ setIsNextLoading(true);
66
+ try {
67
+ const { data } = await fetchMore({
68
+ variables: {
69
+ userId,
70
+ page: {
71
+ token: nextPageToken.current,
72
+ size: limit,
73
+ },
74
+ },
75
+ updateQuery: (previousQueryResult) => {
76
+ return previousQueryResult;
77
+ },
78
+ });
79
+ const { ludoNftsTon: nextCreations, ...nextPage } = data.fetchLudoNftsTonPage;
80
+ setCreations((prevCreations) => [
81
+ ...prevCreations,
82
+ ...nextCreations.map((ludoNft) => (0, builder_1.buildCreation)(mapLudoNftToCreation(ludoNft))),
83
+ ]);
84
+ setResults(nextPage.nextPage?.elements || 0);
85
+ nextPageToken.current = nextPage.nextPage?.token || null;
86
+ }
87
+ catch (error) {
88
+ //todo uncomment next line
89
+ // throw new Error(error as string);
90
+ }
91
+ finally {
92
+ setIsNextLoading(false);
93
+ }
94
+ }
95
+ return {
96
+ isLoading,
97
+ error,
98
+ totalResults: results,
99
+ creations,
100
+ refetchQuery,
101
+ loadMore,
102
+ isNextLoading,
103
+ };
104
+ };
105
+ exports.default = useFetchLudoNftsTonPage;
@@ -1,4 +1,6 @@
1
1
  import { IMedia } from '../media/types';
2
- export declare const CreationMediaView: ({ media }: {
2
+ export declare const CreationMediaView: ({ media, isNeedScaleTransform, playVideoOnHover }: {
3
3
  media: IMedia;
4
+ isNeedScaleTransform?: boolean;
5
+ playVideoOnHover?: boolean;
4
6
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,27 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
2
25
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
27
  };
@@ -13,17 +36,29 @@ const CardAudio_1 = __importDefault(require("../../system/Cards/CardMedia/CardAu
13
36
  const CardImage_1 = __importDefault(require("../../system/Cards/CardMedia/CardImage"));
14
37
  const CardVideo_1 = __importDefault(require("../../system/Cards/CardMedia/CardVideo"));
15
38
  const constants_1 = require("@ludo.ninja/core/build/constants");
16
- const CreationMediaView = ({ media }) => {
39
+ const styled_components_1 = __importStar(require("styled-components"));
40
+ const StyledCardImage = (0, styled_components_1.default)(CardImage_1.default) `
41
+ ${(props) => props.isNeedScaleTransform ?
42
+ (0, styled_components_1.css) `
43
+ transition: transform 0.4s;
44
+
45
+ :hover {
46
+ transform: scale(1.12);
47
+ }
48
+ `
49
+ : ''}
50
+ `;
51
+ const CreationMediaView = ({ media, isNeedScaleTransform, playVideoOnHover }) => {
17
52
  const mediaVariant = (0, getMediaVariant_1.getMediaVariant)({ media });
18
53
  switch (mediaVariant) {
19
54
  case types_1.EMediaVariants.other:
20
55
  case types_1.EMediaVariants.screenshot:
21
56
  case types_1.EMediaVariants.image:
22
- return (0, jsx_runtime_1.jsx)(ImageMediaView, { media: media });
57
+ return (0, jsx_runtime_1.jsx)(ImageMediaView, { media: media, isNeedScaleTransform: isNeedScaleTransform });
23
58
  case types_1.EMediaVariants.audio:
24
59
  return (0, jsx_runtime_1.jsx)(AudioMediaView, { media: media });
25
60
  case types_1.EMediaVariants.video:
26
- return (0, jsx_runtime_1.jsx)(VideoMediaView, { media: media });
61
+ return (0, jsx_runtime_1.jsx)(VideoMediaView, { media: media, playVideoOnHover: playVideoOnHover });
27
62
  case types_1.EMediaVariants.object3d:
28
63
  //todo: add previewUrl 3d
29
64
  return ((0, jsx_runtime_1.jsx)(CardImage_1.default, { alt: media.alt, imgSrc: `${constants_1.staticLink}/public/noContent/noContentObject.svg`, errorImg: `${constants_1.staticLink}/public/noContent/noContentObject.svg` }));
@@ -32,15 +67,15 @@ const CreationMediaView = ({ media }) => {
32
67
  }
33
68
  };
34
69
  exports.CreationMediaView = CreationMediaView;
35
- const ImageMediaView = ({ media }) => {
70
+ const ImageMediaView = ({ media, isNeedScaleTransform }) => {
36
71
  const NEXT_PUBLIC_STATIC_DOMAIN = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_STATIC_DOMAIN);
37
- return ((0, jsx_runtime_1.jsx)(CardImage_1.default, { alt: media.alt, imgSrc: (0, urls_1.isExternalMediaImage)(media.media, urls_1.mediaSizes.small, NEXT_PUBLIC_STATIC_DOMAIN), errorImg: `${constants_1.staticLink}/public/noContent/noContent.svg` }));
72
+ return ((0, jsx_runtime_1.jsx)(StyledCardImage, { alt: media.alt, imgSrc: (0, urls_1.isExternalMediaImage)(media.media, urls_1.mediaSizes.small, NEXT_PUBLIC_STATIC_DOMAIN), errorImg: `${constants_1.staticLink}/public/noContent/noContent.svg`, isNeedScaleTransform: isNeedScaleTransform }));
38
73
  };
39
74
  const AudioMediaView = ({ media }) => {
40
75
  const getAudioENVDomain = (0, env_1.useEnvStore)((state) => state.getAudioDomain);
41
76
  return ((0, jsx_runtime_1.jsx)(CardAudio_1.default, { alt: media.alt, audioSrc: (0, urls_1.isExternalMediaAudio)(media.media, getAudioENVDomain), imgSrc: `${constants_1.staticLink}/public/noContent/noContentAudio.svg`, errorImg: `${constants_1.staticLink}/public/noContent/noContentAudio.svg` }));
42
77
  };
43
- const VideoMediaView = ({ media }) => {
78
+ const VideoMediaView = ({ media, playVideoOnHover }) => {
44
79
  const getVideoENVDomain = (0, env_1.useEnvStore)((state) => state.getVideoDomain);
45
- return ((0, jsx_runtime_1.jsx)(CardVideo_1.default, { alt: media.alt, videoSrc: (0, urls_1.isExternalMediaVideo)(media.media, getVideoENVDomain), errorImg: `${constants_1.staticLink}/public/noContent/noContent.svg` }));
80
+ return ((0, jsx_runtime_1.jsx)(CardVideo_1.default, { alt: media.alt, videoSrc: (0, urls_1.isExternalMediaVideo)(media.media, getVideoENVDomain), errorImg: `${constants_1.staticLink}/public/noContent/noContent.svg`, playOnHover: playVideoOnHover }));
46
81
  };
@@ -1,6 +1,9 @@
1
- declare const CardImage: ({ imgSrc, errorImg, alt }: {
1
+ import { CSSProperties } from "react";
2
+ declare const CardImage: ({ imgSrc, errorImg, alt, className, style }: {
2
3
  imgSrc: string;
3
4
  errorImg: string;
4
5
  alt: string;
6
+ className?: string;
7
+ style?: CSSProperties;
5
8
  }) => import("react/jsx-runtime").JSX.Element;
6
9
  export default CardImage;
@@ -9,7 +9,7 @@ const Image_1 = __importDefault(require("../../Styles/Image"));
9
9
  const react_1 = require("react");
10
10
  const react_loading_skeleton_1 = __importDefault(require("react-loading-skeleton"));
11
11
  // Component
12
- const CardImage = ({ imgSrc, errorImg, alt }) => {
12
+ const CardImage = ({ imgSrc, errorImg, alt, className, style }) => {
13
13
  const isFirstLoading = !creation_1.urlsActive[imgSrc];
14
14
  const [loading, setLoading] = (0, react_1.useState)(isFirstLoading);
15
15
  if (isFirstLoading) {
@@ -18,7 +18,7 @@ const CardImage = ({ imgSrc, errorImg, alt }) => {
18
18
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [loading && ((0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { height: "100%", width: "100%", style: {
19
19
  lineHeight: "normal",
20
20
  visibility: `${loading ? "hidden" : "visible"}`,
21
- } })), (0, jsx_runtime_1.jsx)(Image_1.default, { isLoading: loading, src: imgSrc, alt: alt, onError: (e) => (e.target.src = errorImg), onLoad: () => setLoading(false) })] }));
21
+ } })), (0, jsx_runtime_1.jsx)(Image_1.default, { className: className, style: style, isLoading: loading, src: imgSrc, alt: alt, onError: (e) => (e.target.src = errorImg), onLoad: () => setLoading(false) })] }));
22
22
  };
23
23
  // Export
24
24
  exports.default = CardImage;
@@ -1,6 +1,7 @@
1
- declare const CardVideo: ({ videoSrc, errorImg, alt, }: {
1
+ declare const CardVideo: ({ videoSrc, errorImg, alt, playOnHover }: {
2
2
  videoSrc: string;
3
3
  errorImg: string;
4
4
  alt: string;
5
+ playOnHover?: boolean;
5
6
  }) => import("react/jsx-runtime").JSX.Element;
6
7
  export default CardVideo;
@@ -11,7 +11,7 @@ const Video_1 = __importDefault(require("../../Styles/Video"));
11
11
  const pause_svg_1 = __importDefault(require("../../../../public/video/pause"));
12
12
  const play_svg_1 = __importDefault(require("../../../../public/video/play"));
13
13
  // Component
14
- const CardVideo = ({ videoSrc, errorImg, alt, }) => {
14
+ const CardVideo = ({ videoSrc, errorImg, alt, playOnHover }) => {
15
15
  const [lVideoSrc, setLVideoSrc] = (0, react_1.useState)(null);
16
16
  const [isPlayIcon, setPlayIcon] = (0, react_1.useState)(false);
17
17
  const video = (0, react_1.useRef)();
@@ -39,7 +39,10 @@ const CardVideo = ({ videoSrc, errorImg, alt, }) => {
39
39
  const renderImage = () => ((0, jsx_runtime_1.jsx)(Image_1.default, { isLoading: false, src: errorImg, alt: alt }));
40
40
  if (!videoSrc)
41
41
  return renderImage();
42
- return lVideoSrc ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(Video_1.default, { ref: video, muted: true, loop: true, playsInline: true, preload: 'false', children: [(0, jsx_runtime_1.jsx)("source", { type: "video/mp4", src: lVideoSrc }), (0, jsx_runtime_1.jsx)("p", { children: alt })] }), lVideoSrc.length &&
42
+ return lVideoSrc ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(Video_1.default, { ref: video, muted: true, loop: true, playsInline: true, preload: 'false', ...(playOnHover ? {
43
+ onMouseOver: event => event.target.play(),
44
+ onMouseOut: event => event.target.pause()
45
+ } : {}), children: [(0, jsx_runtime_1.jsx)("source", { type: "video/mp4", src: lVideoSrc }), (0, jsx_runtime_1.jsx)("p", { children: alt })] }), lVideoSrc.length && !playOnHover &&
43
46
  (isPlayIcon ? ((0, jsx_runtime_1.jsx)(play_svg_1.default, { className: 'playIcon', onClick: (e) => {
44
47
  e.preventDefault();
45
48
  e.stopPropagation();
@@ -14,6 +14,7 @@ export interface ICreationCard {
14
14
  creationName?: string;
15
15
  creation: TCreation;
16
16
  isNeedHeight: boolean;
17
+ isNeedScaleTransform?: boolean;
17
18
  likesDynamicInfo?: schema.IDynamicAssetData | schema.IDynamicCollectionData;
18
19
  toolsForRemove?: RemoveToolsType | undefined;
19
20
  isMobile: boolean;
@@ -21,6 +22,8 @@ export interface ICreationCard {
21
22
  isNeedShowMoreButton?: boolean;
22
23
  isUserProfile?: boolean;
23
24
  isRegularCard?: boolean;
25
+ isNeedBounceTransform?: boolean;
24
26
  currentMyGalleryId?: false | string;
27
+ playVideoOnHover?: boolean;
25
28
  }
26
- export declare const CreationCard: ({ creationName, creation, isNeedHeight, likesDynamicInfo, toolsForRemove, isMobile, isLoadingLikes, isNeedShowMoreButton, isUserProfile, isRegularCard, isShowCheckbox, checkboxSlot, currentMyGalleryId, }: ICreationCard & ICheckboxState) => import("react/jsx-runtime").JSX.Element;
29
+ export declare const CreationCard: ({ creationName, creation, isNeedHeight, likesDynamicInfo, toolsForRemove, isMobile, isLoadingLikes, isNeedShowMoreButton, isUserProfile, isRegularCard, isShowCheckbox, checkboxSlot, currentMyGalleryId, isNeedScaleTransform, isNeedBounceTransform, playVideoOnHover }: ICreationCard & ICheckboxState) => import("react/jsx-runtime").JSX.Element;
@@ -55,8 +55,7 @@ const StyledRegularCard = styled_components_1.default.div `
55
55
  background-color: ${colors_1.WhiteColor};
56
56
  border-radius: 6px;
57
57
  ${boxShadow_1.default};
58
- ${boxTransform_1.default};
59
- // ${(props) => (props.isNeedTransform ? null : boxTransform_1.default)}
58
+ ${(props) => (props.isNeedBounceTransform ? boxTransform_1.default : null)}
60
59
 
61
60
  min-height: ${(props) => (props.isNeedHeight ? "346px" : "")};
62
61
 
@@ -96,7 +95,7 @@ const StyledRegularCard = styled_components_1.default.div `
96
95
  }
97
96
  `;
98
97
  // Component
99
- const CreationCard = ({ creationName, creation, isNeedHeight, likesDynamicInfo, toolsForRemove, isMobile, isLoadingLikes, isNeedShowMoreButton, isUserProfile, isRegularCard = true, isShowCheckbox, checkboxSlot, currentMyGalleryId, }) => {
98
+ const CreationCard = ({ creationName, creation, isNeedHeight, likesDynamicInfo, toolsForRemove, isMobile, isLoadingLikes, isNeedShowMoreButton, isUserProfile, isRegularCard = true, isShowCheckbox, checkboxSlot, currentMyGalleryId, isNeedScaleTransform, isNeedBounceTransform = true, playVideoOnHover }) => {
100
99
  const isProd = (0, env_1.useEnvStore)((state) => state.isProd);
101
100
  const NEXT_PUBLIC_ENV_VALUE = (0, env_1.useEnvStore)((state) => state.NEXT_PUBLIC_ENV_VALUE);
102
101
  const { likes, addLike, deleteLike } = (0, likes_1.default)({
@@ -124,7 +123,7 @@ const CreationCard = ({ creationName, creation, isNeedHeight, likesDynamicInfo,
124
123
  // } else {
125
124
  // window.open(`${domain}/rewards/${userId}`,'_self');
126
125
  // }
127
- return ((0, jsx_runtime_1.jsxs)(StyledRegularCard, { isNeedHeight: isNeedHeight, isNeedTransform: isNeedShowMoreButton, isShowCheckbox: isShowCheckbox, children: [isShowCheckbox && checkboxSlot, (0, jsx_runtime_1.jsxs)(HideLink, { className: "linkRegularCard", href: getLink(creation.creationLink), children: [(0, jsx_runtime_1.jsxs)(Head_1.default, { children: [(0, jsx_runtime_1.jsx)(CreationMediaView_1.CreationMediaView, { media: creation.media }), (0, jsx_runtime_1.jsx)(CardHead_1.CardHead, { isRegularCard: !!isRegularCard, isIconLiked: likes.isLiked, creation: creation, addLikeToCard: addLike, deleteLikeFromCard: deleteLike, isUserProfile: isUserProfile || false, isDisabled: !!isLoadingLikes, isShowCheckbox: isShowCheckbox, currentMyGalleryId: currentMyGalleryId })] }), (0, jsx_runtime_1.jsx)(CardContent_1.default, { creationName: creationName, firstName: creation.creatorAddress, secondName: creation.name, cuttedSecondName: creation.getCuttedSecondName(!isMobile), itemId: creation.itemId, isNeedShowMoreButton: isHideProd ? false : !!isNeedShowMoreButton, href: getLink(creation.creationLink), children: (0, jsx_runtime_1.jsxs)(index_1.Flex, { alignItems: "end", justifyContent: "space-between", children: [(0, jsx_runtime_1.jsx)(CardCategory_1.default, { label: creation.label }), !isHideProd &&
126
+ return ((0, jsx_runtime_1.jsxs)(StyledRegularCard, { isNeedHeight: isNeedHeight, isNeedTransform: isNeedShowMoreButton, isShowCheckbox: isShowCheckbox, isNeedBounceTransform: isNeedBounceTransform, children: [isShowCheckbox && checkboxSlot, (0, jsx_runtime_1.jsxs)(HideLink, { className: "linkRegularCard", href: getLink(creation.creationLink), children: [(0, jsx_runtime_1.jsxs)(Head_1.default, { children: [(0, jsx_runtime_1.jsx)(CreationMediaView_1.CreationMediaView, { media: creation.media, isNeedScaleTransform: isNeedScaleTransform, playVideoOnHover: playVideoOnHover }), (0, jsx_runtime_1.jsx)(CardHead_1.CardHead, { isRegularCard: !!isRegularCard, isIconLiked: likes.isLiked, creation: creation, addLikeToCard: addLike, deleteLikeFromCard: deleteLike, isUserProfile: isUserProfile || false, isDisabled: !!isLoadingLikes, isShowCheckbox: isShowCheckbox, currentMyGalleryId: currentMyGalleryId })] }), (0, jsx_runtime_1.jsx)(CardContent_1.default, { creationName: creationName, firstName: creation.creatorAddress, secondName: creation.name, cuttedSecondName: creation.getCuttedSecondName(!isMobile), itemId: creation.itemId, isNeedShowMoreButton: isHideProd ? false : !!isNeedShowMoreButton, href: getLink(creation.creationLink), children: (0, jsx_runtime_1.jsxs)(index_1.Flex, { alignItems: "end", justifyContent: "space-between", children: [(0, jsx_runtime_1.jsx)(CardCategory_1.default, { label: creation.label }), !isHideProd &&
128
127
  (isLoadingLikes ? ((0, jsx_runtime_1.jsx)(react_loading_skeleton_1.default, { style: { borderRadius: "3px" }, height: "100%", width: "30px" })) : ((0, jsx_runtime_1.jsx)(CardLikes_1.default, { isLiked: likes.isLiked, likes: likes.likesCount })))] }) })] })] }));
129
128
  };
130
129
  exports.CreationCard = CreationCard;
@@ -12,6 +12,7 @@ const StyledCardHead = styled_components_1.default.div `
12
12
  height: 252px;
13
13
  width: 252px;
14
14
  margin: 0 auto;
15
+ overflow: hidden;
15
16
 
16
17
  .playIcon,
17
18
  .pauseIcon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/components",
3
- "version": "2.2.57",
3
+ "version": "2.2.58",
4
4
  "private": false,
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",