@szymonpiatek/designsystem 0.0.4 → 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 CHANGED
@@ -1,22 +1,66 @@
1
1
  'use strict';
2
2
 
3
- var react$1 = require('react');
3
+ var react = require('react');
4
4
  var styles = require('@mui/material/styles');
5
- var react = require('@emotion/react');
5
+ var CircularProgress = require('@mui/material/CircularProgress');
6
6
  var jsxRuntime = require('react/jsx-runtime');
7
+ var ExpandMoreIcon = require('@mui/icons-material/ExpandMore');
8
+ var FileUploadIcon = require('@mui/icons-material/FileUpload');
9
+ var CloudUploadMuiIcon = require('@mui/icons-material/CloudUpload');
10
+ var InsertDriveFileIcon = require('@mui/icons-material/InsertDriveFile');
11
+ var DeleteOutlinedIcon = require('@mui/icons-material/DeleteOutlined');
12
+ var CloseIcon = require('@mui/icons-material/Close');
13
+ var CheckIcon = require('@mui/icons-material/Check');
14
+ var VisibilityIcon = require('@mui/icons-material/Visibility');
15
+ var VisibilityOffIcon = require('@mui/icons-material/VisibilityOff');
16
+ var SearchMuiIcon = require('@mui/icons-material/Search');
7
17
  var libphonenumberJs = require('libphonenumber-js');
18
+ var CalendarMonthIcon = require('@mui/icons-material/CalendarMonth');
19
+ var AccessTimeIcon = require('@mui/icons-material/AccessTime');
20
+ var ChevronLeftIcon = require('@mui/icons-material/ChevronLeft');
21
+ var ChevronRightIcon = require('@mui/icons-material/ChevronRight');
22
+ var KeyboardArrowUpIcon = require('@mui/icons-material/KeyboardArrowUp');
23
+ var KeyboardArrowDownIcon = require('@mui/icons-material/KeyboardArrowDown');
24
+ var react$1 = require('@emotion/react');
25
+ var ArticleIcon = require('@mui/icons-material/Article');
26
+ var CheckCircleOutlinedIcon = require('@mui/icons-material/CheckCircleOutlined');
27
+ var HighlightOffIcon = require('@mui/icons-material/HighlightOff');
8
28
  var reactDom = require('react-dom');
29
+ var KeyboardDoubleArrowLeftIcon = require('@mui/icons-material/KeyboardDoubleArrowLeft');
30
+ var KeyboardDoubleArrowRightIcon = require('@mui/icons-material/KeyboardDoubleArrowRight');
31
+ var ArrowForwardIcon = require('@mui/icons-material/ArrowForward');
32
+ var MenuIcon = require('@mui/icons-material/Menu');
9
33
  var CssBaseline = require('@mui/material/CssBaseline');
10
34
 
11
35
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
12
36
 
37
+ var CircularProgress__default = /*#__PURE__*/_interopDefault(CircularProgress);
38
+ var ExpandMoreIcon__default = /*#__PURE__*/_interopDefault(ExpandMoreIcon);
39
+ var FileUploadIcon__default = /*#__PURE__*/_interopDefault(FileUploadIcon);
40
+ var CloudUploadMuiIcon__default = /*#__PURE__*/_interopDefault(CloudUploadMuiIcon);
41
+ var InsertDriveFileIcon__default = /*#__PURE__*/_interopDefault(InsertDriveFileIcon);
42
+ var DeleteOutlinedIcon__default = /*#__PURE__*/_interopDefault(DeleteOutlinedIcon);
43
+ var CloseIcon__default = /*#__PURE__*/_interopDefault(CloseIcon);
44
+ var CheckIcon__default = /*#__PURE__*/_interopDefault(CheckIcon);
45
+ var VisibilityIcon__default = /*#__PURE__*/_interopDefault(VisibilityIcon);
46
+ var VisibilityOffIcon__default = /*#__PURE__*/_interopDefault(VisibilityOffIcon);
47
+ var SearchMuiIcon__default = /*#__PURE__*/_interopDefault(SearchMuiIcon);
48
+ var CalendarMonthIcon__default = /*#__PURE__*/_interopDefault(CalendarMonthIcon);
49
+ var AccessTimeIcon__default = /*#__PURE__*/_interopDefault(AccessTimeIcon);
50
+ var ChevronLeftIcon__default = /*#__PURE__*/_interopDefault(ChevronLeftIcon);
51
+ var ChevronRightIcon__default = /*#__PURE__*/_interopDefault(ChevronRightIcon);
52
+ var KeyboardArrowUpIcon__default = /*#__PURE__*/_interopDefault(KeyboardArrowUpIcon);
53
+ var KeyboardArrowDownIcon__default = /*#__PURE__*/_interopDefault(KeyboardArrowDownIcon);
54
+ var ArticleIcon__default = /*#__PURE__*/_interopDefault(ArticleIcon);
55
+ var CheckCircleOutlinedIcon__default = /*#__PURE__*/_interopDefault(CheckCircleOutlinedIcon);
56
+ var HighlightOffIcon__default = /*#__PURE__*/_interopDefault(HighlightOffIcon);
57
+ var KeyboardDoubleArrowLeftIcon__default = /*#__PURE__*/_interopDefault(KeyboardDoubleArrowLeftIcon);
58
+ var KeyboardDoubleArrowRightIcon__default = /*#__PURE__*/_interopDefault(KeyboardDoubleArrowRightIcon);
59
+ var ArrowForwardIcon__default = /*#__PURE__*/_interopDefault(ArrowForwardIcon);
60
+ var MenuIcon__default = /*#__PURE__*/_interopDefault(MenuIcon);
13
61
  var CssBaseline__default = /*#__PURE__*/_interopDefault(CssBaseline);
14
62
 
15
63
  // src/components/atoms/buttons/Button/Button.tsx
