rk-designsystem 1.3.1 → 1.3.4
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/assets/logos/RedCrossLogo.js +30 -0
- package/dist/components/Carousel/index.js +18 -17
- package/dist/components/Carousel/styles.module.css.js +24 -24
- package/dist/components/DateInput/index.js +34 -34
- package/dist/components/DatePicker/index.js +127 -124
- package/dist/components/DatePicker/styles.module.css.js +22 -20
- package/dist/components/Donor/index.js +36 -25
- package/dist/components/Footer/index.js +180 -185
- package/dist/components/Footer/styles.module.css.js +66 -66
- package/dist/components/GraphicElement/index.js +6 -6
- package/dist/components/Header/index.js +282 -279
- package/dist/components/Header/styles.module.css.js +47 -47
- package/dist/rk-designsystem.css +1 -1
- package/package.json +7 -13
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const t = "
|
|
2
|
+
const t = "_footer_htrr4_1", n = "_mainSection_htrr4_7", o = "_mainContainer_htrr4_21", e = "_graphicElementTopRight_htrr4_31", r = "_graphicElementBottomLeft_htrr4_38", c = "_contentRow_htrr4_46", s = "_newsletterSection_htrr4_56", _ = "_newsletterDescription_htrr4_70", i = "_newsletterForm_htrr4_79", a = "_newsletterInputGroup_htrr4_85", l = "_newsletterInput_htrr4_85", h = "_consentText_htrr4_96", p = "_linksSection_htrr4_106", d = "_linksColumn_htrr4_112", L = "_linksTitle_htrr4_119", C = "_linksList_htrr4_130", k = "_footerLink_htrr4_139", m = "_divider_htrr4_161", g = "_contactSection_htrr4_169", w = "_contactColumn_htrr4_176", P = "_contactTitle_htrr4_184", T = "_contactContent_htrr4_193", S = "_copyrightSection_htrr4_207", u = "_copyrightText_htrr4_212", R = "_whiteSection_htrr4_222", M = "_whiteContainer_htrr4_227", f = "_whiteContent_htrr4_235", x = "_logo_htrr4_243", y = "_redCrossLogo_htrr4_257", D = "_slotLarge_htrr4_267", E = "_contentRowContact_htrr4_322", I = "_socialLinksSection_htrr4_332", b = "_socialLinksTitle_htrr4_339", v = "_socialLinksList_htrr4_350", B = "_socialLink_htrr4_332", G = "_socialLinkIcon_htrr4_383", A = "_contactPersonsSection_htrr4_398", F = "_contactPersonsTitle_htrr4_405", N = "_contactPersonsGrid_htrr4_416", j = "_contactPersonCard_htrr4_422", q = "_contactPersonName_htrr4_429", z = "_contactPersonRole_htrr4_438", H = "_contactPersonDetails_htrr4_447", J = "_contactPersonLabel_htrr4_454", K = "_contactPersonEmail_htrr4_458", O = "_contactPersonPhone_htrr4_459", Q = "_contactPersonAddress_htrr4_460", U = "_bottomRowContact_htrr4_481", V = "_legalLinksRow_htrr4_490", W = "_legalLink_htrr4_490", X = "_dpMain_htrr4_565", Y = "_dpContainer_htrr4_574", Z = "_dpColumns_htrr4_582", $ = "_dpColumn_htrr4_582", tt = "_dpColTitle_htrr4_595", nt = "_dpList_htrr4_603", ot = "_dpLink_htrr4_612", et = "_dpDivider_htrr4_626", rt = "_dpMeta_htrr4_634", ct = "_dpMetaCol_htrr4_640", st = "_dpMetaTitle_htrr4_648", _t = "_dpMetaText_htrr4_656", it = "_dpBottom_htrr4_664", at = "_dpLegal_htrr4_672", lt = "_dpLegalLink_htrr4_681", ht = "_dpCopyright_htrr4_693", pt = {
|
|
3
3
|
footer: t,
|
|
4
4
|
mainSection: n,
|
|
5
5
|
mainContainer: o,
|
|
6
6
|
graphicElementTopRight: e,
|
|
7
|
-
graphicElementBottomLeft:
|
|
8
|
-
contentRow:
|
|
9
|
-
newsletterSection:
|
|
10
|
-
newsletterDescription:
|
|
11
|
-
newsletterForm:
|
|
7
|
+
graphicElementBottomLeft: r,
|
|
8
|
+
contentRow: c,
|
|
9
|
+
newsletterSection: s,
|
|
10
|
+
newsletterDescription: _,
|
|
11
|
+
newsletterForm: i,
|
|
12
12
|
newsletterInputGroup: a,
|
|
13
13
|
newsletterInput: l,
|
|
14
|
-
consentText:
|
|
15
|
-
linksSection:
|
|
16
|
-
linksColumn:
|
|
17
|
-
linksTitle:
|
|
18
|
-
linksList:
|
|
19
|
-
footerLink:
|
|
20
|
-
divider:
|
|
21
|
-
contactSection:
|
|
14
|
+
consentText: h,
|
|
15
|
+
linksSection: p,
|
|
16
|
+
linksColumn: d,
|
|
17
|
+
linksTitle: L,
|
|
18
|
+
linksList: C,
|
|
19
|
+
footerLink: k,
|
|
20
|
+
divider: m,
|
|
21
|
+
contactSection: g,
|
|
22
22
|
contactColumn: w,
|
|
23
23
|
contactTitle: P,
|
|
24
|
-
contactContent:
|
|
25
|
-
copyrightSection:
|
|
26
|
-
copyrightText:
|
|
27
|
-
whiteSection:
|
|
28
|
-
whiteContainer:
|
|
29
|
-
whiteContent:
|
|
30
|
-
logo:
|
|
31
|
-
redCrossLogo:
|
|
32
|
-
slotLarge:
|
|
33
|
-
contentRowContact:
|
|
34
|
-
socialLinksSection:
|
|
35
|
-
socialLinksTitle:
|
|
36
|
-
socialLinksList:
|
|
24
|
+
contactContent: T,
|
|
25
|
+
copyrightSection: S,
|
|
26
|
+
copyrightText: u,
|
|
27
|
+
whiteSection: R,
|
|
28
|
+
whiteContainer: M,
|
|
29
|
+
whiteContent: f,
|
|
30
|
+
logo: x,
|
|
31
|
+
redCrossLogo: y,
|
|
32
|
+
slotLarge: D,
|
|
33
|
+
contentRowContact: E,
|
|
34
|
+
socialLinksSection: I,
|
|
35
|
+
socialLinksTitle: b,
|
|
36
|
+
socialLinksList: v,
|
|
37
37
|
socialLink: B,
|
|
38
38
|
socialLinkIcon: G,
|
|
39
39
|
contactPersonsSection: A,
|
|
@@ -58,20 +58,20 @@ const t = "_footer_vkvg2_1", n = "_mainSection_vkvg2_7", o = "_mainContainer_vkv
|
|
|
58
58
|
dpList: nt,
|
|
59
59
|
dpLink: ot,
|
|
60
60
|
dpDivider: et,
|
|
61
|
-
dpMeta:
|
|
62
|
-
dpMetaCol:
|
|
63
|
-
dpMetaTitle:
|
|
64
|
-
dpMetaText:
|
|
65
|
-
dpBottom:
|
|
61
|
+
dpMeta: rt,
|
|
62
|
+
dpMetaCol: ct,
|
|
63
|
+
dpMetaTitle: st,
|
|
64
|
+
dpMetaText: _t,
|
|
65
|
+
dpBottom: it,
|
|
66
66
|
dpLegal: at,
|
|
67
67
|
dpLegalLink: lt,
|
|
68
|
-
dpCopyright:
|
|
68
|
+
dpCopyright: ht
|
|
69
69
|
};
|
|
70
70
|
export {
|
|
71
71
|
U as bottomRowContact,
|
|
72
|
-
|
|
72
|
+
h as consentText,
|
|
73
73
|
w as contactColumn,
|
|
74
|
-
|
|
74
|
+
T as contactContent,
|
|
75
75
|
Q as contactPersonAddress,
|
|
76
76
|
j as contactPersonCard,
|
|
77
77
|
H as contactPersonDetails,
|
|
@@ -83,56 +83,56 @@ export {
|
|
|
83
83
|
N as contactPersonsGrid,
|
|
84
84
|
A as contactPersonsSection,
|
|
85
85
|
F as contactPersonsTitle,
|
|
86
|
-
|
|
86
|
+
g as contactSection,
|
|
87
87
|
P as contactTitle,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
88
|
+
c as contentRow,
|
|
89
|
+
E as contentRowContact,
|
|
90
|
+
S as copyrightSection,
|
|
91
|
+
u as copyrightText,
|
|
92
|
+
pt as default,
|
|
93
|
+
m as divider,
|
|
94
|
+
it as dpBottom,
|
|
95
95
|
tt as dpColTitle,
|
|
96
96
|
$ as dpColumn,
|
|
97
97
|
Z as dpColumns,
|
|
98
98
|
Y as dpContainer,
|
|
99
|
-
|
|
99
|
+
ht as dpCopyright,
|
|
100
100
|
et as dpDivider,
|
|
101
101
|
at as dpLegal,
|
|
102
102
|
lt as dpLegalLink,
|
|
103
103
|
ot as dpLink,
|
|
104
104
|
nt as dpList,
|
|
105
105
|
X as dpMain,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
rt as dpMeta,
|
|
107
|
+
ct as dpMetaCol,
|
|
108
|
+
_t as dpMetaText,
|
|
109
|
+
st as dpMetaTitle,
|
|
110
110
|
t as footer,
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
k as footerLink,
|
|
112
|
+
r as graphicElementBottomLeft,
|
|
113
113
|
e as graphicElementTopRight,
|
|
114
114
|
W as legalLink,
|
|
115
115
|
V as legalLinksRow,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
d as linksColumn,
|
|
117
|
+
C as linksList,
|
|
118
|
+
p as linksSection,
|
|
119
|
+
L as linksTitle,
|
|
120
|
+
x as logo,
|
|
121
121
|
o as mainContainer,
|
|
122
122
|
n as mainSection,
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
_ as newsletterDescription,
|
|
124
|
+
i as newsletterForm,
|
|
125
125
|
l as newsletterInput,
|
|
126
126
|
a as newsletterInputGroup,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
s as newsletterSection,
|
|
128
|
+
y as redCrossLogo,
|
|
129
|
+
D as slotLarge,
|
|
130
130
|
B as socialLink,
|
|
131
131
|
G as socialLinkIcon,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
132
|
+
v as socialLinksList,
|
|
133
|
+
I as socialLinksSection,
|
|
134
|
+
b as socialLinksTitle,
|
|
135
|
+
M as whiteContainer,
|
|
136
|
+
f as whiteContent,
|
|
137
|
+
R as whiteSection
|
|
138
138
|
};
|
|
@@ -257,10 +257,10 @@ const N = {
|
|
|
257
257
|
top: a.faceTop,
|
|
258
258
|
right: a.faceRight
|
|
259
259
|
};
|
|
260
|
-
function
|
|
260
|
+
function P(t) {
|
|
261
261
|
return t in H;
|
|
262
262
|
}
|
|
263
|
-
const
|
|
263
|
+
const R = W(
|
|
264
264
|
({
|
|
265
265
|
shape: t = "corner",
|
|
266
266
|
variant: l = "solid",
|
|
@@ -278,9 +278,9 @@ const P = W(
|
|
|
278
278
|
const L = "rk-graphic-element-inline-styles";
|
|
279
279
|
if (typeof document > "u" || document.getElementById(L)) return;
|
|
280
280
|
const d = T(a), s = document.createElement("style");
|
|
281
|
-
s.id = L, s.textContent = d, document.head.
|
|
281
|
+
s.id = L, s.textContent = d, document.head.prepend(s);
|
|
282
282
|
}, []);
|
|
283
|
-
const g = N[w], c = _[t], o = l === "isometric" &&
|
|
283
|
+
const g = N[w], c = _[t], o = l === "isometric" && P(t) ? t === "heart" && b ? e.heartMirrored : H[t][h] : void 0, p = l === "isometric" && !o ? "solid" : l, r = o ? 0 : O[h], n = o ? o.w : c.viewBoxW, i = o ? o.h : c.viewBoxH, Z = r === 90 || r === 270, m = Z ? i : n, u = Z ? n : i, A = Math.round(g * m / v), S = Math.round(g * u / v), I = r === 90 ? `rotate(90) translate(0 ${-i})` : r === 180 ? `rotate(180) translate(${-n} ${-i})` : r === 270 ? `rotate(-90) translate(${-n} 0)` : void 0;
|
|
284
284
|
return /* @__PURE__ */ f(
|
|
285
285
|
"svg",
|
|
286
286
|
{
|
|
@@ -311,7 +311,7 @@ const P = W(
|
|
|
311
311
|
);
|
|
312
312
|
}
|
|
313
313
|
);
|
|
314
|
-
|
|
314
|
+
R.displayName = "GraphicElement";
|
|
315
315
|
export {
|
|
316
|
-
|
|
316
|
+
R as GraphicElement
|
|
317
317
|
};
|