@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.
- package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/components/molecules/Card/CardFooter/CardFooter.d.ts +1 -0
- package/dist/components/molecules/TagBar/TagBar.d.ts +0 -1
- package/dist/index.es.js +35 -21
- package/dist/index.umd.cjs +1 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
4679
|
+
externalLink: n,
|
|
4680
|
+
...i
|
|
4680
4681
|
}) => {
|
|
4681
|
-
const
|
|
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
|
-
},
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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(
|
|
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,
|
|
9602
|
+
}, I3 = ({ tags: a, layout: s, ...l }) => a.length ? /* @__PURE__ */ e(
|
|
9589
9603
|
d1,
|
|
9590
9604
|
{
|
|
9591
9605
|
hasSpaceAroundButtons: !0,
|
|
9592
|
-
...
|
|
9606
|
+
...l,
|
|
9593
9607
|
itemsGap: "xs",
|
|
9594
9608
|
layout: s,
|
|
9595
|
-
className: p("c-tag-bar",
|
|
9596
|
-
|
|
9597
|
-
children: a.map((
|
|
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,
|