16
- var spin = react.keyframes`
17
- from { transform: rotate(0deg); }
18
- to { transform: rotate(360deg); }
19
- `;
20
64
  var sizeMap = {
21
65
  sm: { padding: "0.25rem 0.75rem", fontSize: "0.75rem", gap: "0.25rem" },
22
66
  md: { padding: "0.5rem 1.25rem", fontSize: "0.875rem", gap: "0.375rem" },
@@ -85,10 +129,9 @@ var IconSlot = styles.styled("span")({
85
129
  alignItems: "center"
86
130
  });
87
131
  var Spinner = styles.styled("span")({
88
- display: "inline-flex",
89
- animation: `${spin} 700ms linear infinite`
132
+ display: "inline-flex"
90
133
  });
91
- var Button = react$1.forwardRef(
134
+ var Button = react.forwardRef(
92
135
  ({
93
136
  variant = "primary",
94
137
  size = "md",
@@ -118,21 +161,7 @@ var Button = react$1.forwardRef(
118
161
  "aria-label": ariaLabel,
119
162
  "aria-current": ariaCurrent,
120
163
  children: [
121
- loading ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsxs(
122
- "svg",
123
- {
124
- width: "1em",
125
- height: "1em",
126
- viewBox: "0 0 24 24",
127
- fill: "none",
128
- stroke: "currentColor",
129
- strokeWidth: "2",
130
- children: [
131
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", strokeOpacity: "0.25" }),
132
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 2a10 10 0 0 1 10 10" })
133
- ]
134
- }
135
- ) }) : startIcon && /* @__PURE__ */ jsxRuntime.jsx(IconSlot, { children: startIcon }),
164
+ loading ? /* @__PURE__ */ jsxRuntime.jsx(Spinner, { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(CircularProgress__default.default, { size: "1em", color: "inherit", thickness: 5 }) }) : startIcon && /* @__PURE__ */ jsxRuntime.jsx(IconSlot, { children: startIcon }),
136
165
  /* @__PURE__ */ jsxRuntime.jsx("span", { children }),
137
166
  endIcon && /* @__PURE__ */ jsxRuntime.jsx(IconSlot, { children: endIcon })
138
167
  ]
@@ -185,21 +214,7 @@ var DropdownPanel = styles.styled("div")(({ theme }) => ({
185
214
  borderRadius: theme.shape.borderRadius,
186
215
  boxShadow: theme.shadows[4]
187
216
  }));
188
- var Chevron = () => /* @__PURE__ */ jsxRuntime.jsx(
189
- "svg",
190
- {
191
- viewBox: "0 0 24 24",
192
- width: "1em",
193
- height: "1em",
194
- fill: "none",
195
- stroke: "currentColor",
196
- strokeWidth: 2,
197
- strokeLinecap: "round",
198
- strokeLinejoin: "round",
199
- "aria-hidden": true,
200
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" })
201
- }
202
- );
217
+ var Chevron = () => /* @__PURE__ */ jsxRuntime.jsx(ExpandMoreIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
203
218
  var inputColors = (theme, error) => ({
204
219
  borderColor: error ? theme.palette.error.main : theme.palette.divider,
205
220
  "&:hover:not(:focus-within):not([data-disabled])": {
@@ -260,7 +275,7 @@ var Adornment = styles.styled("span")(({ theme }) => ({
260
275
  color: theme.palette.text.secondary,
261
276
  flexShrink: 0
262
277
  }));
263
- var BaseInput = react$1.forwardRef(
278
+ var BaseInput = react.forwardRef(
264
279
  ({
265
280
  label,
266
281
  helperText,
@@ -273,7 +288,7 @@ var BaseInput = react$1.forwardRef(
273
288
  id,
274
289
  ...rest
275
290
  }, ref) => {
276
- const autoId = react$1.useId();
291
+ const autoId = react.useId();
277
292
  const inputId = id ?? autoId;
278
293
  return /* @__PURE__ */ jsxRuntime.jsxs(Root, { $fullWidth: fullWidth, children: [
279
294
  label && /* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: inputId, error, size, children: label }),
@@ -384,7 +399,7 @@ var Root2 = styles.styled("span")(({ $disabled }) => ({
384
399
  flexDirection: "column",
385
400
  cursor: $disabled ? "not-allowed" : "pointer"
386
401
  }));
387
- var CheckboxInput = react$1.forwardRef(
402
+ var CheckboxInput = react.forwardRef(
388
403
  ({
389
404
  label,
390
405
  helperText,
@@ -395,10 +410,10 @@ var CheckboxInput = react$1.forwardRef(
395
410
  id,
396
411
  ...rest
397
412
  }, ref) => {
398
- const autoId = react$1.useId();
413
+ const autoId = react.useId();
399
414
  const inputId = id ?? autoId;
400
- const innerRef = react$1.useRef(null);
401
- react$1.useEffect(() => {
415
+ const innerRef = react.useRef(null);
416
+ react.useEffect(() => {
402
417
  if (innerRef.current) {
403
418
  innerRef.current.indeterminate = indeterminate;
404
419
  }
@@ -432,99 +447,11 @@ var formatSize = (bytes) => {
432
447
  if (bytes < 1024 ** 2) return `${(bytes / 1024).toFixed(1)} KB`;
433
448
  return `${(bytes / 1024 ** 2).toFixed(1)} MB`;
434
449
  };
435
- var UploadArrowIcon = ({ size = 13 }) => /* @__PURE__ */ jsxRuntime.jsxs(
436
- "svg",
437
- {
438
- width: size,
439
- height: size,
440
- viewBox: "0 0 24 24",
441
- fill: "none",
442
- stroke: "currentColor",
443
- strokeWidth: 2.5,
444
- strokeLinecap: "round",
445
- strokeLinejoin: "round",
446
- "aria-hidden": true,
447
- children: [
448
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "17 8 12 3 7 8" }),
449
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "3", x2: "12", y2: "15" }),
450
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M4 15v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4" })
451
- ]
452
- }
453
- );
454
- var CloudUploadIcon = ({ size }) => /* @__PURE__ */ jsxRuntime.jsxs(
455
- "svg",
456
- {
457
- width: size,
458
- height: size,
459
- viewBox: "0 0 24 24",
460
- fill: "none",
461
- stroke: "currentColor",
462
- strokeWidth: 1.5,
463
- strokeLinecap: "round",
464
- strokeLinejoin: "round",
465
- "aria-hidden": true,
466
- children: [
467
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "16 16 12 12 8 16" }),
468
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "12", y1: "12", x2: "12", y2: "21" }),
469
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3" })
470
- ]
471
- }
472
- );
473
- var FileDocIcon = ({ size }) => /* @__PURE__ */ jsxRuntime.jsxs(
474
- "svg",
475
- {
476
- width: size,
477
- height: size,
478
- viewBox: "0 0 24 24",
479
- fill: "none",
480
- stroke: "currentColor",
481
- strokeWidth: 1.75,
482
- strokeLinecap: "round",
483
- strokeLinejoin: "round",
484
- "aria-hidden": true,
485
- children: [
486
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
487
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "14 2 14 8 20 8" })
488
- ]
489
- }
490
- );
491
- var TrashIcon = ({ size = 12 }) => /* @__PURE__ */ jsxRuntime.jsxs(
492
- "svg",
493
- {
494
- width: size,
495
- height: size,
496
- viewBox: "0 0 24 24",
497
- fill: "none",
498
- stroke: "currentColor",
499
- strokeWidth: 2.5,
500
- strokeLinecap: "round",
501
- strokeLinejoin: "round",
502
- "aria-hidden": true,
503
- children: [
504
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "3 6 5 6 21 6" }),
505
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6" }),
506
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 11v6M14 11v6" }),
507
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 6V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v2" })
508
- ]
509
- }
510
- );
511
- var XIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
512
- "svg",
513
- {
514
- width: "11",
515
- height: "11",
516
- viewBox: "0 0 24 24",
517
- fill: "none",
518
- stroke: "currentColor",
519
- strokeWidth: 2.5,
520
- strokeLinecap: "round",
521
- "aria-hidden": true,
522
- children: [
523
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
524
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
525
- ]
526
- }
527
- );
450
+ var UploadArrowIcon = ({ size = 13 }) => /* @__PURE__ */ jsxRuntime.jsx(FileUploadIcon__default.default, { "aria-hidden": true, style: { fontSize: size } });
451
+ var CloudUploadIcon = ({ size }) => /* @__PURE__ */ jsxRuntime.jsx(CloudUploadMuiIcon__default.default, { "aria-hidden": true, style: { fontSize: size } });
452
+ var FileDocIcon = ({ size }) => /* @__PURE__ */ jsxRuntime.jsx(InsertDriveFileIcon__default.default, { "aria-hidden": true, style: { fontSize: size } });
453
+ var TrashIcon = ({ size = 12 }) => /* @__PURE__ */ jsxRuntime.jsx(DeleteOutlinedIcon__default.default, { "aria-hidden": true, style: { fontSize: size } });
454
+ var XIcon = () => /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": true, style: { fontSize: 11 } });
528
455
  var Root3 = styles.styled("div")(({ $fullWidth }) => ({
529
456
  display: $fullWidth ? "block" : "inline-block",
530
457
  width: $fullWidth ? "100%" : "auto"
@@ -916,7 +843,7 @@ var FileActionBtn = styles.styled("button")(({
916
843
  "&:disabled": { opacity: 0.5, cursor: "not-allowed" }
917
844
  };
918
845
  });
919
- var FileInput = react$1.forwardRef(
846
+ var FileInput = react.forwardRef(
920
847
  ({
921
848
  label,
922
849
  helperText,
@@ -944,11 +871,11 @@ var FileInput = react$1.forwardRef(
944
871
  onChange,
945
872
  ...rest
946
873
  }, ref) => {
947
- const autoId = react$1.useId();
874
+ const autoId = react.useId();
948
875
  const inputId = id ?? autoId;
949
- const innerRef = react$1.useRef(null);
950
- const [files, setFiles] = react$1.useState([]);
951
- const [isDragging, setIsDragging] = react$1.useState(false);
876
+ const innerRef = react.useRef(null);
877
+ const [files, setFiles] = react.useState([]);
878
+ const [isDragging, setIsDragging] = react.useState(false);
952
879
  const assignRef = (node) => {
953
880
  innerRef.current = node;
954
881
  if (typeof ref === "function") ref(node);
@@ -1205,7 +1132,7 @@ var filterEmailString = (value) => {
1205
1132
  const domain = value.slice(atIdx + 1).replace(/@/g, "").replace(/[^a-zA-Z0-9.-]/g, "");
1206
1133
  return `${local}@${domain}`;
1207
1134
  };
1208
- var EmailInput = react$1.forwardRef(
1135
+ var EmailInput = react.forwardRef(
1209
1136
  ({ onKeyDown, onPaste, ...props }, ref) => {
1210
1137
  const handleKeyDown = (e) => {
1211
1138
  onKeyDown?.(e);
@@ -1347,13 +1274,13 @@ var BaseSelectInput = ({
1347
1274
  id
1348
1275
  }) => {
1349
1276
  const checkSelected = isSelected ?? ((option) => option.value === value);
1350
- const autoId = react$1.useId();
1277
+ const autoId = react.useId();
1351
1278
  const inputId = id ?? autoId;
1352
1279
  const listboxId = `${inputId}-listbox`;
1353
- const [internalOpen, setInternalOpen] = react$1.useState(false);
1280
+ const [internalOpen, setInternalOpen] = react.useState(false);
1354
1281
  const isOpen = controlledOpen ?? internalOpen;
1355
- const rootRef = react$1.useRef(null);
1356
- const close = react$1.useCallback(() => {
1282
+ const rootRef = react.useRef(null);
1283
+ const close = react.useCallback(() => {
1357
1284
  setInternalOpen(false);
1358
1285
  onOpenChange?.(false);
1359
1286
  }, [onOpenChange]);
@@ -1367,7 +1294,7 @@ var BaseSelectInput = ({
1367
1294
  onSelect?.(option, close);
1368
1295
  }
1369
1296
  };
1370
- react$1.useEffect(() => {
1297
+ react.useEffect(() => {
1371
1298
  if (!isOpen) return;
1372
1299
  const handleMouseDown = (e) => {
1373
1300
  if (rootRef.current && !rootRef.current.contains(e.target)) {
@@ -1421,7 +1348,7 @@ var BaseSelectInput = ({
1421
1348
  ] });
1422
1349
  };
1423
1350
  BaseSelectInput.displayName = "BaseSelectInput";
1424
- var NumberInput = react$1.forwardRef(
1351
+ var NumberInput = react.forwardRef(
1425
1352
  (props, ref) => /* @__PURE__ */ jsxRuntime.jsx(BaseInput, { ref, type: "number", ...props })
1426
1353
  );
1427
1354
  NumberInput.displayName = "NumberInput";
@@ -1462,21 +1389,7 @@ var CheckboxBox = styles.styled("span")(({ theme, $checked }) => ({
1462
1389
  flexShrink: 0,
1463
1390
  transition: "background-color 150ms ease, border-color 150ms ease"
1464
1391
  }));
1465
- var CheckmarkIcon = () => /* @__PURE__ */ jsxRuntime.jsx(
1466
- "svg",
1467
- {
1468
- viewBox: "0 0 24 24",
1469
- width: "0.65rem",
1470
- height: "0.65rem",
1471
- fill: "none",
1472
- stroke: "currentColor",
1473
- strokeWidth: 3,
1474
- strokeLinecap: "round",
1475
- strokeLinejoin: "round",
1476
- "aria-hidden": true,
1477
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "20 6 9 17 4 12" })
1478
- }
1479
- );
1392
+ var CheckmarkIcon = () => /* @__PURE__ */ jsxRuntime.jsx(CheckIcon__default.default, { "aria-hidden": true, style: { width: "0.65rem", height: "0.65rem" } });
1480
1393
  var renderTrigger = (value, options, placeholder) => {
1481
1394
  const MultiSelectTrigger = () => {
1482
1395
  if (value.length === 0) {
@@ -1537,45 +1450,11 @@ var ToggleButton = styles.styled("button")(({ theme }) => ({
1537
1450
  cursor: "not-allowed"
1538
1451
  }
1539
1452
  }));
1540
- var EyeIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
1541
- "svg",
1542
- {
1543
- viewBox: "0 0 24 24",
1544
- width: "1em",
1545
- height: "1em",
1546
- fill: "none",
1547
- stroke: "currentColor",
1548
- strokeWidth: 2,
1549
- strokeLinecap: "round",
1550
- strokeLinejoin: "round",
1551
- "aria-hidden": true,
1552
- children: [
1553
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" }),
1554
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "3" })
1555
- ]
1556
- }
1557
- );
1558
- var EyeOffIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
1559
- "svg",
1560
- {
1561
- viewBox: "0 0 24 24",
1562
- width: "1em",
1563
- height: "1em",
1564
- fill: "none",
1565
- stroke: "currentColor",
1566
- strokeWidth: 2,
1567
- strokeLinecap: "round",
1568
- strokeLinejoin: "round",
1569
- "aria-hidden": true,
1570
- children: [
1571
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" }),
1572
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "1", y1: "1", x2: "23", y2: "23" })
1573
- ]
1574
- }
1575
- );
1576
- var PasswordInput = react$1.forwardRef(
1453
+ var EyeIcon = () => /* @__PURE__ */ jsxRuntime.jsx(VisibilityIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1454
+ var EyeOffIcon = () => /* @__PURE__ */ jsxRuntime.jsx(VisibilityOffIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1455
+ var PasswordInput = react.forwardRef(
1577
1456
  ({ disabled, showPasswordLabel = "Poka\u017C has\u0142o", hidePasswordLabel = "Ukryj has\u0142o", ...props }, ref) => {
1578
- const [show, setShow] = react$1.useState(false);
1457
+ const [show, setShow] = react.useState(false);
1579
1458
  return /* @__PURE__ */ jsxRuntime.jsx(
1580
1459
  BaseInput,
1581
1460
  {
@@ -1613,46 +1492,12 @@ var ClearButton = styles.styled("button")(({ theme }) => ({
1613
1492
  color: theme.palette.text.primary
1614
1493
  }
1615
1494
  }));
1616
- var SearchIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
1617
- "svg",
1618
- {
1619
- viewBox: "0 0 24 24",
1620
- width: "1em",
1621
- height: "1em",
1622
- fill: "none",
1623
- stroke: "currentColor",
1624
- strokeWidth: 2,
1625
- strokeLinecap: "round",
1626
- strokeLinejoin: "round",
1627
- "aria-hidden": true,
1628
- children: [
1629
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }),
1630
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
1631
- ]
1632
- }
1633
- );
1634
- var XIcon2 = () => /* @__PURE__ */ jsxRuntime.jsxs(
1635
- "svg",
1636
- {
1637
- viewBox: "0 0 24 24",
1638
- width: "1em",
1639
- height: "1em",
1640
- fill: "none",
1641
- stroke: "currentColor",
1642
- strokeWidth: 2,
1643
- strokeLinecap: "round",
1644
- strokeLinejoin: "round",
1645
- "aria-hidden": true,
1646
- children: [
1647
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
1648
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
1649
- ]
1650
- }
1651
- );
1652
- var SearchInput = react$1.forwardRef(
1495
+ var SearchIcon = () => /* @__PURE__ */ jsxRuntime.jsx(SearchMuiIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1496
+ var XIcon2 = () => /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1497
+ var SearchInput = react.forwardRef(
1653
1498
  ({ value, onChange, onClear, clearAriaLabel = "Wyczy\u015B\u0107", ...props }, forwardedRef) => {
1654
- const innerRef = react$1.useRef(null);
1655
- const attachRef = react$1.useCallback(
1499
+ const innerRef = react.useRef(null);
1500
+ const attachRef = react.useCallback(
1656
1501
  (el) => {
1657
1502
  innerRef.current = el;
1658
1503
  if (typeof forwardedRef === "function") forwardedRef(el);
@@ -1662,7 +1507,7 @@ var SearchInput = react$1.forwardRef(
1662
1507
  [forwardedRef]
1663
1508
  );
1664
1509
  const isControlled = value !== void 0;
1665
- const [localValue, setLocalValue] = react$1.useState("");
1510
+ const [localValue, setLocalValue] = react.useState("");
1666
1511
  const hasValue = isControlled ? !!value : !!localValue;
1667
1512
  const handleChange = (e) => {
1668
1513
  if (!isControlled) setLocalValue(e.target.value);
@@ -1698,21 +1543,7 @@ var SearchInput = react$1.forwardRef(
1698
1543
  }
1699
1544
  );
1700
1545
  SearchInput.displayName = "SearchInput";
1701
- var Checkmark = () => /* @__PURE__ */ jsxRuntime.jsx(
1702
- "svg",
1703
- {
1704
- viewBox: "0 0 24 24",
1705
- width: "1em",
1706
- height: "1em",
1707
- fill: "none",
1708
- stroke: "currentColor",
1709
- strokeWidth: 2.5,
1710
- strokeLinecap: "round",
1711
- strokeLinejoin: "round",
1712
- "aria-hidden": true,
1713
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "20 6 9 17 4 12" })
1714
- }
1715
- );
1546
+ var Checkmark = () => /* @__PURE__ */ jsxRuntime.jsx(CheckIcon__default.default, { "aria-hidden": true, sx: { fontSize: "1em" } });
1716
1547
  var renderOption2 = (selected) => {
1717
1548
  const SelectOption = (option) => /* @__PURE__ */ jsxRuntime.jsxs(
1718
1549
  "span",
@@ -1782,7 +1613,7 @@ var StyledTextarea = styles.styled("textarea")(({ theme, $size, $fullWidth, $err
1782
1613
  color: theme.palette.text.disabled
1783
1614
  }
1784
1615
  }));
1785
- var TextareaInput = react$1.forwardRef(
1616
+ var TextareaInput = react.forwardRef(
1786
1617
  ({
1787
1618
  label,
1788
1619
  helperText,
@@ -1794,7 +1625,7 @@ var TextareaInput = react$1.forwardRef(
1794
1625
  id,
1795
1626
  ...rest
1796
1627
  }, ref) => {
1797
- const autoId = react$1.useId();
1628
+ const autoId = react.useId();
1798
1629
  const inputId = id ?? autoId;
1799
1630
  return /* @__PURE__ */ jsxRuntime.jsxs(Root5, { $fullWidth: fullWidth, children: [
1800
1631
  label && /* @__PURE__ */ jsxRuntime.jsx(Label, { htmlFor: inputId, error, size, children: label }),
@@ -3572,7 +3403,7 @@ var EmptyMessage = styles.styled("p")(({ theme }) => ({
3572
3403
  fontSize: "0.875rem",
3573
3404
  color: theme.palette.text.secondary
3574
3405
  }));
3575
- var PhoneInput = react$1.forwardRef(
3406
+ var PhoneInput = react.forwardRef(
3576
3407
  ({
3577
3408
  value,
3578
3409
  defaultValue = "",
@@ -3594,30 +3425,30 @@ var PhoneInput = react$1.forwardRef(
3594
3425
  countrySearchAriaLabel = "Szukaj kraju",
3595
3426
  digitsLabel = "cyfr"
3596
3427
  }, ref) => {
3597
- const autoId = react$1.useId();
3428
+ const autoId = react.useId();
3598
3429
  const inputId = id ?? autoId;
3599
3430
  const listboxId = `${inputId}-listbox`;
3600
- const initialCountry = react$1.useMemo(
3431
+ const initialCountry = react.useMemo(
3601
3432
  () => COUNTRIES.find((c) => c.flagCode === defaultCountry) ?? DEFAULT_COUNTRY,
3602
3433
  [defaultCountry]
3603
3434
  );
3604
- const [selectedCountry, setSelectedCountry] = react$1.useState(initialCountry);
3605
- const [isOpen, setIsOpen] = react$1.useState(false);
3606
- const [searchQuery, setSearchQuery] = react$1.useState("");
3607
- const [focused, setFocused] = react$1.useState(false);
3435
+ const [selectedCountry, setSelectedCountry] = react.useState(initialCountry);
3436
+ const [isOpen, setIsOpen] = react.useState(false);
3437
+ const [searchQuery, setSearchQuery] = react.useState("");
3438
+ const [focused, setFocused] = react.useState(false);
3608
3439
  const isControlled = value !== void 0;
3609
- const [internalValue, setInternalValue] = react$1.useState(defaultValue);
3440
+ const [internalValue, setInternalValue] = react.useState(defaultValue);
3610
3441
  const phoneValue = isControlled ? value : internalValue;
3611
- const rootRef = react$1.useRef(null);
3612
- const searchRef = react$1.useRef(null);
3613
- const filteredCountries = react$1.useMemo(() => {
3442
+ const rootRef = react.useRef(null);
3443
+ const searchRef = react.useRef(null);
3444
+ const filteredCountries = react.useMemo(() => {
3614
3445
  const q = searchQuery.toLowerCase().trim();
3615
3446
  if (!q) return COUNTRIES;
3616
3447
  return COUNTRIES.filter(
3617
3448
  (c) => c.country.toLowerCase().includes(q) || c.flagCode.toLowerCase().includes(q) || c.dialCode.includes(q)
3618
3449
  );
3619
3450
  }, [searchQuery]);
3620
- const close = react$1.useCallback(() => {
3451
+ const close = react.useCallback(() => {
3621
3452
  setIsOpen(false);
3622
3453
  setSearchQuery("");
3623
3454
  }, []);
@@ -3649,7 +3480,7 @@ var PhoneInput = react$1.forwardRef(
3649
3480
  if (e.ctrlKey || e.metaKey || e.altKey || e.key.length > 1) return;
3650
3481
  if (!/^\d$/.test(e.key)) e.preventDefault();
3651
3482
  };
3652
- react$1.useEffect(() => {
3483
+ react.useEffect(() => {
3653
3484
  if (!isOpen) return;
3654
3485
  const handler = (e) => {
3655
3486
  if (rootRef.current && !rootRef.current.contains(e.target)) close();
@@ -3753,7 +3584,7 @@ var PhoneInput = react$1.forwardRef(
3753
3584
  }
3754
3585
  );
3755
3586
  PhoneInput.displayName = "PhoneInput";
3756
- var TextInput = react$1.forwardRef(
3587
+ var TextInput = react.forwardRef(
3757
3588
  ({ type = "text", ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(BaseInput, { ref, type, ...rest })
3758
3589
  );
3759
3590
  TextInput.displayName = "TextInput";
@@ -3844,7 +3675,7 @@ var LabelText2 = styles.styled("span")(
3844
3675
  fontFamily: theme.typography.fontFamily
3845
3676
  })
3846
3677
  );
3847
- var SwitchInput = react$1.forwardRef(
3678
+ var SwitchInput = react.forwardRef(
3848
3679
  ({
3849
3680
  label,
3850
3681
  helperText,
@@ -3856,7 +3687,7 @@ var SwitchInput = react$1.forwardRef(
3856
3687
  id,
3857
3688
  ...rest
3858
3689
  }, ref) => {
3859
- const autoId = react$1.useId();
3690
+ const autoId = react.useId();
3860
3691
  const inputId = id ?? autoId;
3861
3692
  return /* @__PURE__ */ jsxRuntime.jsxs(Root7, { $disabled: disabled, children: [
3862
3693
  /* @__PURE__ */ jsxRuntime.jsxs(Row2, { htmlFor: inputId, $placement: labelPlacement, children: [
@@ -3960,7 +3791,7 @@ function pct(value, min, max) {
3960
3791
  function clamp(v, min, max) {
3961
3792
  return Math.min(max, Math.max(min, v));
3962
3793
  }
3963
- var RangeSlider = react$1.forwardRef(
3794
+ var RangeSlider = react.forwardRef(
3964
3795
  ({
3965
3796
  min = 0,
3966
3797
  max = 100,
@@ -3977,9 +3808,9 @@ var RangeSlider = react$1.forwardRef(
3977
3808
  id,
3978
3809
  ...props
3979
3810
  }, ref) => {
3980
- const autoId = react$1.useId();
3811
+ const autoId = react.useId();
3981
3812
  const inputId = id ?? autoId;
3982
- const getInitial = react$1.useCallback(() => {
3813
+ const getInitial = react.useCallback(() => {
3983
3814
  if (range) {
3984
3815
  const dv2 = defaultValue ?? controlledValue;
3985
3816
  return dv2 ?? [min, max];
@@ -3987,7 +3818,7 @@ var RangeSlider = react$1.forwardRef(
3987
3818
  const dv = defaultValue ?? controlledValue;
3988
3819
  return [dv ?? min, max];
3989
3820
  }, [range, defaultValue, controlledValue, min, max]);
3990
- const [internal, setInternal] = react$1.useState(getInitial);
3821
+ const [internal, setInternal] = react.useState(getInitial);
3991
3822
  const [lo, hi] = controlledValue !== void 0 ? range ? controlledValue : [controlledValue, max] : internal;
3992
3823
  const emit = (next) => {
3993
3824
  setInternal(next);
@@ -4361,135 +4192,27 @@ var ActionBtn = styles.styled("button")(({ theme, $primary }) => ({
4361
4192
  "&:focus-visible": { outline: `2px solid ${theme.palette.primary.main}`, outlineOffset: "1px" }
4362
4193
  }));
4363
4194
  function IconCalendar() {
4364
- return /* @__PURE__ */ jsxRuntime.jsxs(
4365
- "svg",
4366
- {
4367
- width: "16",
4368
- height: "16",
4369
- viewBox: "0 0 24 24",
4370
- fill: "none",
4371
- stroke: "currentColor",
4372
- strokeWidth: 1.75,
4373
- strokeLinecap: "round",
4374
- strokeLinejoin: "round",
4375
- "aria-hidden": "true",
4376
- children: [
4377
- /* @__PURE__ */ jsxRuntime.jsx("rect", { x: "3", y: "4", width: "18", height: "18", rx: "2" }),
4378
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", y1: "2", x2: "16", y2: "6" }),
4379
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "8", y1: "2", x2: "8", y2: "6" }),
4380
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "3", y1: "10", x2: "21", y2: "10" })
4381
- ]
4382
- }
4383
- );
4195
+ return /* @__PURE__ */ jsxRuntime.jsx(CalendarMonthIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16 } });
4384
4196
  }
4385
4197
  function IconClock() {
4386
- return /* @__PURE__ */ jsxRuntime.jsxs(
4387
- "svg",
4388
- {
4389
- width: "16",
4390
- height: "16",
4391
- viewBox: "0 0 24 24",
4392
- fill: "none",
4393
- stroke: "currentColor",
4394
- strokeWidth: 1.75,
4395
- strokeLinecap: "round",
4396
- strokeLinejoin: "round",
4397
- "aria-hidden": "true",
4398
- children: [
4399
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
4400
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "12 6 12 12 16 14" })
4401
- ]
4402
- }
4403
- );
4198
+ return /* @__PURE__ */ jsxRuntime.jsx(AccessTimeIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16 } });
4404
4199
  }
4405
4200
  function IconChevronLeft() {
4406
- return /* @__PURE__ */ jsxRuntime.jsx(
4407
- "svg",
4408
- {
4409
- width: "16",
4410
- height: "16",
4411
- viewBox: "0 0 24 24",
4412
- fill: "none",
4413
- stroke: "currentColor",
4414
- strokeWidth: 2,
4415
- strokeLinecap: "round",
4416
- strokeLinejoin: "round",
4417
- "aria-hidden": "true",
4418
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 18 9 12 15 6" })
4419
- }
4420
- );
4201
+ return /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16 } });
4421
4202
  }
4422
4203
  function IconChevronRight() {
4423
- return /* @__PURE__ */ jsxRuntime.jsx(
4424
- "svg",
4425
- {
4426
- width: "16",
4427
- height: "16",
4428
- viewBox: "0 0 24 24",
4429
- fill: "none",
4430
- stroke: "currentColor",
4431
- strokeWidth: 2,
4432
- strokeLinecap: "round",
4433
- strokeLinejoin: "round",
4434
- "aria-hidden": "true",
4435
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" })
4436
- }
4437
- );
4204
+ return /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16 } });
4438
4205
  }
4439
4206
  function IconChevronUp() {
4440
- return /* @__PURE__ */ jsxRuntime.jsx(
4441
- "svg",
4442
- {
4443
- width: "12",
4444
- height: "12",
4445
- viewBox: "0 0 24 24",
4446
- fill: "none",
4447
- stroke: "currentColor",
4448
- strokeWidth: 2.5,
4449
- strokeLinecap: "round",
4450
- strokeLinejoin: "round",
4451
- "aria-hidden": "true",
4452
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "18 15 12 9 6 15" })
4453
- }
4454
- );
4207
+ return /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowUpIcon__default.default, { "aria-hidden": "true", style: { fontSize: 12 } });
4455
4208
  }
4456
4209
  function IconChevronDown() {
4457
- return /* @__PURE__ */ jsxRuntime.jsx(
4458
- "svg",
4459
- {
4460
- width: "12",
4461
- height: "12",
4462
- viewBox: "0 0 24 24",
4463
- fill: "none",
4464
- stroke: "currentColor",
4465
- strokeWidth: 2.5,
4466
- strokeLinecap: "round",
4467
- strokeLinejoin: "round",
4468
- "aria-hidden": "true",
4469
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "6 9 12 15 18 9" })
4470
- }
4471
- );
4210
+ return /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowDownIcon__default.default, { "aria-hidden": "true", style: { fontSize: 12 } });
4472
4211
  }
4473
4212
  function IconX() {
4474
- return /* @__PURE__ */ jsxRuntime.jsxs(
4475
- "svg",
4476
- {
4477
- width: "14",
4478
- height: "14",
4479
- viewBox: "0 0 24 24",
4480
- fill: "none",
4481
- stroke: "currentColor",
4482
- strokeWidth: 2,
4483
- strokeLinecap: "round",
4484
- "aria-hidden": "true",
4485
- children: [
4486
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
4487
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
4488
- ]
4489
- }
4490
- );
4213
+ return /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": "true", style: { fontSize: 14 } });
4491
4214
  }
4492
- var DateTimePicker = react$1.forwardRef(
4215
+ var DateTimePicker = react.forwardRef(
4493
4216
  ({
4494
4217
  value,
4495
4218
  defaultValue,
@@ -4506,26 +4229,26 @@ var DateTimePicker = react$1.forwardRef(
4506
4229
  max,
4507
4230
  id
4508
4231
  }, ref) => {
4509
- const autoId = react$1.useId();
4232
+ const autoId = react.useId();
4510
4233
  const inputId = id ?? autoId;
4511
- const rootRef = react$1.useRef(null);
4234
+ const rootRef = react.useRef(null);
4512
4235
  const isControlled = value !== void 0;
4513
- const [internalDate, setInternalDate] = react$1.useState(defaultValue ?? null);
4236
+ const [internalDate, setInternalDate] = react.useState(defaultValue ?? null);
4514
4237
  const selectedDate = isControlled ? value ?? null : internalDate;
4515
- const [open, setOpen] = react$1.useState(false);
4238
+ const [open, setOpen] = react.useState(false);
4516
4239
  const today = /* @__PURE__ */ new Date();
4517
- const [viewYear, setViewYear] = react$1.useState(selectedDate?.getFullYear() ?? today.getFullYear());
4518
- const [viewMonth, setViewMonth] = react$1.useState(selectedDate?.getMonth() ?? today.getMonth());
4519
- const [hours, setHours] = react$1.useState(selectedDate?.getHours() ?? 12);
4520
- const [minutes, setMinutes] = react$1.useState(selectedDate?.getMinutes() ?? 0);
4521
- const [hourInput, setHourInput] = react$1.useState(
4240
+ const [viewYear, setViewYear] = react.useState(selectedDate?.getFullYear() ?? today.getFullYear());
4241
+ const [viewMonth, setViewMonth] = react.useState(selectedDate?.getMonth() ?? today.getMonth());
4242
+ const [hours, setHours] = react.useState(selectedDate?.getHours() ?? 12);
4243
+ const [minutes, setMinutes] = react.useState(selectedDate?.getMinutes() ?? 0);
4244
+ const [hourInput, setHourInput] = react.useState(
4522
4245
  String(selectedDate?.getHours() ?? 12).padStart(2, "0")
4523
4246
  );
4524
- const [minInput, setMinInput] = react$1.useState(
4247
+ const [minInput, setMinInput] = react.useState(
4525
4248
  String(selectedDate?.getMinutes() ?? 0).padStart(2, "0")
4526
4249
  );
4527
- const [draftDate, setDraftDate] = react$1.useState(null);
4528
- const calendarDays = react$1.useMemo(
4250
+ const [draftDate, setDraftDate] = react.useState(null);
4251
+ const calendarDays = react.useMemo(
4529
4252
  () => buildCalendarDays(viewYear, viewMonth),
4530
4253
  [viewYear, viewMonth]
4531
4254
  );
@@ -4544,7 +4267,7 @@ var DateTimePicker = react$1.forwardRef(
4544
4267
  }
4545
4268
  setOpen(true);
4546
4269
  };
4547
- const commit = react$1.useCallback(
4270
+ const commit = react.useCallback(
4548
4271
  (d) => {
4549
4272
  if (!isControlled) setInternalDate(d);
4550
4273
  onChange?.(d);
@@ -4619,7 +4342,7 @@ var DateTimePicker = react$1.forwardRef(
4619
4342
  setMinutes(val);
4620
4343
  setMinInput(String(val).padStart(2, "0"));
4621
4344
  };
4622
- react$1.useEffect(() => {
4345
+ react.useEffect(() => {
4623
4346
  if (!open) return;
4624
4347
  const handler = (e) => {
4625
4348
  if (rootRef.current && !rootRef.current.contains(e.target)) setOpen(false);
@@ -4627,7 +4350,7 @@ var DateTimePicker = react$1.forwardRef(
4627
4350
  document.addEventListener("mousedown", handler);
4628
4351
  return () => document.removeEventListener("mousedown", handler);
4629
4352
  }, [open]);
4630
- react$1.useEffect(() => {
4353
+ react.useEffect(() => {
4631
4354
  if (!open) return;
4632
4355
  const handler = (e) => {
4633
4356
  if (e.key === "Escape") setOpen(false);
@@ -4956,7 +4679,7 @@ var StyledCard = styles.styled("div", {
4956
4679
  borderRadius: roundedMap[$rounded],
4957
4680
  ...getVariantStyles($variant, theme)
4958
4681
  }));
4959
- var Card = react$1.forwardRef(
4682
+ var Card = react.forwardRef(
4960
4683
  ({ variant = "default", padding = "md", rounded = "lg", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledCard, { ref, $variant: variant, $padding: padding, $rounded: rounded, ...props })
4961
4684
  );
4962
4685
  Card.displayName = "Card";
@@ -5145,7 +4868,7 @@ function SectionHeading({
5145
4868
  ] });
5146
4869
  }
5147
4870
  var sectionHeadingAligns = ["center", "left", "right"];
5148
- var shimmer = react.keyframes`
4871
+ var shimmer = react$1.keyframes`
5149
4872
  0% { background-position: -200% 0; }
5150
4873
  100% { background-position: 200% 0; }
5151
4874
  `;
@@ -5203,10 +4926,10 @@ var SIZE_MAP = {
5203
4926
  lg: "2rem",
5204
4927
  xl: "3rem"
5205
4928
  };
5206
- var spin2 = react.keyframes`to { transform: rotate(360deg); }`;
5207
- var fade = react.keyframes`0%,100%{opacity:.15} 50%{opacity:1}`;
5208
- var scalePulse = react.keyframes`0%,100%{transform:scale(0.6);opacity:.4} 50%{transform:scale(1);opacity:1}`;
5209
- var barAnim = react.keyframes`0%,100%{transform:scaleY(.4);opacity:.5} 50%{transform:scaleY(1);opacity:1}`;
4929
+ var spin = react$1.keyframes`to { transform: rotate(360deg); }`;
4930
+ var fade = react$1.keyframes`0%,100%{opacity:.15} 50%{opacity:1}`;
4931
+ var scalePulse = react$1.keyframes`0%,100%{transform:scale(0.6);opacity:.4} 50%{transform:scale(1);opacity:1}`;
4932
+ var barAnim = react$1.keyframes`0%,100%{transform:scaleY(.4);opacity:.5} 50%{transform:scaleY(1);opacity:1}`;
5210
4933
  var Root10 = styles.styled("span", {
5211
4934
  shouldForwardProp: (p) => !["$size", "$color"].includes(p)
5212
4935
  })(({ theme, $size, $color }) => {
@@ -5226,7 +4949,7 @@ var Root10 = styles.styled("span", {
5226
4949
  flexShrink: 0
5227
4950
  };
5228
4951
  });
5229
- var RingSvg = styles.styled("svg")({ animation: `${spin2} 700ms linear infinite` });
4952
+ var RingSvg = styles.styled("svg")({ animation: `${spin} 700ms linear infinite` });
5230
4953
  function Ring() {
5231
4954
  return /* @__PURE__ */ jsxRuntime.jsxs(RingSvg, { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
5232
4955
  /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10", stroke: "currentColor", strokeWidth: "3", strokeOpacity: "0.25" }),
@@ -5307,7 +5030,7 @@ var HEIGHT_MAP = {
5307
5030
  md: "0.75rem",
5308
5031
  lg: "1.25rem"
5309
5032
  };
5310
- var stripeAnim = react.keyframes`from{background-position:1rem 0}to{background-position:0 0}`;
5033
+ var stripeAnim = react$1.keyframes`from{background-position:1rem 0}to{background-position:0 0}`;
5311
5034
  function getFillColor(variant, theme) {
5312
5035
  switch (variant) {
5313
5036
  case "success":
@@ -5465,7 +5188,7 @@ function ProgressCircle({
5465
5188
  children,
5466
5189
  ...props
5467
5190
  }) {
5468
- const gradientId = react$1.useId().replace(/:/g, "");
5191
+ const gradientId = react.useId().replace(/:/g, "");
5469
5192
  const px = PX_MAP[size];
5470
5193
  const stroke = thickness ?? Math.max(3, px * 0.09);
5471
5194
  const r = (px - stroke) / 2;
@@ -5598,7 +5321,7 @@ var StyledBox = styles.styled("div")(
5598
5321
  return css;
5599
5322
  }
5600
5323
  );
5601
- var Box2 = react$1.forwardRef(
5324
+ var Box2 = react.forwardRef(
5602
5325
  ({ direction = "row", wrap = "nowrap", gap = 0, cols, rows, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5603
5326
  StyledBox,
5604
5327
  {
@@ -5635,7 +5358,7 @@ var StyledContainer = styles.styled("div")(({ theme, $maxWidth }) => ({
5635
5358
  paddingRight: "2rem"
5636
5359
  }
5637
5360
  }));
5638
- var Container = react$1.forwardRef(
5361
+ var Container = react.forwardRef(
5639
5362
  ({ maxWidth = "xl", children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledContainer, { ref, $maxWidth: maxWidth, ...rest, children })
5640
5363
  );
5641
5364
  Container.displayName = "Container";
@@ -5647,8 +5370,11 @@ var StyledSection = styles.styled("section")(({ theme }) => ({
5647
5370
  paddingBottom: "3rem"
5648
5371
  }
5649
5372
  }));
5650
- var Section = react$1.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledSection, { ref, ...rest, children }));
5373
+ var Section = react.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledSection, { ref, ...rest, children }));
5651
5374
  Section.displayName = "Section";
5375
+ var StyledMain = styles.styled("main")({});
5376
+ var Main = react.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledMain, { ref, ...rest, children }));
5377
+ Main.displayName = "Main";
5652
5378
  var getTypographyStyles = (theme) => ({
5653
5379
  fontFamily: theme.typography.fontFamily,
5654
5380
  "& h1": { fontSize: "2.25rem", fontWeight: 500, letterSpacing: "-0.025em" },
@@ -5804,16 +5530,11 @@ var getHeaderSpacingStyles = () => ({
5804
5530
  var spacingStyles = {
5805
5531
  "& > * + *": { marginTop: "1.5rem" }
5806
5532
  };
5807
- var StyledMain = styles.styled("main")(({ theme }) => ({
5808
- ...getTypographyStyles(theme)
5809
- }));
5810
- var Main = react$1.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledMain, { ref, ...rest, children }));
5811
- Main.displayName = "Main";
5812
5533
  var StyledProse = styles.styled("div")(({ theme }) => ({
5813
5534
  ...getTypographyStyles(theme),
5814
5535
  ...spacingStyles
5815
5536
  }));
5816
- var Prose = react$1.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledProse, { ref, ...rest, children }));
5537
+ var Prose = react.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledProse, { ref, ...rest, children }));
5817
5538
  Prose.displayName = "Prose";
5818
5539
  var StyledArticle = styles.styled("article")(({ theme }) => ({
5819
5540
  maxWidth: "56rem",
@@ -5823,7 +5544,7 @@ var StyledArticle = styles.styled("article")(({ theme }) => ({
5823
5544
  ...getHeaderSpacingStyles(),
5824
5545
  ...spacingStyles
5825
5546
  }));
5826
- var Article = react$1.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledArticle, { ref, ...rest, children }));
5547
+ var Article = react.forwardRef(({ children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsx(StyledArticle, { ref, ...rest, children }));
5827
5548
  Article.displayName = "Article";
5828
5549
  var sizeMap4 = {
5829
5550
  sm: "1rem",
@@ -5861,7 +5582,7 @@ var Meta = styles.styled("span")(({ theme }) => ({
5861
5582
  fontSize: "0.875rem",
5862
5583
  color: theme.palette.text.secondary
5863
5584
  }));
5864
- var Rating = react$1.forwardRef(
5585
+ var Rating = react.forwardRef(
5865
5586
  ({ value, max = 5, readonly = true, size = "md", label, count, onChange, ...props }, ref) => {
5866
5587
  const roundedValue = Math.round(value);
5867
5588
  const meta = label ?? (count !== void 0 ? `(${count})` : void 0);
@@ -5917,7 +5638,7 @@ var Root13 = styles.styled("div")({
5917
5638
  objectFit: "cover"
5918
5639
  }
5919
5640
  });
5920
- var AspectRatio = react$1.forwardRef(
5641
+ var AspectRatio = react.forwardRef(
5921
5642
  ({ ratio = "16/9", children, style, ...props }, ref) => {
5922
5643
  const numericRatio = typeof ratio === "string" ? PRESET_MAP[ratio] ?? 16 / 9 : ratio;
5923
5644
  const paddingBottom = `${1 / numericRatio * 100}%`;
@@ -5999,7 +5720,7 @@ function formatPrice(amount, currency, locale) {
5999
5720
  function calcDiscount(price, original) {
6000
5721
  return Math.round((1 - price / original) * 100);
6001
5722
  }
6002
- var Price = react$1.forwardRef(
5723
+ var Price = react.forwardRef(
6003
5724
  ({
6004
5725
  price,
6005
5726
  originalPrice,
@@ -6091,7 +5812,7 @@ var Footer = styles.styled("div")({
6091
5812
  marginTop: "auto",
6092
5813
  paddingTop: "1rem"
6093
5814
  });
6094
- var ProductCard = react$1.forwardRef(
5815
+ var ProductCard = react.forwardRef(
6095
5816
  ({
6096
5817
  name,
6097
5818
  imageUrl,
@@ -6159,28 +5880,7 @@ var Overlay = styles.styled("div")({
6159
5880
  background: "linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 50%)",
6160
5881
  pointerEvents: "none"
6161
5882
  });
6162
- var FileTextIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
6163
- "svg",
6164
- {
6165
- width: "32",
6166
- height: "32",
6167
- viewBox: "0 0 24 24",
6168
- fill: "none",
6169
- stroke: "currentColor",
6170
- strokeWidth: "1.5",
6171
- strokeLinecap: "round",
6172
- strokeLinejoin: "round",
6173
- "aria-hidden": "true",
6174
- style: { opacity: 0.3 },
6175
- children: [
6176
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
6177
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "14 2 14 8 20 8" }),
6178
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13" }),
6179
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17" }),
6180
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "10 9 9 9 8 9" })
6181
- ]
6182
- }
6183
- );
5883
+ var FileTextIcon = () => /* @__PURE__ */ jsxRuntime.jsx(ArticleIcon__default.default, { "aria-hidden": "true", style: { fontSize: 32, opacity: 0.3 } });
6184
5884
  function toAspectRatioCss(ratio) {
6185
5885
  if (typeof ratio === "number") return String(ratio);
6186
5886
  return ratio.replace("/", " / ");
@@ -6193,7 +5893,7 @@ var PostCardImage = ({
6193
5893
  className,
6194
5894
  style
6195
5895
  }) => {
6196
- const [imgError, setImgError] = react$1.useState(false);
5896
+ const [imgError, setImgError] = react.useState(false);
6197
5897
  const showPlaceholder = !src || imgError;
6198
5898
  return /* @__PURE__ */ jsxRuntime.jsxs(ImageWrapper, { $ar: toAspectRatioCss(aspectRatio), className, style, children: [
6199
5899
  showPlaceholder ? /* @__PURE__ */ jsxRuntime.jsx(Placeholder2, { children: /* @__PURE__ */ jsxRuntime.jsx(FileTextIcon, {}) }) : /* @__PURE__ */ jsxRuntime.jsx(Img, { src, alt, onError: () => setImgError(true) }),
@@ -6356,7 +6056,7 @@ var FeaturedImageWrapper = styles.styled("div")({
6356
6056
  aspectRatio: "auto"
6357
6057
  }
6358
6058
  });
6359
- var PostCard = react$1.forwardRef(
6059
+ var PostCard = react.forwardRef(
6360
6060
  ({
6361
6061
  title,
6362
6062
  excerpt,
@@ -6501,50 +6201,13 @@ var CtaLink = styles.styled("a", {
6501
6201
  var CtaWrapper = styles.styled("div")({
6502
6202
  marginTop: "1.5rem"
6503
6203
  });
6504
- function CheckIcon() {
6505
- return /* @__PURE__ */ jsxRuntime.jsxs(
6506
- "svg",
6507
- {
6508
- width: "16",
6509
- height: "16",
6510
- viewBox: "0 0 16 16",
6511
- fill: "none",
6512
- "aria-hidden": "true",
6513
- style: { flexShrink: 0 },
6514
- children: [
6515
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8", cy: "8", r: "7", fill: "currentColor", fillOpacity: "0.15" }),
6516
- /* @__PURE__ */ jsxRuntime.jsx(
6517
- "path",
6518
- {
6519
- d: "M5 8l2 2 4-4",
6520
- stroke: "currentColor",
6521
- strokeWidth: "1.5",
6522
- strokeLinecap: "round",
6523
- strokeLinejoin: "round"
6524
- }
6525
- )
6526
- ]
6527
- }
6528
- );
6204
+ function CheckIcon3() {
6205
+ return /* @__PURE__ */ jsxRuntime.jsx(CheckCircleOutlinedIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16, flexShrink: 0 } });
6529
6206
  }
6530
6207
  function XIcon3() {
6531
- return /* @__PURE__ */ jsxRuntime.jsxs(
6532
- "svg",
6533
- {
6534
- width: "16",
6535
- height: "16",
6536
- viewBox: "0 0 16 16",
6537
- fill: "none",
6538
- "aria-hidden": "true",
6539
- style: { flexShrink: 0 },
6540
- children: [
6541
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "8", cy: "8", r: "7", fill: "currentColor", fillOpacity: "0.10" }),
6542
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 6l4 4M10 6l-4 4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
6543
- ]
6544
- }
6545
- );
6208
+ return /* @__PURE__ */ jsxRuntime.jsx(HighlightOffIcon__default.default, { "aria-hidden": "true", style: { fontSize: 16, flexShrink: 0 } });
6546
6209
  }
6547
- var PricingCard = react$1.forwardRef(
6210
+ var PricingCard = react.forwardRef(
6548
6211
  ({
6549
6212
  name,
6550
6213
  price,
@@ -6579,7 +6242,7 @@ var PricingCard = react$1.forwardRef(
6579
6242
  /* @__PURE__ */ jsxRuntime.jsx(FeatureList, { children: features.map((feature, i) => {
6580
6243
  const included = feature.included !== false;
6581
6244
  return /* @__PURE__ */ jsxRuntime.jsxs(FeatureItem, { $included: included, children: [
6582
- included ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, {}) : /* @__PURE__ */ jsxRuntime.jsx(XIcon3, {}),
6245
+ included ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon3, {}) : /* @__PURE__ */ jsxRuntime.jsx(XIcon3, {}),
6583
6246
  feature.text
6584
6247
  ] }, i);
6585
6248
  }) })
@@ -6618,7 +6281,7 @@ var Description3 = styles.styled("p")(({ theme }) => ({
6618
6281
  color: theme.palette.text.secondary,
6619
6282
  lineHeight: 1.5
6620
6283
  }));
6621
- var StatCard = react$1.forwardRef(
6284
+ var StatCard = react.forwardRef(
6622
6285
  ({ stat, cardVariant = "default", align = "center", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Root17, { ref, variant: cardVariant, padding: "lg", rounded: "lg", $align: align, ...props, children: [
6623
6286
  /* @__PURE__ */ jsxRuntime.jsx(Value, { children: stat.value }),
6624
6287
  /* @__PURE__ */ jsxRuntime.jsx(Label3, { children: stat.label }),
@@ -6680,7 +6343,7 @@ var AuthorRole = styles.styled("p")(({ theme }) => ({
6680
6343
  fontSize: "0.8125rem",
6681
6344
  color: theme.palette.text.secondary
6682
6345
  }));
6683
- var TestimonialCard = react$1.forwardRef(
6346
+ var TestimonialCard = react.forwardRef(
6684
6347
  ({ testimonial, cardVariant = "default", ...props }, ref) => {
6685
6348
  const initials = testimonial.authorInitials ?? testimonial.authorName.split(" ").filter(Boolean).slice(0, 2).map((p) => p[0]).join("").toUpperCase();
6686
6349
  return /* @__PURE__ */ jsxRuntime.jsxs(Root18, { ref, variant: cardVariant, padding: "lg", rounded: "lg", ...props, children: [
@@ -6740,7 +6403,7 @@ function getInitials(member) {
6740
6403
  }
6741
6404
  return member.name.split(" ").filter(Boolean).slice(0, 2).map((part) => part[0]).join("").toUpperCase();
6742
6405
  }
6743
- var TeamMemberCard = react$1.forwardRef(
6406
+ var TeamMemberCard = react.forwardRef(
6744
6407
  ({ member, cardVariant = "default", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Root19, { ref, variant: cardVariant, padding: "lg", rounded: "lg", ...props, children: [
6745
6408
  member.avatarUrl ? /* @__PURE__ */ jsxRuntime.jsx(AvatarImage2, { src: member.avatarUrl, alt: member.avatarAlt ?? member.name }) : /* @__PURE__ */ jsxRuntime.jsx(Avatar, { initials: getInitials(member), size: "xl", color: member.avatarColor ?? "primary" }),
6746
6409
  /* @__PURE__ */ jsxRuntime.jsxs(Content, { children: [
@@ -6861,7 +6524,7 @@ var ValueCell = styles.styled("td", {
6861
6524
  fontWeight: $highlight ? 700 : 400,
6862
6525
  backgroundColor: $highlight ? theme.palette.mode === "dark" ? "rgba(99,102,241,0.08)" : "rgba(99,102,241,0.06)" : "transparent"
6863
6526
  }));
6864
- var BoolIcon = ({ value }) => /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-label": value ? "Tak" : "Nie", style: { fontSize: "1.125rem" }, children: value ? "\u2713" : "\u2717" });
6527
+ var BoolIcon = ({ value }) => /* @__PURE__ */ jsxRuntime.jsx("span", { "aria-label": value ? "Tak" : "Nie", style: { display: "inline-flex", fontSize: "1.125rem" }, children: value ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon__default.default, {}) : /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, {}) });
6865
6528
  function formatValue(v) {
6866
6529
  if (typeof v === "boolean") return /* @__PURE__ */ jsxRuntime.jsx(BoolIcon, { value: v });
6867
6530
  return String(v);
@@ -6922,7 +6585,7 @@ function CompareTool({
6922
6585
  }) })
6923
6586
  ] }) });
6924
6587
  }
6925
- var spin3 = styles.keyframes`to { transform: rotate(360deg); }`;
6588
+ var spin2 = styles.keyframes`to { transform: rotate(360deg); }`;
6926
6589
  var Root20 = styles.styled("div")({
6927
6590
  display: "flex",
6928
6591
  flexDirection: "column",
@@ -6996,7 +6659,7 @@ var Spinner4 = styles.styled("span")({
6996
6659
  border: "2px solid rgba(255,255,255,0.3)",
6997
6660
  borderTopColor: "#fff",
6998
6661
  borderRadius: "50%",
6999
- animation: `${spin3} 600ms linear infinite`,
6662
+ animation: `${spin2} 600ms linear infinite`,
7000
6663
  verticalAlign: "middle"
7001
6664
  });
7002
6665
  var Message = styles.styled("p", {
@@ -7059,7 +6722,7 @@ function CouponInput({
7059
6722
  successMessage,
7060
6723
  className
7061
6724
  }) {
7062
- const id = react$1.useId();
6725
+ const id = react.useId();
7063
6726
  const errorId = `${id}-error`;
7064
6727
  const successId = `${id}-success`;
7065
6728
  const isDisabled = disabled || loading;
@@ -7147,9 +6810,9 @@ var ThumbnailButton = styles.styled("button")(({ theme, $active }) => ({
7147
6810
  var ThumbnailImage = styles.styled("img")({
7148
6811
  objectFit: "cover"
7149
6812
  });
7150
- var ProductGallery = react$1.forwardRef(
6813
+ var ProductGallery = react.forwardRef(
7151
6814
  ({ images, selectedIndex, onSelect, ...props }, ref) => {
7152
- const [internalIndex, setInternalIndex] = react$1.useState(0);
6815
+ const [internalIndex, setInternalIndex] = react.useState(0);
7153
6816
  const activeIndex = selectedIndex ?? internalIndex;
7154
6817
  const activeImage = images[activeIndex] ?? images[0];
7155
6818
  const handleSelect = (index) => {
@@ -7181,7 +6844,8 @@ var Root22 = styles.styled("div")(({ theme, $variant }) => ({
7181
6844
  display: "flex",
7182
6845
  alignItems: "center",
7183
6846
  justifyContent: "center",
7184
- gap: "1rem",
6847
+ flexWrap: "wrap",
6848
+ gap: "0 1rem",
7185
6849
  width: "100%",
7186
6850
  padding: "0.75rem 1rem",
7187
6851
  fontFamily: theme.typography.fontFamily,
@@ -7195,7 +6859,7 @@ var Link = styles.styled("a")(({ theme }) => ({
7195
6859
  textDecoration: "underline",
7196
6860
  textUnderlineOffset: "0.2em"
7197
6861
  }));
7198
- var PromoStrip = react$1.forwardRef(
6862
+ var PromoStrip = react.forwardRef(
7199
6863
  ({ message, actionLabel, href, variant = "info", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Root22, { ref, $variant: variant, ...props, children: [
7200
6864
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: message }),
7201
6865
  actionLabel && href && /* @__PURE__ */ jsxRuntime.jsx(Link, { href, children: actionLabel })
@@ -7235,7 +6899,7 @@ var Value2 = styles.styled("span")(({ theme }) => ({
7235
6899
  borderRight: `1px solid ${theme.palette.divider}`,
7236
6900
  fontWeight: 600
7237
6901
  }));
7238
- var QuantitySelector = react$1.forwardRef(
6902
+ var QuantitySelector = react.forwardRef(
7239
6903
  ({ value, min = 1, max = 99, step = 1, disabled = false, onChange, ...props }, ref) => {
7240
6904
  const decrease = Math.max(min, value - step);
7241
6905
  const increase = Math.min(max, value + step);
@@ -7323,7 +6987,7 @@ var Dot2 = styles.styled("span", {
7323
6987
  flexShrink: 0
7324
6988
  };
7325
6989
  });
7326
- var StockStatus = react$1.forwardRef(
6990
+ var StockStatus = react.forwardRef(
7327
6991
  ({ status, count, label, showIcon = true, size = "md", ...props }, ref) => {
7328
6992
  const color = COLOR_MAP[status];
7329
6993
  const text = label ?? getDefaultLabel(status, count);
@@ -7366,7 +7030,7 @@ var Trigger2 = styles.styled("button")(({ theme }) => ({
7366
7030
  borderRadius: "2px"
7367
7031
  }
7368
7032
  }));
7369
- var ChevronIcon2 = styles.styled("svg", {
7033
+ var ChevronIcon2 = styles.styled(ExpandMoreIcon__default.default, {
7370
7034
  shouldForwardProp: (prop) => prop !== "$open"
7371
7035
  })(({ $open }) => ({
7372
7036
  width: "1.25rem",
@@ -7386,24 +7050,13 @@ var PanelInner = styles.styled("p")(({ theme }) => ({
7386
7050
  fontSize: "0.9375rem",
7387
7051
  lineHeight: 1.7
7388
7052
  }));
7389
- var FaqItem = react$1.forwardRef(
7053
+ var FaqItem = react.forwardRef(
7390
7054
  ({ item, defaultOpen = false, ...props }, ref) => {
7391
- const [open, setOpen] = react$1.useState(defaultOpen);
7055
+ const [open, setOpen] = react.useState(defaultOpen);
7392
7056
  return /* @__PURE__ */ jsxRuntime.jsxs(Root25, { ref, ...props, children: [
7393
7057
  /* @__PURE__ */ jsxRuntime.jsxs(Trigger2, { type: "button", "aria-expanded": open, onClick: () => setOpen((prev) => !prev), children: [
7394
7058
  item.question,
7395
- /* @__PURE__ */ jsxRuntime.jsx(
7396
- ChevronIcon2,
7397
- {
7398
- $open: open,
7399
- viewBox: "0 0 24 24",
7400
- fill: "none",
7401
- stroke: "currentColor",
7402
- strokeWidth: 2,
7403
- "aria-hidden": "true",
7404
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19 9l-7 7-7-7" })
7405
- }
7406
- )
7059
+ /* @__PURE__ */ jsxRuntime.jsx(ChevronIcon2, { $open: open, "aria-hidden": "true" })
7407
7060
  ] }),
7408
7061
  open && /* @__PURE__ */ jsxRuntime.jsx(Panel, { role: "region", children: /* @__PURE__ */ jsxRuntime.jsx(PanelInner, { children: item.answer }) })
7409
7062
  ] });
@@ -7455,7 +7108,7 @@ var Description4 = styles.styled("p")(({ theme }) => ({
7455
7108
  color: theme.palette.text.secondary,
7456
7109
  lineHeight: 1.6
7457
7110
  }));
7458
- var FeatureItem2 = react$1.forwardRef(
7111
+ var FeatureItem2 = react.forwardRef(
7459
7112
  ({ feature, cardVariant = "default", layout = "card", ...props }, ref) => {
7460
7113
  if (layout === "icon-left") {
7461
7114
  return /* @__PURE__ */ jsxRuntime.jsxs(IconLeftRoot, { ref, ...props, children: [
@@ -7523,7 +7176,7 @@ var Description5 = styles.styled("p")(({ theme }) => ({
7523
7176
  lineHeight: 1.6,
7524
7177
  maxWidth: "18rem"
7525
7178
  }));
7526
- var ProcessStep = react$1.forwardRef(
7179
+ var ProcessStep = react.forwardRef(
7527
7180
  ({ step, title, description, icon, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(Root26, { ref, ...props, children: [
7528
7181
  /* @__PURE__ */ jsxRuntime.jsx(StepBadge, { "aria-hidden": "true", children: icon ? /* @__PURE__ */ jsxRuntime.jsx(IconWrapper2, { children: icon }) : /* @__PURE__ */ jsxRuntime.jsx(StepNumber, { children: step }) }),
7529
7182
  /* @__PURE__ */ jsxRuntime.jsx(Title3, { children: title }),
@@ -7607,7 +7260,7 @@ function renderLogo(logo, monochrome, logoHeight) {
7607
7260
  }
7608
7261
  );
7609
7262
  }
7610
- var LogoTile = react$1.forwardRef(
7263
+ var LogoTile = react.forwardRef(
7611
7264
  ({ logo, variant = "plain", monochrome = true, logoHeight = 40, ...props }, ref) => {
7612
7265
  const content = renderLogo(logo, monochrome, logoHeight);
7613
7266
  if (logo.href) {
@@ -7742,23 +7395,7 @@ var Description6 = styles.styled("div")(({ theme }) => ({
7742
7395
  }));
7743
7396
  function StatusIcon({ status }) {
7744
7397
  if (status === "error") {
7745
- return /* @__PURE__ */ jsxRuntime.jsxs(
7746
- "svg",
7747
- {
7748
- width: "10",
7749
- height: "10",
7750
- viewBox: "0 0 24 24",
7751
- fill: "none",
7752
- stroke: "currentColor",
7753
- strokeWidth: 3,
7754
- strokeLinecap: "round",
7755
- "aria-hidden": "true",
7756
- children: [
7757
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
7758
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
7759
- ]
7760
- }
7761
- );
7398
+ return /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": "true", style: { fontSize: 10 } });
7762
7399
  }
7763
7400
  return null;
7764
7401
  }
@@ -7780,7 +7417,7 @@ function TimelineItemComponent({
7780
7417
  ] })
7781
7418
  ] });
7782
7419
  }
7783
- var Timeline = react$1.forwardRef(
7420
+ var Timeline = react.forwardRef(
7784
7421
  ({ items, variant = "default", align: _align = "left", ...props }, ref) => {
7785
7422
  const compact = variant === "compact";
7786
7423
  return /* @__PURE__ */ jsxRuntime.jsx(List, { ref, "aria-label": "O\u015B czasu", ...props, children: items.map((item, i) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -7886,23 +7523,23 @@ function Carousel({
7886
7523
  loop = true,
7887
7524
  className
7888
7525
  }) {
7889
- const [index, setIndex] = react$1.useState(0);
7890
- const timerRef = react$1.useRef(null);
7526
+ const [index, setIndex] = react.useState(0);
7527
+ const timerRef = react.useRef(null);
7891
7528
  const count = slides.length;
7892
- const prev = react$1.useCallback(() => {
7529
+ const prev = react.useCallback(() => {
7893
7530
  setIndex((i) => loop ? (i - 1 + count) % count : Math.max(0, i - 1));
7894
7531
  }, [count, loop]);
7895
- const next = react$1.useCallback(() => {
7532
+ const next = react.useCallback(() => {
7896
7533
  setIndex((i) => loop ? (i + 1) % count : Math.min(count - 1, i + 1));
7897
7534
  }, [count, loop]);
7898
- react$1.useEffect(() => {
7535
+ react.useEffect(() => {
7899
7536
  if (!autoPlay) return;
7900
7537
  timerRef.current = setInterval(next, autoPlayInterval);
7901
7538
  return () => {
7902
7539
  if (timerRef.current) clearInterval(timerRef.current);
7903
7540
  };
7904
7541
  }, [autoPlay, autoPlayInterval, next]);
7905
- react$1.useEffect(() => {
7542
+ react.useEffect(() => {
7906
7543
  const handleKey = (e) => {
7907
7544
  if (e.key === "ArrowLeft") prev();
7908
7545
  if (e.key === "ArrowRight") next();
@@ -7931,20 +7568,7 @@ function Carousel({
7931
7568
  "aria-label": "Poprzedni slajd",
7932
7569
  onClick: prev,
7933
7570
  disabled: !loop && index === 0,
7934
- children: /* @__PURE__ */ jsxRuntime.jsx(
7935
- "svg",
7936
- {
7937
- width: "16",
7938
- height: "16",
7939
- viewBox: "0 0 24 24",
7940
- fill: "none",
7941
- stroke: "currentColor",
7942
- strokeWidth: 2.5,
7943
- strokeLinecap: "round",
7944
- strokeLinejoin: "round",
7945
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 18 9 12 15 6" })
7946
- }
7947
- )
7571
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon__default.default, { "aria-hidden": true, style: { fontSize: 16 } })
7948
7572
  }
7949
7573
  ),
7950
7574
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -7954,20 +7578,7 @@ function Carousel({
7954
7578
  "aria-label": "Nast\u0119pny slajd",
7955
7579
  onClick: next,
7956
7580
  disabled: !loop && index === count - 1,
7957
- children: /* @__PURE__ */ jsxRuntime.jsx(
7958
- "svg",
7959
- {
7960
- width: "16",
7961
- height: "16",
7962
- viewBox: "0 0 24 24",
7963
- fill: "none",
7964
- stroke: "currentColor",
7965
- strokeWidth: 2.5,
7966
- strokeLinecap: "round",
7967
- strokeLinejoin: "round",
7968
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" })
7969
- }
7970
- )
7581
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon__default.default, { "aria-hidden": true, style: { fontSize: 16 } })
7971
7582
  }
7972
7583
  )
7973
7584
  ] })
@@ -8049,8 +7660,8 @@ function VideoPlayer({
8049
7660
  }
8050
7661
  ) }) });
8051
7662
  }
8052
- var fadeIn = react.keyframes`from { opacity: 0; } to { opacity: 1; }`;
8053
- var zoomIn = react.keyframes`from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); }`;
7663
+ var fadeIn = react$1.keyframes`from { opacity: 0; } to { opacity: 1; }`;
7664
+ var zoomIn = react$1.keyframes`from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); }`;
8054
7665
  var Grid = styles.styled("div", {
8055
7666
  shouldForwardProp: (prop) => !["$columns", "$gap"].includes(prop)
8056
7667
  })(({ $columns, $gap }) => ({
@@ -8193,19 +7804,19 @@ var Counter = styles.styled("span")({
8193
7804
  pointerEvents: "none"
8194
7805
  });
8195
7806
  function Lightbox({ images, columns = 3, gap = 8, className }) {
8196
- const [activeIndex, setActiveIndex] = react$1.useState(null);
7807
+ const [activeIndex, setActiveIndex] = react.useState(null);
8197
7808
  const isOpen = activeIndex !== null;
8198
7809
  const count = images.length;
8199
- const close = react$1.useCallback(() => setActiveIndex(null), []);
8200
- const prev = react$1.useCallback(
7810
+ const close = react.useCallback(() => setActiveIndex(null), []);
7811
+ const prev = react.useCallback(
8201
7812
  () => setActiveIndex((i) => i === null ? null : (i - 1 + count) % count),
8202
7813
  [count]
8203
7814
  );
8204
- const next = react$1.useCallback(
7815
+ const next = react.useCallback(
8205
7816
  () => setActiveIndex((i) => i === null ? null : (i + 1) % count),
8206
7817
  [count]
8207
7818
  );
8208
- react$1.useEffect(() => {
7819
+ react.useEffect(() => {
8209
7820
  if (!isOpen) return;
8210
7821
  const handler = (e) => {
8211
7822
  if (e.key === "Escape") close();
@@ -8239,22 +7850,7 @@ function Lightbox({ images, columns = 3, gap = 8, className }) {
8239
7850
  " / ",
8240
7851
  count
8241
7852
  ] }),
8242
- /* @__PURE__ */ jsxRuntime.jsx(CloseButton, { "aria-label": "Zamknij", onClick: close, children: /* @__PURE__ */ jsxRuntime.jsxs(
8243
- "svg",
8244
- {
8245
- width: "18",
8246
- height: "18",
8247
- viewBox: "0 0 24 24",
8248
- fill: "none",
8249
- stroke: "currentColor",
8250
- strokeWidth: 2.5,
8251
- strokeLinecap: "round",
8252
- children: [
8253
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
8254
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
8255
- ]
8256
- }
8257
- ) }),
7853
+ /* @__PURE__ */ jsxRuntime.jsx(CloseButton, { "aria-label": "Zamknij", onClick: close, children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": true, style: { fontSize: 18 } }) }),
8258
7854
  /* @__PURE__ */ jsxRuntime.jsx(
8259
7855
  LightboxImage,
8260
7856
  {
@@ -8275,20 +7871,7 @@ function Lightbox({ images, columns = 3, gap = 8, className }) {
8275
7871
  e.stopPropagation();
8276
7872
  prev();
8277
7873
  },
8278
- children: /* @__PURE__ */ jsxRuntime.jsx(
8279
- "svg",
8280
- {
8281
- width: "20",
8282
- height: "20",
8283
- viewBox: "0 0 24 24",
8284
- fill: "none",
8285
- stroke: "currentColor",
8286
- strokeWidth: 2.5,
8287
- strokeLinecap: "round",
8288
- strokeLinejoin: "round",
8289
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 18 9 12 15 6" })
8290
- }
8291
- )
7874
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon__default.default, { "aria-hidden": true, style: { fontSize: 20 } })
8292
7875
  }
8293
7876
  ),
8294
7877
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -8300,20 +7883,7 @@ function Lightbox({ images, columns = 3, gap = 8, className }) {
8300
7883
  e.stopPropagation();
8301
7884
  next();
8302
7885
  },
8303
- children: /* @__PURE__ */ jsxRuntime.jsx(
8304
- "svg",
8305
- {
8306
- width: "20",
8307
- height: "20",
8308
- viewBox: "0 0 24 24",
8309
- fill: "none",
8310
- stroke: "currentColor",
8311
- strokeWidth: 2.5,
8312
- strokeLinecap: "round",
8313
- strokeLinejoin: "round",
8314
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" })
8315
- }
8316
- )
7886
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon__default.default, { "aria-hidden": true, style: { fontSize: 20 } })
8317
7887
  }
8318
7888
  )
8319
7889
  ] })
@@ -8350,7 +7920,7 @@ var Current2 = styles.styled("span")(({ theme }) => ({
8350
7920
  var Separator2 = styles.styled("span")(({ theme }) => ({
8351
7921
  color: theme.palette.text.disabled
8352
7922
  }));
8353
- var Breadcrumbs = react$1.forwardRef(
7923
+ var Breadcrumbs = react.forwardRef(
8354
7924
  ({ items, separator = "/", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(Nav, { ref, "aria-label": "\u015Acie\u017Cka nawigacji", ...props, children: /* @__PURE__ */ jsxRuntime.jsx(List2, { children: items.map((item, index) => {
8355
7925
  const isLast = index === items.length - 1;
8356
7926
  return /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
@@ -8404,7 +7974,7 @@ var StyledButton2 = styles.styled("button")(({ theme, $isActive, $size }) => ({
8404
7974
  pointerEvents: "none"
8405
7975
  }
8406
7976
  }));
8407
- var PaginationButton = react$1.forwardRef(
7977
+ var PaginationButton = react.forwardRef(
8408
7978
  ({ onClick, isActive = false, disabled = false, size = "md", children, "aria-label": ariaLabel }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8409
7979
  StyledButton2,
8410
7980
  {
@@ -8468,72 +8038,10 @@ function buildPageItems(currentPage, totalPages, siblingCount) {
8468
8038
  );
8469
8039
  return [1, DOTS, ...middleRange, DOTS, totalPages];
8470
8040
  }
8471
- var ChevronLeft = () => /* @__PURE__ */ jsxRuntime.jsx(
8472
- "svg",
8473
- {
8474
- width: "1em",
8475
- height: "1em",
8476
- viewBox: "0 0 24 24",
8477
- fill: "none",
8478
- stroke: "currentColor",
8479
- strokeWidth: "2",
8480
- strokeLinecap: "round",
8481
- strokeLinejoin: "round",
8482
- "aria-hidden": "true",
8483
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "15 18 9 12 15 6" })
8484
- }
8485
- );
8486
- var ChevronRight = () => /* @__PURE__ */ jsxRuntime.jsx(
8487
- "svg",
8488
- {
8489
- width: "1em",
8490
- height: "1em",
8491
- viewBox: "0 0 24 24",
8492
- fill: "none",
8493
- stroke: "currentColor",
8494
- strokeWidth: "2",
8495
- strokeLinecap: "round",
8496
- strokeLinejoin: "round",
8497
- "aria-hidden": "true",
8498
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "9 18 15 12 9 6" })
8499
- }
8500
- );
8501
- var ChevronsLeft = () => /* @__PURE__ */ jsxRuntime.jsxs(
8502
- "svg",
8503
- {
8504
- width: "1em",
8505
- height: "1em",
8506
- viewBox: "0 0 24 24",
8507
- fill: "none",
8508
- stroke: "currentColor",
8509
- strokeWidth: "2",
8510
- strokeLinecap: "round",
8511
- strokeLinejoin: "round",
8512
- "aria-hidden": "true",
8513
- children: [
8514
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "11 17 6 12 11 7" }),
8515
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "18 17 13 12 18 7" })
8516
- ]
8517
- }
8518
- );
8519
- var ChevronsRight = () => /* @__PURE__ */ jsxRuntime.jsxs(
8520
- "svg",
8521
- {
8522
- width: "1em",
8523
- height: "1em",
8524
- viewBox: "0 0 24 24",
8525
- fill: "none",
8526
- stroke: "currentColor",
8527
- strokeWidth: "2",
8528
- strokeLinecap: "round",
8529
- strokeLinejoin: "round",
8530
- "aria-hidden": "true",
8531
- children: [
8532
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "13 17 18 12 13 7" }),
8533
- /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "6 17 11 12 6 7" })
8534
- ]
8535
- }
8536
- );
8041
+ var ChevronLeft = () => /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon__default.default, { "aria-hidden": "true", sx: { fontSize: "1em" } });
8042
+ var ChevronRight = () => /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon__default.default, { "aria-hidden": "true", sx: { fontSize: "1em" } });
8043
+ var ChevronsLeft = () => /* @__PURE__ */ jsxRuntime.jsx(KeyboardDoubleArrowLeftIcon__default.default, { "aria-hidden": "true", sx: { fontSize: "1em" } });
8044
+ var ChevronsRight = () => /* @__PURE__ */ jsxRuntime.jsx(KeyboardDoubleArrowRightIcon__default.default, { "aria-hidden": "true", sx: { fontSize: "1em" } });
8537
8045
  var PaginationBar = ({
8538
8046
  currentPage,
8539
8047
  totalPages,
@@ -8664,7 +8172,7 @@ var Trigger3 = styles.styled("button", {
8664
8172
  outlineOffset: "-2px"
8665
8173
  }
8666
8174
  }));
8667
- var ChevronIcon3 = styles.styled("svg", {
8175
+ var ChevronIcon3 = styles.styled(ExpandMoreIcon__default.default, {
8668
8176
  shouldForwardProp: (p) => p !== "$open"
8669
8177
  })(({ $open }) => ({
8670
8178
  width: "1.125rem",
@@ -8690,7 +8198,7 @@ var PanelContent = styles.styled("div")(({ theme }) => ({
8690
8198
  fontSize: "0.9375rem",
8691
8199
  lineHeight: 1.7
8692
8200
  }));
8693
- var Accordion = react$1.forwardRef(
8201
+ var Accordion = react.forwardRef(
8694
8202
  ({
8695
8203
  items,
8696
8204
  defaultOpenKeys = [],
@@ -8700,7 +8208,7 @@ var Accordion = react$1.forwardRef(
8700
8208
  variant = "default",
8701
8209
  ...props
8702
8210
  }, ref) => {
8703
- const [internalKeys, setInternalKeys] = react$1.useState(defaultOpenKeys);
8211
+ const [internalKeys, setInternalKeys] = react.useState(defaultOpenKeys);
8704
8212
  const openKeys = controlledKeys ?? internalKeys;
8705
8213
  const toggle = (key, disabled) => {
8706
8214
  if (disabled) return;
@@ -8732,18 +8240,7 @@ var Accordion = react$1.forwardRef(
8732
8240
  onClick: () => toggle(item.key, item.disabled),
8733
8241
  children: [
8734
8242
  item.header,
8735
- /* @__PURE__ */ jsxRuntime.jsx(
8736
- ChevronIcon3,
8737
- {
8738
- $open: isOpen,
8739
- viewBox: "0 0 24 24",
8740
- fill: "none",
8741
- stroke: "currentColor",
8742
- strokeWidth: 2,
8743
- "aria-hidden": "true",
8744
- children: /* @__PURE__ */ jsxRuntime.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M19 9l-7 7-7-7" })
8745
- }
8746
- )
8243
+ /* @__PURE__ */ jsxRuntime.jsx(ChevronIcon3, { $open: isOpen, "aria-hidden": "true" })
8747
8244
  ]
8748
8245
  }
8749
8246
  ),
@@ -8754,8 +8251,8 @@ var Accordion = react$1.forwardRef(
8754
8251
  );
8755
8252
  Accordion.displayName = "Accordion";
8756
8253
  var accordionVariants = ["default", "bordered", "separated"];
8757
- var fadeIn2 = react.keyframes`from{opacity:0;transform:translateY(0.5rem)}to{opacity:1;transform:translateY(0)}`;
8758
- var fadeOut = react.keyframes`from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(0.5rem)}`;
8254
+ var fadeIn2 = react$1.keyframes`from{opacity:0;transform:translateY(0.5rem)}to{opacity:1;transform:translateY(0)}`;
8255
+ var fadeOut = react$1.keyframes`from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(0.5rem)}`;
8759
8256
  var POSITION_MAP = {
8760
8257
  "bottom-right": { right: "1.5rem", bottom: "1.5rem" },
8761
8258
  "bottom-left": { left: "1.5rem", bottom: "1.5rem" },
@@ -8815,9 +8312,9 @@ function BackToTop({
8815
8312
  label = "Wr\xF3\u0107 na g\xF3r\u0119",
8816
8313
  scrollTarget
8817
8314
  }) {
8818
- const [visible, setVisible] = react$1.useState(false);
8819
- const getTarget = react$1.useCallback(() => scrollTarget ? scrollTarget() : window, [scrollTarget]);
8820
- react$1.useEffect(() => {
8315
+ const [visible, setVisible] = react.useState(false);
8316
+ const getTarget = react.useCallback(() => scrollTarget ? scrollTarget() : window, [scrollTarget]);
8317
+ react.useEffect(() => {
8821
8318
  const target = getTarget();
8822
8319
  const onScroll = () => {
8823
8320
  const scrollY = target instanceof Window ? target.scrollY : target.scrollTop;
@@ -8839,21 +8336,7 @@ function BackToTop({
8839
8336
  $visible: visible,
8840
8337
  $position: position,
8841
8338
  onClick: scrollToTop,
8842
- children: /* @__PURE__ */ jsxRuntime.jsx(
8843
- "svg",
8844
- {
8845
- width: "18",
8846
- height: "18",
8847
- viewBox: "0 0 24 24",
8848
- fill: "none",
8849
- stroke: "currentColor",
8850
- strokeWidth: 2.5,
8851
- strokeLinecap: "round",
8852
- strokeLinejoin: "round",
8853
- "aria-hidden": "true",
8854
- children: /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "18 15 12 9 6 15" })
8855
- }
8856
- )
8339
+ children: /* @__PURE__ */ jsxRuntime.jsx(KeyboardArrowUpIcon__default.default, { "aria-hidden": "true", style: { fontSize: 18 } })
8857
8340
  }
8858
8341
  );
8859
8342
  }
@@ -8929,12 +8412,12 @@ function clampToViewport(x, y, el) {
8929
8412
  y: Math.min(y, window.innerHeight - h - MENU_MARGIN)
8930
8413
  };
8931
8414
  }
8932
- var ContextMenu = react$1.forwardRef(
8415
+ var ContextMenu = react.forwardRef(
8933
8416
  ({ items, children, disabled = false, ...props }, ref) => {
8934
- const [pos, setPos] = react$1.useState(null);
8935
- const menuRef = react$1.useRef(null);
8936
- const close = react$1.useCallback(() => setPos(null), []);
8937
- const handleContextMenu = react$1.useCallback(
8417
+ const [pos, setPos] = react.useState(null);
8418
+ const menuRef = react.useRef(null);
8419
+ const close = react.useCallback(() => setPos(null), []);
8420
+ const handleContextMenu = react.useCallback(
8938
8421
  (e) => {
8939
8422
  if (disabled) return;
8940
8423
  e.preventDefault();
@@ -8942,7 +8425,7 @@ var ContextMenu = react$1.forwardRef(
8942
8425
  },
8943
8426
  [disabled]
8944
8427
  );
8945
- react$1.useEffect(() => {
8428
+ react.useEffect(() => {
8946
8429
  if (!pos) return;
8947
8430
  if (menuRef.current) {
8948
8431
  const clamped = clampToViewport(pos.x, pos.y, menuRef.current);
@@ -9109,7 +8592,7 @@ var SuffixWrap = styles.styled("span")({
9109
8592
  display: "flex",
9110
8593
  alignItems: "center"
9111
8594
  });
9112
- var List3 = react$1.forwardRef(
8595
+ var List3 = react.forwardRef(
9113
8596
  ({ items, size = "md", variant = "default", dividers = true, ...props }, ref) => {
9114
8597
  const effectiveVariant = !dividers && variant === "default" ? "default" : variant;
9115
8598
  return /* @__PURE__ */ jsxRuntime.jsx(Root29, { ref, $variant: effectiveVariant, role: "list", ...props, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
@@ -9175,7 +8658,7 @@ var ItemWrap = styles.styled("div", {
9175
8658
  flexShrink: 0,
9176
8659
  gap: $gap
9177
8660
  }));
9178
- var Marquee = react$1.forwardRef(
8661
+ var Marquee = react.forwardRef(
9179
8662
  ({ children, direction = "left", speed = "normal", pauseOnHover = true, gap = "2rem", ...props }, ref) => {
9180
8663
  const gapValue = typeof gap === "number" ? `${gap}px` : gap;
9181
8664
  const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -9188,8 +8671,8 @@ var Marquee = react$1.forwardRef(
9188
8671
  Marquee.displayName = "Marquee";
9189
8672
  var marqueeDirections = ["left", "right"];
9190
8673
  var marqueeSpeeds = ["slow", "normal", "fast"];
9191
- var fadeIn3 = react.keyframes`from { opacity: 0; } to { opacity: 1; }`;
9192
- var slideUp = react.keyframes`from { opacity: 0; transform: translateY(1rem) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); }`;
8674
+ var fadeIn3 = react$1.keyframes`from { opacity: 0; } to { opacity: 1; }`;
8675
+ var slideUp = react$1.keyframes`from { opacity: 0; transform: translateY(1rem) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); }`;
9193
8676
  var SIZE_MAP2 = {
9194
8677
  sm: "24rem",
9195
8678
  md: "32rem",
@@ -9292,8 +8775,8 @@ function Modal({
9292
8775
  closeOnBackdrop = true,
9293
8776
  hideCloseButton = false
9294
8777
  }) {
9295
- const dialogRef = react$1.useRef(null);
9296
- react$1.useEffect(() => {
8778
+ const dialogRef = react.useRef(null);
8779
+ react.useEffect(() => {
9297
8780
  if (!open) return;
9298
8781
  const prev = document.body.style.overflow;
9299
8782
  document.body.style.overflow = "hidden";
@@ -9301,7 +8784,7 @@ function Modal({
9301
8784
  document.body.style.overflow = prev;
9302
8785
  };
9303
8786
  }, [open]);
9304
- react$1.useEffect(() => {
8787
+ react.useEffect(() => {
9305
8788
  if (!open) return;
9306
8789
  const handleKey = (e) => {
9307
8790
  if (e.key === "Escape") onClose();
@@ -9309,7 +8792,7 @@ function Modal({
9309
8792
  document.addEventListener("keydown", handleKey);
9310
8793
  return () => document.removeEventListener("keydown", handleKey);
9311
8794
  }, [open, onClose]);
9312
- react$1.useEffect(() => {
8795
+ react.useEffect(() => {
9313
8796
  if (open) dialogRef.current?.focus();
9314
8797
  }, [open]);
9315
8798
  if (!open) return null;
@@ -9327,22 +8810,7 @@ function Modal({
9327
8810
  children: [
9328
8811
  (title || !hideCloseButton) && /* @__PURE__ */ jsxRuntime.jsxs(Header, { children: [
9329
8812
  title ? /* @__PURE__ */ jsxRuntime.jsx(Title5, { id: "modal-title", children: title }) : /* @__PURE__ */ jsxRuntime.jsx("span", {}),
9330
- !hideCloseButton && /* @__PURE__ */ jsxRuntime.jsx(CloseButton2, { "aria-label": "Zamknij", onClick: onClose, children: /* @__PURE__ */ jsxRuntime.jsxs(
9331
- "svg",
9332
- {
9333
- width: "16",
9334
- height: "16",
9335
- viewBox: "0 0 24 24",
9336
- fill: "none",
9337
- stroke: "currentColor",
9338
- strokeWidth: 2,
9339
- strokeLinecap: "round",
9340
- children: [
9341
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
9342
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
9343
- ]
9344
- }
9345
- ) })
8813
+ !hideCloseButton && /* @__PURE__ */ jsxRuntime.jsx(CloseButton2, { "aria-label": "Zamknij", onClick: onClose, children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": true, style: { fontSize: 16 } }) })
9346
8814
  ] }),
9347
8815
  children && /* @__PURE__ */ jsxRuntime.jsx(Body, { children }),
9348
8816
  footer && /* @__PURE__ */ jsxRuntime.jsx(Footer3, { children: footer })
@@ -9424,9 +8892,9 @@ var Panel2 = styles.styled("div")(({ theme }) => ({
9424
8892
  fontFamily: theme.typography.fontFamily,
9425
8893
  color: theme.palette.text.primary
9426
8894
  }));
9427
- var Tabs = react$1.forwardRef(
8895
+ var Tabs = react.forwardRef(
9428
8896
  ({ tabs, defaultActiveKey, activeKey: controlledKey, onChange, variant = "underline", ...props }, ref) => {
9429
- const [internalKey, setInternalKey] = react$1.useState(defaultActiveKey ?? tabs[0]?.key ?? "");
8897
+ const [internalKey, setInternalKey] = react.useState(defaultActiveKey ?? tabs[0]?.key ?? "");
9430
8898
  const activeKey = controlledKey ?? internalKey;
9431
8899
  const handleSelect = (key) => {
9432
8900
  if (controlledKey === void 0) setInternalKey(key);
@@ -9561,7 +9029,7 @@ var Footer4 = styles.styled("div")(({ theme }) => ({
9561
9029
  padding: "1rem 1.25rem",
9562
9030
  borderTop: `1px solid ${theme.palette.divider}`
9563
9031
  }));
9564
- var CartDrawer = react$1.forwardRef(
9032
+ var CartDrawer = react.forwardRef(
9565
9033
  ({
9566
9034
  open,
9567
9035
  title = "Koszyk",
@@ -9686,7 +9154,7 @@ function renderOptions(options, selected, onToggle) {
9686
9154
  option.count !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { children: option.count })
9687
9155
  ] }, option.value));
9688
9156
  }
9689
- var FilterSidebar = react$1.forwardRef(
9157
+ var FilterSidebar = react.forwardRef(
9690
9158
  ({
9691
9159
  categories = [],
9692
9160
  colors = [],
@@ -9830,7 +9298,7 @@ var TotalRow = styles.styled(Row5)(({ theme }) => ({
9830
9298
  fontSize: "1rem",
9831
9299
  fontWeight: 800
9832
9300
  }));
9833
- var OrderSummary = react$1.forwardRef(
9301
+ var OrderSummary = react.forwardRef(
9834
9302
  ({
9835
9303
  title = "Podsumowanie zam\xF3wienia",
9836
9304
  items = [],
@@ -9899,7 +9367,7 @@ OrderSummary.displayName = "OrderSummary";
9899
9367
  var List4 = styles.styled("div")(({ $hasHeading }) => ({
9900
9368
  marginTop: $hasHeading ? "2.5rem" : 0
9901
9369
  }));
9902
- var FaqSection = react$1.forwardRef(
9370
+ var FaqSection = react.forwardRef(
9903
9371
  ({
9904
9372
  title = "Najcz\u0119\u015Bciej zadawane pytania",
9905
9373
  description,
@@ -9938,7 +9406,7 @@ var Grid2 = styles.styled("div", {
9938
9406
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
9939
9407
  }
9940
9408
  }));
9941
- var FeatureGrid = react$1.forwardRef(
9409
+ var FeatureGrid = react.forwardRef(
9942
9410
  ({
9943
9411
  title,
9944
9412
  description,
@@ -9982,7 +9450,7 @@ var Grid3 = styles.styled("div", {
9982
9450
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
9983
9451
  }
9984
9452
  }));
9985
- var LogoCloud = react$1.forwardRef(
9453
+ var LogoCloud = react.forwardRef(
9986
9454
  ({
9987
9455
  title = "Zaufali nam",
9988
9456
  description,
@@ -10083,7 +9551,7 @@ var SuccessMessage = styles.styled("p")(({ theme }) => ({
10083
9551
  fontFamily: theme.typography.fontFamily,
10084
9552
  textAlign: "center"
10085
9553
  }));
10086
- var NewsletterSection = react$1.forwardRef(
9554
+ var NewsletterSection = react.forwardRef(
10087
9555
  ({
10088
9556
  title = "B\u0105d\u017A na bie\u017C\u0105co",
10089
9557
  description = "Zapisz si\u0119 do newslettera i otrzymuj najnowsze informacje prosto na swoj\u0105 skrzynk\u0119.",
@@ -10098,8 +9566,8 @@ var NewsletterSection = react$1.forwardRef(
10098
9566
  onSubmit,
10099
9567
  ...rest
10100
9568
  }, ref) => {
10101
- const [email, setEmail] = react$1.useState("");
10102
- const [submitted, setSubmitted] = react$1.useState(false);
9569
+ const [email, setEmail] = react.useState("");
9570
+ const [submitted, setSubmitted] = react.useState(false);
10103
9571
  const handleSubmit = (e) => {
10104
9572
  e.preventDefault();
10105
9573
  if (!email) return;
@@ -10211,21 +9679,12 @@ var Connector = styles.styled("div")(({ theme }) => ({
10211
9679
  }
10212
9680
  }));
10213
9681
  function ArrowIcon() {
10214
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(
10215
- "path",
10216
- {
10217
- d: "M5 12h14M13 6l6 6-6 6",
10218
- stroke: "currentColor",
10219
- strokeWidth: "1.5",
10220
- strokeLinecap: "round",
10221
- strokeLinejoin: "round"
10222
- }
10223
- ) });
9682
+ return /* @__PURE__ */ jsxRuntime.jsx(ArrowForwardIcon__default.default, { "aria-hidden": "true", style: { fontSize: 24 } });
10224
9683
  }
10225
9684
  function ProcessSection({ title, description, steps, ...props }) {
10226
9685
  return /* @__PURE__ */ jsxRuntime.jsx(Section3, { ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(Inner2, { children: [
10227
9686
  (title || description) && /* @__PURE__ */ jsxRuntime.jsx(SectionHeading, { title: title ?? "", description, align: "center" }),
10228
- /* @__PURE__ */ jsxRuntime.jsx(StepsRow, { children: steps.map((step, i) => /* @__PURE__ */ jsxRuntime.jsxs(react$1.Fragment, { children: [
9687
+ /* @__PURE__ */ jsxRuntime.jsx(StepsRow, { children: steps.map((step, i) => /* @__PURE__ */ jsxRuntime.jsxs(react.Fragment, { children: [
10229
9688
  /* @__PURE__ */ jsxRuntime.jsx(StepWrapper, { children: /* @__PURE__ */ jsxRuntime.jsx(
10230
9689
  ProcessStep,
10231
9690
  {
@@ -10253,7 +9712,7 @@ var Grid5 = styles.styled("div", {
10253
9712
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
10254
9713
  }
10255
9714
  }));
10256
- var StatsSection = react$1.forwardRef(
9715
+ var StatsSection = react.forwardRef(
10257
9716
  ({
10258
9717
  title,
10259
9718
  description,
@@ -10296,7 +9755,7 @@ var Grid6 = styles.styled("div", {
10296
9755
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
10297
9756
  }
10298
9757
  }));
10299
- var TeamSection = react$1.forwardRef(
9758
+ var TeamSection = react.forwardRef(
10300
9759
  ({
10301
9760
  title = "Nasz zesp\xF3\u0142",
10302
9761
  description,
@@ -10338,7 +9797,7 @@ var Grid7 = styles.styled("div", {
10338
9797
  gridTemplateColumns: `repeat(${$columns}, minmax(0, 1fr))`
10339
9798
  }
10340
9799
  }));
10341
- var TestimonialsSection = react$1.forwardRef(
9800
+ var TestimonialsSection = react.forwardRef(
10342
9801
  ({
10343
9802
  title = "Co m\xF3wi\u0105 nasi klienci",
10344
9803
  description,
@@ -10365,11 +9824,11 @@ var TestimonialsSection = react$1.forwardRef(
10365
9824
  );
10366
9825
  TestimonialsSection.displayName = "TestimonialsSection";
10367
9826
  var testimonialsSectionColumns = [1, 2, 3];
10368
- var fadeIn4 = react.keyframes`
9827
+ var fadeIn4 = react$1.keyframes`
10369
9828
  from { opacity: 0; }
10370
9829
  to { opacity: 1; }
10371
9830
  `;
10372
- var slideDown = react.keyframes`
9831
+ var slideDown = react$1.keyframes`
10373
9832
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
10374
9833
  to { opacity: 1; transform: translateY(0) scale(1); }
10375
9834
  `;
@@ -10404,7 +9863,7 @@ var SearchRow = styles.styled("div")(({ theme }) => ({
10404
9863
  borderBottom: `1px solid ${theme.palette.divider}`,
10405
9864
  flexShrink: 0
10406
9865
  }));
10407
- var SearchIcon2 = styles.styled("div")(({ theme }) => ({
9866
+ var SearchIconWrap = styles.styled("div")(({ theme }) => ({
10408
9867
  flexShrink: 0,
10409
9868
  color: theme.palette.text.secondary,
10410
9869
  display: "flex"
@@ -10548,14 +10007,14 @@ function CommandPalette({
10548
10007
  emptyLabel = "Brak wynik\xF3w dla podanej frazy.",
10549
10008
  onSelect
10550
10009
  }) {
10551
- const id = react$1.useId();
10552
- const [query, setQuery] = react$1.useState("");
10553
- const [activeIndex, setActiveIndex] = react$1.useState(0);
10554
- const inputRef = react$1.useRef(null);
10555
- const activeItemRef = react$1.useRef(null);
10010
+ const id = react.useId();
10011
+ const [query, setQuery] = react.useState("");
10012
+ const [activeIndex, setActiveIndex] = react.useState(0);
10013
+ const inputRef = react.useRef(null);
10014
+ const activeItemRef = react.useRef(null);
10556
10015
  const filtered = filterGroups(groups, query);
10557
10016
  const flat = flatItems(filtered);
10558
- const handleSelect = react$1.useCallback(
10017
+ const handleSelect = react.useCallback(
10559
10018
  (item) => {
10560
10019
  item.onSelect?.();
10561
10020
  onSelect?.(item);
@@ -10563,20 +10022,20 @@ function CommandPalette({
10563
10022
  },
10564
10023
  [onSelect, onClose]
10565
10024
  );
10566
- react$1.useEffect(() => {
10025
+ react.useEffect(() => {
10567
10026
  if (open) {
10568
10027
  setQuery("");
10569
10028
  setActiveIndex(0);
10570
10029
  setTimeout(() => inputRef.current?.focus(), 0);
10571
10030
  }
10572
10031
  }, [open]);
10573
- react$1.useEffect(() => {
10032
+ react.useEffect(() => {
10574
10033
  setActiveIndex(0);
10575
10034
  }, [query]);
10576
- react$1.useEffect(() => {
10035
+ react.useEffect(() => {
10577
10036
  activeItemRef.current?.scrollIntoView?.({ block: "nearest" });
10578
10037
  }, [activeIndex]);
10579
- react$1.useEffect(() => {
10038
+ react.useEffect(() => {
10580
10039
  const handler = (e) => {
10581
10040
  if (!open) return;
10582
10041
  if (e.key === "Escape") {
@@ -10620,23 +10079,7 @@ function CommandPalette({
10620
10079
  "aria-describedby": `${id}-hint`,
10621
10080
  children: [
10622
10081
  /* @__PURE__ */ jsxRuntime.jsxs(SearchRow, { children: [
10623
- /* @__PURE__ */ jsxRuntime.jsx(SearchIcon2, { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsxs(
10624
- "svg",
10625
- {
10626
- width: "18",
10627
- height: "18",
10628
- viewBox: "0 0 24 24",
10629
- fill: "none",
10630
- stroke: "currentColor",
10631
- strokeWidth: "2",
10632
- strokeLinecap: "round",
10633
- strokeLinejoin: "round",
10634
- children: [
10635
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "11", cy: "11", r: "8" }),
10636
- /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })
10637
- ]
10638
- }
10639
- ) }),
10082
+ /* @__PURE__ */ jsxRuntime.jsx(SearchIconWrap, { "aria-hidden": "true", children: /* @__PURE__ */ jsxRuntime.jsx(SearchMuiIcon__default.default, { style: { fontSize: 18 } }) }),
10640
10083
  /* @__PURE__ */ jsxRuntime.jsx(
10641
10084
  SearchInput3,
10642
10085
  {
@@ -10727,7 +10170,7 @@ var DEFAULT_CATEGORIES = [
10727
10170
  defaultEnabled: false
10728
10171
  }
10729
10172
  ];
10730
- var slideUp2 = react.keyframes`
10173
+ var slideUp2 = react$1.keyframes`
10731
10174
  from { opacity: 0; transform: translateY(100%); }
10732
10175
  to { opacity: 1; transform: translateY(0); }
10733
10176
  `;
@@ -10900,9 +10343,9 @@ function CookieConsent({
10900
10343
  privacyPolicyLabel,
10901
10344
  privacyPolicyHref
10902
10345
  }) {
10903
- const id = react$1.useId();
10904
- const [expanded, setExpanded] = react$1.useState(false);
10905
- const [prefs, setPrefs] = react$1.useState(
10346
+ const id = react.useId();
10347
+ const [expanded, setExpanded] = react.useState(false);
10348
+ const [prefs, setPrefs] = react.useState(
10906
10349
  () => Object.fromEntries(categories.map((c) => [c.id, c.defaultEnabled ?? false]))
10907
10350
  );
10908
10351
  if (!open) return null;
@@ -11249,69 +10692,7 @@ var MobileNavLink = styles.styled("a", {
11249
10692
  }
11250
10693
  }));
11251
10694
  function HamburgerIcon({ open }) {
11252
- return /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: open ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11253
- /* @__PURE__ */ jsxRuntime.jsx(
11254
- "line",
11255
- {
11256
- x1: "4",
11257
- y1: "4",
11258
- x2: "20",
11259
- y2: "20",
11260
- stroke: "currentColor",
11261
- strokeWidth: "2",
11262
- strokeLinecap: "round"
11263
- }
11264
- ),
11265
- /* @__PURE__ */ jsxRuntime.jsx(
11266
- "line",
11267
- {
11268
- x1: "20",
11269
- y1: "4",
11270
- x2: "4",
11271
- y2: "20",
11272
- stroke: "currentColor",
11273
- strokeWidth: "2",
11274
- strokeLinecap: "round"
11275
- }
11276
- )
11277
- ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
11278
- /* @__PURE__ */ jsxRuntime.jsx(
11279
- "line",
11280
- {
11281
- x1: "4",
11282
- y1: "7",
11283
- x2: "20",
11284
- y2: "7",
11285
- stroke: "currentColor",
11286
- strokeWidth: "2",
11287
- strokeLinecap: "round"
11288
- }
11289
- ),
11290
- /* @__PURE__ */ jsxRuntime.jsx(
11291
- "line",
11292
- {
11293
- x1: "4",
11294
- y1: "12",
11295
- x2: "20",
11296
- y2: "12",
11297
- stroke: "currentColor",
11298
- strokeWidth: "2",
11299
- strokeLinecap: "round"
11300
- }
11301
- ),
11302
- /* @__PURE__ */ jsxRuntime.jsx(
11303
- "line",
11304
- {
11305
- x1: "4",
11306
- y1: "17",
11307
- x2: "20",
11308
- y2: "17",
11309
- stroke: "currentColor",
11310
- strokeWidth: "2",
11311
- strokeLinecap: "round"
11312
- }
11313
- )
11314
- ] }) });
10695
+ return open ? /* @__PURE__ */ jsxRuntime.jsx(CloseIcon__default.default, { "aria-hidden": "true", style: { fontSize: 24 } }) : /* @__PURE__ */ jsxRuntime.jsx(MenuIcon__default.default, { "aria-hidden": "true", style: { fontSize: 24 } });
11315
10696
  }
11316
10697
  function Navbar({
11317
10698
  logo,
@@ -11320,7 +10701,7 @@ function Navbar({
11320
10701
  sticky = false,
11321
10702
  variant = "filled"
11322
10703
  }) {
11323
- const [mobileOpen, setMobileOpen] = react$1.useState(false);
10704
+ const [mobileOpen, setMobileOpen] = react.useState(false);
11324
10705
  return /* @__PURE__ */ jsxRuntime.jsxs(Root35, { $sticky: sticky, $variant: variant, children: [
11325
10706
  /* @__PURE__ */ jsxRuntime.jsxs(Inner5, { children: [
11326
10707
  logo && /* @__PURE__ */ jsxRuntime.jsx(LogoSlot, { children: logo }),
@@ -11429,7 +10810,7 @@ var MyThemeProvider = ({
11429
10810
  disableCssBaseline = false,
11430
10811
  children
11431
10812
  }) => {
11432
- const resolvedTheme = react$1.useMemo(() => {
10813
+ const resolvedTheme = react.useMemo(() => {
11433
10814
  if (theme) return theme;
11434
10815
  switch (mode) {
11435
10816
  case "dark":