@prijsvrijtechsupport/ui 0.0.45 → 0.0.46
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/blogWidget/styles.css +1 -0
- package/dist/components/calendar/styles.css +11 -0
- package/dist/dist/index.css +18 -0
- package/dist/dist/index.css.map +1 -1
- package/dist/index.cjs +222 -209
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +222 -209
- package/dist/index.js.map +1 -1
- package/dist/styles/utilities.css +1 -0
- package/dist/styles/variables.css +6 -0
- package/dist/utils/storybookIcons.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,114 +31,118 @@ var variables_default = {};
|
|
|
31
31
|
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/components/topMenu/styles.css
|
|
34
|
-
var styles_default$
|
|
34
|
+
var styles_default$28 = {};
|
|
35
35
|
|
|
36
36
|
//#endregion
|
|
37
37
|
//#region src/components/button/styles.css
|
|
38
|
-
var styles_default$
|
|
38
|
+
var styles_default$27 = {};
|
|
39
39
|
|
|
40
40
|
//#endregion
|
|
41
41
|
//#region src/components/priceCheck/styles.css
|
|
42
|
-
var styles_default$
|
|
42
|
+
var styles_default$26 = {};
|
|
43
43
|
|
|
44
44
|
//#endregion
|
|
45
45
|
//#region src/components/toggle/styles.css
|
|
46
|
-
var styles_default$
|
|
46
|
+
var styles_default$25 = {};
|
|
47
47
|
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region src/components/topHeaderMenu/styles.css
|
|
50
|
-
var styles_default$
|
|
50
|
+
var styles_default$24 = {};
|
|
51
51
|
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/components/filterButtons/styles.css
|
|
54
|
-
var styles_default$
|
|
54
|
+
var styles_default$23 = {};
|
|
55
55
|
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/components/searchBox/styles.css
|
|
58
|
-
var styles_default$
|
|
58
|
+
var styles_default$22 = {};
|
|
59
59
|
|
|
60
60
|
//#endregion
|
|
61
61
|
//#region src/components/dropdown/styles.css
|
|
62
|
-
var styles_default$
|
|
62
|
+
var styles_default$21 = {};
|
|
63
63
|
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region src/components/counterIcon/styles.css
|
|
66
|
-
var styles_default$
|
|
66
|
+
var styles_default$20 = {};
|
|
67
67
|
|
|
68
68
|
//#endregion
|
|
69
69
|
//#region src/components/usp/styles.css
|
|
70
|
-
var styles_default$
|
|
70
|
+
var styles_default$19 = {};
|
|
71
71
|
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/components/middleNavigation/styles.css
|
|
74
|
-
var styles_default$
|
|
74
|
+
var styles_default$18 = {};
|
|
75
75
|
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/components/menu/styles.css
|
|
78
|
-
var styles_default$
|
|
78
|
+
var styles_default$17 = {};
|
|
79
79
|
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/components/footer/styles.css
|
|
82
|
-
var styles_default$
|
|
82
|
+
var styles_default$16 = {};
|
|
83
83
|
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region src/components/blogWidget/styles.css
|
|
86
|
-
var styles_default$
|
|
86
|
+
var styles_default$15 = {};
|
|
87
87
|
|
|
88
88
|
//#endregion
|
|
89
89
|
//#region src/components/searchBlock/styles.css
|
|
90
|
-
var styles_default$
|
|
90
|
+
var styles_default$14 = {};
|
|
91
91
|
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/categoryFilter/styles.css
|
|
94
|
-
var styles_default$
|
|
94
|
+
var styles_default$13 = {};
|
|
95
95
|
|
|
96
96
|
//#endregion
|
|
97
97
|
//#region src/components/collection/styles.css
|
|
98
|
-
var styles_default$
|
|
98
|
+
var styles_default$12 = {};
|
|
99
99
|
|
|
100
100
|
//#endregion
|
|
101
101
|
//#region src/components/review/styles.css
|
|
102
|
-
var styles_default$
|
|
102
|
+
var styles_default$11 = {};
|
|
103
103
|
|
|
104
104
|
//#endregion
|
|
105
105
|
//#region src/components/hotelAccomodationResults/styles.css
|
|
106
|
-
var styles_default$
|
|
106
|
+
var styles_default$10 = {};
|
|
107
107
|
|
|
108
108
|
//#endregion
|
|
109
109
|
//#region src/components/coupon/styles.css
|
|
110
|
-
var styles_default$
|
|
110
|
+
var styles_default$9 = {};
|
|
111
111
|
|
|
112
112
|
//#endregion
|
|
113
113
|
//#region src/components/giftCard/styles.css
|
|
114
|
-
var styles_default$
|
|
114
|
+
var styles_default$8 = {};
|
|
115
115
|
|
|
116
116
|
//#endregion
|
|
117
117
|
//#region src/components/pvPopup/styles.css
|
|
118
|
-
var styles_default$
|
|
118
|
+
var styles_default$7 = {};
|
|
119
119
|
|
|
120
120
|
//#endregion
|
|
121
121
|
//#region src/components/photoCardsRotated/styles.css
|
|
122
|
-
var styles_default$
|
|
122
|
+
var styles_default$6 = {};
|
|
123
123
|
|
|
124
124
|
//#endregion
|
|
125
125
|
//#region src/components/spotlights/styles.css
|
|
126
|
-
var styles_default$
|
|
126
|
+
var styles_default$5 = {};
|
|
127
127
|
|
|
128
128
|
//#endregion
|
|
129
129
|
//#region src/components/viewedAccomodations/styles.css
|
|
130
|
-
var styles_default$
|
|
130
|
+
var styles_default$4 = {};
|
|
131
131
|
|
|
132
132
|
//#endregion
|
|
133
133
|
//#region src/components/quantityButtons/styles.css
|
|
134
|
-
var styles_default$
|
|
134
|
+
var styles_default$3 = {};
|
|
135
135
|
|
|
136
136
|
//#endregion
|
|
137
137
|
//#region src/components/matrixTable/styles.css
|
|
138
|
-
var styles_default$
|
|
138
|
+
var styles_default$2 = {};
|
|
139
139
|
|
|
140
140
|
//#endregion
|
|
141
141
|
//#region src/components/pageNavigation/styles.css
|
|
142
|
+
var styles_default$1 = {};
|
|
143
|
+
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/components/calendar/styles.css
|
|
142
146
|
var styles_default = {};
|
|
143
147
|
|
|
144
148
|
//#endregion
|
|
@@ -4822,14 +4826,17 @@ const AccordionItem = ({ className, item, isOpen, onToggle,...props }) => {
|
|
|
4822
4826
|
const icon = resolvedIsOpen ? item.iconOpen ?? iconOpenFallback : item.iconClosed ?? iconClosedFallback;
|
|
4823
4827
|
return /* @__PURE__ */ jsxs("div", {
|
|
4824
4828
|
"data-component": "pv-accordion",
|
|
4825
|
-
className: clsx(className, "divide-y divide-
|
|
4829
|
+
className: clsx(className, "divide-y divide-[#e0e0e0]"),
|
|
4826
4830
|
...props,
|
|
4827
4831
|
children: [/* @__PURE__ */ jsxs("button", {
|
|
4828
4832
|
type: "button",
|
|
4829
4833
|
className: "flex justify-between w-full py-4 items-center",
|
|
4830
4834
|
"aria-expanded": resolvedIsOpen,
|
|
4831
4835
|
onClick: () => onToggle ? onToggle() : setUncontrolledIsOpen((v) => !v),
|
|
4832
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
4836
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
4837
|
+
className: "text-start",
|
|
4838
|
+
children: item.title
|
|
4839
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
4833
4840
|
className: "w-10 h-10 items-center flex",
|
|
4834
4841
|
children: icon
|
|
4835
4842
|
})]
|
|
@@ -8912,77 +8919,77 @@ const iconOptions = [
|
|
|
8912
8919
|
"IconWinterSport",
|
|
8913
8920
|
"IconWinterSun"
|
|
8914
8921
|
];
|
|
8915
|
-
const getIcon = (iconName) => {
|
|
8922
|
+
const getIcon = (iconName, color) => {
|
|
8916
8923
|
const iconMap$1 = {
|
|
8917
|
-
IconAlert: /* @__PURE__ */ jsx(IconAlert, { className: "w-full h-full" }),
|
|
8918
|
-
IconArrival: /* @__PURE__ */ jsx(IconArrival, { className: "w-full h-full" }),
|
|
8919
|
-
IconArrowDown: /* @__PURE__ */ jsx(IconArrowDown, { className: "w-full h-full" }),
|
|
8920
|
-
IconArrowLeft: /* @__PURE__ */ jsx(IconArrowLeft, { className: "w-full h-full" }),
|
|
8921
|
-
IconArrowRight: /* @__PURE__ */ jsx(IconArrowRight, { className: "w-full h-full" }),
|
|
8922
|
-
IconArrowUp: /* @__PURE__ */ jsx(IconArrowUp, { className: "w-full h-full" }),
|
|
8923
|
-
IconBeach: /* @__PURE__ */ jsx(IconBeach, { className: "w-full h-full" }),
|
|
8924
|
-
IconBed: /* @__PURE__ */ jsx(IconBed, { className: "w-full h-full" }),
|
|
8925
|
-
IconBlog: /* @__PURE__ */ jsx(IconBlog, { className: "w-full h-full" }),
|
|
8926
|
-
IconBus: /* @__PURE__ */ jsx(IconBus, { className: "w-full h-full" }),
|
|
8927
|
-
IconCalendar: /* @__PURE__ */ jsx(IconCalendar, { className: "w-full h-full" }),
|
|
8928
|
-
IconCancel: /* @__PURE__ */ jsx(IconCancel, { className: "w-full h-full" }),
|
|
8929
|
-
IconCar: /* @__PURE__ */ jsx(IconCar, { className: "w-full h-full" }),
|
|
8930
|
-
IconCarSun: /* @__PURE__ */ jsx(IconCarSun, { className: "w-full h-full" }),
|
|
8931
|
-
IconCheck: /* @__PURE__ */ jsx(IconCheck, { className: "w-full h-full" }),
|
|
8932
|
-
IconChevronRight: /* @__PURE__ */ jsx(IconChevronRight, { className: "w-full h-full" }),
|
|
8933
|
-
IconCity: /* @__PURE__ */ jsx(IconCity, { className: "w-full h-full" }),
|
|
8934
|
-
IconClock: /* @__PURE__ */ jsx(IconClock, { className: "w-full h-full" }),
|
|
8935
|
-
IconDelete: /* @__PURE__ */ jsx(IconDelete, { className: "w-full h-full" }),
|
|
8936
|
-
IconDeparture: /* @__PURE__ */ jsx(IconDeparture, { className: "w-full h-full" }),
|
|
8937
|
-
IconDollar: /* @__PURE__ */ jsx(IconDollar, { className: "w-full h-full" }),
|
|
8938
|
-
IconEdit: /* @__PURE__ */ jsx(IconEdit, { className: "w-full h-full" }),
|
|
8939
|
-
IconExpand: /* @__PURE__ */ jsx(IconExpand, { className: "w-full h-full" }),
|
|
8940
|
-
IconFacebook: /* @__PURE__ */ jsx(IconFacebook, { className: "w-full h-full" }),
|
|
8941
|
-
IconFavorite: /* @__PURE__ */ jsx(IconFavorite, { className: "w-full h-full" }),
|
|
8942
|
-
IconFilter: /* @__PURE__ */ jsx(IconFilter, { className: "w-full h-full" }),
|
|
8943
|
-
IconFood: /* @__PURE__ */ jsx(IconFood, { className: "w-full h-full" }),
|
|
8944
|
-
IconHeart: /* @__PURE__ */ jsx(IconHeart, { className: "w-full h-full" }),
|
|
8945
|
-
IconHot: /* @__PURE__ */ jsx(IconHot, { className: "w-full h-full" }),
|
|
8946
|
-
IconHotel: /* @__PURE__ */ jsx(IconHotel, { className: "w-full h-full" }),
|
|
8947
|
-
IconHouse: /* @__PURE__ */ jsx(IconHouse, { className: "w-full h-full" }),
|
|
8948
|
-
IconInfo: /* @__PURE__ */ jsx(IconInfo, { className: "w-full h-full" }),
|
|
8949
|
-
IconInstagram: /* @__PURE__ */ jsx(IconInstagram, { className: "w-full h-full" }),
|
|
8950
|
-
IconLuggage: /* @__PURE__ */ jsx(IconLuggage, { className: "w-full h-full" }),
|
|
8951
|
-
IconMail: /* @__PURE__ */ jsx(IconMail, { className: "w-full h-full" }),
|
|
8952
|
-
IconMap: /* @__PURE__ */ jsx(IconMap, { className: "w-full h-full" }),
|
|
8953
|
-
IconMinus: /* @__PURE__ */ jsx(IconMinus, { className: "w-full h-full" }),
|
|
8954
|
-
IconParty: /* @__PURE__ */ jsx(IconParty, { className: "w-full h-full" }),
|
|
8955
|
-
IconPhone: /* @__PURE__ */ jsx(IconPhone, { className: "w-full h-full" }),
|
|
8956
|
-
IconPhoto: /* @__PURE__ */ jsx(IconPhoto, { className: "w-full h-full" }),
|
|
8957
|
-
IconPinterest: /* @__PURE__ */ jsx(IconPinterest, { className: "w-full h-full" }),
|
|
8958
|
-
IconPlane: /* @__PURE__ */ jsx(IconPlane, { className: "w-full h-full" }),
|
|
8959
|
-
IconPlus: /* @__PURE__ */ jsx(IconPlus, { className: "w-full h-full" }),
|
|
8960
|
-
IconQuestion: /* @__PURE__ */ jsx(IconQuestion, { className: "w-full h-full" }),
|
|
8961
|
-
IconRating: /* @__PURE__ */ jsx(IconRating, { className: "w-full h-full" }),
|
|
8962
|
-
IconSearch: /* @__PURE__ */ jsx(IconSearch, { className: "w-full h-full" }),
|
|
8963
|
-
IconSeat: /* @__PURE__ */ jsx(IconSeat, { className: "w-full h-full" }),
|
|
8964
|
-
IconShare: /* @__PURE__ */ jsx(IconShare, { className: "w-full h-full" }),
|
|
8965
|
-
IconSplash: /* @__PURE__ */ jsx(IconSplash, { className: "w-full h-full" }),
|
|
8966
|
-
IconStar: /* @__PURE__ */ jsx(IconStar, { className: "w-full h-full" }),
|
|
8967
|
-
IconSuccess: /* @__PURE__ */ jsx(IconSuccess, { className: "w-full h-full" }),
|
|
8968
|
-
IconSun: /* @__PURE__ */ jsx(IconSun, { className: "w-full h-full" }),
|
|
8969
|
-
IconSupport: /* @__PURE__ */ jsx(IconSupport, { className: "w-full h-full" }),
|
|
8970
|
-
IconTemperature: /* @__PURE__ */ jsx(IconTemperature, { className: "w-full h-full" }),
|
|
8971
|
-
IconTiktok: /* @__PURE__ */ jsx(IconTiktok, { className: "w-full h-full" }),
|
|
8972
|
-
IconTransfer: /* @__PURE__ */ jsx(IconTransfer, { className: "w-full h-full" }),
|
|
8973
|
-
IconTree: /* @__PURE__ */ jsx(IconTree, { className: "w-full h-full" }),
|
|
8974
|
-
IconTwitter: /* @__PURE__ */ jsx(IconTwitter, { className: "w-full h-full" }),
|
|
8975
|
-
IconUser: /* @__PURE__ */ jsx(IconUser, { className: "w-full h-full" }),
|
|
8976
|
-
IconView: /* @__PURE__ */ jsx(IconView, { className: "w-full h-full" }),
|
|
8977
|
-
IconWarning: /* @__PURE__ */ jsx(IconWarning, { className: "w-full h-full" }),
|
|
8978
|
-
IconWhatsapp: /* @__PURE__ */ jsx(IconWhatsapp, { className: "w-full h-full" }),
|
|
8979
|
-
IconWinterSport: /* @__PURE__ */ jsx(IconWinterSport, { className: "w-full h-full" }),
|
|
8980
|
-
IconWinterSun: /* @__PURE__ */ jsx(IconWinterSun, { className: "w-full h-full" })
|
|
8924
|
+
IconAlert: /* @__PURE__ */ jsx(IconAlert, { className: clsx("w-full h-full", color) }),
|
|
8925
|
+
IconArrival: /* @__PURE__ */ jsx(IconArrival, { className: clsx("w-full h-full", color) }),
|
|
8926
|
+
IconArrowDown: /* @__PURE__ */ jsx(IconArrowDown, { className: clsx("w-full h-full", color) }),
|
|
8927
|
+
IconArrowLeft: /* @__PURE__ */ jsx(IconArrowLeft, { className: clsx("w-full h-full", color) }),
|
|
8928
|
+
IconArrowRight: /* @__PURE__ */ jsx(IconArrowRight, { className: clsx("w-full h-full", color) }),
|
|
8929
|
+
IconArrowUp: /* @__PURE__ */ jsx(IconArrowUp, { className: clsx("w-full h-full", color) }),
|
|
8930
|
+
IconBeach: /* @__PURE__ */ jsx(IconBeach, { className: clsx("w-full h-full", color) }),
|
|
8931
|
+
IconBed: /* @__PURE__ */ jsx(IconBed, { className: clsx("w-full h-full", color) }),
|
|
8932
|
+
IconBlog: /* @__PURE__ */ jsx(IconBlog, { className: clsx("w-full h-full", color) }),
|
|
8933
|
+
IconBus: /* @__PURE__ */ jsx(IconBus, { className: clsx("w-full h-full", color) }),
|
|
8934
|
+
IconCalendar: /* @__PURE__ */ jsx(IconCalendar, { className: clsx("w-full h-full", color) }),
|
|
8935
|
+
IconCancel: /* @__PURE__ */ jsx(IconCancel, { className: clsx("w-full h-full", color) }),
|
|
8936
|
+
IconCar: /* @__PURE__ */ jsx(IconCar, { className: clsx("w-full h-full", color) }),
|
|
8937
|
+
IconCarSun: /* @__PURE__ */ jsx(IconCarSun, { className: clsx("w-full h-full", color) }),
|
|
8938
|
+
IconCheck: /* @__PURE__ */ jsx(IconCheck, { className: clsx("w-full h-full", color) }),
|
|
8939
|
+
IconChevronRight: /* @__PURE__ */ jsx(IconChevronRight, { className: clsx("w-full h-full", color) }),
|
|
8940
|
+
IconCity: /* @__PURE__ */ jsx(IconCity, { className: clsx("w-full h-full", color) }),
|
|
8941
|
+
IconClock: /* @__PURE__ */ jsx(IconClock, { className: clsx("w-full h-full", color) }),
|
|
8942
|
+
IconDelete: /* @__PURE__ */ jsx(IconDelete, { className: clsx("w-full h-full", color) }),
|
|
8943
|
+
IconDeparture: /* @__PURE__ */ jsx(IconDeparture, { className: clsx("w-full h-full", color) }),
|
|
8944
|
+
IconDollar: /* @__PURE__ */ jsx(IconDollar, { className: clsx("w-full h-full", color) }),
|
|
8945
|
+
IconEdit: /* @__PURE__ */ jsx(IconEdit, { className: clsx("w-full h-full", color) }),
|
|
8946
|
+
IconExpand: /* @__PURE__ */ jsx(IconExpand, { className: clsx("w-full h-full", color) }),
|
|
8947
|
+
IconFacebook: /* @__PURE__ */ jsx(IconFacebook, { className: clsx("w-full h-full", color) }),
|
|
8948
|
+
IconFavorite: /* @__PURE__ */ jsx(IconFavorite, { className: clsx("w-full h-full", color) }),
|
|
8949
|
+
IconFilter: /* @__PURE__ */ jsx(IconFilter, { className: clsx("w-full h-full", color) }),
|
|
8950
|
+
IconFood: /* @__PURE__ */ jsx(IconFood, { className: clsx("w-full h-full", color) }),
|
|
8951
|
+
IconHeart: /* @__PURE__ */ jsx(IconHeart, { className: clsx("w-full h-full", color) }),
|
|
8952
|
+
IconHot: /* @__PURE__ */ jsx(IconHot, { className: clsx("w-full h-full", color) }),
|
|
8953
|
+
IconHotel: /* @__PURE__ */ jsx(IconHotel, { className: clsx("w-full h-full", color) }),
|
|
8954
|
+
IconHouse: /* @__PURE__ */ jsx(IconHouse, { className: clsx("w-full h-full", color) }),
|
|
8955
|
+
IconInfo: /* @__PURE__ */ jsx(IconInfo, { className: clsx("w-full h-full", color) }),
|
|
8956
|
+
IconInstagram: /* @__PURE__ */ jsx(IconInstagram, { className: clsx("w-full h-full", color) }),
|
|
8957
|
+
IconLuggage: /* @__PURE__ */ jsx(IconLuggage, { className: clsx("w-full h-full", color) }),
|
|
8958
|
+
IconMail: /* @__PURE__ */ jsx(IconMail, { className: clsx("w-full h-full", color) }),
|
|
8959
|
+
IconMap: /* @__PURE__ */ jsx(IconMap, { className: clsx("w-full h-full", color) }),
|
|
8960
|
+
IconMinus: /* @__PURE__ */ jsx(IconMinus, { className: clsx("w-full h-full", color) }),
|
|
8961
|
+
IconParty: /* @__PURE__ */ jsx(IconParty, { className: clsx("w-full h-full", color) }),
|
|
8962
|
+
IconPhone: /* @__PURE__ */ jsx(IconPhone, { className: clsx("w-full h-full", color) }),
|
|
8963
|
+
IconPhoto: /* @__PURE__ */ jsx(IconPhoto, { className: clsx("w-full h-full", color) }),
|
|
8964
|
+
IconPinterest: /* @__PURE__ */ jsx(IconPinterest, { className: clsx("w-full h-full", color) }),
|
|
8965
|
+
IconPlane: /* @__PURE__ */ jsx(IconPlane, { className: clsx("w-full h-full", color) }),
|
|
8966
|
+
IconPlus: /* @__PURE__ */ jsx(IconPlus, { className: clsx("w-full h-full", color) }),
|
|
8967
|
+
IconQuestion: /* @__PURE__ */ jsx(IconQuestion, { className: clsx("w-full h-full", color) }),
|
|
8968
|
+
IconRating: /* @__PURE__ */ jsx(IconRating, { className: clsx("w-full h-full", color) }),
|
|
8969
|
+
IconSearch: /* @__PURE__ */ jsx(IconSearch, { className: clsx("w-full h-full", color) }),
|
|
8970
|
+
IconSeat: /* @__PURE__ */ jsx(IconSeat, { className: clsx("w-full h-full", color) }),
|
|
8971
|
+
IconShare: /* @__PURE__ */ jsx(IconShare, { className: clsx("w-full h-full", color) }),
|
|
8972
|
+
IconSplash: /* @__PURE__ */ jsx(IconSplash, { className: clsx("w-full h-full", color) }),
|
|
8973
|
+
IconStar: /* @__PURE__ */ jsx(IconStar, { className: clsx("w-full h-full", color) }),
|
|
8974
|
+
IconSuccess: /* @__PURE__ */ jsx(IconSuccess, { className: clsx("w-full h-full", color) }),
|
|
8975
|
+
IconSun: /* @__PURE__ */ jsx(IconSun, { className: clsx("w-full h-full", color) }),
|
|
8976
|
+
IconSupport: /* @__PURE__ */ jsx(IconSupport, { className: clsx("w-full h-full", color) }),
|
|
8977
|
+
IconTemperature: /* @__PURE__ */ jsx(IconTemperature, { className: clsx("w-full h-full", color) }),
|
|
8978
|
+
IconTiktok: /* @__PURE__ */ jsx(IconTiktok, { className: clsx("w-full h-full", color) }),
|
|
8979
|
+
IconTransfer: /* @__PURE__ */ jsx(IconTransfer, { className: clsx("w-full h-full", color) }),
|
|
8980
|
+
IconTree: /* @__PURE__ */ jsx(IconTree, { className: clsx("w-full h-full", color) }),
|
|
8981
|
+
IconTwitter: /* @__PURE__ */ jsx(IconTwitter, { className: clsx("w-full h-full", color) }),
|
|
8982
|
+
IconUser: /* @__PURE__ */ jsx(IconUser, { className: clsx("w-full h-full", color) }),
|
|
8983
|
+
IconView: /* @__PURE__ */ jsx(IconView, { className: clsx("w-full h-full", color) }),
|
|
8984
|
+
IconWarning: /* @__PURE__ */ jsx(IconWarning, { className: clsx("w-full h-full", color) }),
|
|
8985
|
+
IconWhatsapp: /* @__PURE__ */ jsx(IconWhatsapp, { className: clsx("w-full h-full", color) }),
|
|
8986
|
+
IconWinterSport: /* @__PURE__ */ jsx(IconWinterSport, { className: clsx("w-full h-full", color) }),
|
|
8987
|
+
IconWinterSun: /* @__PURE__ */ jsx(IconWinterSun, { className: clsx("w-full h-full", color) })
|
|
8981
8988
|
};
|
|
8982
8989
|
const icon = iconMap$1[iconName];
|
|
8983
8990
|
if (!icon) {
|
|
8984
8991
|
console.warn(`Icon "${iconName}" not found, returning fallback`);
|
|
8985
|
-
return /* @__PURE__ */ jsx(IconArrowDown, { className: "w-full h-full" });
|
|
8992
|
+
return /* @__PURE__ */ jsx(IconArrowDown, { className: clsx("w-full h-full", color) });
|
|
8986
8993
|
}
|
|
8987
8994
|
return icon;
|
|
8988
8995
|
};
|
|
@@ -9022,13 +9029,13 @@ const CategoryFilter = ({ className, categories, defaultActiveId, onCategoryChan
|
|
|
9022
9029
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
9023
9030
|
className: "flex flex-row gap-2 relative",
|
|
9024
9031
|
children: [categories.map((category) => {
|
|
9025
|
-
const formattedIcon = category.icon ? formatIcon(getIcon(category.icon), { className: clsx("size-
|
|
9032
|
+
const formattedIcon = category.icon ? formatIcon(getIcon(category.icon), { className: clsx("size-6") }) : null;
|
|
9026
9033
|
return /* @__PURE__ */ jsxs("div", {
|
|
9027
9034
|
ref: (el) => categoryRefs.current[category.id] = el,
|
|
9028
9035
|
className: clsx("flex items-center gap-2 cursor-pointer px-3 py-3 rounded transition-colors whitespace-nowrap"),
|
|
9029
9036
|
onClick: () => handleCategoryClick(category.id),
|
|
9030
9037
|
children: [/* @__PURE__ */ jsx("span", {
|
|
9031
|
-
className: `h-
|
|
9038
|
+
className: `h-6 w-6 flex items-center justify-center ${activeId === category.id && "text-primary"}`,
|
|
9032
9039
|
children: formattedIcon
|
|
9033
9040
|
}), /* @__PURE__ */ jsx("span", {
|
|
9034
9041
|
className: `text-dark-600 ${activeId === category.id && "text-primary"}`,
|
|
@@ -9083,13 +9090,13 @@ const Calendar = ({ className, month, year = 2026,...props }) => {
|
|
|
9083
9090
|
]);
|
|
9084
9091
|
const resolvedSelectedDay = selectedDay ?? defaultSelectableDay;
|
|
9085
9092
|
const weekdayLabels = [
|
|
9086
|
-
"
|
|
9087
|
-
"
|
|
9088
|
-
"
|
|
9089
|
-
"
|
|
9090
|
-
"
|
|
9091
|
-
"
|
|
9092
|
-
"
|
|
9093
|
+
"Ma",
|
|
9094
|
+
"Di",
|
|
9095
|
+
"Wo",
|
|
9096
|
+
"Do",
|
|
9097
|
+
"Vr",
|
|
9098
|
+
"Za",
|
|
9099
|
+
"Zo"
|
|
9093
9100
|
];
|
|
9094
9101
|
const range = useMemo(() => {
|
|
9095
9102
|
if (!resolvedSelectedDay) return 0;
|
|
@@ -9154,113 +9161,120 @@ const Calendar = ({ className, month, year = 2026,...props }) => {
|
|
|
9154
9161
|
"data-component": "calendar",
|
|
9155
9162
|
className: clsx(className, "w-full"),
|
|
9156
9163
|
...props,
|
|
9157
|
-
children: [
|
|
9158
|
-
|
|
9159
|
-
|
|
9160
|
-
|
|
9161
|
-
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
+
children: [
|
|
9165
|
+
/* @__PURE__ */ jsx("div", {
|
|
9166
|
+
className: "flex items-center justify-end gap-4 mb-3",
|
|
9167
|
+
children: /* @__PURE__ */ jsxs("select", {
|
|
9168
|
+
"data-testid": "calendar-mode",
|
|
9169
|
+
className: "border border-gray-200 rounded px-2 py-1 text-sm",
|
|
9170
|
+
value: mode,
|
|
9171
|
+
onChange: (e) => setMode(e.target.value),
|
|
9172
|
+
children: [
|
|
9173
|
+
/* @__PURE__ */ jsx("option", {
|
|
9174
|
+
value: "exact",
|
|
9175
|
+
children: "Exacte datum"
|
|
9176
|
+
}),
|
|
9177
|
+
/* @__PURE__ */ jsx("option", {
|
|
9178
|
+
value: "pm1",
|
|
9179
|
+
children: "+/- 1 dag"
|
|
9180
|
+
}),
|
|
9181
|
+
/* @__PURE__ */ jsx("option", {
|
|
9182
|
+
value: "pm2",
|
|
9183
|
+
children: "+/- 2 dagen"
|
|
9184
|
+
}),
|
|
9185
|
+
/* @__PURE__ */ jsx("option", {
|
|
9186
|
+
value: "pm3",
|
|
9187
|
+
children: "+/- 3 dagen"
|
|
9188
|
+
}),
|
|
9189
|
+
/* @__PURE__ */ jsx("option", {
|
|
9190
|
+
value: "month",
|
|
9191
|
+
children: "Hele maand"
|
|
9192
|
+
})
|
|
9193
|
+
]
|
|
9164
9194
|
})
|
|
9165
|
-
}),
|
|
9166
|
-
|
|
9167
|
-
className: "
|
|
9168
|
-
|
|
9169
|
-
|
|
9195
|
+
}),
|
|
9196
|
+
/* @__PURE__ */ jsx("div", {
|
|
9197
|
+
className: "flex items-center justify-center gap-4 mb-3",
|
|
9198
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
9199
|
+
className: "text-sm text-secondary font-bold whitespace-nowrap",
|
|
9200
|
+
children: firstOfMonth.toLocaleDateString("nl-NL", {
|
|
9201
|
+
month: "long",
|
|
9202
|
+
year: "numeric"
|
|
9203
|
+
})
|
|
9204
|
+
})
|
|
9205
|
+
}),
|
|
9206
|
+
/* @__PURE__ */ jsxs("div", {
|
|
9207
|
+
className: "grid grid-cols-7 gap-0",
|
|
9208
|
+
"data-testid": "calendar-grid",
|
|
9170
9209
|
children: [
|
|
9171
|
-
/* @__PURE__ */ jsx("
|
|
9172
|
-
|
|
9173
|
-
children:
|
|
9174
|
-
}),
|
|
9175
|
-
|
|
9176
|
-
|
|
9177
|
-
|
|
9178
|
-
|
|
9179
|
-
|
|
9180
|
-
|
|
9181
|
-
|
|
9210
|
+
weekdayLabels.map((label) => /* @__PURE__ */ jsx("div", {
|
|
9211
|
+
className: "text-base font-normal calendar-day-color text-center py-2",
|
|
9212
|
+
children: label
|
|
9213
|
+
}, label)),
|
|
9214
|
+
Array.from({ length: mondayIndex }).map((_, i) => {
|
|
9215
|
+
const day = daysInPrevMonth - mondayIndex + i + 1;
|
|
9216
|
+
const prevDate = new Date(year, month - 1, day);
|
|
9217
|
+
const yyyy = String(prevDate.getFullYear());
|
|
9218
|
+
const mm = String(prevDate.getMonth() + 1).padStart(2, "0");
|
|
9219
|
+
const dd = String(prevDate.getDate()).padStart(2, "0");
|
|
9220
|
+
const testId = `calendar-day-outside-${yyyy}-${mm}-${dd}`;
|
|
9221
|
+
return /* @__PURE__ */ jsx("button", {
|
|
9222
|
+
type: "button",
|
|
9223
|
+
"data-testid": testId,
|
|
9224
|
+
className: "h-10 rounded text-sm flex items-center justify-center text-gray-300 cursor-not-allowed",
|
|
9225
|
+
disabled: true,
|
|
9226
|
+
"aria-pressed": false,
|
|
9227
|
+
children: day
|
|
9228
|
+
}, testId);
|
|
9182
9229
|
}),
|
|
9183
|
-
|
|
9184
|
-
|
|
9185
|
-
|
|
9230
|
+
Array.from({ length: daysInMonth }).map((_, i) => {
|
|
9231
|
+
const day = i + 1;
|
|
9232
|
+
const date = new Date(year, month, day);
|
|
9233
|
+
const disabled = isPastDate(date);
|
|
9234
|
+
const active = isActive(day);
|
|
9235
|
+
const subActive = isSubActive(day);
|
|
9236
|
+
const inRange = !disabled && (subActive || active && mode !== "exact");
|
|
9237
|
+
const isRangeStart = !!rangeBounds && day === rangeBounds.start;
|
|
9238
|
+
const isRangeEnd = !!rangeBounds && day === rangeBounds.end;
|
|
9239
|
+
const leftFade = !!rangeBounds && rangeBounds.leftOverflow && day === 1;
|
|
9240
|
+
const rightFade = !!rangeBounds && rangeBounds.rightOverflow && day === daysInMonth;
|
|
9241
|
+
const rangeBgClass = !inRange ? null : leftFade ? "bg-gradient-to-r from-transparent via-primary/5 to-primary/5 " : rightFade ? "bg-gradient-to-r from-primary/5 via-primary/5 to-transparent " : "bg-primary/5";
|
|
9242
|
+
const yyyy = String(year);
|
|
9243
|
+
const mm = String(month + 1).padStart(2, "0");
|
|
9244
|
+
const dd = String(day).padStart(2, "0");
|
|
9245
|
+
const testId = `calendar-day-${yyyy}-${mm}-${dd}`;
|
|
9246
|
+
return /* @__PURE__ */ jsx("button", {
|
|
9247
|
+
type: "button",
|
|
9248
|
+
"data-testid": testId,
|
|
9249
|
+
className: clsx("h-10 text-sm flex items-center justify-center", disabled && "text-gray-300 cursor-not-allowed", rangeBgClass, inRange && isRangeStart && "rounded-l-full", inRange && isRangeEnd && "rounded-r-full"),
|
|
9250
|
+
disabled,
|
|
9251
|
+
"aria-pressed": active,
|
|
9252
|
+
onClick: () => handleDayClick(day),
|
|
9253
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
9254
|
+
className: clsx("w-8 h-8 p-2 flex justify-center items-center cursor-pointer", active && "calendar-selected-bg text-white rounded-full ", !disabled && !active && !subActive && "hover:bg-primary/20 hover:rounded-full "),
|
|
9255
|
+
children: day
|
|
9256
|
+
})
|
|
9257
|
+
}, testId);
|
|
9186
9258
|
}),
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9259
|
+
Array.from({ length: trailingOutsideDays }).map((_, i) => {
|
|
9260
|
+
const day = i + 1;
|
|
9261
|
+
const nextDate = new Date(year, month + 1, day);
|
|
9262
|
+
const yyyy = String(nextDate.getFullYear());
|
|
9263
|
+
const mm = String(nextDate.getMonth() + 1).padStart(2, "0");
|
|
9264
|
+
const dd = String(nextDate.getDate()).padStart(2, "0");
|
|
9265
|
+
const testId = `calendar-day-outside-${yyyy}-${mm}-${dd}`;
|
|
9266
|
+
return /* @__PURE__ */ jsx("button", {
|
|
9267
|
+
type: "button",
|
|
9268
|
+
"data-testid": testId,
|
|
9269
|
+
className: "h-10 rounded text-sm flex items-center calendar-grayed-out-date justify-center cursor-not-allowed",
|
|
9270
|
+
disabled: true,
|
|
9271
|
+
"aria-pressed": false,
|
|
9272
|
+
children: day
|
|
9273
|
+
}, testId);
|
|
9190
9274
|
})
|
|
9191
9275
|
]
|
|
9192
|
-
})
|
|
9193
|
-
|
|
9194
|
-
className: "grid grid-cols-7 gap-0",
|
|
9195
|
-
"data-testid": "calendar-grid",
|
|
9196
|
-
children: [
|
|
9197
|
-
weekdayLabels.map((label) => /* @__PURE__ */ jsx("div", {
|
|
9198
|
-
className: "text-xs font-semibold text-gray-600 text-center py-2",
|
|
9199
|
-
children: label
|
|
9200
|
-
}, label)),
|
|
9201
|
-
Array.from({ length: mondayIndex }).map((_, i) => {
|
|
9202
|
-
const day = daysInPrevMonth - mondayIndex + i + 1;
|
|
9203
|
-
const prevDate = new Date(year, month - 1, day);
|
|
9204
|
-
const yyyy = String(prevDate.getFullYear());
|
|
9205
|
-
const mm = String(prevDate.getMonth() + 1).padStart(2, "0");
|
|
9206
|
-
const dd = String(prevDate.getDate()).padStart(2, "0");
|
|
9207
|
-
const testId = `calendar-day-outside-${yyyy}-${mm}-${dd}`;
|
|
9208
|
-
return /* @__PURE__ */ jsx("button", {
|
|
9209
|
-
type: "button",
|
|
9210
|
-
"data-testid": testId,
|
|
9211
|
-
className: "h-10 rounded text-sm flex items-center justify-center text-gray-300 cursor-not-allowed",
|
|
9212
|
-
disabled: true,
|
|
9213
|
-
"aria-pressed": false,
|
|
9214
|
-
children: day
|
|
9215
|
-
}, testId);
|
|
9216
|
-
}),
|
|
9217
|
-
Array.from({ length: daysInMonth }).map((_, i) => {
|
|
9218
|
-
const day = i + 1;
|
|
9219
|
-
const date = new Date(year, month, day);
|
|
9220
|
-
const disabled = isPastDate(date);
|
|
9221
|
-
const active = isActive(day);
|
|
9222
|
-
const subActive = isSubActive(day);
|
|
9223
|
-
const inRange = !disabled && (subActive || active && mode !== "exact");
|
|
9224
|
-
const isRangeStart = !!rangeBounds && day === rangeBounds.start;
|
|
9225
|
-
const isRangeEnd = !!rangeBounds && day === rangeBounds.end;
|
|
9226
|
-
const leftFade = !!rangeBounds && rangeBounds.leftOverflow && day === 1;
|
|
9227
|
-
const rightFade = !!rangeBounds && rangeBounds.rightOverflow && day === daysInMonth;
|
|
9228
|
-
const rangeBgClass = !inRange ? null : leftFade ? "bg-gradient-to-r from-transparent via-primary/5 to-primary/5 " : rightFade ? "bg-gradient-to-r from-primary/5 via-primary/5 to-transparent " : "bg-primary/5";
|
|
9229
|
-
const yyyy = String(year);
|
|
9230
|
-
const mm = String(month + 1).padStart(2, "0");
|
|
9231
|
-
const dd = String(day).padStart(2, "0");
|
|
9232
|
-
const testId = `calendar-day-${yyyy}-${mm}-${dd}`;
|
|
9233
|
-
return /* @__PURE__ */ jsx("button", {
|
|
9234
|
-
type: "button",
|
|
9235
|
-
"data-testid": testId,
|
|
9236
|
-
className: clsx("h-10 text-sm flex items-center justify-center", disabled && "text-gray-300 cursor-not-allowed", rangeBgClass, inRange && isRangeStart && "rounded-l-full", inRange && isRangeEnd && "rounded-r-full"),
|
|
9237
|
-
disabled,
|
|
9238
|
-
"aria-pressed": active,
|
|
9239
|
-
onClick: () => handleDayClick(day),
|
|
9240
|
-
children: /* @__PURE__ */ jsx("span", {
|
|
9241
|
-
className: clsx("w-8 h-8 p-2 flex justify-center items-center cursor-pointer", active && "bg-primary text-white rounded-full ", !disabled && !active && !subActive && "hover:bg-primary/20 hover:rounded-full "),
|
|
9242
|
-
children: day
|
|
9243
|
-
})
|
|
9244
|
-
}, testId);
|
|
9245
|
-
}),
|
|
9246
|
-
Array.from({ length: trailingOutsideDays }).map((_, i) => {
|
|
9247
|
-
const day = i + 1;
|
|
9248
|
-
const nextDate = new Date(year, month + 1, day);
|
|
9249
|
-
const yyyy = String(nextDate.getFullYear());
|
|
9250
|
-
const mm = String(nextDate.getMonth() + 1).padStart(2, "0");
|
|
9251
|
-
const dd = String(nextDate.getDate()).padStart(2, "0");
|
|
9252
|
-
const testId = `calendar-day-outside-${yyyy}-${mm}-${dd}`;
|
|
9253
|
-
return /* @__PURE__ */ jsx("button", {
|
|
9254
|
-
type: "button",
|
|
9255
|
-
"data-testid": testId,
|
|
9256
|
-
className: "h-10 rounded text-sm flex items-center justify-center text-gray-300 cursor-not-allowed",
|
|
9257
|
-
disabled: true,
|
|
9258
|
-
"aria-pressed": false,
|
|
9259
|
-
children: day
|
|
9260
|
-
}, testId);
|
|
9261
|
-
})
|
|
9262
|
-
]
|
|
9263
|
-
})]
|
|
9276
|
+
})
|
|
9277
|
+
]
|
|
9264
9278
|
});
|
|
9265
9279
|
};
|
|
9266
9280
|
|
|
@@ -10935,10 +10949,10 @@ const BlogWidget = ({ className, blogTitle, blogText, blogImage, buttonText, But
|
|
|
10935
10949
|
className: "p-4 flex flex-col",
|
|
10936
10950
|
children: [
|
|
10937
10951
|
/* @__PURE__ */ jsxs("span", {
|
|
10938
|
-
className: "text-
|
|
10952
|
+
className: "text-xs blog-widget-date font-bold",
|
|
10939
10953
|
children: [new Date().toLocaleDateString("nl-NL"), readingTime && /* @__PURE__ */ jsx("span", {
|
|
10940
10954
|
className: "uppercase",
|
|
10941
|
-
children: ` - ${readingTime}`
|
|
10955
|
+
children: ` - Leestijd: ${readingTime}`
|
|
10942
10956
|
})]
|
|
10943
10957
|
}),
|
|
10944
10958
|
/* @__PURE__ */ jsx("span", {
|
|
@@ -10951,9 +10965,8 @@ const BlogWidget = ({ className, blogTitle, blogText, blogImage, buttonText, But
|
|
|
10951
10965
|
}),
|
|
10952
10966
|
/* @__PURE__ */ jsx(Button, {
|
|
10953
10967
|
variant: "outline",
|
|
10954
|
-
className: "w-fit",
|
|
10968
|
+
className: "w-fit uppercase",
|
|
10955
10969
|
iconRight: true,
|
|
10956
|
-
icon: /* @__PURE__ */ jsx(IconArrowRight, {}),
|
|
10957
10970
|
onClick: ButtonAction,
|
|
10958
10971
|
children: buttonText
|
|
10959
10972
|
})
|