rk-designsystem 1.3.1 → 1.3.2
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/Carousel/index.js +7 -7
- package/dist/components/DateInput/index.js +34 -34
- package/dist/components/DatePicker/index.js +123 -120
- package/dist/components/DatePicker/styles.module.css.js +10 -10
- package/dist/components/Donor/index.js +1 -1
- package/dist/components/Footer/index.js +1 -1
- package/dist/components/Footer/styles.module.css.js +82 -82
- package/dist/components/GraphicElement/index.js +6 -6
- package/dist/components/Header/index.js +179 -155
- package/dist/components/Header/styles.module.css.js +74 -74
- package/dist/rk-designsystem.css +1 -1
- package/package.json +6 -12
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e = "
|
|
2
|
+
const e = "_calendarContainer_1xn54_1", n = "_calendarHeader_1xn54_16", a = "_monthYear_1xn54_23", t = "_navigationButtons_1xn54_34", o = "_gridWrapper_1xn54_43", r = "_gridRow_1xn54_48", _ = "_dayNameCell_1xn54_55", d = "_dateCell_1xn54_73", l = "_dateNumberContainer_1xn54_106", s = "_otherMonth_1xn54_119", c = "_disabled_1xn54_119", i = "_selectedDate_1xn54_148", x = {
|
|
3
3
|
calendarContainer: e,
|
|
4
|
-
calendarHeader:
|
|
5
|
-
monthYear:
|
|
6
|
-
navigationButtons:
|
|
7
|
-
gridWrapper:
|
|
4
|
+
calendarHeader: n,
|
|
5
|
+
monthYear: a,
|
|
6
|
+
navigationButtons: t,
|
|
7
|
+
gridWrapper: o,
|
|
8
8
|
gridRow: r,
|
|
9
9
|
dayNameCell: _,
|
|
10
10
|
dateCell: d,
|
|
@@ -15,16 +15,16 @@ const e = "_calendarContainer_1ukqo_1", a = "_calendarHeader_1ukqo_16", t = "_mo
|
|
|
15
15
|
};
|
|
16
16
|
export {
|
|
17
17
|
e as calendarContainer,
|
|
18
|
-
|
|
18
|
+
n as calendarHeader,
|
|
19
19
|
d as dateCell,
|
|
20
20
|
l as dateNumberContainer,
|
|
21
21
|
_ as dayNameCell,
|
|
22
|
-
|
|
22
|
+
x as default,
|
|
23
23
|
c as disabled,
|
|
24
24
|
r as gridRow,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
o as gridWrapper,
|
|
26
|
+
a as monthYear,
|
|
27
|
+
t as navigationButtons,
|
|
28
28
|
s as otherMonth,
|
|
29
29
|
i as selectedDate
|
|
30
30
|
};
|
|
@@ -91,7 +91,7 @@ const L = () => /* @__PURE__ */ t(
|
|
|
91
91
|
const a = "rk-donor-inline-styles";
|
|
92
92
|
if (typeof document > "u" || document.getElementById(a)) return;
|
|
93
93
|
const n = ae(i), o = document.createElement("style");
|
|
94
|
-
o.id = a, o.textContent = n, document.head.
|
|
94
|
+
o.id = a, o.textContent = n, document.head.prepend(o);
|
|
95
95
|
}, []);
|
|
96
96
|
const y = parseInt(u, 10), p = w && u && y > 0 ? y : C, D = (a) => {
|
|
97
97
|
P(a), h(!1), b(""), r == null || r(a, d);
|
|
@@ -44,7 +44,7 @@ const xe = ({
|
|
|
44
44
|
const n = "rk-footer-inline-styles";
|
|
45
45
|
if (typeof document > "u" || document.getElementById(n)) return;
|
|
46
46
|
const s = re(e), r = document.createElement("style");
|
|
47
|
-
r.id = n, r.textContent = s, document.head.
|
|
47
|
+
r.id = n, r.textContent = s, document.head.prepend(r);
|
|
48
48
|
}, []);
|
|
49
49
|
const A = (n) => {
|
|
50
50
|
n.preventDefault(), C == null || C(V);
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const t = "
|
|
2
|
+
const t = "_footer_17i24_1", n = "_mainSection_17i24_7", o = "_mainContainer_17i24_21", i = "_graphicElementTopRight_17i24_31", e = "_graphicElementBottomLeft_17i24_38", c = "_contentRow_17i24_46", s = "_newsletterSection_17i24_56", _ = "_newsletterDescription_17i24_70", a = "_newsletterForm_17i24_79", l = "_newsletterInputGroup_17i24_85", r = "_newsletterInput_17i24_85", p = "_consentText_17i24_96", d = "_linksSection_17i24_106", L = "_linksColumn_17i24_112", C = "_linksTitle_17i24_119", k = "_linksList_17i24_130", m = "_footerLink_17i24_139", g = "_divider_17i24_161", w = "_contactSection_17i24_169", P = "_contactColumn_17i24_176", h = "_contactTitle_17i24_184", T = "_contactContent_17i24_193", S = "_copyrightSection_17i24_207", u = "_copyrightText_17i24_212", R = "_whiteSection_17i24_222", M = "_whiteContainer_17i24_227", f = "_whiteContent_17i24_235", x = "_logo_17i24_243", y = "_redCrossLogo_17i24_257", D = "_slotLarge_17i24_263", E = "_contentRowContact_17i24_318", I = "_socialLinksSection_17i24_328", b = "_socialLinksTitle_17i24_335", v = "_socialLinksList_17i24_346", B = "_socialLink_17i24_328", G = "_socialLinkIcon_17i24_379", A = "_contactPersonsSection_17i24_394", F = "_contactPersonsTitle_17i24_401", N = "_contactPersonsGrid_17i24_412", j = "_contactPersonCard_17i24_418", q = "_contactPersonName_17i24_425", z = "_contactPersonRole_17i24_434", H = "_contactPersonDetails_17i24_443", J = "_contactPersonLabel_17i24_450", K = "_contactPersonEmail_17i24_454", O = "_contactPersonPhone_17i24_455", Q = "_contactPersonAddress_17i24_456", U = "_bottomRowContact_17i24_477", V = "_legalLinksRow_17i24_486", W = "_legalLink_17i24_486", X = "_dpMain_17i24_561", Y = "_dpContainer_17i24_570", Z = "_dpColumns_17i24_578", $ = "_dpColumn_17i24_578", tt = "_dpColTitle_17i24_591", nt = "_dpList_17i24_599", ot = "_dpLink_17i24_608", it = "_dpDivider_17i24_622", et = "_dpMeta_17i24_630", ct = "_dpMetaCol_17i24_636", st = "_dpMetaTitle_17i24_644", _t = "_dpMetaText_17i24_652", at = "_dpBottom_17i24_660", lt = "_dpLegal_17i24_668", rt = "_dpLegalLink_17i24_677", pt = "_dpCopyright_17i24_689", dt = {
|
|
3
3
|
footer: t,
|
|
4
4
|
mainSection: n,
|
|
5
5
|
mainContainer: o,
|
|
6
|
-
graphicElementTopRight:
|
|
7
|
-
graphicElementBottomLeft:
|
|
8
|
-
contentRow:
|
|
9
|
-
newsletterSection:
|
|
10
|
-
newsletterDescription:
|
|
11
|
-
newsletterForm:
|
|
12
|
-
newsletterInputGroup:
|
|
13
|
-
newsletterInput:
|
|
14
|
-
consentText:
|
|
15
|
-
linksSection:
|
|
16
|
-
linksColumn:
|
|
17
|
-
linksTitle:
|
|
18
|
-
linksList:
|
|
19
|
-
footerLink:
|
|
20
|
-
divider:
|
|
21
|
-
contactSection:
|
|
22
|
-
contactColumn:
|
|
23
|
-
contactTitle:
|
|
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:
|
|
6
|
+
graphicElementTopRight: i,
|
|
7
|
+
graphicElementBottomLeft: e,
|
|
8
|
+
contentRow: c,
|
|
9
|
+
newsletterSection: s,
|
|
10
|
+
newsletterDescription: _,
|
|
11
|
+
newsletterForm: a,
|
|
12
|
+
newsletterInputGroup: l,
|
|
13
|
+
newsletterInput: r,
|
|
14
|
+
consentText: p,
|
|
15
|
+
linksSection: d,
|
|
16
|
+
linksColumn: L,
|
|
17
|
+
linksTitle: C,
|
|
18
|
+
linksList: k,
|
|
19
|
+
footerLink: m,
|
|
20
|
+
divider: g,
|
|
21
|
+
contactSection: w,
|
|
22
|
+
contactColumn: P,
|
|
23
|
+
contactTitle: h,
|
|
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,
|
|
@@ -57,21 +57,21 @@ const t = "_footer_vkvg2_1", n = "_mainSection_vkvg2_7", o = "_mainContainer_vkv
|
|
|
57
57
|
dpColTitle: tt,
|
|
58
58
|
dpList: nt,
|
|
59
59
|
dpLink: ot,
|
|
60
|
-
dpDivider:
|
|
61
|
-
dpMeta:
|
|
62
|
-
dpMetaCol:
|
|
63
|
-
dpMetaTitle:
|
|
64
|
-
dpMetaText:
|
|
65
|
-
dpBottom:
|
|
66
|
-
dpLegal:
|
|
67
|
-
dpLegalLink:
|
|
68
|
-
dpCopyright:
|
|
60
|
+
dpDivider: it,
|
|
61
|
+
dpMeta: et,
|
|
62
|
+
dpMetaCol: ct,
|
|
63
|
+
dpMetaTitle: st,
|
|
64
|
+
dpMetaText: _t,
|
|
65
|
+
dpBottom: at,
|
|
66
|
+
dpLegal: lt,
|
|
67
|
+
dpLegalLink: rt,
|
|
68
|
+
dpCopyright: pt
|
|
69
69
|
};
|
|
70
70
|
export {
|
|
71
71
|
U as bottomRowContact,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
p as consentText,
|
|
73
|
+
P as contactColumn,
|
|
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
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
86
|
+
w as contactSection,
|
|
87
|
+
h as contactTitle,
|
|
88
|
+
c as contentRow,
|
|
89
|
+
E as contentRowContact,
|
|
90
|
+
S as copyrightSection,
|
|
91
|
+
u as copyrightText,
|
|
92
|
+
dt as default,
|
|
93
|
+
g as divider,
|
|
94
|
+
at as dpBottom,
|
|
95
95
|
tt as dpColTitle,
|
|
96
96
|
$ as dpColumn,
|
|
97
97
|
Z as dpColumns,
|
|
98
98
|
Y as dpContainer,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
pt as dpCopyright,
|
|
100
|
+
it as dpDivider,
|
|
101
|
+
lt as dpLegal,
|
|
102
|
+
rt as dpLegalLink,
|
|
103
103
|
ot as dpLink,
|
|
104
104
|
nt as dpList,
|
|
105
105
|
X as dpMain,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
et as dpMeta,
|
|
107
|
+
ct as dpMetaCol,
|
|
108
|
+
_t as dpMetaText,
|
|
109
|
+
st as dpMetaTitle,
|
|
110
110
|
t as footer,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
m as footerLink,
|
|
112
|
+
e as graphicElementBottomLeft,
|
|
113
|
+
i as graphicElementTopRight,
|
|
114
114
|
W as legalLink,
|
|
115
115
|
V as legalLinksRow,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
116
|
+
L as linksColumn,
|
|
117
|
+
k as linksList,
|
|
118
|
+
d as linksSection,
|
|
119
|
+
C as linksTitle,
|
|
120
|
+
x as logo,
|
|
121
121
|
o as mainContainer,
|
|
122
122
|
n as mainSection,
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
123
|
+
_ as newsletterDescription,
|
|
124
|
+
a as newsletterForm,
|
|
125
|
+
r as newsletterInput,
|
|
126
|
+
l as newsletterInputGroup,
|
|
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
|
};
|