mimir-ui-kit 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,8 @@
2
2
  type TProps = {
3
3
  images?: {
4
4
  image?: string;
5
- url: string;
6
- id: number;
5
+ url?: string;
6
+ id?: number;
7
7
  }[];
8
8
  };
9
9
  export declare const Slider: ({ images }: TProps) => import("react/jsx-runtime").JSX.Element;
@@ -5237,7 +5237,17 @@ const Slider = ({ images }) => {
5237
5237
  ] }),
5238
5238
  /* @__PURE__ */ jsx(ProgressBar, { ref: progressBar })
5239
5239
  ] }),
5240
- images == null ? void 0 : images.map((img) => /* @__PURE__ */ jsx(SwiperSlide, { className: cls.slide, children: /* @__PURE__ */ jsx(AppImage, { className: cls.image, src: img.url }) }, img.id))
5240
+ images == null ? void 0 : images.map((img) => /* @__PURE__ */ jsx(
5241
+ SwiperSlide,
5242
+ {
5243
+ tag: "a",
5244
+ href: img.url,
5245
+ target: "_blank",
5246
+ className: cls.slide,
5247
+ children: /* @__PURE__ */ jsx(AppImage, { className: cls.image, src: img.image })
5248
+ },
5249
+ img.id
5250
+ ))
5241
5251
  ]
5242
5252
  }
5243
5253
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.1.5",
4
+ "version": "1.1.6",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {