rk-designsystem 1.3.0 → 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.
Files changed (64) hide show
  1. package/README.md +14 -7
  2. package/dist/assets/images/ChevronLeftIcon.js +31 -0
  3. package/dist/assets/images/ChevronRightIcon.js +31 -0
  4. package/dist/components/Alert/index.js +16 -0
  5. package/dist/components/Avatar/index.js +9 -0
  6. package/dist/components/Badge/index.js +11 -0
  7. package/dist/components/Breadcrumbs/index.js +9 -0
  8. package/dist/components/Button/index.js +11 -0
  9. package/dist/components/Card/index.js +8 -0
  10. package/dist/components/Carousel/index.js +379 -0
  11. package/dist/components/Carousel/styles.module.css.js +38 -0
  12. package/dist/components/Checkbox/index.js +10 -0
  13. package/dist/components/Chip/index.js +6 -0
  14. package/dist/components/DateInput/index.js +258 -0
  15. package/dist/components/DateInput/styles.module.css.js +20 -0
  16. package/dist/components/DatePicker/index.js +360 -0
  17. package/dist/components/DatePicker/styles.module.css.js +30 -0
  18. package/dist/components/Details/index.js +6 -0
  19. package/dist/components/Dialog/index.js +6 -0
  20. package/dist/components/Divider/index.js +6 -0
  21. package/dist/components/Donor/index.js +382 -0
  22. package/dist/components/Donor/styles.module.css.js +42 -0
  23. package/dist/components/Dropdown/index.js +12 -0
  24. package/dist/components/ErrorSummary/index.js +6 -0
  25. package/dist/components/Field/index.js +10 -0
  26. package/dist/components/Fieldset/index.js +6 -0
  27. package/dist/components/Footer/index.js +722 -0
  28. package/dist/components/Footer/styles.module.css.js +138 -0
  29. package/dist/components/GraphicElement/index.js +317 -0
  30. package/dist/components/GraphicElement/styles.module.css.js +16 -0
  31. package/dist/components/Header/index.js +677 -0
  32. package/dist/components/Header/styles.module.css.js +114 -0
  33. package/dist/components/Heading/index.js +9 -0
  34. package/dist/components/Input/index.js +7 -0
  35. package/dist/components/Label/index.js +9 -0
  36. package/dist/components/Link/index.js +6 -0
  37. package/dist/components/List/index.js +6 -0
  38. package/dist/components/Pagination/index.js +11 -0
  39. package/dist/components/Paragraph/index.js +11 -0
  40. package/dist/components/Popover/index.js +6 -0
  41. package/dist/components/Radio/index.js +7 -0
  42. package/dist/components/Search/index.js +10 -0
  43. package/dist/components/Select/index.js +6 -0
  44. package/dist/components/SkeletonLoader/index.js +6 -0
  45. package/dist/components/SkipLink/index.js +6 -0
  46. package/dist/components/SpinnerLoader/index.js +6 -0
  47. package/dist/components/Suggestion/index.js +7 -0
  48. package/dist/components/Switch/index.js +6 -0
  49. package/dist/components/Table/index.js +6 -0
  50. package/dist/components/Tabs/index.js +6 -0
  51. package/dist/components/Tag/index.js +14 -0
  52. package/dist/components/Textarea/index.js +6 -0
  53. package/dist/components/Textfield/index.js +6 -0
  54. package/dist/components/ToggleGroup/index.js +6 -0
  55. package/dist/components/Tooltip/index.js +6 -0
  56. package/dist/components/ValidationMessage/index.js +9 -0
  57. package/dist/context/LanguageContext.js +91 -0
  58. package/dist/index.d.ts +170 -147
  59. package/dist/index.js +118 -0
  60. package/dist/rk-designsystem.css +1 -1
  61. package/dist/{componentlibrary.es.js → translations/index.js} +267 -3904
  62. package/dist/utils/search-index.js +106 -0
  63. package/package.json +21 -35
  64. package/dist/componentlibrary.umd.js +0 -1266
