@enyxs/wikex-components 0.11.3 → 0.11.9

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/ui.js ADDED
@@ -0,0 +1,368 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // src/ui.ts
32
+ var ui_exports = {};
33
+ __export(ui_exports, {
34
+ Breadcrumb: () => Breadcrumb,
35
+ Pagination: () => Pagination,
36
+ ProductCard: () => ProductCard
37
+ });
38
+ module.exports = __toCommonJS(ui_exports);
39
+
40
+ // src/wikex/assets/products/related-products-arrow.svg
41
+ var related_products_arrow_default = "data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGlkPSJJY29uIC8gYXJyb3ciPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTIuNjY2NyA4TDMuMzMzMzMgOE04IDEyLjY2NjdMMTIuNjY2NyA4TDggMy4zMzMzMyIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8L3N2Zz4K";
42
+
43
+ // src/wikex/assets/products/product-card-arrow.svg
44
+ var product_card_arrow_default = "data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0xNSA4TDEgOE04IDE1TDE1IDhMOCAxIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==";
45
+
46
+ // src/commodity-original/components/ProductCard/style.ts
47
+ var import_link = __toESM(require("next/link.js"));
48
+ var import_image = __toESM(require("next/image.js"));
49
+ var import_styled_components = require("styled-components");
50
+ var cardSurface = (0, import_styled_components.css)([
51
+ `display:flex;width:100%;height:100%;max-width:329px;flex-direction:column;color:`,
52
+ `;transition:transform 160ms ease;&:hover{transform:translateY(-2px);}@media (max-width:599px){max-width:100%;}`
53
+ ], ({ theme }) => theme.colors.text.primary);
54
+ var ProductCardArticle = import_styled_components.styled.article.withConfig({
55
+ componentId: "sc-232625b5-0"
56
+ })([
57
+ ``,
58
+ ``
59
+ ], cardSurface);
60
+ var ProductCardLink = (0, import_styled_components.styled)(import_link.default).withConfig({
61
+ componentId: "sc-232625b5-1"
62
+ })([
63
+ ``,
64
+ ` text-decoration:none;&:focus-visible{outline:2px solid `,
65
+ `;outline-offset:3px;}`
66
+ ], cardSurface, ({ theme }) => theme.colors.accent.primary);
67
+ var ProductCardImagePanel = import_styled_components.styled.div.withConfig({
68
+ componentId: "sc-232625b5-2"
69
+ })([
70
+ `position:relative;width:100%;aspect-ratio:1;border-radius:8px 8px 0 0;&::before{position:absolute;z-index:1;inset:41.2879% 0 0;border-radius:8px 8px 0 0;background:rgb(249 187 58 / 40%);box-shadow:-4px 4px 10px rgb(0 0 0 / 10%);content:"";}@media (max-width:599px){&::before{inset:43.2727% 0 -14.5833%;}}`
71
+ ]);
72
+ var ProductCardImage = (0, import_styled_components.styled)(import_image.default).withConfig({
73
+ componentId: "sc-232625b5-3"
74
+ })([
75
+ `z-index:2;object-fit:cover;pointer-events:none;`
76
+ ]);
77
+ var ProductCardCopy = import_styled_components.styled.div.withConfig({
78
+ componentId: "sc-232625b5-4"
79
+ })([
80
+ `display:flex;width:100%;flex:1 0 auto;flex-direction:column;gap:4px;padding:12px 16px 24px;border-radius:0 0 8px 8px;background:`,
81
+ `;box-shadow:-4px 4px 10px rgb(0 0 0 / 10%);@media (max-width:599px){padding:12px 16px 24px;align-items:center;z-index:2;}`
82
+ ], ({ theme }) => theme.colors.background.card);
83
+ var ProductCardTitleRow = import_styled_components.styled.div.withConfig({
84
+ componentId: "sc-232625b5-5"
85
+ })([
86
+ `display:flex;width:100%;align-items:center;gap:8px;`
87
+ ]);
88
+ var ProductCardTitle = import_styled_components.styled.h3.withConfig({
89
+ componentId: "sc-232625b5-6"
90
+ })([
91
+ `flex:1 1 0;min-width:0;margin:0;overflow:hidden;color:`,
92
+ `;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;white-space:nowrap;@media (max-width:599px){font-size:14px;line-height:18px;}`
93
+ ], ({ theme }) => theme.colors.text.primary);
94
+ var ProductCardArrow = import_styled_components.styled.span.withConfig({
95
+ componentId: "sc-232625b5-7"
96
+ })([
97
+ `width:24px;height:24px;flex:0 0 24px;color:`,
98
+ `;background:currentColor;mask:url("`,
99
+ `") center / 16px 16px no-repeat;-webkit-mask:url("`,
100
+ `") center / 16px 16px no-repeat;@media (max-width:599px){width:18px;height:18px;flex-basis:18px;mask-image:url("`,
101
+ `");mask-size:contain;-webkit-mask-image:url("`,
102
+ `");-webkit-mask-size:contain;}`
103
+ ], ({ theme }) => theme.colors.accent.primary, product_card_arrow_default, product_card_arrow_default, related_products_arrow_default, related_products_arrow_default);
104
+ var ProductCardDescription = import_styled_components.styled.p.withConfig({
105
+ componentId: "sc-232625b5-8"
106
+ })([
107
+ `display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,
108
+ `;font-size:16px;font-weight:500;line-height:22px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;@media (max-width:599px){font-size:12px;line-height:16px;}`
109
+ ], ({ theme }) => theme.colors.text.content);
110
+
111
+ // src/commodity-original/components/ProductCard/index.tsx
112
+ var import_jsx_runtime = require("react/jsx-runtime");
113
+ function ProductCardContent({
114
+ description,
115
+ image,
116
+ imageAlt = "",
117
+ imageFit = "cover",
118
+ title
119
+ }) {
120
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
121
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ProductCardImagePanel, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
122
+ ProductCardImage,
123
+ {
124
+ alt: imageAlt,
125
+ fill: true,
126
+ sizes: "(max-width: 767px) calc(100vw - 48px), 329px",
127
+ src: image,
128
+ style: imageFit === "contain" ? { objectFit: "contain", padding: 24 } : void 0
129
+ }
130
+ ) }),
131
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ProductCardCopy, { children: [
132
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(ProductCardTitleRow, { children: [
133
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ProductCardTitle, { children: title }),
134
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ProductCardArrow, { "aria-hidden": "true" })
135
+ ] }),
136
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ProductCardDescription, { children: description })
137
+ ] })
138
+ ] });
139
+ }
140
+ function ProductCard({
141
+ className,
142
+ description,
143
+ href,
144
+ image,
145
+ imageAlt,
146
+ imageFit,
147
+ title
148
+ }) {
149
+ const content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
150
+ ProductCardContent,
151
+ {
152
+ description,
153
+ image,
154
+ imageAlt,
155
+ imageFit,
156
+ title
157
+ }
158
+ );
159
+ if (href) {
160
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ProductCardLink, { "aria-label": title, className, href, children: content });
161
+ }
162
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ProductCardArticle, { className, children: content });
163
+ }
164
+
165
+ // src/commodity-original/components/Pagination/index.tsx
166
+ var import_react_i18next = require("react-i18next");
167
+
168
+ // src/wikex/assets/products/chevron-right.svg
169
+ var chevron_right_default = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNNS4yNSAzLjVMOC43NSA3TDUuMjUgMTAuNSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS4xNjY2NyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=";
170
+
171
+ // src/commodity-original/components/Pagination/style.ts
172
+ var import_styled_components2 = require("styled-components");
173
+ var PaginationNav = import_styled_components2.styled.nav.withConfig({
174
+ componentId: "sc-522a1750-0"
175
+ })([
176
+ `display:flex;justify-content:center;`
177
+ ]);
178
+ var PaginationList = import_styled_components2.styled.ul.withConfig({
179
+ componentId: "sc-522a1750-1"
180
+ })([
181
+ `display:flex;margin:0;padding:0;align-items:center;gap:8px;list-style:none;`
182
+ ]);
183
+ var PaginationItem = import_styled_components2.styled.li.withConfig({
184
+ componentId: "sc-522a1750-2"
185
+ })([
186
+ `display:flex;`
187
+ ]);
188
+ var PaginationButton = import_styled_components2.styled.button.withConfig({
189
+ componentId: "sc-522a1750-3"
190
+ })([
191
+ `display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,
192
+ `;border-radius:4px;padding:4px;color:`,
193
+ `;background:`,
194
+ `;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;cursor:pointer;transition:color 160ms ease,background-color 160ms ease,border-color 160ms ease;&[data-control]{border-color:transparent;background:transparent;}&[data-active]{border-color:`,
195
+ `;color:`,
196
+ `;background:`,
197
+ `;}&:not(:disabled):hover{color:`,
198
+ `;background:`,
199
+ `;}&[data-active]:not(:disabled):hover{background:`,
200
+ `;}&:disabled{cursor:not-allowed;}&:focus-visible{outline:2px solid `,
201
+ `;outline-offset:2px;}`
202
+ ], ({ theme }) => theme.colors.border.line, ({ theme }) => theme.colors.text.secondary, ({ theme }) => theme.colors.background.canvas, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.foreground, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.text.primary, ({ theme }) => theme.colors.background.hover, ({ theme }) => theme.colors.accent.primary, ({ theme }) => theme.colors.accent.primary);
203
+ var PaginationArrow = import_styled_components2.styled.span.withConfig({
204
+ componentId: "sc-522a1750-4"
205
+ })([
206
+ `width:16px;height:16px;background:currentColor;mask:url("`,
207
+ `") center / contain no-repeat;-webkit-mask:url("`,
208
+ `") center / contain no-repeat;&[data-direction="previous"]{transform:scaleX(-1);}`
209
+ ], chevron_right_default, chevron_right_default);
210
+
211
+ // src/commodity-original/components/Pagination/index.tsx
212
+ var import_jsx_runtime2 = require("react/jsx-runtime");
213
+ function getPaginationItems(page, pageCount, siblingCount) {
214
+ const maxVisibleItems = siblingCount * 2 + 5;
215
+ if (pageCount <= maxVisibleItems) {
216
+ return Array.from({ length: pageCount }, (_, index) => index + 1);
217
+ }
218
+ const leftSibling = Math.max(page - siblingCount, 2);
219
+ const rightSibling = Math.min(page + siblingCount, pageCount - 1);
220
+ const items = [1];
221
+ if (leftSibling > 2) {
222
+ items.push("ellipsis");
223
+ }
224
+ for (let value = leftSibling; value <= rightSibling; value += 1) {
225
+ items.push(value);
226
+ }
227
+ if (rightSibling < pageCount - 1) {
228
+ items.push("ellipsis");
229
+ }
230
+ items.push(pageCount);
231
+ return items;
232
+ }
233
+ function Pagination({
234
+ page,
235
+ pageCount,
236
+ onPageChange,
237
+ siblingCount = 1,
238
+ ariaLabel,
239
+ labels,
240
+ className
241
+ }) {
242
+ const { t } = (0, import_react_i18next.useTranslation)();
243
+ const safePageCount = Math.max(1, Math.floor(pageCount));
244
+ const currentPage = Math.min(Math.max(1, Math.floor(page)), safePageCount);
245
+ const items = getPaginationItems(currentPage, safePageCount, siblingCount);
246
+ const hasPreviousPage = currentPage > 1;
247
+ const hasNextPage = currentPage < safePageCount;
248
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
249
+ PaginationNav,
250
+ {
251
+ "aria-label": ariaLabel ?? t("pagination.navigation"),
252
+ className,
253
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(PaginationList, { children: [
254
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
255
+ PaginationButton,
256
+ {
257
+ "aria-label": labels?.previous ?? t("pagination.previous"),
258
+ "data-control": "previous",
259
+ disabled: !hasPreviousPage,
260
+ onClick: () => onPageChange(currentPage - 1),
261
+ type: "button",
262
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationArrow, { "data-direction": "previous" })
263
+ }
264
+ ) }),
265
+ items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationItem, { children: item === "ellipsis" ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationButton, { "aria-hidden": "true", disabled: true, tabIndex: -1, type: "button", children: "\u2026" }) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
266
+ PaginationButton,
267
+ {
268
+ "aria-current": item === currentPage ? "page" : void 0,
269
+ "aria-label": item === currentPage ? labels?.current(item) ?? t("pagination.current", { page: item }) : labels?.page(item) ?? t("pagination.page", { page: item }),
270
+ "data-active": item === currentPage || void 0,
271
+ onClick: () => onPageChange(item),
272
+ type: "button",
273
+ children: item
274
+ }
275
+ ) }, `${item}-${index}`)),
276
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
277
+ PaginationButton,
278
+ {
279
+ "aria-label": labels?.next ?? t("pagination.next"),
280
+ "data-control": "next",
281
+ disabled: !hasNextPage,
282
+ onClick: () => onPageChange(currentPage + 1),
283
+ type: "button",
284
+ children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PaginationArrow, { "data-direction": "next" })
285
+ }
286
+ ) })
287
+ ] })
288
+ }
289
+ );
290
+ }
291
+
292
+ // src/commodity-original/components/Breadcrumb/index.tsx
293
+ var import_link2 = __toESM(require("next/link.js"));
294
+
295
+ // src/commodity-original/components/Breadcrumb/style.ts
296
+ var import_styled_components3 = require("styled-components");
297
+ var breadcrumbText = `
298
+ font-family: var(--font-manrope), Arial, Helvetica, sans-serif;
299
+ font-size: 12px;
300
+ font-weight: 500;
301
+ line-height: 16px;
302
+ white-space: nowrap;
303
+ @media (max-width: 767px) {
304
+ font-size: 10px;
305
+ line-height: 14px;
306
+ }
307
+ `;
308
+ var BreadcrumbNav = import_styled_components3.styled.nav.withConfig({
309
+ componentId: "sc-9c96c0b1-0"
310
+ })([
311
+ `display:flex;max-width:100%;align-items:center;@media (max-width:767px){overflow-x:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none;}}`
312
+ ]);
313
+ var BreadcrumbList = import_styled_components3.styled.ol.withConfig({
314
+ componentId: "sc-9c96c0b1-1"
315
+ })([
316
+ `display:flex;margin:0;padding:0;align-items:center;gap:4px;list-style:none;`
317
+ ]);
318
+ var BreadcrumbItem = import_styled_components3.styled.li.withConfig({
319
+ componentId: "sc-9c96c0b1-2"
320
+ })([
321
+ `display:flex;align-items:center;gap:4px;`
322
+ ]);
323
+ var BreadcrumbLink = import_styled_components3.styled.a.withConfig({
324
+ componentId: "sc-9c96c0b1-3"
325
+ })([
326
+ ``,
327
+ ` color:`,
328
+ `;&:hover,&:focus-visible{color:`,
329
+ `;}&:focus-visible{outline:2px solid #f9bb3a;outline-offset:2px;}`
330
+ ], breadcrumbText, ({ theme }) => theme.colors.text.placeholder, ({ theme }) => theme.colors.text.primary);
331
+ var BreadcrumbCurrent = import_styled_components3.styled.span.withConfig({
332
+ componentId: "sc-9c96c0b1-4"
333
+ })([
334
+ ``,
335
+ ` color:`,
336
+ `;`
337
+ ], breadcrumbText, ({ theme }) => theme.colors.text.primary);
338
+ var BreadcrumbSeparator = import_styled_components3.styled.span.withConfig({
339
+ componentId: "sc-9c96c0b1-5"
340
+ })([
341
+ `display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center;color:`,
342
+ `;background:currentColor;mask:url("`,
343
+ `") center / contain no-repeat;-webkit-mask:url("`,
344
+ `") center / contain no-repeat;`
345
+ ], ({ theme }) => theme.colors.text.placeholder, chevron_right_default, chevron_right_default);
346
+
347
+ // src/commodity-original/components/Breadcrumb/index.tsx
348
+ var import_jsx_runtime3 = require("react/jsx-runtime");
349
+ function Breadcrumb({
350
+ items,
351
+ ariaLabel = "Breadcrumb",
352
+ className
353
+ }) {
354
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BreadcrumbNav, { "aria-label": ariaLabel, className, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BreadcrumbList, { children: items.map((item, index) => {
355
+ const isCurrent = index === items.length - 1;
356
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(BreadcrumbItem, { children: [
357
+ isCurrent ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BreadcrumbCurrent, { "aria-current": "page", children: item.label }) : item.href ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BreadcrumbLink, { as: import_link2.default, href: item.href, children: item.label }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BreadcrumbCurrent, { children: item.label }),
358
+ !isCurrent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(BreadcrumbSeparator, { "aria-hidden": "true" })
359
+ ] }, `${item.label}-${index}`);
360
+ }) }) });
361
+ }
362
+ // Annotate the CommonJS export names for ESM import in node:
363
+ 0 && (module.exports = {
364
+ Breadcrumb,
365
+ Pagination,
366
+ ProductCard
367
+ });
368
+ //# sourceMappingURL=ui.js.map
package/dist/ui.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/ui.ts","../src/wikex/assets/products/related-products-arrow.svg","../src/wikex/assets/products/product-card-arrow.svg","../src/commodity-original/components/ProductCard/style.ts","../src/commodity-original/components/ProductCard/index.tsx","../src/commodity-original/components/Pagination/index.tsx","../src/wikex/assets/products/chevron-right.svg","../src/commodity-original/components/Pagination/style.ts","../src/commodity-original/components/Breadcrumb/index.tsx","../src/commodity-original/components/Breadcrumb/style.ts"],"sourcesContent":["\"use client\";\n\nexport { default as ProductCard } from './commodity-original/components/ProductCard';\nexport type { ProductCardProps } from './commodity-original/components/ProductCard';\nexport { default as Pagination } from './commodity-original/components/Pagination';\nexport type { PaginationProps } from './commodity-original/components/Pagination';\nexport { default as Breadcrumb } from './commodity-original/components/Breadcrumb';\nexport type { BreadcrumbProps, BreadcrumbItemData } from './commodity-original/components/Breadcrumb';\n","export default \"data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGlkPSJJY29uIC8gYXJyb3ciPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTIuNjY2NyA4TDMuMzMzMzMgOE04IDEyLjY2NjdMMTIuNjY2NyA4TDggMy4zMzMzMyIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8L3N2Zz4K\";","export default \"data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0xNSA4TDEgOE04IDE1TDE1IDhMOCAxIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==\";","import relatedProductsArrowIcon from \"../../../wikex/assets/products/related-products-arrow.svg\";\nimport productCardArrowIcon from \"../../../wikex/assets/products/product-card-arrow.svg\";\nimport Link from \"next/link.js\";\nimport Image from \"next/image.js\";\nimport { css, styled } from \"styled-components\";\nconst cardSurface = css([\n `display:flex;width:100%;height:100%;max-width:329px;flex-direction:column;color:`,\n `;transition:transform 160ms ease;&:hover{transform:translateY(-2px);}@media (max-width:599px){max-width:100%;}`\n], ({ theme })=>theme.colors.text.primary);\nexport const ProductCardArticle = styled.article.withConfig({\n componentId: \"sc-232625b5-0\"\n})([\n ``,\n ``\n], cardSurface);\nexport const ProductCardLink = styled(Link).withConfig({\n componentId: \"sc-232625b5-1\"\n})([\n ``,\n ` text-decoration:none;&:focus-visible{outline:2px solid `,\n `;outline-offset:3px;}`\n], cardSurface, ({ theme })=>theme.colors.accent.primary);\nexport const ProductCardImagePanel = styled.div.withConfig({\n componentId: \"sc-232625b5-2\"\n})([\n `position:relative;width:100%;aspect-ratio:1;border-radius:8px 8px 0 0;&::before{position:absolute;z-index:1;inset:41.2879% 0 0;border-radius:8px 8px 0 0;background:rgb(249 187 58 / 40%);box-shadow:-4px 4px 10px rgb(0 0 0 / 10%);content:\"\";}@media (max-width:599px){&::before{inset:43.2727% 0 -14.5833%;}}`\n]);\nexport const ProductCardImage = styled(Image).withConfig({\n componentId: \"sc-232625b5-3\"\n})([\n `z-index:2;object-fit:cover;pointer-events:none;`\n]);\nexport const ProductCardCopy = styled.div.withConfig({\n componentId: \"sc-232625b5-4\"\n})([\n `display:flex;width:100%;flex:1 0 auto;flex-direction:column;gap:4px;padding:12px 16px 24px;border-radius:0 0 8px 8px;background:`,\n `;box-shadow:-4px 4px 10px rgb(0 0 0 / 10%);@media (max-width:599px){padding:12px 16px 24px;align-items:center;z-index:2;}`\n], ({ theme })=>theme.colors.background.card);\nexport const ProductCardTitleRow = styled.div.withConfig({\n componentId: \"sc-232625b5-5\"\n})([\n `display:flex;width:100%;align-items:center;gap:8px;`\n]);\nexport const ProductCardTitle = styled.h3.withConfig({\n componentId: \"sc-232625b5-6\"\n})([\n `flex:1 1 0;min-width:0;margin:0;overflow:hidden;color:`,\n `;font-size:20px;font-weight:700;line-height:30px;text-overflow:ellipsis;white-space:nowrap;@media (max-width:599px){font-size:14px;line-height:18px;}`\n], ({ theme })=>theme.colors.text.primary);\nexport const ProductCardArrow = styled.span.withConfig({\n componentId: \"sc-232625b5-7\"\n})([\n `width:24px;height:24px;flex:0 0 24px;color:`,\n `;background:currentColor;mask:url(\"`,\n `\") center / 16px 16px no-repeat;-webkit-mask:url(\"`,\n `\") center / 16px 16px no-repeat;@media (max-width:599px){width:18px;height:18px;flex-basis:18px;mask-image:url(\"`,\n `\");mask-size:contain;-webkit-mask-image:url(\"`,\n `\");-webkit-mask-size:contain;}`\n], ({ theme })=>theme.colors.accent.primary, productCardArrowIcon, productCardArrowIcon, relatedProductsArrowIcon, relatedProductsArrowIcon);\nexport const ProductCardDescription = styled.p.withConfig({\n componentId: \"sc-232625b5-8\"\n})([\n `display:-webkit-box;width:100%;overflow:hidden;margin:0;color:`,\n `;font-size:16px;font-weight:500;line-height:22px;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;@media (max-width:599px){font-size:12px;line-height:16px;}`\n], ({ theme })=>theme.colors.text.content);\n","\"use client\";\n\nimport type { ImageProps } from \"next/image.js\";\nimport {\n ProductCardArrow,\n ProductCardArticle,\n ProductCardCopy,\n ProductCardDescription,\n ProductCardImage,\n ProductCardImagePanel,\n ProductCardLink,\n ProductCardTitle,\n ProductCardTitleRow,\n} from \"./style\";\n\nexport type ProductCardProps = {\n image: ImageProps[\"src\"];\n imageAlt?: string;\n imageFit?: 'cover' | 'contain';\n title: string;\n description: string;\n href?: string;\n className?: string;\n};\n\ntype ProductCardContentProps = Pick<\n ProductCardProps,\n \"description\" | \"image\" | \"imageAlt\" | \"imageFit\" | \"title\"\n>;\n\nfunction ProductCardContent({\n description,\n image,\n imageAlt = \"\",\n imageFit = \"cover\",\n title,\n}: ProductCardContentProps) {\n return (\n <>\n <ProductCardImagePanel>\n <ProductCardImage\n alt={imageAlt}\n fill\n sizes=\"(max-width: 767px) calc(100vw - 48px), 329px\"\n src={image}\n style={imageFit === 'contain' ? { objectFit: 'contain', padding: 24 } : undefined}\n />\n </ProductCardImagePanel>\n <ProductCardCopy>\n <ProductCardTitleRow>\n <ProductCardTitle>{title}</ProductCardTitle>\n <ProductCardArrow aria-hidden=\"true\" />\n </ProductCardTitleRow>\n <ProductCardDescription>{description}</ProductCardDescription>\n </ProductCardCopy>\n </>\n );\n}\n\nexport default function ProductCard({\n className,\n description,\n href,\n image,\n imageAlt,\n imageFit,\n title,\n}: ProductCardProps) {\n const content = (\n <ProductCardContent\n description={description}\n image={image}\n imageAlt={imageAlt}\n imageFit={imageFit}\n title={title}\n />\n );\n\n if (href) {\n return (\n <ProductCardLink aria-label={title} className={className} href={href}>\n {content}\n </ProductCardLink>\n );\n }\n\n return <ProductCardArticle className={className}>{content}</ProductCardArticle>;\n}\n","\"use client\";\n\nimport { useTranslation } from \"react-i18next\";\nimport {\n PaginationArrow,\n PaginationButton,\n PaginationItem,\n PaginationList,\n PaginationNav,\n} from \"./style\";\n\ntype PaginationItemValue = number | \"ellipsis\";\n\nexport type PaginationProps = {\n page: number;\n pageCount: number;\n onPageChange: (page: number) => void;\n siblingCount?: number;\n ariaLabel?: string;\n labels?: { previous: string; next: string; page: (page: number) => string; current: (page: number) => string };\n className?: string;\n};\n\nfunction getPaginationItems(\n page: number,\n pageCount: number,\n siblingCount: number,\n): PaginationItemValue[] {\n const maxVisibleItems = siblingCount * 2 + 5;\n\n if (pageCount <= maxVisibleItems) {\n return Array.from({ length: pageCount }, (_, index) => index + 1);\n }\n\n const leftSibling = Math.max(page - siblingCount, 2);\n const rightSibling = Math.min(page + siblingCount, pageCount - 1);\n const items: PaginationItemValue[] = [1];\n\n if (leftSibling > 2) {\n items.push(\"ellipsis\");\n }\n\n for (let value = leftSibling; value <= rightSibling; value += 1) {\n items.push(value);\n }\n\n if (rightSibling < pageCount - 1) {\n items.push(\"ellipsis\");\n }\n\n items.push(pageCount);\n\n return items;\n}\n\nexport default function Pagination({\n page,\n pageCount,\n onPageChange,\n siblingCount = 1,\n ariaLabel,\n labels,\n className,\n}: PaginationProps) {\n const { t } = useTranslation();\n const safePageCount = Math.max(1, Math.floor(pageCount));\n const currentPage = Math.min(Math.max(1, Math.floor(page)), safePageCount);\n const items = getPaginationItems(currentPage, safePageCount, siblingCount);\n const hasPreviousPage = currentPage > 1;\n const hasNextPage = currentPage < safePageCount;\n\n return (\n <PaginationNav\n aria-label={ariaLabel ?? t(\"pagination.navigation\")}\n className={className}\n >\n <PaginationList>\n <PaginationItem>\n <PaginationButton\n aria-label={labels?.previous ?? t(\"pagination.previous\")}\n data-control=\"previous\"\n disabled={!hasPreviousPage}\n onClick={() => onPageChange(currentPage - 1)}\n type=\"button\"\n >\n <PaginationArrow data-direction=\"previous\" />\n </PaginationButton>\n </PaginationItem>\n {items.map((item, index) => (\n <PaginationItem key={`${item}-${index}`}>\n {item === \"ellipsis\" ? (\n <PaginationButton aria-hidden=\"true\" disabled tabIndex={-1} type=\"button\">\n …\n </PaginationButton>\n ) : (\n <PaginationButton\n aria-current={item === currentPage ? \"page\" : undefined}\n aria-label={\n item === currentPage\n ? (labels?.current(item) ?? t(\"pagination.current\", { page: item }))\n : (labels?.page(item) ?? t(\"pagination.page\", { page: item }))\n }\n data-active={item === currentPage || undefined}\n onClick={() => onPageChange(item)}\n type=\"button\"\n >\n {item}\n </PaginationButton>\n )}\n </PaginationItem>\n ))}\n <PaginationItem>\n <PaginationButton\n aria-label={labels?.next ?? t(\"pagination.next\")}\n data-control=\"next\"\n disabled={!hasNextPage}\n onClick={() => onPageChange(currentPage + 1)}\n type=\"button\"\n >\n <PaginationArrow data-direction=\"next\" />\n </PaginationButton>\n </PaginationItem>\n </PaginationList>\n </PaginationNav>\n );\n}\n","export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDE0IDE0IiBmaWxsPSJub25lIj4KICA8cGF0aCBkPSJNNS4yNSAzLjVMOC43NSA3TDUuMjUgMTAuNSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMS4xNjY2NyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=\";","import chevronRightIcon from \"../../../wikex/assets/products/chevron-right.svg\";\nimport { styled } from \"styled-components\";\nexport const PaginationNav = styled.nav.withConfig({\n componentId: \"sc-522a1750-0\"\n})([\n `display:flex;justify-content:center;`\n]);\nexport const PaginationList = styled.ul.withConfig({\n componentId: \"sc-522a1750-1\"\n})([\n `display:flex;margin:0;padding:0;align-items:center;gap:8px;list-style:none;`\n]);\nexport const PaginationItem = styled.li.withConfig({\n componentId: \"sc-522a1750-2\"\n})([\n `display:flex;`\n]);\nexport const PaginationButton = styled.button.withConfig({\n componentId: \"sc-522a1750-3\"\n})([\n `display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border:1px solid `,\n `;border-radius:4px;padding:4px;color:`,\n `;background:`,\n `;font-family:var(--font-manrope),Arial,Helvetica,sans-serif;font-size:14px;font-weight:500;line-height:18px;cursor:pointer;transition:color 160ms ease,background-color 160ms ease,border-color 160ms ease;&[data-control]{border-color:transparent;background:transparent;}&[data-active]{border-color:`,\n `;color:`,\n `;background:`,\n `;}&:not(:disabled):hover{color:`,\n `;background:`,\n `;}&[data-active]:not(:disabled):hover{background:`,\n `;}&:disabled{cursor:not-allowed;}&:focus-visible{outline:2px solid `,\n `;outline-offset:2px;}`\n], ({ theme })=>theme.colors.border.line, ({ theme })=>theme.colors.text.secondary, ({ theme })=>theme.colors.background.canvas, ({ theme })=>theme.colors.accent.primary, ({ theme })=>theme.colors.accent.foreground, ({ theme })=>theme.colors.accent.primary, ({ theme })=>theme.colors.text.primary, ({ theme })=>theme.colors.background.hover, ({ theme })=>theme.colors.accent.primary, ({ theme })=>theme.colors.accent.primary);\nexport const PaginationArrow = styled.span.withConfig({\n componentId: \"sc-522a1750-4\"\n})([\n `width:16px;height:16px;background:currentColor;mask:url(\"`,\n `\") center / contain no-repeat;-webkit-mask:url(\"`,\n `\") center / contain no-repeat;&[data-direction=\"previous\"]{transform:scaleX(-1);}`\n], chevronRightIcon, chevronRightIcon);\n","\"use client\";\n\nimport Link from \"next/link.js\";\nimport {\n BreadcrumbCurrent,\n BreadcrumbItem,\n BreadcrumbLink,\n BreadcrumbList,\n BreadcrumbNav,\n BreadcrumbSeparator,\n} from \"./style\";\n\nexport type BreadcrumbItemData = {\n label: string;\n href?: string;\n};\n\nexport type BreadcrumbProps = {\n items: readonly BreadcrumbItemData[];\n ariaLabel?: string;\n className?: string;\n};\n\nexport default function Breadcrumb({\n items,\n ariaLabel = \"Breadcrumb\",\n className,\n}: BreadcrumbProps) {\n return (\n <BreadcrumbNav aria-label={ariaLabel} className={className}>\n <BreadcrumbList>\n {items.map((item, index) => {\n const isCurrent = index === items.length - 1;\n\n return (\n <BreadcrumbItem key={`${item.label}-${index}`}>\n {isCurrent ? (\n <BreadcrumbCurrent aria-current=\"page\">\n {item.label}\n </BreadcrumbCurrent>\n ) : item.href ? (\n <BreadcrumbLink as={Link} href={item.href}>\n {item.label}\n </BreadcrumbLink>\n ) : (\n <BreadcrumbCurrent>{item.label}</BreadcrumbCurrent>\n )}\n {!isCurrent && (\n <BreadcrumbSeparator aria-hidden=\"true\" />\n )}\n </BreadcrumbItem>\n );\n })}\n </BreadcrumbList>\n </BreadcrumbNav>\n );\n}\n","import chevronRightIcon from \"../../../wikex/assets/products/chevron-right.svg\";\nimport { styled } from \"styled-components\";\nconst breadcrumbText = `\n font-family: var(--font-manrope), Arial, Helvetica, sans-serif;\n font-size: 12px;\n font-weight: 500;\n line-height: 16px;\n white-space: nowrap;\n @media (max-width: 767px) {\n font-size: 10px;\n line-height: 14px;\n }\n`;\nexport const BreadcrumbNav = styled.nav.withConfig({\n componentId: \"sc-9c96c0b1-0\"\n})([\n `display:flex;max-width:100%;align-items:center;@media (max-width:767px){overflow-x:auto;scrollbar-width:none;&::-webkit-scrollbar{display:none;}}`\n]);\nexport const BreadcrumbList = styled.ol.withConfig({\n componentId: \"sc-9c96c0b1-1\"\n})([\n `display:flex;margin:0;padding:0;align-items:center;gap:4px;list-style:none;`\n]);\nexport const BreadcrumbItem = styled.li.withConfig({\n componentId: \"sc-9c96c0b1-2\"\n})([\n `display:flex;align-items:center;gap:4px;`\n]);\nexport const BreadcrumbLink = styled.a.withConfig({\n componentId: \"sc-9c96c0b1-3\"\n})([\n ``,\n ` color:`,\n `;&:hover,&:focus-visible{color:`,\n `;}&:focus-visible{outline:2px solid #f9bb3a;outline-offset:2px;}`\n], breadcrumbText, ({ theme })=>theme.colors.text.placeholder, ({ theme })=>theme.colors.text.primary);\nexport const BreadcrumbCurrent = styled.span.withConfig({\n componentId: \"sc-9c96c0b1-4\"\n})([\n ``,\n ` color:`,\n `;`\n], breadcrumbText, ({ theme })=>theme.colors.text.primary);\nexport const BreadcrumbSeparator = styled.span.withConfig({\n componentId: \"sc-9c96c0b1-5\"\n})([\n `display:inline-flex;width:14px;height:14px;align-items:center;justify-content:center;color:`,\n `;background:currentColor;mask:url(\"`,\n `\") center / contain no-repeat;-webkit-mask:url(\"`,\n `\") center / contain no-repeat;`\n], ({ theme })=>theme.colors.text.placeholder, chevronRightIcon, chevronRightIcon);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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ACJ,CAAC;AACM,IAAM,iBAAiB,iCAAO,EAAE,WAAW;AAAA,EAC9C,aAAa;AACjB,CAAC,EAAE;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,GAAG,gBAAgB,CAAC,EAAE,MAAM,MAAI,MAAM,OAAO,KAAK,aAAa,CAAC,EAAE,MAAM,MAAI,MAAM,OAAO,KAAK,OAAO;AAC9F,IAAM,oBAAoB,iCAAO,KAAK,WAAW;AAAA,EACpD,aAAa;AACjB,CAAC,EAAE;AAAA,EACC;AAAA,EACA;AAAA,EACA;AACJ,GAAG,gBAAgB,CAAC,EAAE,MAAM,MAAI,MAAM,OAAO,KAAK,OAAO;AAClD,IAAM,sBAAsB,iCAAO,KAAK,WAAW;AAAA,EACtD,aAAa;AACjB,CAAC,EAAE;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACJ,GAAG,CAAC,EAAE,MAAM,MAAI,MAAM,OAAO,KAAK,aAAa,uBAAkB,qBAAgB;;;ADfrE,IAAAC,sBAAA;AAZG,SAAR,WAA4B;AAAA,EACjC;AAAA,EACA,YAAY;AAAA,EACZ;AACF,GAAoB;AAClB,SACE,6CAAC,iBAAc,cAAY,WAAW,WACpC,uDAAC,kBACE,gBAAM,IAAI,CAAC,MAAM,UAAU;AAC1B,UAAM,YAAY,UAAU,MAAM,SAAS;AAE3C,WACE,8CAAC,kBACE;AAAA,kBACC,6CAAC,qBAAkB,gBAAa,QAC7B,eAAK,OACR,IACE,KAAK,OACP,6CAAC,kBAAe,IAAI,aAAAC,SAAM,MAAM,KAAK,MAClC,eAAK,OACR,IAEA,6CAAC,qBAAmB,eAAK,OAAM;AAAA,MAEhC,CAAC,aACA,6CAAC,uBAAoB,eAAY,QAAO;AAAA,SAbvB,GAAG,KAAK,KAAK,IAAI,KAAK,EAe3C;AAAA,EAEJ,CAAC,GACH,GACF;AAEJ;","names":["Link","Image","import_styled_components","import_jsx_runtime","import_link","import_styled_components","import_jsx_runtime","Link"]}