@hotelcard/ui 0.0.5 → 0.0.6
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/index.cjs +317 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +630 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +100 -1
- package/dist/index.d.ts +100 -1
- package/dist/index.js +312 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -21,6 +21,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
Badge: () => Badge,
|
|
24
|
+
Benefits: () => Benefits,
|
|
25
|
+
Block: () => Block,
|
|
24
26
|
Button: () => Button,
|
|
25
27
|
Card: () => Card,
|
|
26
28
|
Checkbox: () => Checkbox,
|
|
@@ -30,12 +32,15 @@ __export(index_exports, {
|
|
|
30
32
|
CompactCard: () => CompactCard,
|
|
31
33
|
Divider: () => Divider,
|
|
32
34
|
Dropdown: () => Dropdown,
|
|
33
|
-
|
|
35
|
+
FAQ: () => FAQ,
|
|
36
|
+
HeartIcon: () => HeartIcon2,
|
|
34
37
|
Input: () => Input,
|
|
35
38
|
Modal: () => Modal,
|
|
39
|
+
Pin: () => Pin,
|
|
36
40
|
PinIcon: () => PinIcon,
|
|
37
41
|
RadioButton: () => RadioButton,
|
|
38
42
|
Rating: () => Rating,
|
|
43
|
+
ReviewCard: () => ReviewCard,
|
|
39
44
|
SectionHeader: () => SectionHeader,
|
|
40
45
|
StarIcon: () => StarIcon4
|
|
41
46
|
});
|
|
@@ -1071,9 +1076,297 @@ var Input = ({
|
|
|
1071
1076
|
};
|
|
1072
1077
|
Input.displayName = "Input";
|
|
1073
1078
|
|
|
1074
|
-
// src/components/
|
|
1079
|
+
// src/components/Block/Block.tsx
|
|
1075
1080
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1076
|
-
var
|
|
1081
|
+
var cx14 = (className) => `hc-block-${className}`;
|
|
1082
|
+
var Block = ({
|
|
1083
|
+
variant = "icon",
|
|
1084
|
+
visual,
|
|
1085
|
+
label,
|
|
1086
|
+
description,
|
|
1087
|
+
style = "primary",
|
|
1088
|
+
onClick,
|
|
1089
|
+
showArrow = true,
|
|
1090
|
+
className = ""
|
|
1091
|
+
}) => {
|
|
1092
|
+
if (variant === "icon") {
|
|
1093
|
+
const containerClasses2 = [
|
|
1094
|
+
cx14("icon"),
|
|
1095
|
+
onClick && cx14("icon--clickable"),
|
|
1096
|
+
className
|
|
1097
|
+
].filter(Boolean).join(" ");
|
|
1098
|
+
const iconContainerClass = style === "primary" ? cx14("icon-container--primary") : cx14("icon-container--secondary");
|
|
1099
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
1100
|
+
"div",
|
|
1101
|
+
{
|
|
1102
|
+
className: containerClasses2,
|
|
1103
|
+
onClick,
|
|
1104
|
+
role: onClick ? "button" : void 0,
|
|
1105
|
+
tabIndex: onClick ? 0 : void 0,
|
|
1106
|
+
children: [
|
|
1107
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: iconContainerClass, children: visual }),
|
|
1108
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: cx14("text-container"), children: [
|
|
1109
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cx14("icon-label"), children: label }),
|
|
1110
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cx14("icon-description"), children: description })
|
|
1111
|
+
] })
|
|
1112
|
+
]
|
|
1113
|
+
}
|
|
1114
|
+
);
|
|
1115
|
+
}
|
|
1116
|
+
const containerClasses = [
|
|
1117
|
+
cx14("image"),
|
|
1118
|
+
onClick && cx14("image--clickable"),
|
|
1119
|
+
className
|
|
1120
|
+
].filter(Boolean).join(" ");
|
|
1121
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
1122
|
+
"div",
|
|
1123
|
+
{
|
|
1124
|
+
className: containerClasses,
|
|
1125
|
+
onClick,
|
|
1126
|
+
role: onClick ? "button" : void 0,
|
|
1127
|
+
tabIndex: onClick ? 0 : void 0,
|
|
1128
|
+
children: [
|
|
1129
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cx14("image-container"), children: visual }),
|
|
1130
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: cx14("footer"), children: [
|
|
1131
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: cx14("image-label"), children: label }),
|
|
1132
|
+
showArrow && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: cx14("arrow"), children: "\u2192" })
|
|
1133
|
+
] })
|
|
1134
|
+
]
|
|
1135
|
+
}
|
|
1136
|
+
);
|
|
1137
|
+
};
|
|
1138
|
+
Block.displayName = "Block";
|
|
1139
|
+
|
|
1140
|
+
// src/components/ReviewCard/ReviewCard.tsx
|
|
1141
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1142
|
+
var cx15 = (className) => `hc-review-${className}`;
|
|
1143
|
+
var ReviewCard = ({
|
|
1144
|
+
name,
|
|
1145
|
+
date,
|
|
1146
|
+
rating,
|
|
1147
|
+
quote,
|
|
1148
|
+
className
|
|
1149
|
+
}) => {
|
|
1150
|
+
const containerClasses = [cx15("container"), className].filter(Boolean).join(" ");
|
|
1151
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: containerClasses, children: [
|
|
1152
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: cx15("name"), children: name }),
|
|
1153
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: cx15("frame"), children: [
|
|
1154
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: cx15("stars"), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Rating, { variant: "stars", value: rating, size: "medium" }) }),
|
|
1155
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: cx15("quote"), children: quote })
|
|
1156
|
+
] }),
|
|
1157
|
+
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { className: cx15("date"), children: date })
|
|
1158
|
+
] });
|
|
1159
|
+
};
|
|
1160
|
+
ReviewCard.displayName = "ReviewCard";
|
|
1161
|
+
|
|
1162
|
+
// src/components/FAQ/FAQ.tsx
|
|
1163
|
+
var import_react6 = require("react");
|
|
1164
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1165
|
+
var cx16 = (className) => `hc-faq-${className}`;
|
|
1166
|
+
var ChevronIcon2 = ({ isOpen }) => {
|
|
1167
|
+
const iconClasses = [
|
|
1168
|
+
cx16("chevron"),
|
|
1169
|
+
isOpen && cx16("chevron--open")
|
|
1170
|
+
].filter(Boolean).join(" ");
|
|
1171
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1172
|
+
"svg",
|
|
1173
|
+
{
|
|
1174
|
+
width: "24",
|
|
1175
|
+
height: "24",
|
|
1176
|
+
viewBox: "0 0 24 24",
|
|
1177
|
+
fill: "none",
|
|
1178
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1179
|
+
className: iconClasses,
|
|
1180
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1181
|
+
"path",
|
|
1182
|
+
{
|
|
1183
|
+
d: "M6 9L12 15L18 9",
|
|
1184
|
+
stroke: "currentColor",
|
|
1185
|
+
strokeWidth: "2",
|
|
1186
|
+
strokeLinecap: "round",
|
|
1187
|
+
strokeLinejoin: "round"
|
|
1188
|
+
}
|
|
1189
|
+
)
|
|
1190
|
+
}
|
|
1191
|
+
);
|
|
1192
|
+
};
|
|
1193
|
+
var FAQ = ({
|
|
1194
|
+
items,
|
|
1195
|
+
defaultOpenIndex = null,
|
|
1196
|
+
allowMultiple = false,
|
|
1197
|
+
className
|
|
1198
|
+
}) => {
|
|
1199
|
+
const [openIndices, setOpenIndices] = (0, import_react6.useState)(
|
|
1200
|
+
defaultOpenIndex !== null ? /* @__PURE__ */ new Set([defaultOpenIndex]) : /* @__PURE__ */ new Set()
|
|
1201
|
+
);
|
|
1202
|
+
const toggleItem = (index) => {
|
|
1203
|
+
setOpenIndices((prev) => {
|
|
1204
|
+
const newSet = new Set(prev);
|
|
1205
|
+
if (newSet.has(index)) {
|
|
1206
|
+
newSet.delete(index);
|
|
1207
|
+
} else {
|
|
1208
|
+
if (!allowMultiple) {
|
|
1209
|
+
newSet.clear();
|
|
1210
|
+
}
|
|
1211
|
+
newSet.add(index);
|
|
1212
|
+
}
|
|
1213
|
+
return newSet;
|
|
1214
|
+
});
|
|
1215
|
+
};
|
|
1216
|
+
const containerClasses = [cx16("container"), className].filter(Boolean).join(" ");
|
|
1217
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: containerClasses, children: items.map((item, index) => {
|
|
1218
|
+
const isOpen = openIndices.has(index);
|
|
1219
|
+
const answerClasses = isOpen ? cx16("answer--open") : cx16("answer");
|
|
1220
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: cx16("item"), children: [
|
|
1221
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1222
|
+
Button,
|
|
1223
|
+
{
|
|
1224
|
+
variant: "link",
|
|
1225
|
+
size: "medium",
|
|
1226
|
+
className: cx16("question-btn"),
|
|
1227
|
+
onClick: () => toggleItem(index),
|
|
1228
|
+
"aria-expanded": isOpen,
|
|
1229
|
+
"aria-controls": `faq-answer-${index}`,
|
|
1230
|
+
rightIcon: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: cx16("icon-container"), children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ChevronIcon2, { isOpen }) }),
|
|
1231
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: cx16("question-text"), children: item.question })
|
|
1232
|
+
}
|
|
1233
|
+
),
|
|
1234
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { id: `faq-answer-${index}`, className: answerClasses, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: cx16("answer-text"), children: item.answer }) })
|
|
1235
|
+
] }, index);
|
|
1236
|
+
}) });
|
|
1237
|
+
};
|
|
1238
|
+
FAQ.displayName = "FAQ";
|
|
1239
|
+
|
|
1240
|
+
// src/components/Benefits/Benefits.tsx
|
|
1241
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1242
|
+
var cx17 = (className) => `hc-benefits-${className}`;
|
|
1243
|
+
var Benefits = ({
|
|
1244
|
+
title = "Ihre Vorteile mit HotelCard",
|
|
1245
|
+
subtitle = "Mit HotelCard sparen Sie bei jedem Aufenthalt",
|
|
1246
|
+
benefits = [
|
|
1247
|
+
{
|
|
1248
|
+
title: "\xDCber 500 Hotels",
|
|
1249
|
+
description: "Grosse Auswahl in der ganzen Schweiz"
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
title: "Bis zu 50% Rabatt",
|
|
1253
|
+
description: "Exklusive Mitglieder-Preise"
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
title: "Kein Buchungszwang",
|
|
1257
|
+
description: "Buchen Sie, wann Sie m\xF6chten"
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
title: "Kostenlose Stornierung",
|
|
1261
|
+
description: "Flexible Buchungsbedingungen"
|
|
1262
|
+
}
|
|
1263
|
+
],
|
|
1264
|
+
contactTitle = "Haben Sie Fragen?",
|
|
1265
|
+
contactDescription = "Unser Kundenservice hilft Ihnen gerne weiter",
|
|
1266
|
+
contactButtonText = "Kontakt aufnehmen",
|
|
1267
|
+
onContactClick,
|
|
1268
|
+
className
|
|
1269
|
+
}) => {
|
|
1270
|
+
const sectionClasses = [cx17("section"), className].filter(Boolean).join(" ");
|
|
1271
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { className: sectionClasses, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: cx17("container"), children: [
|
|
1272
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: cx17("header"), children: [
|
|
1273
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h2", { className: cx17("title"), children: title }),
|
|
1274
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: cx17("subtitle"), children: subtitle })
|
|
1275
|
+
] }),
|
|
1276
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: cx17("grid"), children: benefits.map((benefit, index) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: cx17("item"), children: [
|
|
1277
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { className: cx17("item-title"), children: benefit.title }),
|
|
1278
|
+
benefit.description && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: cx17("item-description"), children: benefit.description })
|
|
1279
|
+
] }, index)) }),
|
|
1280
|
+
contactTitle && /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: cx17("contact-card"), children: [
|
|
1281
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("h3", { className: cx17("contact-title"), children: contactTitle }),
|
|
1282
|
+
contactDescription && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("p", { className: cx17("contact-description"), children: contactDescription }),
|
|
1283
|
+
contactButtonText && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1284
|
+
Button,
|
|
1285
|
+
{
|
|
1286
|
+
variant: "secondary",
|
|
1287
|
+
size: "medium",
|
|
1288
|
+
onClick: onContactClick,
|
|
1289
|
+
className: cx17("contact-btn"),
|
|
1290
|
+
children: contactButtonText
|
|
1291
|
+
}
|
|
1292
|
+
)
|
|
1293
|
+
] })
|
|
1294
|
+
] }) });
|
|
1295
|
+
};
|
|
1296
|
+
Benefits.displayName = "Benefits";
|
|
1297
|
+
|
|
1298
|
+
// src/components/Pin/Pin.tsx
|
|
1299
|
+
var import_react7 = require("react");
|
|
1300
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
1301
|
+
var cx18 = (className) => `hc-pin-${className}`;
|
|
1302
|
+
var HeartIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1303
|
+
"svg",
|
|
1304
|
+
{
|
|
1305
|
+
className,
|
|
1306
|
+
width: "16",
|
|
1307
|
+
height: "16",
|
|
1308
|
+
viewBox: "0 0 16 16",
|
|
1309
|
+
fill: "currentColor",
|
|
1310
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1311
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M8 14.2333L6.96667 13.2933C3.6 10.24 1.33333 8.18667 1.33333 5.66667C1.33333 3.61333 2.94667 2 5 2C6.16 2 7.27333 2.54 8 3.39333C8.72667 2.54 9.84 2 11 2C13.0533 2 14.6667 3.61333 14.6667 5.66667C14.6667 8.18667 12.4 10.24 9.03333 13.2933L8 14.2333Z" })
|
|
1312
|
+
}
|
|
1313
|
+
);
|
|
1314
|
+
var HomeIcon = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
1315
|
+
"svg",
|
|
1316
|
+
{
|
|
1317
|
+
className,
|
|
1318
|
+
width: "16",
|
|
1319
|
+
height: "16",
|
|
1320
|
+
viewBox: "0 0 16 16",
|
|
1321
|
+
fill: "currentColor",
|
|
1322
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1323
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M6.66667 13.3333V9.33333H9.33333V13.3333H12.6667V8H14.6667L8 2L1.33333 8H3.33333V13.3333H6.66667Z" })
|
|
1324
|
+
}
|
|
1325
|
+
);
|
|
1326
|
+
var Pin = (0, import_react7.forwardRef)(
|
|
1327
|
+
({
|
|
1328
|
+
variant = "price",
|
|
1329
|
+
viewed = false,
|
|
1330
|
+
currency = "CHF",
|
|
1331
|
+
price = 0,
|
|
1332
|
+
showFavorite = false,
|
|
1333
|
+
disabled = false,
|
|
1334
|
+
onClick,
|
|
1335
|
+
className = ""
|
|
1336
|
+
}, ref) => {
|
|
1337
|
+
const styleVariant = viewed ? "secondary" : "primary";
|
|
1338
|
+
const pinClasses = [
|
|
1339
|
+
cx18("pin"),
|
|
1340
|
+
cx18(styleVariant),
|
|
1341
|
+
variant === "hotel" && cx18("hotel"),
|
|
1342
|
+
className
|
|
1343
|
+
].filter(Boolean).join(" ");
|
|
1344
|
+
const formattedPrice = typeof price === "number" ? Math.round(price).toString() : price;
|
|
1345
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
1346
|
+
"button",
|
|
1347
|
+
{
|
|
1348
|
+
ref,
|
|
1349
|
+
type: "button",
|
|
1350
|
+
className: pinClasses,
|
|
1351
|
+
disabled,
|
|
1352
|
+
onClick,
|
|
1353
|
+
children: [
|
|
1354
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cx18("body"), children: variant === "price" ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_jsx_runtime18.Fragment, { children: [
|
|
1355
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: cx18("currency"), children: currency }),
|
|
1356
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: cx18("price"), children: formattedPrice }),
|
|
1357
|
+
showFavorite && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cx18("favorite-container"), children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(HeartIcon, { className: cx18("favorite-icon") }) })
|
|
1358
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(HomeIcon, { className: cx18("hotel-icon") }) }),
|
|
1359
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cx18("pointer"), children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cx18("pointer-inner") }) })
|
|
1360
|
+
]
|
|
1361
|
+
}
|
|
1362
|
+
);
|
|
1363
|
+
}
|
|
1364
|
+
);
|
|
1365
|
+
Pin.displayName = "Pin";
|
|
1366
|
+
|
|
1367
|
+
// src/components/icons/HeartIcon.tsx
|
|
1368
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
1369
|
+
var HeartIcon2 = ({ filled = false, className = "", size = 24 }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
1077
1370
|
"svg",
|
|
1078
1371
|
{
|
|
1079
1372
|
width: size,
|
|
@@ -1085,14 +1378,14 @@ var HeartIcon = ({ filled = false, className = "", size = 24 }) => /* @__PURE__
|
|
|
1085
1378
|
strokeWidth: 2,
|
|
1086
1379
|
strokeLinecap: "round",
|
|
1087
1380
|
strokeLinejoin: "round",
|
|
1088
|
-
children: /* @__PURE__ */ (0,
|
|
1381
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("path", { d: "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" })
|
|
1089
1382
|
}
|
|
1090
1383
|
);
|
|
1091
|
-
|
|
1384
|
+
HeartIcon2.displayName = "HeartIcon";
|
|
1092
1385
|
|
|
1093
1386
|
// src/components/icons/StarIcon.tsx
|
|
1094
|
-
var
|
|
1095
|
-
var StarIcon4 = ({ filled = true, className = "", size = 9 }) => /* @__PURE__ */ (0,
|
|
1387
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
1388
|
+
var StarIcon4 = ({ filled = true, className = "", size = 9 }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
1096
1389
|
"svg",
|
|
1097
1390
|
{
|
|
1098
1391
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1102,22 +1395,22 @@ var StarIcon4 = ({ filled = true, className = "", size = 9 }) => /* @__PURE__ */
|
|
|
1102
1395
|
fill: "none",
|
|
1103
1396
|
className,
|
|
1104
1397
|
children: [
|
|
1105
|
-
/* @__PURE__ */ (0,
|
|
1398
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("g", { clipPath: "url(#clip0_star_icon)", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
1106
1399
|
"path",
|
|
1107
1400
|
{
|
|
1108
1401
|
d: "M4.80018 0.366577C4.93104 0.366577 5.05173 0.440968 5.11135 0.557659L6.18011 2.66102L8.50521 3.03152C8.63462 3.05194 8.74222 3.14383 8.78294 3.26927C8.82365 3.39472 8.79021 3.53183 8.6986 3.62518L7.03366 5.29533L7.40155 7.6277C7.42191 7.75752 7.3681 7.88879 7.26195 7.9661C7.15581 8.04341 7.01476 8.05508 6.89843 7.99528L4.80018 6.92463L2.70192 7.99528C2.58559 8.05508 2.44454 8.04341 2.33839 7.9661C2.23225 7.88879 2.17844 7.75898 2.1988 7.6277L2.56523 5.29533L0.901751 3.62518C0.808689 3.53183 0.776699 3.39472 0.817413 3.26927C0.858128 3.14383 0.964277 3.05194 1.09515 3.03152L3.42024 2.66102L4.49045 0.557659C4.55007 0.440968 4.67076 0.366577 4.80163 0.366577H4.80018Z",
|
|
1109
1402
|
fill: filled ? "#1F2937" : "#D1D5DB"
|
|
1110
1403
|
}
|
|
1111
1404
|
) }),
|
|
1112
|
-
/* @__PURE__ */ (0,
|
|
1405
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("clipPath", { id: "clip0_star_icon", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("rect", { width: "8", height: "8", fill: "white", transform: "translate(0.800049 0.199951)" }) }) })
|
|
1113
1406
|
]
|
|
1114
1407
|
}
|
|
1115
1408
|
);
|
|
1116
1409
|
StarIcon4.displayName = "StarIcon";
|
|
1117
1410
|
|
|
1118
1411
|
// src/components/icons/ChevronLeftIcon.tsx
|
|
1119
|
-
var
|
|
1120
|
-
var ChevronLeftIcon = ({ className = "", size = 20 }) => /* @__PURE__ */ (0,
|
|
1412
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
1413
|
+
var ChevronLeftIcon = ({ className = "", size = 20 }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
1121
1414
|
"svg",
|
|
1122
1415
|
{
|
|
1123
1416
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1130,14 +1423,14 @@ var ChevronLeftIcon = ({ className = "", size = 20 }) => /* @__PURE__ */ (0, imp
|
|
|
1130
1423
|
strokeLinecap: "round",
|
|
1131
1424
|
strokeLinejoin: "round",
|
|
1132
1425
|
className,
|
|
1133
|
-
children: /* @__PURE__ */ (0,
|
|
1426
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("polyline", { points: "15 18 9 12 15 6" })
|
|
1134
1427
|
}
|
|
1135
1428
|
);
|
|
1136
1429
|
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
1137
1430
|
|
|
1138
1431
|
// src/components/icons/ChevronRightIcon.tsx
|
|
1139
|
-
var
|
|
1140
|
-
var ChevronRightIcon2 = ({ className = "", size = 20 }) => /* @__PURE__ */ (0,
|
|
1432
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
1433
|
+
var ChevronRightIcon2 = ({ className = "", size = 20 }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
1141
1434
|
"svg",
|
|
1142
1435
|
{
|
|
1143
1436
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1150,14 +1443,14 @@ var ChevronRightIcon2 = ({ className = "", size = 20 }) => /* @__PURE__ */ (0, i
|
|
|
1150
1443
|
strokeLinecap: "round",
|
|
1151
1444
|
strokeLinejoin: "round",
|
|
1152
1445
|
className,
|
|
1153
|
-
children: /* @__PURE__ */ (0,
|
|
1446
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("polyline", { points: "9 18 15 12 9 6" })
|
|
1154
1447
|
}
|
|
1155
1448
|
);
|
|
1156
1449
|
ChevronRightIcon2.displayName = "ChevronRightIcon";
|
|
1157
1450
|
|
|
1158
1451
|
// src/components/icons/PinIcon.tsx
|
|
1159
|
-
var
|
|
1160
|
-
var PinIcon = ({ className = "", size = 16 }) => /* @__PURE__ */ (0,
|
|
1452
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
1453
|
+
var PinIcon = ({ className = "", size = 16 }) => /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
1161
1454
|
"svg",
|
|
1162
1455
|
{
|
|
1163
1456
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1167,7 +1460,7 @@ var PinIcon = ({ className = "", size = 16 }) => /* @__PURE__ */ (0, import_jsx_
|
|
|
1167
1460
|
fill: "none",
|
|
1168
1461
|
className,
|
|
1169
1462
|
children: [
|
|
1170
|
-
/* @__PURE__ */ (0,
|
|
1463
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1171
1464
|
"path",
|
|
1172
1465
|
{
|
|
1173
1466
|
fillRule: "evenodd",
|
|
@@ -1176,7 +1469,7 @@ var PinIcon = ({ className = "", size = 16 }) => /* @__PURE__ */ (0, import_jsx_
|
|
|
1176
1469
|
fill: "currentColor"
|
|
1177
1470
|
}
|
|
1178
1471
|
),
|
|
1179
|
-
/* @__PURE__ */ (0,
|
|
1472
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
1180
1473
|
"path",
|
|
1181
1474
|
{
|
|
1182
1475
|
fillRule: "evenodd",
|
|
@@ -1192,6 +1485,8 @@ PinIcon.displayName = "PinIcon";
|
|
|
1192
1485
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1193
1486
|
0 && (module.exports = {
|
|
1194
1487
|
Badge,
|
|
1488
|
+
Benefits,
|
|
1489
|
+
Block,
|
|
1195
1490
|
Button,
|
|
1196
1491
|
Card,
|
|
1197
1492
|
Checkbox,
|
|
@@ -1201,12 +1496,15 @@ PinIcon.displayName = "PinIcon";
|
|
|
1201
1496
|
CompactCard,
|
|
1202
1497
|
Divider,
|
|
1203
1498
|
Dropdown,
|
|
1499
|
+
FAQ,
|
|
1204
1500
|
HeartIcon,
|
|
1205
1501
|
Input,
|
|
1206
1502
|
Modal,
|
|
1503
|
+
Pin,
|
|
1207
1504
|
PinIcon,
|
|
1208
1505
|
RadioButton,
|
|
1209
1506
|
Rating,
|
|
1507
|
+
ReviewCard,
|
|
1210
1508
|
SectionHeader,
|
|
1211
1509
|
StarIcon
|
|
1212
1510
|
});
|