@@ -0,0 +1,382 @@
1
+ "use client";
2
+ import { jsxs as l, jsx as t } from "react/jsx-runtime";
3
+ import { useId as J, useState as m, useEffect as K } from "react";
4
+ import { Tabs as s } from "../Tabs/index.js";
5
+ import { Button as Q } from "../Button/index.js";
6
+ import { Textfield as X } from "../Textfield/index.js";
7
+ import { Paragraph as Y } from "../Paragraph/index.js";
8
+ import { Link as A } from "../Link/index.js";
9
+ import i from "./styles.module.css.js";
10
+ const L = () => /* @__PURE__ */ t(
11
+ "svg",
12
+ {
13
+ width: "19",
14
+ height: "18",
15
+ viewBox: "0 0 19.2905 18.125",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "aria-hidden": "true",
19
+ focusable: "false",
20
+ children: /* @__PURE__ */ t(
21
+ "path",
22
+ {
23
+ d: "M13.7703 0C15.2893 5.94513e-05 16.5938 0.76302 17.6755 1.84473C20.0479 4.2172 19.8818 8.19893 16.6755 11.4053L10.1765 17.9043C10.0359 18.0449 9.84412 18.1249 9.64527 18.125C9.44642 18.125 9.25564 18.0458 9.115 17.9053L2.615 11.4053C-0.591399 8.19889 -0.757477 4.21721 1.615 1.84473C2.69673 0.763025 4.00125 0 5.52027 0C6.86917 5.33075e-05 8.24623 0.601427 9.64527 1.84375C11.0443 0.601491 12.4214 0 13.7703 0Z",
24
+ fill: "#B42419"
25
+ }
26
+ )
27
+ }
28
+ ), ee = () => /* @__PURE__ */ t(
29
+ "svg",
30
+ {
31
+ width: "16",
32
+ height: "15",
33
+ viewBox: "0 0 25.721 24.166",
34
+ fill: "none",
35
+ xmlns: "http://www.w3.org/2000/svg",
36
+ "aria-hidden": "true",
37
+ focusable: "false",
38
+ children: /* @__PURE__ */ t(
39
+ "path",
40
+ {
41
+ d: "M18.3605 0C20.3858 2.70913e-05 22.1252 1.01674 23.5675 2.45898C26.7308 5.62229 26.5097 10.9318 22.2345 15.207L13.5685 23.873C13.381 24.0605 13.1256 24.166 12.8605 24.166C12.5953 24.166 12.341 24.0606 12.1535 23.873L3.48648 15.207C-0.78872 10.9319 -1.00983 5.6223 2.15347 2.45898C3.59576 1.01676 5.33517 -7.94691e-07 7.3605 0C9.15905 2.54762e-05 10.9951 0.801582 12.8605 2.45801C14.7259 0.801611 16.562 0 18.3605 0ZM18.3605 2C17.0526 2 15.4585 2.64907 13.5675 4.54004C13.38 4.72756 13.1257 4.83299 12.8605 4.83301C12.5953 4.83301 12.341 4.72755 12.1535 4.54004C10.2625 2.64908 8.6684 2.00003 7.3605 2C6.05266 2 4.7918 2.64884 3.56753 3.87305C1.39752 6.04307 1.17573 10.0682 4.90054 13.793L12.8605 21.752L20.8205 13.793C24.5452 10.0682 24.3235 6.04306 22.1535 3.87305C20.9292 2.64881 19.6683 2.00003 18.3605 2Z",
42
+ fill: "#D52B1E"
43
+ }
44
+ )
45
+ }
46
+ ), te = () => /* @__PURE__ */ t(
47
+ "svg",
48
+ {
49
+ width: "64",
50
+ height: "16",
51
+ viewBox: "0 0 64 16",
52
+ fill: "none",
53
+ xmlns: "http://www.w3.org/2000/svg",
54
+ "aria-hidden": "true",
55
+ focusable: "false",
56
+ children: /* @__PURE__ */ t(
57
+ "path",
58
+ {
59
+ d: "M34.0879 0C36.392 2.1216e-05 39.0869 1.89904 39.0869 5.95996C39.0868 10.2022 36.4949 12.2627 33.8408 12.2627C32.4216 12.2627 31.1671 11.7169 30.2002 10.4238V16H27.2998V0.323242H30.2002V1.91895C31.0027 0.82803 32.2573 0 34.0879 0ZM48.0156 0C50.3197 0.000234933 53.0137 1.89927 53.0137 5.95996C53.0136 10.2021 50.4223 12.2625 47.7686 12.2627C46.3493 12.2627 45.0939 11.7169 44.127 10.4238V16H41.2266V0.323242H44.1279V1.91895C44.9302 0.828069 46.185 0 48.0156 0ZM12.2402 6.58594C12.7958 6.20212 13.5569 6.36346 14.0508 7.09082C15.285 8.86842 16.8693 10.081 18.9053 10.0811L19.2695 10.0693C21.0418 9.95993 22.0986 9.0452 23.1016 7.75781C23.6771 7.01059 24.4387 6.86826 24.9531 7.27246C25.5084 7.69677 25.5289 8.46462 24.9531 9.21191C23.4106 11.2322 21.4357 12.4443 18.9053 12.4443C16.1488 12.4443 13.7835 10.9494 12.0762 8.38379C11.6033 7.71699 11.726 6.94964 12.2402 6.58594ZM59.1445 0C61.5312 0 63.2798 1.09116 64 3.83887L61.3877 4.24219C61.3465 2.84847 60.4618 2.42489 59.207 2.4248C58.2195 2.4248 57.499 2.84883 57.499 3.51562C57.4992 4.04069 57.8697 4.58616 58.9805 4.78809L60.9756 5.15137C62.9298 5.51551 63.9795 6.76793 63.9795 8.48535C63.9792 11.0102 61.6543 12.2627 59.4736 12.2627C57.1698 12.2626 54.6192 11.0904 54.208 8.24219L56.8203 7.83789C56.9644 9.31277 57.8903 9.83881 59.3711 9.83887C60.5024 9.83887 61.2636 9.43452 61.2637 8.72754C61.2637 8.10123 60.9141 7.63618 59.6797 7.41406L57.8691 7.09082C55.9565 6.74715 54.7842 5.41356 54.7842 3.7168C54.7844 1.09068 57.211 7.8171e-05 59.1445 0ZM5.9248 8.16113L8.63965 0.302734H11.8281L7.09668 11.959H4.73145L0 0.302734H3.18848L5.9248 8.16113ZM33.1826 2.50488C31.5988 2.50497 30.2003 3.61605 30.2002 6.10059C30.2002 8.4844 31.5987 9.73711 33.1621 9.7373C34.643 9.7373 36.166 8.56534 36.166 6.10059C36.1659 3.67634 34.6431 2.50488 33.1826 2.50488ZM47.1104 2.50488C45.5265 2.50488 44.1271 3.61595 44.127 6.10059C44.127 8.48459 45.5262 9.7373 47.0898 9.7373C48.5708 9.73729 50.0928 8.56533 50.0928 6.10059C50.0926 3.67645 48.5708 2.50499 47.1104 2.50488ZM21.0039 2.06055C21.8679 2.06067 22.6084 2.70741 22.6084 3.63672L22.5996 3.80762C22.5149 4.64394 21.8138 5.2118 21.0039 5.21191C20.1401 5.21191 19.3996 4.56573 19.3994 3.63672C19.3994 2.70732 20.14 2.06055 21.0039 2.06055Z",
60
+ fill: "white"
61
+ }
62
+ )
63
+ }
64
+ ), ie = [
65
+ { value: 220, label: "220 kr" },
66
+ { value: 345, label: "345 kr" },
67
+ { value: 660, label: "660 kr" }
68
+ ], me = ({
69
+ "data-color": e = "primary-color-red",
70
+ amounts: N = ie,
71
+ defaultAmount: I = 345,
72
+ oneTimeLabel: B = "En gang",
73
+ monthlyLabel: z = "Hver måned",
74
+ customAmountPlaceholder: x = "Valgfritt beløp",
75
+ amountLabel: H = "Velg ønsket beløp:",
76
+ impactMessage: M = "En gave på {amount} bidrar til ...",
77
+ vippsButtonLabel: g = "Gi med",
78
+ avtalegiroLabel: k = "Gi med avtalegiro",
79
+ avtalegiroHref: S = "#",
80
+ currencySuffix: Z = "kr",
81
+ onVippsClick: f,
82
+ onAvtalegiroClick: c,
83
+ onAmountChange: r,
84
+ showVippsButton: T = !0,
85
+ showAvtalegiroLink: V = !0,
86
+ showImpactMessage: j = !0,
87
+ heartVariant: E = "outlined"
88
+ }) => {
89
+ const v = J(), [d, F] = m("monthly"), [C, P] = m(I), [u, b] = m(""), [w, h] = m(!1);
90
+ K(() => {
91
+ const a = "rk-donor-inline-styles";
92
+ if (typeof document > "u" || document.getElementById(a)) return;
93
+ const n = ae(i), o = document.createElement("style");
94
+ o.id = a, o.textContent = n, document.head.prepend(o);
95
+ }, []);
96
+ const y = parseInt(u, 10), p = w && u && y > 0 ? y : C, D = (a) => {
97
+ P(a), h(!1), b(""), r == null || r(a, d);
98
+ }, W = (a) => {
99
+ const n = a.target.value;
100
+ b(n), h(!0);
101
+ const o = parseInt(n, 10);
102
+ o > 0 && (r == null || r(o, d));
103
+ }, q = () => {
104
+ h(!0);
105
+ }, G = (a) => {
106
+ const n = a;
107
+ F(n), r == null || r(p, n);
108
+ }, R = () => {
109
+ p > 0 && (f == null || f(p, d));
110
+ }, U = () => {
111
+ c == null || c();
112
+ }, O = () => {
113
+ const a = `${p} ${Z}`, n = M.split("{amount}");
114
+ return /* @__PURE__ */ l("span", { children: [
115
+ n[0],
116
+ /* @__PURE__ */ t("span", { className: i.impactAmount, children: a }),
117
+ n[1] || ""
118
+ ] });
119
+ }, $ = /* @__PURE__ */ l("div", { className: i.content, children: [
120
+ /* @__PURE__ */ l("div", { className: i.amountSection, children: [
121
+ /* @__PURE__ */ t(Y, { className: i.amountLabel, "data-size": "sm", id: v, children: H }),
122
+ /* @__PURE__ */ t(
123
+ "div",
124
+ {
125
+ className: i.amountButtons,
126
+ role: "group",
127
+ "aria-labelledby": v,
128
+ children: N.map((a) => {
129
+ const n = !w && C === a.value;
130
+ return /* @__PURE__ */ t(
131
+ Q,
132
+ {
133
+ variant: n ? "primary" : "secondary",
134
+ "data-color": n ? "primary-color-red" : "neutral",
135
+ "aria-pressed": n,
136
+ onClick: () => D(a.value),
137
+ children: a.label
138
+ },
139
+ a.value
140
+ );
141
+ })
142
+ }
143
+ ),
144
+ /* @__PURE__ */ t("div", { className: i.customAmountField, children: /* @__PURE__ */ t(
145
+ X,
146
+ {
147
+ "aria-label": x,
148
+ placeholder: x,
149
+ value: u,
150
+ onChange: W,
151
+ onFocus: q,
152
+ type: "number",
153
+ min: 1
154
+ }
155
+ ) })
156
+ ] }),
157
+ j && /* @__PURE__ */ l("div", { className: i.impactRow, children: [
158
+ /* @__PURE__ */ t("div", { className: i.heartIcon, children: E === "filled" ? /* @__PURE__ */ t(L, {}) : /* @__PURE__ */ t(ee, {}) }),
159
+ /* @__PURE__ */ t("p", { className: i.impactText, children: O() })
160
+ ] }),
161
+ /* @__PURE__ */ l("div", { className: i.actionsSection, children: [
162
+ T && /* @__PURE__ */ l(
163
+ "button",
164
+ {
165
+ className: i.vippsButton,
166
+ onClick: R,
167
+ type: "button",
168
+ "aria-label": `${g} Vipps`,
169
+ "data-brand-exception": "vipps",
170
+ children: [
171
+ /* @__PURE__ */ t("span", { className: i.vippsButtonLabel, children: g }),
172
+ /* @__PURE__ */ t("span", { className: i.vippsLogo, children: /* @__PURE__ */ t(te, {}) })
173
+ ]
174
+ }
175
+ ),
176
+ V && /* @__PURE__ */ t(
177
+ A,
178
+ {
179
+ href: S,
180
+ "data-color": "neutral",
181
+ className: i.avtalegiroLink,
182
+ onClick: (a) => {
183
+ c && (a.preventDefault(), U());
184
+ },
185
+ children: k
186
+ }
187
+ )
188
+ ] })
189
+ ] }), _ = e === "primary" ? "primary-color-red" : e;
190
+ return /* @__PURE__ */ t("div", { className: i.donor, "data-color": _, children: /* @__PURE__ */ l(
191
+ s,
192
+ {
193
+ defaultValue: "monthly",
194
+ onChange: G,
195
+ "data-size": "md",
196
+ className: i.tabsWrapper,
197
+ children: [
198
+ /* @__PURE__ */ l(s.List, { children: [
199
+ /* @__PURE__ */ t(s.Tab, { value: "one-time", children: B }),
200
+ /* @__PURE__ */ l(s.Tab, { value: "monthly", children: [
201
+ /* @__PURE__ */ t("span", { className: i.tabHeartIcon, children: /* @__PURE__ */ t(L, {}) }),
202
+ z
203
+ ] })
204
+ ] }),
205
+ /* @__PURE__ */ t(s.Panel, { value: "one-time", className: i.tabPanel, children: d === "one-time" ? $ : null }),
206
+ /* @__PURE__ */ t(s.Panel, { value: "monthly", className: i.tabPanel, children: d === "monthly" ? $ : null })
207
+ ]
208
+ }
209
+ ) });
210
+ };
211
+ function ae(e) {
212
+ return `
213
+ .${e.donor} {
214
+ border-radius: 16px;
215
+ overflow: hidden;
216
+ background-color: var(--ds-color-primary-color-red-surface-default, #ffffff);
217
+ display: flex;
218
+ flex-direction: column;
219
+ align-items: center;
220
+ width: 100%;
221
+ max-width: 344px;
222
+ padding-top: var(--ds-size-2, 8px);
223
+ }
224
+ .${e.tabsWrapper} {
225
+ width: 100%;
226
+ overflow: hidden;
227
+ border-radius: 4px;
228
+ }
229
+ .${e.tabsWrapper} [role="tablist"] {
230
+ display: flex !important;
231
+ width: 100% !important;
232
+ }
233
+ .${e.tabPanel} {
234
+ width: 100%;
235
+ padding: 0;
236
+ }
237
+ .${e.tabsWrapper} [role="tab"] {
238
+ flex: 1 1 50% !important;
239
+ display: inline-flex !important;
240
+ align-items: center !important;
241
+ justify-content: center !important;
242
+ text-align: center;
243
+ white-space: nowrap;
244
+ }
245
+ .${e.content} {
246
+ display: flex;
247
+ flex-direction: column;
248
+ gap: var(--ds-size-6, 24px);
249
+ align-items: center;
250
+ justify-content: center;
251
+ padding: var(--ds-size-6, 24px);
252
+ width: 100%;
253
+ box-sizing: border-box;
254
+ }
255
+ .${e.amountSection} {
256
+ display: flex;
257
+ flex-direction: column;
258
+ gap: var(--ds-size-2, 8px);
259
+ align-items: flex-start;
260
+ width: 296px;
261
+ }
262
+ .${e.amountLabel} {
263
+ font-weight: var(--ds-font-weight-regular, 400);
264
+ font-size: var(--ds-font-size-3, 16px);
265
+ line-height: 1.5;
266
+ letter-spacing: 0.04px;
267
+ color: var(--ds-color-neutral-text-default, #333333);
268
+ margin: 0;
269
+ }
270
+ .${e.amountButtons} {
271
+ display: flex;
272
+ gap: var(--ds-size-2, 8px);
273
+ align-items: flex-start;
274
+ width: 100%;
275
+ }
276
+ .${e.amountButtons} > button {
277
+ flex: 1;
278
+ }
279
+ .${e.customAmountField} {
280
+ width: 100%;
281
+ }
282
+ .${e.impactRow} {
283
+ display: flex;
284
+ gap: var(--ds-size-3, 12px);
285
+ align-items: center;
286
+ width: 296px;
287
+ min-height: 48px;
288
+ }
289
+ .${e.heartIcon} {
290
+ width: 32px;
291
+ height: 32px;
292
+ flex-shrink: 0;
293
+ display: flex;
294
+ align-items: center;
295
+ justify-content: center;
296
+ }
297
+ .${e.heartIcon} svg {
298
+ width: 19px;
299
+ height: 18px;
300
+ }
301
+ .${e.impactText} {
302
+ flex: 1;
303
+ font-weight: var(--ds-font-weight-regular, 400);
304
+ font-size: var(--ds-font-size-3, 16px);
305
+ line-height: 1.5;
306
+ letter-spacing: 0.04px;
307
+ color: var(--ds-color-neutral-text-default, #333333);
308
+ margin: 0;
309
+ }
310
+ .${e.impactAmount} {
311
+ font-weight: var(--ds-font-weight-semibold, 600);
312
+ }
313
+ .${e.actionsSection} {
314
+ display: flex;
315
+ flex-direction: column;
316
+ gap: var(--ds-size-2, 8px);
317
+ align-items: center;
318
+ justify-content: center;
319
+ width: 296px;
320
+ }
321
+ .${e.vippsButton} {
322
+ display: flex;
323
+ gap: 6px;
324
+ align-items: center;
325
+ justify-content: center;
326
+ width: 300px;
327
+ height: 44px;
328
+ padding: 12px 16px;
329
+ background-color: #ff5b24;
330
+ border: none;
331
+ border-radius: var(--ds-border-radius-xl, 12px);
332
+ overflow: hidden;
333
+ cursor: pointer;
334
+ transition: opacity 0.15s ease;
335
+ font-family: inherit;
336
+ }
337
+ .${e.vippsButton}:hover {
338
+ opacity: 0.9;
339
+ }
340
+ .${e.vippsButton}:active {
341
+ opacity: 0.8;
342
+ }
343
+ .${e.vippsButton}:focus-visible {
344
+ outline: 2px solid var(--ds-color-neutral-border-default, #797979);
345
+ outline-offset: 2px;
346
+ }
347
+ .${e.vippsButtonLabel} {
348
+ font-family: inherit;
349
+ font-weight: 700;
350
+ font-size: 18.5px;
351
+ line-height: 1;
352
+ color: #ffffff;
353
+ white-space: nowrap;
354
+ }
355
+ .${e.vippsLogo} {
356
+ display: flex;
357
+ flex-direction: column;
358
+ align-items: flex-start;
359
+ flex-shrink: 0;
360
+ }
361
+ .${e.vippsLogo} svg {
362
+ width: 64px;
363
+ height: 16px;
364
+ }
365
+ .${e.avtalegiroLink} {
366
+ text-align: center;
367
+ }
368
+ .${e.tabHeartIcon} {
369
+ display: inline-flex;
370
+ align-items: center;
371
+ margin-right: 4px;
372
+ vertical-align: middle;
373
+ }
374
+ .${e.tabHeartIcon} svg {
375
+ width: 16px;
376
+ height: 15px;
377
+ }
378
+ `;
379
+ }
380
+ export {
381
+ me as Donor
382
+ };
@@ -0,0 +1,42 @@
1
+ "use client";
2
+ const t = "_donor_xzqak_1", o = "_tabsWrapper_xzqak_14", a = "_content_xzqak_35", n = "_amountSection_xzqak_47", _ = "_amountLabel_xzqak_55", c = "_amountButtons_xzqak_64", s = "_customAmountField_xzqak_75", e = "_impactRow_xzqak_80", i = "_heartIcon_xzqak_88", p = "_impactText_xzqak_102", u = "_impactAmount_xzqak_112", m = "_actionsSection_xzqak_117", x = "_vippsButton_xzqak_127", k = "_vippsButtonLabel_xzqak_157", r = "_vippsLogo_xzqak_166", l = "_avtalegiroLink_xzqak_179", q = "_tabHeartIcon_xzqak_184", z = "_tabPanel_xzqak_214", b = {
3
+ donor: t,
4
+ tabsWrapper: o,
5
+ content: a,
6
+ amountSection: n,
7
+ amountLabel: _,
8
+ amountButtons: c,
9
+ customAmountField: s,
10
+ impactRow: e,
11
+ heartIcon: i,
12
+ impactText: p,
13
+ impactAmount: u,
14
+ actionsSection: m,
15
+ vippsButton: x,
16
+ vippsButtonLabel: k,
17
+ vippsLogo: r,
18
+ avtalegiroLink: l,
19
+ tabHeartIcon: q,
20
+ tabPanel: z
21
+ };
22
+ export {
23
+ m as actionsSection,
24
+ c as amountButtons,
25
+ _ as amountLabel,
26
+ n as amountSection,
27
+ l as avtalegiroLink,
28
+ a as content,
29
+ s as customAmountField,
30
+ b as default,
31
+ t as donor,
32
+ i as heartIcon,
33
+ u as impactAmount,
34
+ e as impactRow,
35
+ p as impactText,
36
+ q as tabHeartIcon,
37
+ z as tabPanel,
38
+ o as tabsWrapper,
39
+ x as vippsButton,
40
+ k as vippsButtonLabel,
41
+ r as vippsLogo
42
+ };
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import { Dropdown as o, DropdownButton as n, DropdownHeading as r, DropdownItem as t, DropdownList as d, DropdownTrigger as p, DropdownTriggerContext as w } from "@digdir/designsystemet-react";
3
+ const e = o, s = p, g = w, i = r, a = d, c = t, $ = n;
4
+ export {
5
+ e as Dropdown,
6
+ $ as DropdownButton,
7
+ i as DropdownHeading,
8
+ c as DropdownItem,
9
+ a as DropdownList,
10
+ s as DropdownTrigger,
11
+ g as DropdownTriggerContext
12
+ };
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ import { ErrorSummary as r } from "@digdir/designsystemet-react";
3
+ const o = r;
4
+ export {
5
+ o as ErrorSummary
6
+ };
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import { Field as e, FieldCounter as i, FieldDescription as l } from "@digdir/designsystemet-react";
3
+ const s = e, o = l, t = i;
4
+ o.displayName = "Field.Description";
5
+ t.displayName = "Field.Counter";
6
+ export {
7
+ s as Field,
8
+ t as FieldCounter,
9
+ o as FieldDescription
10
+ };
@@ -0,0 +1,6 @@
1
+ "use client";
2
+ import { Fieldset as e } from "@digdir/designsystemet-react";
3
+ const s = e;
4
+ export {
5
+ s as Fieldset
6
+ };