@20minutes/hela 2.21.9 → 2.21.10

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.
@@ -13,7 +13,6 @@ export interface BreadcrumbProps extends BoxProps, Pick<SliderOptions, 'colorVar
13
13
  }[];
14
14
  color?: ThemeColorType;
15
15
  layout?: LayoutType;
16
- isSmall?: boolean;
17
16
  isTransparent?: boolean;
18
17
  hasWhiteSeparators?: boolean;
19
18
  }
@@ -5,5 +5,6 @@ export interface CardFooterProps extends FlexProps {
5
5
  avatarAlt?: string;
6
6
  avatarUrl?: string;
7
7
  secondaryText?: string;
8
+ externalLink?: string;
8
9
  }
9
10
  export declare const CardFooter: React.FC<CardFooterProps>;
@@ -4,6 +4,5 @@ import { LayoutType } from '../../../types';
4
4
  export interface TagBarProps extends BoxProps, Pick<SliderOptions, 'colorVariant' | 'buttonsColor' | 'buttonsSize'> {
5
5
  tags: TagProps[];
6
6
  layout: LayoutType;
7
- isSmall?: boolean;
8
7
  }
9
8
  export declare const TagBar: React.FC<TagBarProps>;
package/dist/index.es.js CHANGED
@@ -4676,20 +4676,31 @@ const d1 = j(
4676
4676
  avatarUrl: l,
4677
4677
  secondaryText: c,
4678
4678
  bg: r,
4679
- ...n
4679
+ externalLink: n,
4680
+ ...i
4680
4681
  }) => {
4681
- const i = {
4682
+ const o = {
4682
4683
  as: "span",
4683
4684
  size: "xs",
4684
4685
  bg: r || void 0,
4685
4686
  p: r ? "xxs" : void 0,
4686
4687
  color: r ? "grey-900" : void 0
4687
- }, o = /* @__PURE__ */ t(m, { gap: "xxs", children: [
4688
- /* @__PURE__ */ e(p1, { variant: "xsmall", img: l, alt: s }),
4689
- /* @__PURE__ */ e(g, { ...i, mt: "xxs-2", children: a })
4690
- ] });
4691
- return /* @__PURE__ */ t(m, { ...n, justifyContent: "between", alignItems: "center", gap: "s", children: [
4692
- l ? o : /* @__PURE__ */ e(g, { ...i, children: a }),
4688
+ }, d = /* @__PURE__ */ t(
4689
+ m,
4690
+ {
4691
+ className: "u-relative u-relative--z-index-2 opacity-hover",
4692
+ as: "a",
4693
+ href: n,
4694
+ target: "_blank",
4695
+ gap: "xxs",
4696
+ children: [
4697
+ l && /* @__PURE__ */ e(p1, { variant: "xsmall", img: l, alt: s }),
4698
+ /* @__PURE__ */ e(g, { ...o, mt: "xxs-2", children: a })
4699
+ ]
4700
+ }
4701
+ );
4702
+ return /* @__PURE__ */ t(m, { ...i, justifyContent: "between", alignItems: "center", gap: "s", children: [
4703
+ n ? d : /* @__PURE__ */ e(g, { ...o, children: a }),
4693
4704
  c && /* @__PURE__ */ e(g, { as: "span", size: "xxs-3", color: "grey-300", textTransform: "uppercase", children: c })
4694
4705
  ] });
4695
4706
  }, J = ({
@@ -5070,7 +5081,7 @@ const d1 = j(
5070
5081
  ...d,
5071
5082
  variant: "card",
5072
5083
  mt: "s",
5073
- className: "c-card-element--is-clickable"
5084
+ className: "u-relative u-relative--z-index-2"
5074
5085
  }
5075
5086
  )
5076
5087
  ]
@@ -5099,7 +5110,7 @@ const d1 = j(
5099
5110
  ...o,
5100
5111
  mx: "m",
5101
5112
  mt: "xs",
5102
- className: "c-card-element--is-clickable"
5113
+ className: "u-relative u-relative--z-index-2"
5103
5114
  }
5104
5115
  ),
5105
5116
  l && /* @__PURE__ */ e(
@@ -5121,7 +5132,7 @@ const d1 = j(
5121
5132
  variant: "card",
5122
5133
  mt: "s",
5123
5134
  mx: "m",
5124
- className: "c-card-element--is-clickable"
5135
+ className: "u-relative u-relative--z-index-2"
5125
5136
  }
5126
5137
  ),
5127
5138
  v && !d && /* @__PURE__ */ e(m, { mt: "s", justifyContent: "center", children: /* @__PURE__ */ e(C, { buttonColor: "primary", ...v }) })
@@ -5197,7 +5208,7 @@ const d1 = j(
5197
5208
  ...o,
5198
5209
  variant: "card",
5199
5210
  mt: "xs",
5200
- className: "c-card-element--is-clickable"
5211
+ className: "u-relative u-relative--z-index-2"
5201
5212
  }
5202
5213
  )
5203
5214
  ]
@@ -5337,7 +5348,7 @@ const d1 = j(
5337
5348
  variant: "card",
5338
5349
  mx: "m",
5339
5350
  mt: "s",
5340
- className: "c-card-element--is-clickable"
5351
+ className: "u-relative u-relative--z-index-2"
5341
5352
  }
5342
5353
  )
5343
5354
  ] }) });
@@ -5405,7 +5416,7 @@ const d1 = j(
5405
5416
  mt: "xs",
5406
5417
  ...n,
5407
5418
  variant: "card",
5408
- className: "c-card-element--is-clickable"
5419
+ className: "u-relative u-relative--z-index-2"
5409
5420
  }
5410
5421
  )
5411
5422
  ]
@@ -6126,7 +6137,7 @@ const d1 = j(
6126
6137
  children: c.children
6127
6138
  }
6128
6139
  ),
6129
- l && /* @__PURE__ */ e(ne, { ...l, mt: "l", className: "c-card-element--is-clickable" })
6140
+ l && /* @__PURE__ */ e(ne, { ...l, mt: "l", className: "u-relative u-relative--z-index-2" })
6130
6141
  ] })
6131
6142
  ]
6132
6143
  }
@@ -6233,7 +6244,10 @@ const d1 = j(
6233
6244
  {
6234
6245
  ...i,
6235
6246
  variant: "card",
6236
- className: p("c-card-element--is-clickable", "c-card-with-summary__social-bar")
6247
+ className: p(
6248
+ "u-relative u-relative--z-index-2",
6249
+ "c-card-with-summary__social-bar"
6250
+ )
6237
6251
  }
6238
6252
  )
6239
6253
  ] });
@@ -9585,16 +9599,16 @@ const d1 = j(
9585
9599
  ]
9586
9600
  }
9587
9601
  );
9588
- }, I3 = ({ tags: a, layout: s, isSmall: l = !1, ...c }) => a.length ? /* @__PURE__ */ e(
9602
+ }, I3 = ({ tags: a, layout: s, ...l }) => a.length ? /* @__PURE__ */ e(
9589
9603
  d1,
9590
9604
  {
9591
9605
  hasSpaceAroundButtons: !0,
9592
- ...c,
9606
+ ...l,
9593
9607
  itemsGap: "xs",
9594
9608
  layout: s,
9595
- className: p("c-tag-bar", c?.className),
9596
- ...l && { buttonsSize: "small" },
9597
- children: a.map((r, n) => /* @__PURE__ */ e(W, { ...r, ...l && { size: "small" } }, n))
9609
+ className: p("c-tag-bar", l?.className),
9610
+ buttonsSize: "small",
9611
+ children: a.map((c, r) => /* @__PURE__ */ e(W, { ...c }, r))
9598
9612
  }
9599
9613
  ) : null, L0 = ({ iconName: a, className: s }) => /* @__PURE__ */ e("li", { className: p("c-text-tooltip-item", s), children: /* @__PURE__ */ e(
9600
9614
  V,