@ecohouse/ui 0.1.31 → 0.1.32
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/README.md +5 -0
- package/dist/index.cjs +1122 -338
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +147 -5
- package/dist/index.d.ts +147 -5
- package/dist/index.js +1049 -285
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AccountHeader/AccountHeader.stories.tsx +70 -0
- package/src/components/AccountHeader/AccountHeader.tsx +224 -0
- package/src/components/AccountHeader/index.ts +2 -0
- package/src/components/AvatarSimple/AvatarSimple.tsx +2 -2
- package/src/components/Button/Button.tsx +4 -1
- package/src/components/DatePicker/DatePicker.tsx +14 -9
- package/src/components/FloatingActionButton/FloatingActionButton.stories.tsx +42 -0
- package/src/components/FloatingActionButton/FloatingActionButton.tsx +77 -0
- package/src/components/FloatingActionButton/index.ts +2 -0
- package/src/components/InfoTile/InfoTile.stories.tsx +80 -0
- package/src/components/InfoTile/InfoTile.tsx +118 -0
- package/src/components/InfoTile/index.ts +2 -0
- package/src/components/PaginationDots/PaginationDots.stories.tsx +48 -0
- package/src/components/PaginationDots/PaginationDots.tsx +111 -0
- package/src/components/PaginationDots/index.ts +2 -0
- package/src/components/StatusBadge/StatusBadge.stories.tsx +54 -0
- package/src/components/StatusBadge/StatusBadge.tsx +108 -0
- package/src/components/StatusBadge/index.ts +2 -0
- package/src/components/StepList/StepList.stories.tsx +37 -0
- package/src/components/StepList/StepList.tsx +152 -0
- package/src/components/StepList/index.ts +2 -0
- package/src/components/index.ts +18 -0
- package/src/icons/AlertTriangle/AlertTriangleIcon.tsx +19 -0
- package/src/icons/AlertTriangle/AlertTriangleIcon.web.tsx +18 -0
- package/src/icons/AlertTriangle/alertTrianglePath.ts +3 -0
- package/src/icons/AlertTriangle/index.ts +1 -0
- package/src/icons/Bell/BellIcon.tsx +2 -2
- package/src/icons/Bell/BellIcon.web.tsx +2 -2
- package/src/icons/Bell/bellPath.ts +1 -1
- package/src/icons/CottageDetail/CottageDetailIcons.tsx +15 -0
- package/src/icons/CottageDetail/CottageDetailIcons.web.tsx +15 -0
- package/src/icons/CottageDetail/cottageDetailPaths.ts +3 -0
- package/src/icons/CottageDetail/index.ts +1 -0
- package/src/icons/Edit/EditIcon.tsx +20 -0
- package/src/icons/Edit/EditIcon.web.tsx +19 -0
- package/src/icons/Edit/editPath.ts +3 -0
- package/src/icons/Edit/index.ts +1 -0
- package/src/icons/HouseRules/HouseRulesIcons.tsx +62 -0
- package/src/icons/HouseRules/HouseRulesIcons.web.tsx +61 -0
- package/src/icons/HouseRules/houseRulesPaths.ts +24 -0
- package/src/icons/HouseRules/index.ts +2 -0
- package/src/icons/LocationUser/LocationUserIcon.tsx +15 -0
- package/src/icons/LocationUser/LocationUserIcon.web.tsx +14 -0
- package/src/icons/LocationUser/index.ts +1 -0
- package/src/icons/LocationUser/locationUserPath.ts +2 -0
- package/src/icons/Lock/LockIcon.tsx +21 -0
- package/src/icons/Lock/LockIcon.web.tsx +26 -0
- package/src/icons/Lock/index.ts +1 -0
- package/src/icons/Lock/lockPath.ts +3 -0
- package/src/icons/Refresh/RefreshIcon.tsx +20 -0
- package/src/icons/Refresh/RefreshIcon.web.tsx +19 -0
- package/src/icons/Refresh/index.ts +1 -0
- package/src/icons/Refresh/refreshPath.ts +3 -0
- package/src/icons/RefundStatus/RefundStatusIcon.tsx +24 -0
- package/src/icons/RefundStatus/RefundStatusIcon.web.tsx +23 -0
- package/src/icons/RefundStatus/index.ts +1 -0
- package/src/icons/RefundStatus/refundStatusPath.ts +3 -0
- package/src/icons/index.ts +8 -0
- package/src/icons/registry.ts +30 -0
- package/src/index.ts +26 -0
- package/src/theme/colors.ts +4 -0
- package/src/theme/typography.ts +1 -1
- package/src/utils/dateUtils.ts +25 -0
package/dist/index.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
var reactNative = require('react-native');
|
|
5
|
-
var
|
|
5
|
+
var Svg18 = require('react-native-svg');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
|
|
8
8
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var Svg18__default = /*#__PURE__*/_interopDefault(Svg18);
|
|
11
11
|
|
|
12
12
|
// src/components/Avatar/Avatar.tsx
|
|
13
13
|
|
|
@@ -47,10 +47,13 @@ var colors = {
|
|
|
47
47
|
red: "#A63E3E",
|
|
48
48
|
lightGrey: "#B7B7B7",
|
|
49
49
|
green: "#34A853",
|
|
50
|
+
greenMuted: "#34A85329",
|
|
50
51
|
primaryMuted: "#B464360F",
|
|
51
52
|
primaryHover: "#B4643633",
|
|
52
53
|
redMuted: "#A63E3E0F",
|
|
53
54
|
redHover: "#A63E3E33",
|
|
55
|
+
greyMuted: "#76767629",
|
|
56
|
+
cancelledMuted: "#A63E3E29",
|
|
54
57
|
grey0: grey["0"],
|
|
55
58
|
grey50: grey["0.5"],
|
|
56
59
|
grey100: grey["1"],
|
|
@@ -60,6 +63,7 @@ var colors = {
|
|
|
60
63
|
grey400: grey["4"],
|
|
61
64
|
grey500: grey["5"],
|
|
62
65
|
grey600: grey["6"],
|
|
66
|
+
grey650: "#1B1B1B",
|
|
63
67
|
grey700: grey["7"],
|
|
64
68
|
grey750: grey["7.5"],
|
|
65
69
|
grey800: grey["8"],
|
|
@@ -234,7 +238,7 @@ var datePickerTypography = {
|
|
|
234
238
|
fontFamily: fonts.sans,
|
|
235
239
|
fontSize: 12,
|
|
236
240
|
fontWeight: "400",
|
|
237
|
-
lineHeight:
|
|
241
|
+
lineHeight: 14,
|
|
238
242
|
letterSpacing: 0.36
|
|
239
243
|
},
|
|
240
244
|
rangeLabel: {
|
|
@@ -310,8 +314,8 @@ function ArrowRightIcon({
|
|
|
310
314
|
color = colors.primary,
|
|
311
315
|
strokeWidth = 2
|
|
312
316
|
}) {
|
|
313
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
314
|
-
|
|
317
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
318
|
+
Svg18.Path,
|
|
315
319
|
{
|
|
316
320
|
d: ARROW_RIGHT_PATH,
|
|
317
321
|
stroke: color,
|
|
@@ -322,6 +326,21 @@ function ArrowRightIcon({
|
|
|
322
326
|
) });
|
|
323
327
|
}
|
|
324
328
|
|
|
329
|
+
// src/icons/AlertTriangle/alertTrianglePath.ts
|
|
330
|
+
var ALERT_TRIANGLE_PATH = "M8.00049 6.00015V8.66682M8.00049 11.3335H8.00715M7.07737 2.59464L1.59411 12.0657C1.28997 12.591 1.1379 12.8537 1.16038 13.0693C1.17998 13.2573 1.2785 13.4282 1.4314 13.5394C1.60671 13.6668 1.91022 13.6668 2.51723 13.6668H13.4837C14.0908 13.6668 14.3943 13.6668 14.5696 13.5394C14.7225 13.4282 14.821 13.2573 14.8406 13.0693C14.8631 12.8537 14.711 12.591 14.4069 12.0657L8.92361 2.59463C8.62056 2.07119 8.46904 1.80947 8.27135 1.72157C8.09892 1.64489 7.90206 1.64489 7.72962 1.72157C7.53194 1.80947 7.38041 2.07119 7.07737 2.59464Z";
|
|
331
|
+
function AlertTriangleIcon({ size = 16, color = "#E38E5E", strokeWidth = 1.5 }) {
|
|
332
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
333
|
+
Svg18.Path,
|
|
334
|
+
{
|
|
335
|
+
d: ALERT_TRIANGLE_PATH,
|
|
336
|
+
stroke: color,
|
|
337
|
+
strokeWidth,
|
|
338
|
+
strokeLinecap: "round",
|
|
339
|
+
strokeLinejoin: "round"
|
|
340
|
+
}
|
|
341
|
+
) });
|
|
342
|
+
}
|
|
343
|
+
|
|
325
344
|
// src/icons/Store/storeMarkPaths.ts
|
|
326
345
|
var APPLE_PATHS = [
|
|
327
346
|
"M20.8806 15.9539C20.8958 14.804 21.2087 13.6766 21.7901 12.6765C22.3715 11.6763 23.2026 10.8361 24.206 10.2338C23.5685 9.34496 22.7276 8.6135 21.7499 8.0975C20.7723 7.58149 19.6849 7.29515 18.574 7.26122C16.2044 7.01838 13.9072 8.64554 12.6997 8.64554C11.4688 8.64554 9.6097 7.28533 7.6077 7.32554C6.31276 7.36638 5.05074 7.73402 3.9446 8.39262C2.83847 9.05123 1.92593 9.97834 1.29592 11.0836C-1.4331 15.6966 0.602506 22.4762 3.21673 26.205C4.52469 28.0309 6.0533 30.0704 8.05349 29.9981C10.0108 29.9189 10.7418 28.7796 13.1044 28.7796C15.4451 28.7796 16.1309 29.9981 18.1717 29.9521C20.272 29.9189 21.5953 28.1181 22.8573 26.275C23.7971 24.9739 24.5203 23.536 25 22.0145C23.7798 21.5107 22.7385 20.6673 22.006 19.5895C21.2734 18.5118 20.882 17.2474 20.8806 15.9539Z",
|
|
@@ -346,17 +365,17 @@ var GOOGLE_PLAY_PATHS = [
|
|
|
346
365
|
}
|
|
347
366
|
];
|
|
348
367
|
function AppleIcon({ size = 30, color = colors.white }) {
|
|
349
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
368
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size * 25 / 30, height: size, viewBox: "0 0 25 30", fill: "none", children: APPLE_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: path, fill: color }, path)) });
|
|
350
369
|
}
|
|
351
370
|
function GooglePlayIcon({ size = 30 }) {
|
|
352
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
371
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size * 27 / 30, height: size, viewBox: "0 0 27 30", fill: "none", children: GOOGLE_PLAY_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: path.d, fill: path.color }, path.d)) });
|
|
353
372
|
}
|
|
354
373
|
|
|
355
374
|
// src/icons/Bag/bagPath.ts
|
|
356
375
|
var BAG_PATH = "M9.23047 9H7.2002C6.08009 9 5.51962 9 5.0918 9.21799C4.71547 9.40973 4.40973 9.71547 4.21799 10.0918C4 10.5196 4 11.0801 4 12.2002V17.8002C4 18.9203 4 19.4801 4.21799 19.9079C4.40973 20.2842 4.71547 20.5905 5.0918 20.7822C5.5192 21 6.07902 21 7.19694 21H16.8031C17.921 21 18.48 21 18.9074 20.7822C19.2837 20.5905 19.5905 20.2842 19.7822 19.9079C20 19.4805 20 18.9215 20 17.8036V12.1969C20 11.079 20 10.5192 19.7822 10.0918C19.5905 9.71547 19.2837 9.40973 18.9074 9.21799C18.4796 9 17.9203 9 16.8002 9H14.7689M9.23047 9H14.7689M9.23047 9C9.10302 9 9 8.89668 9 8.76923V6C9 4.34315 10.3431 3 12 3C13.6569 3 15 4.34315 15 6V8.76923C15 8.89668 14.8964 9 14.7689 9";
|
|
357
376
|
function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
358
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
359
|
-
|
|
377
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
378
|
+
Svg18.Path,
|
|
360
379
|
{
|
|
361
380
|
d: BAG_PATH,
|
|
362
381
|
stroke: color,
|
|
@@ -368,10 +387,10 @@ function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
368
387
|
}
|
|
369
388
|
|
|
370
389
|
// src/icons/Bell/bellPath.ts
|
|
371
|
-
var BELL_PATH = "
|
|
372
|
-
function BellIcon({ size =
|
|
373
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
374
|
-
|
|
390
|
+
var BELL_PATH = "M6.23597 14C6.70606 14.4149 7.32355 14.6667 7.99985 14.6667C8.67615 14.6667 9.29364 14.4149 9.76373 14M11.9998 5.33337C11.9998 4.27251 11.5784 3.25509 10.8283 2.50495C10.0781 1.7548 9.06072 1.33337 7.99985 1.33337C6.93898 1.33337 5.92157 1.7548 5.17142 2.50495C4.42128 3.25509 3.99985 4.27251 3.99985 5.33337C3.99985 7.3935 3.48016 8.80401 2.89963 9.73698C2.40993 10.524 2.16509 10.9174 2.17407 11.0272C2.18401 11.1488 2.20976 11.1951 2.3077 11.2678C2.39616 11.3334 2.79491 11.3334 3.59242 11.3334H12.4073C13.2048 11.3334 13.6035 11.3334 13.692 11.2678C13.7899 11.1951 13.8157 11.1488 13.8256 11.0272C13.8346 10.9174 13.5898 10.524 13.1001 9.73698C12.5195 8.80401 11.9998 7.3935 11.9998 5.33337Z";
|
|
391
|
+
function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
392
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
393
|
+
Svg18.Path,
|
|
375
394
|
{
|
|
376
395
|
d: BELL_PATH,
|
|
377
396
|
stroke: color,
|
|
@@ -385,8 +404,8 @@ function BellIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
385
404
|
// src/icons/Building/buildingPath.ts
|
|
386
405
|
var BUILDING_PATH = "M7.5 9.16659V16.6666M7.5 9.16659H3.83301C3.3663 9.16659 3.13318 9.16659 2.95492 9.25741C2.79811 9.33731 2.67072 9.4647 2.59083 9.6215C2.5 9.79976 2.5 10.0333 2.5 10.5V16.6666H7.5M7.5 9.16659V4.66667C7.5 4.19996 7.5 3.96643 7.59083 3.78817C7.67072 3.63137 7.79811 3.50397 7.95492 3.42408C8.13317 3.33325 8.3663 3.33325 8.83301 3.33325H11.1663C11.6331 3.33325 11.8669 3.33325 12.0452 3.42408C12.202 3.50397 12.329 3.63137 12.4089 3.78817C12.4997 3.96643 12.5 4.19996 12.5 4.66667V6.66659M7.5 16.6666H12.5M12.5 16.6666L17.5 16.6667V8C17.5 7.53329 17.4997 7.29976 17.4089 7.1215C17.329 6.9647 17.2024 6.83731 17.0456 6.75741C16.8674 6.66659 16.6334 6.66659 16.1667 6.66659H12.5M12.5 16.6666V6.66659";
|
|
387
406
|
function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
388
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
389
|
-
|
|
407
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
408
|
+
Svg18.Path,
|
|
390
409
|
{
|
|
391
410
|
d: BUILDING_PATH,
|
|
392
411
|
stroke: color,
|
|
@@ -400,8 +419,8 @@ function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
400
419
|
// src/icons/Calendar/calendarPath.ts
|
|
401
420
|
var CALENDAR_PATH = "M14 6.66668H2M14 8.33334V5.86668C14 4.74657 14 4.18652 13.782 3.7587C13.5903 3.38237 13.2843 3.07641 12.908 2.88466C12.4802 2.66668 11.9201 2.66668 10.8 2.66668H5.2C4.0799 2.66668 3.51984 2.66668 3.09202 2.88466C2.71569 3.07641 2.40973 3.38237 2.21799 3.7587C2 4.18652 2 4.74657 2 5.86668V11.4667C2 12.5868 2 13.1468 2.21799 13.5747C2.40973 13.951 2.71569 14.2569 3.09202 14.4487C3.51984 14.6667 4.0799 14.6667 5.2 14.6667H8M10.6667 1.33334V4.00001M5.33333 1.33334V4.00001M9.66667 12.6667L11 14L14 11";
|
|
402
421
|
function CalendarIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
403
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
404
|
-
|
|
422
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
423
|
+
Svg18.Path,
|
|
405
424
|
{
|
|
406
425
|
d: CALENDAR_PATH,
|
|
407
426
|
stroke: color,
|
|
@@ -419,8 +438,8 @@ function CalendarOutlineIcon({
|
|
|
419
438
|
color = colors.primary,
|
|
420
439
|
strokeWidth = 1.5
|
|
421
440
|
}) {
|
|
422
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
423
|
-
|
|
441
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
442
|
+
Svg18.Path,
|
|
424
443
|
{
|
|
425
444
|
d: CALENDAR_OUTLINE_PATH,
|
|
426
445
|
stroke: color,
|
|
@@ -434,8 +453,8 @@ function CalendarOutlineIcon({
|
|
|
434
453
|
// src/icons/Camera/cameraPath.ts
|
|
435
454
|
var CAMERA_PATH = "M9.48898 7H6.2002C5.08009 7 4.51962 7 4.0918 7.21799C3.71547 7.40973 3.40973 7.71547 3.21799 8.0918C3 8.51962 3 9.08009 3 10.2002V15.8002C3 16.9203 3 17.4796 3.21799 17.9074C3.40973 18.2837 3.71547 18.5905 4.0918 18.7822C4.5192 19 5.07899 19 6.19691 19H17.8031C18.921 19 19.48 19 19.9074 18.7822C20.2837 18.5905 20.5905 18.2837 20.7822 17.9074C21 17.48 21 16.921 21 15.8031V10.1969C21 9.07899 21 8.5192 20.7822 8.0918C20.5905 7.71547 20.2837 7.40973 19.9074 7.21799C19.4796 7 18.9203 7 17.8002 7H14.5108M9.48898 7H9.55078M9.48898 7C9.50151 7.00001 9.51468 7 9.52857 7L9.55078 7M9.48898 7C9.38286 6.99995 9.32339 6.99941 9.27637 6.99414C8.68878 6.92835 8.28578 6.36908 8.40918 5.79084C8.42066 5.73703 8.44336 5.66894 8.4883 5.53412L8.49023 5.52841C8.54156 5.37443 8.56723 5.29743 8.59558 5.22949C8.88586 4.53389 9.54322 4.06083 10.2949 4.00541C10.3683 4 10.449 4 10.6113 4H13.3886C13.5509 4 13.6322 4 13.7057 4.00541C14.4574 4.06083 15.114 4.53389 15.4043 5.22949C15.4326 5.29743 15.4584 5.37434 15.5098 5.52832C15.556 5.66699 15.5791 5.73636 15.5908 5.79093C15.7142 6.36917 15.3118 6.92835 14.7242 6.99414C14.6772 6.99941 14.6171 6.99995 14.5108 7M9.55078 7H14.449M14.449 7H14.5108M14.449 7L14.4712 7C14.4851 7 14.4983 7.00001 14.5108 7M12 16C10.3431 16 9 14.6569 9 13C9 11.3431 10.3431 10 12 10C13.6569 10 15 11.3431 15 13C15 14.6569 13.6569 16 12 16Z";
|
|
436
455
|
function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
437
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
438
|
-
|
|
456
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
457
|
+
Svg18.Path,
|
|
439
458
|
{
|
|
440
459
|
d: CAMERA_PATH,
|
|
441
460
|
stroke: color,
|
|
@@ -449,8 +468,8 @@ function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
449
468
|
// src/icons/Check/checkPath.ts
|
|
450
469
|
var CHECK_PATH = "M4.16669 10.8333L7.50002 14.1667L15.8334 5.83334";
|
|
451
470
|
function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
452
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
453
|
-
|
|
471
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
472
|
+
Svg18.Path,
|
|
454
473
|
{
|
|
455
474
|
d: CHECK_PATH,
|
|
456
475
|
stroke: color,
|
|
@@ -464,8 +483,8 @@ function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
464
483
|
// src/icons/CheckBadge/checkBadgePath.ts
|
|
465
484
|
var CHECK_BADGE_PATH = "M12.5 8.33317L9.16663 11.6665L7.49996 9.99984M11.0384 2.88233L12.0558 3.74941C12.3122 3.96786 12.6305 4.09992 12.9662 4.12671L14.2987 4.23291C15.0822 4.29543 15.7045 4.91733 15.767 5.70077L15.8729 7.03353C15.8997 7.36925 16.0322 7.68799 16.2507 7.94433L17.1174 8.96152C17.6272 9.5597 17.6272 10.4396 17.1175 11.0378L16.2508 12.0551C16.0323 12.3115 15.9 12.6303 15.8732 12.9661L15.7666 14.2986C15.704 15.082 15.0827 15.7043 14.2993 15.7668L12.9663 15.8732C12.6305 15.9 12.312 16.0317 12.0556 16.2502L11.0384 17.1173C10.4402 17.627 9.55973 17.6271 8.96155 17.1174L7.9443 16.2502C7.68796 16.0318 7.36938 15.8998 7.03365 15.8731L5.70064 15.7668C4.9172 15.7043 4.29588 15.0822 4.23336 14.2987L4.12675 12.9661C4.09996 12.6304 3.96759 12.3118 3.74915 12.0555L2.88245 11.0378C2.37268 10.4397 2.37244 9.56002 2.88221 8.96184L3.74969 7.94418C3.96814 7.68784 4.09923 7.36926 4.12602 7.03353L4.23263 5.70093C4.29515 4.91749 4.91826 4.29535 5.70171 4.23283L7.03324 4.12663C7.36897 4.09984 7.68771 3.96788 7.94404 3.74943L8.96164 2.88233C9.55982 2.37256 10.4402 2.37256 11.0384 2.88233Z";
|
|
466
485
|
function CheckBadgeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
467
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
468
|
-
|
|
486
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
487
|
+
Svg18.Path,
|
|
469
488
|
{
|
|
470
489
|
d: CHECK_BADGE_PATH,
|
|
471
490
|
stroke: color,
|
|
@@ -483,8 +502,8 @@ function ChevronDownIcon({
|
|
|
483
502
|
color = colors.primary,
|
|
484
503
|
strokeWidth = 2
|
|
485
504
|
}) {
|
|
486
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
487
|
-
|
|
505
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
506
|
+
Svg18.Path,
|
|
488
507
|
{
|
|
489
508
|
d: CHEVRON_DOWN_PATH,
|
|
490
509
|
stroke: color,
|
|
@@ -498,8 +517,8 @@ function ChevronDownIcon({
|
|
|
498
517
|
// src/icons/ChevronLeft/chevronLeftPath.ts
|
|
499
518
|
var CHEVRON_LEFT_PATH = "M12.5 15L7.5 10L12.5 5";
|
|
500
519
|
function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
501
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
502
|
-
|
|
520
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
521
|
+
Svg18.Path,
|
|
503
522
|
{
|
|
504
523
|
d: CHEVRON_LEFT_PATH,
|
|
505
524
|
stroke: color,
|
|
@@ -513,8 +532,8 @@ function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 })
|
|
|
513
532
|
// src/icons/Clock/clockPath.ts
|
|
514
533
|
var CLOCK_PATH = "M12 7V12H17M12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12C21 16.9706 16.9706 21 12 21Z";
|
|
515
534
|
function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
516
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
517
|
-
|
|
535
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
536
|
+
Svg18.Path,
|
|
518
537
|
{
|
|
519
538
|
d: CLOCK_PATH,
|
|
520
539
|
stroke: color,
|
|
@@ -528,8 +547,8 @@ function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
528
547
|
// src/icons/Close/closePath.ts
|
|
529
548
|
var CLOSE_PATH = "M15 5L5 15M5 5L15 15";
|
|
530
549
|
function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
531
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
532
|
-
|
|
550
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
551
|
+
Svg18.Path,
|
|
533
552
|
{
|
|
534
553
|
d: CLOSE_PATH,
|
|
535
554
|
stroke: color,
|
|
@@ -540,6 +559,21 @@ function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
540
559
|
) });
|
|
541
560
|
}
|
|
542
561
|
|
|
562
|
+
// src/icons/Edit/editPath.ts
|
|
563
|
+
var EDIT_PATH = "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7M18.375 2.625a2.121 2.121 0 1 1 3 3L12.15 13.85a.75.75 0 0 1-.33.2l-3.07.8a.5.5 0 0 1-.61-.61l.8-3.07a.75.75 0 0 1 .2-.33z";
|
|
564
|
+
function EditIcon({ size = 12, color = colors.grey0, strokeWidth = 2 }) {
|
|
565
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
566
|
+
Svg18.Path,
|
|
567
|
+
{
|
|
568
|
+
d: EDIT_PATH,
|
|
569
|
+
stroke: color,
|
|
570
|
+
strokeWidth,
|
|
571
|
+
strokeLinecap: "round",
|
|
572
|
+
strokeLinejoin: "round"
|
|
573
|
+
}
|
|
574
|
+
) });
|
|
575
|
+
}
|
|
576
|
+
|
|
543
577
|
// src/icons/CottageCard/cottageCardPaths.ts
|
|
544
578
|
var SAVE_HEART_PATH = "M8 5.12971C6.66667 2.00008 2 2.33341 2 6.33343C2 10.3335 8 13.6669 8 13.6669C8 13.6669 14 10.3335 14 6.33343C14 2.33341 9.33333 2.00008 8 5.12971Z";
|
|
545
579
|
var RATING_STAR_PATH = "M1.16748 5.16814C1.01086 5.0233 1.09593 4.76145 1.30778 4.73633L4.30957 4.38029C4.39591 4.37005 4.47091 4.31583 4.50732 4.23688L5.77344 1.49199C5.86279 1.29827 6.13819 1.29823 6.22754 1.49195L7.49365 4.23682C7.53007 4.31577 7.60458 4.37014 7.69092 4.38038L10.6929 4.73633C10.9047 4.76145 10.9896 5.02338 10.8329 5.16822L8.61388 7.22071C8.55005 7.27974 8.52163 7.36761 8.53857 7.45289L9.1275 10.4177C9.16908 10.627 8.94639 10.7891 8.76024 10.6849L6.12257 9.20806C6.0467 9.16559 5.95453 9.16579 5.87866 9.20826L3.24072 10.6845C3.05457 10.7887 2.83147 10.627 2.87305 10.4177L3.46207 7.45307C3.47902 7.36779 3.45067 7.27972 3.38683 7.22069L1.16748 5.16814Z";
|
|
@@ -555,8 +589,8 @@ function SaveHeartIcon({
|
|
|
555
589
|
strokeWidth = 2,
|
|
556
590
|
fillOpacity = 0
|
|
557
591
|
}) {
|
|
558
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
559
|
-
|
|
592
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
593
|
+
Svg18.Path,
|
|
560
594
|
{
|
|
561
595
|
d: SAVE_HEART_PATH,
|
|
562
596
|
fill: color,
|
|
@@ -569,8 +603,8 @@ function SaveHeartIcon({
|
|
|
569
603
|
) });
|
|
570
604
|
}
|
|
571
605
|
function RatingStarIcon({ size = 12, color = "#E38E5E", strokeWidth = 2 }) {
|
|
572
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
573
|
-
|
|
606
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
607
|
+
Svg18.Path,
|
|
574
608
|
{
|
|
575
609
|
d: RATING_STAR_PATH,
|
|
576
610
|
fill: color,
|
|
@@ -587,9 +621,9 @@ function CardLocationIcon({
|
|
|
587
621
|
strokeWidth = 1.5,
|
|
588
622
|
secondaryColor = colors.grey700
|
|
589
623
|
}) {
|
|
590
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
624
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg18__default.default, { width: size, height: size, viewBox: "0 0 13 13", fill: "none", children: [
|
|
591
625
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
592
|
-
|
|
626
|
+
Svg18.Path,
|
|
593
627
|
{
|
|
594
628
|
d: CARD_LOCATION_BASE_PATH,
|
|
595
629
|
stroke: color,
|
|
@@ -599,7 +633,7 @@ function CardLocationIcon({
|
|
|
599
633
|
}
|
|
600
634
|
),
|
|
601
635
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
602
|
-
|
|
636
|
+
Svg18.Path,
|
|
603
637
|
{
|
|
604
638
|
d: CARD_LOCATION_PIN_PATH,
|
|
605
639
|
fill: color,
|
|
@@ -609,7 +643,7 @@ function CardLocationIcon({
|
|
|
609
643
|
}
|
|
610
644
|
),
|
|
611
645
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
612
|
-
|
|
646
|
+
Svg18.Path,
|
|
613
647
|
{
|
|
614
648
|
d: CARD_LOCATION_DOT_PATH,
|
|
615
649
|
fill: secondaryColor,
|
|
@@ -626,7 +660,7 @@ function FilledCardIcon({
|
|
|
626
660
|
color,
|
|
627
661
|
fillOpacity
|
|
628
662
|
}) {
|
|
629
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
663
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: path, fill: color, fillOpacity }) });
|
|
630
664
|
}
|
|
631
665
|
function GuestsIcon({ size = 16, color = colors.white, fillOpacity = 0.4 }) {
|
|
632
666
|
return /* @__PURE__ */ jsxRuntime.jsx(FilledCardIcon, { path: GUESTS_PATH, size, color, fillOpacity });
|
|
@@ -640,6 +674,7 @@ function BathroomsIcon({ size = 16, color = colors.white, fillOpacity = 0.4 }) {
|
|
|
640
674
|
|
|
641
675
|
// src/icons/CottageDetail/cottageDetailPaths.ts
|
|
642
676
|
var SHARE_PATH = "M7.5 11.25L12.5 13.75M12.5 6.25L7.5 8.75M15 17.5C13.6193 17.5 12.5 16.3807 12.5 15C12.5 13.6193 13.6193 12.5 15 12.5C16.3807 12.5 17.5 13.6193 17.5 15C17.5 16.3807 16.3807 17.5 15 17.5ZM5 12.5C3.61929 12.5 2.5 11.3807 2.5 10C2.5 8.61929 3.61929 7.5 5 7.5C6.38071 7.5 7.5 8.61929 7.5 10C7.5 11.3807 6.38071 12.5 5 12.5ZM15 7.5C13.6193 7.5 12.5 6.38071 12.5 5C12.5 3.61929 13.6193 2.5 15 2.5C16.3807 2.5 17.5 3.61929 17.5 5C17.5 6.38071 16.3807 7.5 15 7.5Z";
|
|
677
|
+
var DOWNLOAD_PATH = "M21 21H3M6 11L12 17L18 11M12 17V3";
|
|
643
678
|
var AREA_EXPAND_PATHS = [
|
|
644
679
|
"M15 3H21V9",
|
|
645
680
|
"M9 21H3V15",
|
|
@@ -653,8 +688,8 @@ var COPY_PATH = "M6.66699 13.3337V15.667C6.66699 16.6004 6.66699 17.0671 6.84865
|
|
|
653
688
|
var CHECK_SUCCESS_PATH = "M16.6663 5L7.49967 14.1667L3.33301 10";
|
|
654
689
|
var TOOLTIP_ARROW_PATH = "M3.21121 6.42229C3.94826 7.89639 6.05187 7.89639 6.78892 6.42229L10.0001 0H6.2595e-05L3.21121 6.42229Z";
|
|
655
690
|
function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
656
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
657
|
-
|
|
691
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
692
|
+
Svg18.Path,
|
|
658
693
|
{
|
|
659
694
|
d: SHARE_PATH,
|
|
660
695
|
stroke: color,
|
|
@@ -664,9 +699,21 @@ function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
664
699
|
}
|
|
665
700
|
) });
|
|
666
701
|
}
|
|
702
|
+
function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
703
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
704
|
+
Svg18.Path,
|
|
705
|
+
{
|
|
706
|
+
d: DOWNLOAD_PATH,
|
|
707
|
+
stroke: color,
|
|
708
|
+
strokeWidth,
|
|
709
|
+
strokeLinecap: "round",
|
|
710
|
+
strokeLinejoin: "round"
|
|
711
|
+
}
|
|
712
|
+
) });
|
|
713
|
+
}
|
|
667
714
|
function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
668
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
669
|
-
|
|
715
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: AREA_EXPAND_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
716
|
+
Svg18.Path,
|
|
670
717
|
{
|
|
671
718
|
d: path,
|
|
672
719
|
stroke: color,
|
|
@@ -678,17 +725,17 @@ function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
678
725
|
)) });
|
|
679
726
|
}
|
|
680
727
|
function ClockFilledIcon({ size = 16, color = colors.white }) {
|
|
681
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
728
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: CLOCK_FILLED_PATH, fill: color }) });
|
|
682
729
|
}
|
|
683
730
|
function QrCodeIcon({ size = 24, color = colors.primary }) {
|
|
684
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
731
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: QR_CODE_PATH, fill: color }) });
|
|
685
732
|
}
|
|
686
733
|
function WhatsAppIcon({ size = 24, color = colors.white }) {
|
|
687
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
734
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: WHATSAPP_PATH, fill: color }) });
|
|
688
735
|
}
|
|
689
736
|
function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
690
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
691
|
-
|
|
737
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
738
|
+
Svg18.Path,
|
|
692
739
|
{
|
|
693
740
|
d: COPY_PATH,
|
|
694
741
|
stroke: color,
|
|
@@ -699,8 +746,8 @@ function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
699
746
|
) });
|
|
700
747
|
}
|
|
701
748
|
function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 }) {
|
|
702
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
703
|
-
|
|
749
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
750
|
+
Svg18.Path,
|
|
704
751
|
{
|
|
705
752
|
d: CHECK_SUCCESS_PATH,
|
|
706
753
|
stroke: color,
|
|
@@ -711,20 +758,78 @@ function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 })
|
|
|
711
758
|
) });
|
|
712
759
|
}
|
|
713
760
|
function TooltipArrowIcon({ size = 10, color = colors.grey600 }) {
|
|
714
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
761
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size * 8 / 10, viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: TOOLTIP_ARROW_PATH, fill: color }) });
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
// src/icons/HouseRules/houseRulesPaths.ts
|
|
765
|
+
var QUIET_HOURS_PATH = "M9.99935 4.99996C9.88991 4.99993 9.78153 5.02147 9.68042 5.06334C9.5793 5.1052 9.48742 5.16659 9.41003 5.24397C9.33265 5.32136 9.27126 5.41324 9.2294 5.51436C9.18753 5.61547 9.16599 5.72385 9.16602 5.83329V8.55628L8.2513 8.02812C8.05987 7.91775 7.83243 7.88791 7.61901 7.94518C7.40558 8.00245 7.22363 8.14213 7.11316 8.33351C7.00269 8.52489 6.97274 8.7523 7.0299 8.96576C7.08706 9.17921 7.22665 9.36123 7.41797 9.4718L9.58269 10.7218C9.70938 10.7949 9.8531 10.8335 9.99939 10.8334C10.1457 10.8334 10.2894 10.7949 10.4161 10.7218C10.5428 10.6486 10.648 10.5434 10.7211 10.4167C10.7942 10.29 10.8327 10.1463 10.8327 9.99996V5.83329C10.8327 5.72385 10.8112 5.61547 10.7693 5.51436C10.7274 5.41324 10.6661 5.32136 10.5887 5.24397C10.5113 5.16659 10.4194 5.1052 10.3183 5.06334C10.2172 5.02147 10.1088 4.99993 9.99935 4.99996V4.99996ZM9.99935 1.66663C8.35118 1.66663 6.74001 2.15537 5.3696 3.07105C3.99919 3.98672 2.93109 5.28821 2.30036 6.81093C1.66963 8.33365 1.5046 10.0092 1.82614 11.6257C2.14769 13.2422 2.94136 14.7271 4.1068 15.8925C5.27223 17.058 6.75709 17.8516 8.3736 18.1732C9.99011 18.4947 11.6657 18.3297 13.1884 17.699C14.7111 17.0682 16.0126 16.0001 16.9283 14.6297C17.8439 13.2593 18.3327 11.6481 18.3327 9.99996C18.3302 7.7906 17.4514 5.67245 15.8891 4.11019C14.3269 2.54794 12.2087 1.66915 9.99935 1.66663V1.66663ZM9.99935 16.6666C8.68081 16.6666 7.39188 16.2756 6.29555 15.5431C5.19922 14.8105 4.34474 13.7694 3.84016 12.5512C3.33557 11.333 3.20355 9.99256 3.46078 8.69936C3.71802 7.40615 4.35296 6.21826 5.28531 5.28591C6.21766 4.35356 7.40554 3.71863 8.69875 3.46139C9.99196 3.20416 11.3324 3.33618 12.5506 3.84076C13.7687 4.34535 14.8099 5.19983 15.5425 6.29616C16.275 7.39249 16.666 8.68142 16.666 9.99996C16.664 11.7674 15.961 13.462 14.7112 14.7118C13.4614 15.9616 11.7668 16.6646 9.99935 16.6666V16.6666Z";
|
|
766
|
+
var NO_SMOKING_PATHS = [
|
|
767
|
+
"M6.66602 10.8334V14.1667",
|
|
768
|
+
"M13.334 4.16663V4.58329C13.334 5.02532 13.5096 5.44924 13.8221 5.7618C14.1347 6.07436 14.5586 6.24996 15.0007 6.24996C15.4427 6.24996 15.8666 6.42555 16.1792 6.73811C16.4917 7.05068 16.6673 7.4746 16.6673 7.91663V8.33329",
|
|
769
|
+
"M2.5 2.5L17.5 17.5",
|
|
770
|
+
"M14.1667 10.8334H16.6667C16.8877 10.8334 17.0996 10.9212 17.2559 11.0775C17.4122 11.2337 17.5 11.4457 17.5 11.6667V13.3334C17.5 13.5667 17.4042 13.7775 17.25 13.9284M14.1667 14.1667H3.33333C3.11232 14.1667 2.90036 14.0789 2.74408 13.9226C2.5878 13.7663 2.5 13.5544 2.5 13.3334V11.6667C2.5 11.4457 2.5878 11.2337 2.74408 11.0775C2.90036 10.9212 3.11232 10.8334 3.33333 10.8334H10.8333"
|
|
771
|
+
];
|
|
772
|
+
var PAW_PATHS = [
|
|
773
|
+
"M12.25 11.25C11.3334 9.58329 11.0492 9.16663 10.0001 9.16663C8.95088 9.16663 8.55338 9.79579 7.63672 11.4558C6.85172 12.875 5.26505 12.9933 4.86922 14.1983C4.78838 14.4191 4.74838 14.7625 4.75005 15C4.75005 15.98 5.40588 16.6666 6.25005 16.6666C7.29922 16.6666 8.75005 15.8333 10.0001 15.8333C11.2501 15.8333 12.7009 16.6666 13.7501 16.6666C14.5942 16.6666 15.25 15.9808 15.25 15C15.25 14.7625 15.2092 14.4191 15.1284 14.1983C14.7325 12.9891 13.035 12.6691 12.25 11.25Z",
|
|
774
|
+
"M16.8241 6.73496C16.7171 6.68971 16.602 6.66647 16.4858 6.66663H16.4733C15.8608 6.67663 15.1733 7.29163 14.8125 8.22163C14.38 9.33413 14.5791 10.4716 15.2608 10.765C15.3683 10.8108 15.4833 10.8333 15.5991 10.8333C16.215 10.8333 16.9116 10.215 17.275 9.27829C17.705 8.16579 17.5016 7.02829 16.8241 6.73496Z",
|
|
775
|
+
"M7.89628 7.50004C7.94211 7.50004 7.98711 7.50004 8.03211 7.49087C8.81878 7.38421 9.30961 6.36921 9.13211 5.22254C8.96295 4.14171 8.25961 3.33337 7.52211 3.33337C7.47628 3.33337 7.43128 3.33337 7.38628 3.34254C6.59961 3.44921 6.10878 4.46421 6.28628 5.61087C6.45628 6.68837 7.15961 7.50004 7.89711 7.50004H7.89628Z",
|
|
776
|
+
"M13.7139 5.61088C13.8922 4.46421 13.4014 3.44921 12.6139 3.34254C12.5692 3.33635 12.5241 3.33329 12.4789 3.33338C11.7414 3.33338 11.0389 4.14171 10.8706 5.22254C10.6922 6.36921 11.1831 7.38421 11.9706 7.49088C12.0156 7.49671 12.0606 7.50004 12.1056 7.50004C12.8431 7.50004 13.5472 6.68838 13.7139 5.61088Z",
|
|
777
|
+
"M4.74152 10.765C5.42152 10.4716 5.61985 9.33246 5.18819 8.22163C4.82485 7.28496 4.12902 6.66663 3.51402 6.66663C3.39735 6.66663 3.28319 6.68913 3.17485 6.73496C2.49485 7.02829 2.29652 8.16746 2.72819 9.27829C3.09152 10.215 3.78735 10.8333 4.40235 10.8333C4.51902 10.8333 4.63319 10.8108 4.74152 10.765Z"
|
|
778
|
+
];
|
|
779
|
+
var TRASH_PATH = "M7.5 2.5H12.5M2.5 5H17.5M15.8333 5L15.2489 13.7661C15.1612 15.0813 15.1174 15.7389 14.8333 16.2375C14.5833 16.6765 14.206 17.0294 13.7514 17.2497C13.235 17.5 12.5759 17.5 11.2578 17.5H8.74221C7.42409 17.5 6.76503 17.5 6.24861 17.2497C5.79396 17.0294 5.41674 16.6765 5.16665 16.2375C4.88259 15.7389 4.83875 15.0813 4.75107 13.7661L4.16667 5M8.33333 8.75V12.9167M11.6667 8.75V12.9167";
|
|
780
|
+
function QuietHoursIcon({ size = 20, color = colors.white }) {
|
|
781
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: QUIET_HOURS_PATH, fill: color }) });
|
|
782
|
+
}
|
|
783
|
+
function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
784
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: NO_SMOKING_PATHS.map((d) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
785
|
+
Svg18.Path,
|
|
786
|
+
{
|
|
787
|
+
d,
|
|
788
|
+
stroke: color,
|
|
789
|
+
strokeWidth,
|
|
790
|
+
strokeLinecap: "round",
|
|
791
|
+
strokeLinejoin: "round"
|
|
792
|
+
},
|
|
793
|
+
d
|
|
794
|
+
)) });
|
|
795
|
+
}
|
|
796
|
+
function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
797
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: PAW_PATHS.map((d) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
798
|
+
Svg18.Path,
|
|
799
|
+
{
|
|
800
|
+
d,
|
|
801
|
+
stroke: color,
|
|
802
|
+
strokeWidth,
|
|
803
|
+
strokeLinecap: "round",
|
|
804
|
+
strokeLinejoin: "round"
|
|
805
|
+
},
|
|
806
|
+
d
|
|
807
|
+
)) });
|
|
808
|
+
}
|
|
809
|
+
function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
810
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
811
|
+
Svg18.Path,
|
|
812
|
+
{
|
|
813
|
+
d: TRASH_PATH,
|
|
814
|
+
stroke: color,
|
|
815
|
+
strokeWidth,
|
|
816
|
+
strokeLinecap: "round",
|
|
817
|
+
strokeLinejoin: "round"
|
|
818
|
+
}
|
|
819
|
+
) });
|
|
715
820
|
}
|
|
716
821
|
|
|
717
822
|
// src/icons/Facebook/facebookPath.ts
|
|
718
823
|
var FACEBOOK_PATH = "M10.0003 1.69922C5.41699 1.69922 1.66699 5.44089 1.66699 10.0492C1.66699 14.2159 4.71699 17.6742 8.70033 18.2992V12.4659H6.58366V10.0492H8.70033V8.20755C8.70033 6.11589 9.94199 4.96589 11.8503 4.96589C12.7587 4.96589 13.7087 5.12422 13.7087 5.12422V7.18255H12.6587C11.6253 7.18255 11.3003 7.82422 11.3003 8.48255V10.0492H13.617L13.242 12.4659H11.3003V18.2992C13.264 17.9891 15.0522 16.9871 16.3419 15.4743C17.6317 13.9614 18.3381 12.0373 18.3337 10.0492C18.3337 5.44089 14.5837 1.69922 10.0003 1.69922Z";
|
|
719
824
|
function FacebookIcon({ size = 20, color = colors.white }) {
|
|
720
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
825
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: FACEBOOK_PATH, fill: color }) });
|
|
721
826
|
}
|
|
722
827
|
|
|
723
828
|
// src/icons/Filters/filtersPath.ts
|
|
724
829
|
var FILTERS_PATH = "M5 10H15M2.5 5H17.5M7.5 15H12.5";
|
|
725
830
|
function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
726
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
727
|
-
|
|
831
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
832
|
+
Svg18.Path,
|
|
728
833
|
{
|
|
729
834
|
d: FILTERS_PATH,
|
|
730
835
|
stroke: color,
|
|
@@ -738,8 +843,8 @@ function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
738
843
|
// src/icons/Heart/heartPath.ts
|
|
739
844
|
var HEART_PATH = "M7.99547 3.42388C6.66257 1.8656 4.43987 1.44643 2.76984 2.87334C1.0998 4.30026 0.864686 6.68598 2.17617 8.3736C3.26659 9.77674 6.56656 12.7361 7.64811 13.6939C7.76911 13.801 7.82961 13.8546 7.90018 13.8757C7.96178 13.8941 8.02917 13.8941 8.09077 13.8757C8.16134 13.8546 8.22184 13.801 8.34284 13.6939C9.42439 12.7361 12.7244 9.77674 13.8148 8.3736C15.1263 6.68598 14.9199 4.28525 13.2211 2.87334C11.5224 1.46144 9.32838 1.8656 7.99547 3.42388Z";
|
|
740
845
|
function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
741
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
742
|
-
|
|
846
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
847
|
+
Svg18.Path,
|
|
743
848
|
{
|
|
744
849
|
d: HEART_PATH,
|
|
745
850
|
stroke: color,
|
|
@@ -755,8 +860,8 @@ function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
755
860
|
// src/icons/Globe/globePath.ts
|
|
756
861
|
var GLOBE_PATH = "M18.3333 10C18.3333 14.6024 14.6024 18.3333 10 18.3333M18.3333 10C18.3333 5.39763 14.6024 1.66667 10 1.66667M18.3333 10H1.66667M10 18.3333C5.39763 18.3333 1.66667 14.6024 1.66667 10M10 18.3333C12.0833 16.0511 13.2675 13.0836 13.3333 10C13.2675 6.91643 12.0833 3.94892 10 1.66667M10 18.3333C7.91667 16.0511 6.73248 13.0836 6.66667 10C6.73248 6.91643 7.91667 3.94892 10 1.66667M1.66667 10C1.66667 5.39763 5.39763 1.66667 10 1.66667";
|
|
757
862
|
function GlobeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
758
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
759
|
-
|
|
863
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
864
|
+
Svg18.Path,
|
|
760
865
|
{
|
|
761
866
|
d: GLOBE_PATH,
|
|
762
867
|
stroke: color,
|
|
@@ -774,8 +879,8 @@ function HelpCircleIcon({
|
|
|
774
879
|
color = colors.primary,
|
|
775
880
|
strokeWidth = 1.5
|
|
776
881
|
}) {
|
|
777
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
778
|
-
|
|
882
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
883
|
+
Svg18.Path,
|
|
779
884
|
{
|
|
780
885
|
d: HELP_CIRCLE_PATH,
|
|
781
886
|
stroke: color,
|
|
@@ -789,8 +894,8 @@ function HelpCircleIcon({
|
|
|
789
894
|
// src/icons/Home/homePath.ts
|
|
790
895
|
var HOME_PATH = "M1.66675 16.6667H3.33341M3.33341 16.6667H8.33341M3.33341 16.6667V9.54352C3.33341 9.09823 3.33341 8.87548 3.38756 8.66828C3.43554 8.48466 3.51491 8.31089 3.6215 8.15387C3.74178 7.97668 3.90895 7.82974 4.24406 7.53652L8.24538 4.03537C8.86662 3.49178 9.17726 3.21997 9.5271 3.11652C9.83559 3.02529 10.1644 3.02529 10.4729 3.11652C10.823 3.22005 11.1341 3.49212 11.7563 4.03652L15.7563 7.53652C16.0914 7.82974 16.2586 7.97668 16.3789 8.15387C16.4855 8.31089 16.5642 8.48466 16.6122 8.66828C16.6664 8.87548 16.6667 9.09824 16.6667 9.54352V16.6667M8.33341 16.6667H11.6667M8.33341 16.6667V13.3334C8.33341 12.4129 9.07961 11.6667 10.0001 11.6667C10.9206 11.6667 11.6667 12.4129 11.6667 13.3334V16.6667M11.6667 16.6667H16.6667M16.6667 16.6667H18.3334";
|
|
791
896
|
function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
792
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
793
|
-
|
|
897
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
898
|
+
Svg18.Path,
|
|
794
899
|
{
|
|
795
900
|
d: HOME_PATH,
|
|
796
901
|
stroke: color,
|
|
@@ -804,14 +909,14 @@ function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
804
909
|
// src/icons/Instagram/instagramPath.ts
|
|
805
910
|
var INSTAGRAM_PATH = "M6.49984 1.66748H13.4998C16.1665 1.66748 18.3332 3.83415 18.3332 6.50081V13.5008C18.3332 14.7827 17.8239 16.0121 16.9175 16.9185C16.0111 17.8249 14.7817 18.3341 13.4998 18.3341H6.49984C3.83317 18.3341 1.6665 16.1675 1.6665 13.5008V6.50081C1.6665 5.21893 2.17573 3.98956 3.08215 3.08313C3.98858 2.17671 5.21796 1.66748 6.49984 1.66748ZM6.33317 3.33415C5.53752 3.33415 4.77446 3.65022 4.21185 4.21283C3.64924 4.77544 3.33317 5.5385 3.33317 6.33415V13.6675C3.33317 15.3258 4.67484 16.6675 6.33317 16.6675H13.6665C14.4622 16.6675 15.2252 16.3514 15.7878 15.7888C16.3504 15.2262 16.6665 14.4631 16.6665 13.6675V6.33415C16.6665 4.67581 15.3248 3.33415 13.6665 3.33415H6.33317ZM14.3748 4.58415C14.6511 4.58415 14.9161 4.69389 15.1114 4.88924C15.3068 5.08459 15.4165 5.34955 15.4165 5.62581C15.4165 5.90208 15.3068 6.16703 15.1114 6.36238C14.9161 6.55773 14.6511 6.66748 14.3748 6.66748C14.0986 6.66748 13.8336 6.55773 13.6383 6.36238C13.4429 6.16703 13.3332 5.90208 13.3332 5.62581C13.3332 5.34955 13.4429 5.08459 13.6383 4.88924C13.8336 4.69389 14.0986 4.58415 14.3748 4.58415ZM9.99984 5.83415C11.1049 5.83415 12.1647 6.27313 12.9461 7.05454C13.7275 7.83594 14.1665 8.89574 14.1665 10.0008C14.1665 11.1059 13.7275 12.1657 12.9461 12.9471C12.1647 13.7285 11.1049 14.1675 9.99984 14.1675C8.89477 14.1675 7.83496 13.7285 7.05356 12.9471C6.27216 12.1657 5.83317 11.1059 5.83317 10.0008C5.83317 8.89574 6.27216 7.83594 7.05356 7.05454C7.83496 6.27313 8.89477 5.83415 9.99984 5.83415ZM9.99984 7.50081C9.3368 7.50081 8.70091 7.76421 8.23207 8.23305C7.76323 8.70189 7.49984 9.33777 7.49984 10.0008C7.49984 10.6639 7.76323 11.2997 8.23207 11.7686C8.70091 12.2374 9.3368 12.5008 9.99984 12.5008C10.6629 12.5008 11.2988 12.2374 11.7676 11.7686C12.2364 11.2997 12.4998 10.6639 12.4998 10.0008C12.4998 9.33777 12.2364 8.70189 11.7676 8.23305C11.2988 7.76421 10.6629 7.50081 9.99984 7.50081Z";
|
|
806
911
|
function InstagramIcon({ size = 20, color = colors.white }) {
|
|
807
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
912
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: INSTAGRAM_PATH, fill: color }) });
|
|
808
913
|
}
|
|
809
914
|
|
|
810
915
|
// src/icons/Key/keyPath.ts
|
|
811
916
|
var KEY_PATH = "M5.28673 10.0002L7.0545 11.768M7.6435 7.64301L9.41127 9.41078M10.0003 5.28624L11.768 7.05401M4.22553 11.0604L11.0609 4.22505C11.7209 3.56502 12.0513 3.235 12.4318 3.11136C12.7666 3.00259 13.127 3.00259 13.4618 3.11136C13.8421 3.23494 14.1718 3.56464 14.8311 4.22393L15.775 5.16785C16.4351 5.82788 16.7654 6.15867 16.8891 6.53922C16.9979 6.87396 16.9976 7.23381 16.8889 7.56855C16.7652 7.9491 16.4353 8.27937 15.7753 8.9394L8.93989 15.7748C8.27986 16.4348 7.94959 16.7647 7.56904 16.8884C7.2343 16.9971 6.87445 16.9974 6.53971 16.8886C6.15916 16.765 5.82837 16.4346 5.16834 15.7745L4.22441 14.8306C3.56513 14.1713 3.23542 13.8416 3.11185 13.4613C3.00308 13.1266 3.00308 12.7661 3.11185 12.4313C3.23549 12.0508 3.56551 11.7204 4.22553 11.0604Z";
|
|
812
917
|
function KeyIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
813
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
814
|
-
|
|
918
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
919
|
+
Svg18.Path,
|
|
815
920
|
{
|
|
816
921
|
d: KEY_PATH,
|
|
817
922
|
stroke: color,
|
|
@@ -829,8 +934,8 @@ function LayoutGridIcon({
|
|
|
829
934
|
color = colors.primary,
|
|
830
935
|
strokeWidth = 1.5
|
|
831
936
|
}) {
|
|
832
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
833
|
-
|
|
937
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
938
|
+
Svg18.Path,
|
|
834
939
|
{
|
|
835
940
|
d: LAYOUT_GRID_PATH,
|
|
836
941
|
stroke: color,
|
|
@@ -844,14 +949,14 @@ function LayoutGridIcon({
|
|
|
844
949
|
// src/icons/LinkedIn/linkedinPath.ts
|
|
845
950
|
var LINKEDIN_PATH = "M15.8333 2.50098C16.2754 2.50098 16.6993 2.67657 17.0118 2.98913C17.3244 3.30169 17.5 3.72562 17.5 4.16764V15.8343C17.5 16.2763 17.3244 16.7003 17.0118 17.0128C16.6993 17.3254 16.2754 17.501 15.8333 17.501H4.16667C3.72464 17.501 3.30072 17.3254 2.98816 17.0128C2.67559 16.7003 2.5 16.2763 2.5 15.8343V4.16764C2.5 3.72562 2.67559 3.30169 2.98816 2.98913C3.30072 2.67657 3.72464 2.50098 4.16667 2.50098H15.8333ZM15.4167 15.4176V11.001C15.4167 10.2805 15.1304 9.58948 14.621 9.08C14.1115 8.57053 13.4205 8.28431 12.7 8.28431C11.9917 8.28431 11.1667 8.71764 10.7667 9.36764V8.44264H8.44167V15.4176H10.7667V11.3093C10.7667 10.6676 11.2833 10.1426 11.925 10.1426C12.2344 10.1426 12.5312 10.2656 12.75 10.4844C12.9687 10.7031 13.0917 10.9999 13.0917 11.3093V15.4176H15.4167ZM5.73333 7.13431C6.10464 7.13431 6.46073 6.98681 6.72328 6.72426C6.98583 6.46171 7.13333 6.10561 7.13333 5.73431C7.13333 4.95931 6.50833 4.32598 5.73333 4.32598C5.35982 4.32598 5.0016 4.47435 4.73749 4.73847C4.47338 5.00258 4.325 5.3608 4.325 5.73431C4.325 6.50931 4.95833 7.13431 5.73333 7.13431ZM6.89167 15.4176V8.44264H4.58333V15.4176H6.89167Z";
|
|
846
951
|
function LinkedInIcon({ size = 20, color = colors.white }) {
|
|
847
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
952
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: LINKEDIN_PATH, fill: color }) });
|
|
848
953
|
}
|
|
849
954
|
|
|
850
955
|
// src/icons/ListView/listViewPath.ts
|
|
851
956
|
var LIST_VIEW_PATH = "M7 2.5H3.83333C3.36662 2.5 3.13327 2.5 2.95501 2.59083C2.79821 2.67072 2.67072 2.79821 2.59083 2.95501C2.5 3.13327 2.5 3.36662 2.5 3.83333V7C2.5 7.46671 2.5 7.70007 2.59083 7.87833C2.67072 8.03513 2.79821 8.16261 2.95501 8.24251C3.13327 8.33333 3.36662 8.33333 3.83333 8.33333H7C7.46671 8.33333 7.70007 8.33333 7.87833 8.24251C8.03513 8.16261 8.16261 8.03513 8.24251 7.87833C8.33333 7.70007 8.33333 7.46671 8.33333 7V3.83333C8.33333 3.36662 8.33333 3.13327 8.24251 2.95501C8.16261 2.79821 8.03513 2.67072 7.87833 2.59083C7.70007 2.5 7.46671 2.5 7 2.5ZM16.1667 2.5H13C12.5333 2.5 12.2999 2.5 12.1217 2.59083C11.9649 2.67072 11.8374 2.79821 11.7575 2.95501C11.6667 3.13327 11.6667 3.36662 11.6667 3.83333V7C11.6667 7.46671 11.6667 7.70007 11.7575 7.87833C11.8374 8.03513 11.9649 8.16261 12.1217 8.24251C12.2999 8.33333 12.5333 8.33333 13 8.33333H16.1667C16.6334 8.33333 16.8667 8.33333 17.045 8.24251C17.2018 8.16261 17.3293 8.03513 17.4092 7.87833C17.5 7.70007 17.5 7.46671 17.5 7V3.83333C17.5 3.36662 17.5 3.13327 17.4092 2.95501C17.3293 2.79821 17.2018 2.67072 17.045 2.59083C16.8667 2.5 16.6334 2.5 16.1667 2.5ZM16.1667 11.6667H13C12.5333 11.6667 12.2999 11.6667 12.1217 11.7575C11.9649 11.8374 11.8374 11.9649 11.7575 12.1217C11.6667 12.2999 11.6667 12.5333 11.6667 13V16.1667C11.6667 16.6334 11.6667 16.8667 11.7575 17.045C11.8374 17.2018 11.9649 17.3293 12.1217 17.4092C12.2999 17.5 12.5333 17.5 13 17.5H16.1667C16.6334 17.5 16.8667 17.5 17.045 17.4092C17.2018 17.3293 17.3293 17.2018 17.4092 17.045C17.5 16.8667 17.5 16.6334 17.5 16.1667V13C17.5 12.5333 17.5 12.2999 17.4092 12.1217C17.3293 11.9649 17.2018 11.8374 17.045 11.7575C16.8667 11.6667 16.6334 11.6667 16.1667 11.6667ZM7 11.6667H3.83333C3.36662 11.6667 3.13327 11.6667 2.95501 11.7575C2.79821 11.8374 2.67072 11.9649 2.59083 12.1217C2.5 12.2999 2.5 12.5333 2.5 13V16.1667C2.5 16.6334 2.5 16.8667 2.59083 17.045C2.67072 17.2018 2.79821 17.3293 2.95501 17.4092C3.13327 17.5 3.36662 17.5 3.83333 17.5H7C7.46671 17.5 7.70007 17.5 7.87833 17.4092C8.03513 17.3293 8.16261 17.2018 8.24251 17.045C8.33333 16.8667 8.33333 16.6334 8.33333 16.1667V13C8.33333 12.5333 8.33333 12.2999 8.24251 12.1217C8.16261 11.9649 8.03513 11.8374 7.87833 11.7575C7.70007 11.6667 7.46671 11.6667 7 11.6667Z";
|
|
852
957
|
function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
853
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
854
|
-
|
|
958
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
959
|
+
Svg18.Path,
|
|
855
960
|
{
|
|
856
961
|
d: LIST_VIEW_PATH,
|
|
857
962
|
stroke: color,
|
|
@@ -865,8 +970,8 @@ function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
865
970
|
// src/icons/LocationPin/locationPinPath.ts
|
|
866
971
|
var LOCATION_PIN_PATH = "M4.16675 8.26904C4.16675 12.3122 7.70381 15.6558 9.26941 16.9377C9.49347 17.1211 9.60684 17.214 9.774 17.261C9.90417 17.2977 10.0957 17.2977 10.2259 17.261C10.3934 17.2139 10.506 17.122 10.7309 16.9378C12.2965 15.6559 15.8333 12.3126 15.8333 8.26941C15.8333 6.73932 15.2188 5.27171 14.1248 4.18977C13.0309 3.10783 11.5472 2.5 10.0001 2.5C8.45305 2.5 6.96925 3.10792 5.87529 4.18986C4.78133 5.2718 4.16675 6.73895 4.16675 8.26904ZM8.33341 7.5C8.33341 8.42047 9.07961 9.16667 10.0001 9.16667C10.9206 9.16667 11.6667 8.42047 11.6667 7.5C11.6667 6.57953 10.9206 5.83333 10.0001 5.83333C9.07961 5.83333 8.33341 6.57953 8.33341 7.5Z";
|
|
867
972
|
function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
868
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
869
|
-
|
|
973
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
974
|
+
Svg18.Path,
|
|
870
975
|
{
|
|
871
976
|
d: LOCATION_PIN_PATH,
|
|
872
977
|
stroke: color,
|
|
@@ -877,11 +982,32 @@ function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 })
|
|
|
877
982
|
) });
|
|
878
983
|
}
|
|
879
984
|
|
|
985
|
+
// src/icons/LocationUser/locationUserPath.ts
|
|
986
|
+
var LOCATION_USER_PATH = "M10.9127 8.5267C10.8313 8.4943 10.7443 8.47826 10.6566 8.47949C10.569 8.48073 10.4825 8.4992 10.402 8.53387C10.3216 8.56854 10.2487 8.61872 10.1876 8.68154C10.1265 8.74437 10.0784 8.81861 10.046 8.90003C10.0136 8.98145 9.99758 9.06845 9.99882 9.15607C10 9.24369 10.0185 9.3302 10.0532 9.41068C10.0879 9.49116 10.138 9.56402 10.2009 9.62511C10.2637 9.68619 10.3379 9.7343 10.4193 9.7667C11.3927 10.1534 11.9993 10.7534 11.9993 11.3334C11.9993 12.28 10.3593 13.3334 7.99935 13.3334C5.63935 13.3334 3.99935 12.28 3.99935 11.3334C3.99935 10.7534 4.60602 10.1534 5.57935 9.7667C5.74378 9.70128 5.87549 9.57321 5.94551 9.41068C6.01552 9.24815 6.0181 9.06446 5.95268 8.90003C5.88726 8.73559 5.7592 8.60388 5.59667 8.53387C5.43414 8.46386 5.25045 8.46128 5.08602 8.5267C3.57268 9.1267 2.66602 10.1734 2.66602 11.3334C2.66602 13.2 5.00602 14.6667 7.99935 14.6667C10.9927 14.6667 13.3327 13.2 13.3327 11.3334C13.3327 10.1734 12.426 9.1267 10.9127 8.5267ZM7.33268 6.57336V11.3334C7.33268 11.5102 7.40292 11.6797 7.52794 11.8048C7.65297 11.9298 7.82254 12 7.99935 12C8.17616 12 8.34573 11.9298 8.47075 11.8048C8.59578 11.6797 8.66602 11.5102 8.66602 11.3334V6.57336C9.29445 6.4111 9.84214 6.02521 10.2064 5.48802C10.5707 4.95084 10.7265 4.29924 10.6448 3.65536C10.563 3.01149 10.2492 2.41954 9.76217 1.99048C9.27517 1.56142 8.6484 1.32471 7.99935 1.32471C7.3503 1.32471 6.72353 1.56142 6.23653 1.99048C5.74952 2.41954 5.43572 3.01149 5.35394 3.65536C5.27215 4.29924 5.42801 4.95084 5.79228 5.48802C6.15656 6.02521 6.70424 6.4111 7.33268 6.57336V6.57336ZM7.99935 2.6667C8.26306 2.6667 8.52084 2.74489 8.74011 2.8914C8.95937 3.03791 9.13027 3.24615 9.23119 3.48978C9.33211 3.73342 9.35851 4.00151 9.30706 4.26015C9.25562 4.51879 9.12863 4.75637 8.94216 4.94284C8.75569 5.12931 8.51811 5.2563 8.25947 5.30774C8.00083 5.35919 7.73274 5.33279 7.4891 5.23187C7.24547 5.13095 7.03723 4.96005 6.89072 4.74079C6.74421 4.52152 6.66602 4.26374 6.66602 4.00003C6.66602 3.64641 6.80649 3.30727 7.05654 3.05722C7.30659 2.80717 7.64573 2.6667 7.99935 2.6667Z";
|
|
987
|
+
function LocationUserIcon({ size = 16, color = colors.grey0 }) {
|
|
988
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: LOCATION_USER_PATH, fill: color }) });
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
// src/icons/Lock/lockPath.ts
|
|
992
|
+
var LOCK_PATH = "M22.6673 13.3333V10.6667C22.6673 6.98477 19.6825 4 16.0007 4C12.3188 4 9.33398 6.98477 9.33398 10.6667V13.3333M16.0007 19.3333V22M11.734 28H20.2673C22.5075 28 23.6276 28 24.4833 27.564C25.2359 27.1805 25.8479 26.5686 26.2313 25.816C26.6673 24.9603 26.6673 23.8402 26.6673 21.6V19.7333C26.6673 17.4931 26.6673 16.373 26.2313 15.5174C25.8479 14.7647 25.2359 14.1528 24.4833 13.7693C23.6276 13.3333 22.5075 13.3333 20.2673 13.3333H11.734C9.49377 13.3333 8.37367 13.3333 7.51802 13.7693C6.76537 14.1528 6.15345 14.7647 5.76996 15.5174C5.33398 16.373 5.33398 17.4931 5.33398 19.7333V21.6C5.33398 23.8402 5.33398 24.9603 5.76996 25.816C6.15345 26.5686 6.76537 27.1805 7.51802 27.564C8.37367 28 9.49377 28 11.734 28Z";
|
|
993
|
+
function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
994
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 32 32", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
995
|
+
Svg18.Path,
|
|
996
|
+
{
|
|
997
|
+
d: LOCK_PATH,
|
|
998
|
+
stroke: color,
|
|
999
|
+
strokeWidth,
|
|
1000
|
+
strokeLinecap: "round",
|
|
1001
|
+
strokeLinejoin: "round"
|
|
1002
|
+
}
|
|
1003
|
+
) });
|
|
1004
|
+
}
|
|
1005
|
+
|
|
880
1006
|
// src/icons/LogOut/logOutPath.ts
|
|
881
1007
|
var LOG_OUT_PATH = "M10.6667 4.66667L14 8L10.6667 11.3333M14 8H6M6 2H5.2C4.0799 2 3.51984 2 3.09202 2.21799C2.7157 2.40973 2.40973 2.71569 2.21799 3.09202C2 3.51984 2 4.07989 2 5.2V10.8C2 11.9201 2 12.4802 2.21799 12.908C2.40973 13.2843 2.71569 13.5903 3.09202 13.782C3.51984 14 4.0799 14 5.2 14H6";
|
|
882
1008
|
function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
883
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
884
|
-
|
|
1009
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1010
|
+
Svg18.Path,
|
|
885
1011
|
{
|
|
886
1012
|
d: LOG_OUT_PATH,
|
|
887
1013
|
stroke: color,
|
|
@@ -895,8 +1021,8 @@ function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
|
895
1021
|
// src/icons/Mail/mailPath.ts
|
|
896
1022
|
var MAIL_PATH = "M3.33333 4.99984L8.42303 8.84339L8.42473 8.8448C8.98987 9.25924 9.27261 9.46658 9.5823 9.54668C9.85602 9.61748 10.1438 9.61748 10.4175 9.54668C10.7274 9.46651 11.011 9.25856 11.5771 8.84339C11.5771 8.84339 14.8417 6.33812 16.6667 4.99984M2.5 13.1667V6.83333C2.5 5.89991 2.5 5.43285 2.68166 5.07633C2.84144 4.76273 3.09623 4.50795 3.40983 4.34816C3.76635 4.1665 4.23341 4.1665 5.16683 4.1665H14.8335C15.7669 4.1665 16.233 4.1665 16.5895 4.34816C16.9031 4.50795 17.1587 4.76273 17.3185 5.07633C17.5 5.43251 17.5 5.899 17.5 6.8306V13.1695C17.5 14.1011 17.5 14.5669 17.3185 14.9231C17.1587 15.2367 16.9031 15.4919 16.5895 15.6517C16.2333 15.8332 15.7675 15.8332 14.8359 15.8332H5.16409C4.23249 15.8332 3.766 15.8332 3.40983 15.6517C3.09623 15.4919 2.84144 15.2367 2.68166 14.9231C2.5 14.5666 2.5 14.1001 2.5 13.1667Z";
|
|
897
1023
|
function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
898
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
899
|
-
|
|
1024
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1025
|
+
Svg18.Path,
|
|
900
1026
|
{
|
|
901
1027
|
d: MAIL_PATH,
|
|
902
1028
|
stroke: color,
|
|
@@ -910,8 +1036,8 @@ function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
910
1036
|
// src/icons/MapView/mapViewPath.ts
|
|
911
1037
|
var MAP_VIEW_PATH = "M13.3332 4.99984L7.49984 1.6665L1.6665 4.99984V18.3332L7.49984 14.9998M13.3332 4.99984L18.3332 1.6665V14.9998L13.3332 18.3332L7.49984 14.9998M7.49984 14.9998V1.6665M13.3332 18.3332V4.99984";
|
|
912
1038
|
function MapViewIcon({ size = 20, color = colors.grey400, strokeWidth = 2 }) {
|
|
913
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
914
|
-
|
|
1039
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1040
|
+
Svg18.Path,
|
|
915
1041
|
{
|
|
916
1042
|
d: MAP_VIEW_PATH,
|
|
917
1043
|
stroke: color,
|
|
@@ -931,8 +1057,8 @@ function MapControlIcon({
|
|
|
931
1057
|
color = colors.white,
|
|
932
1058
|
strokeWidth = 2
|
|
933
1059
|
}) {
|
|
934
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
935
|
-
|
|
1060
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1061
|
+
Svg18.Path,
|
|
936
1062
|
{
|
|
937
1063
|
d: path,
|
|
938
1064
|
stroke: color,
|
|
@@ -958,8 +1084,8 @@ function MenuIcon({
|
|
|
958
1084
|
strokeWidth = 2,
|
|
959
1085
|
open = false
|
|
960
1086
|
}) {
|
|
961
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
962
|
-
|
|
1087
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 19 19", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1088
|
+
Svg18.Path,
|
|
963
1089
|
{
|
|
964
1090
|
d: open ? MENU_CLOSE_PATH : MENU_PATH,
|
|
965
1091
|
stroke: color,
|
|
@@ -974,8 +1100,8 @@ function MenuIcon({
|
|
|
974
1100
|
// src/icons/Minus/minusPath.ts
|
|
975
1101
|
var MINUS_PATH = "M3.33337 8H12.6667";
|
|
976
1102
|
function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
977
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
978
|
-
|
|
1103
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1104
|
+
Svg18.Path,
|
|
979
1105
|
{
|
|
980
1106
|
d: MINUS_PATH,
|
|
981
1107
|
stroke: color,
|
|
@@ -989,8 +1115,8 @@ function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
989
1115
|
// src/icons/Navigate/navigatePath.ts
|
|
990
1116
|
var NAVIGATE_PATH = "M5.691 14.2339C11.5836 17.7694 16.2976 13.0554 15.7084 4.21658C6.86968 3.62732 2.15584 8.34151 5.691 14.2339ZM5.691 14.2339C5.69093 14.2338 5.69107 14.234 5.691 14.2339ZM5.691 14.2339L4.16675 15.7576M5.691 14.2339L8.88079 11.0436";
|
|
991
1117
|
function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
992
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
993
|
-
|
|
1118
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1119
|
+
Svg18.Path,
|
|
994
1120
|
{
|
|
995
1121
|
d: NAVIGATE_PATH,
|
|
996
1122
|
stroke: color,
|
|
@@ -1004,8 +1130,8 @@ function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1004
1130
|
// src/icons/Phone/phonePath.ts
|
|
1005
1131
|
var PHONE_PATH = "M7.91872 3.54768C7.66561 2.91492 7.05276 2.5 6.37126 2.5H4.07895C3.20692 2.5 2.5 3.20675 2.5 4.07878C2.5 11.491 8.50898 17.5 15.9212 17.5C16.7933 17.5 17.5 16.793 17.5 15.921L17.5004 13.6283C17.5004 12.9468 17.0856 12.334 16.4528 12.0809L14.2558 11.2024C13.6874 10.9751 13.0402 11.0774 12.57 11.4693L12.0029 11.9422C11.3407 12.4941 10.3664 12.4502 9.75683 11.8407L8.16018 10.2425C7.55066 9.63302 7.50561 8.65945 8.05745 7.99724L8.53027 7.43025C8.92218 6.95996 9.02541 6.31263 8.79805 5.74424L7.91872 3.54768Z";
|
|
1006
1132
|
function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1007
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1008
|
-
|
|
1133
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1134
|
+
Svg18.Path,
|
|
1009
1135
|
{
|
|
1010
1136
|
d: PHONE_PATH,
|
|
1011
1137
|
stroke: color,
|
|
@@ -1019,8 +1145,8 @@ function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1019
1145
|
// src/icons/Plus/plusPath.ts
|
|
1020
1146
|
var PLUS_PATH = "M8.00004 3.33325V12.6666M3.33337 7.99992H12.6667";
|
|
1021
1147
|
function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
1022
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1023
|
-
|
|
1148
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1149
|
+
Svg18.Path,
|
|
1024
1150
|
{
|
|
1025
1151
|
d: PLUS_PATH,
|
|
1026
1152
|
stroke: color,
|
|
@@ -1031,6 +1157,40 @@ function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
1031
1157
|
) });
|
|
1032
1158
|
}
|
|
1033
1159
|
|
|
1160
|
+
// src/icons/Refresh/refreshPath.ts
|
|
1161
|
+
var REFRESH_PATH = "M17.4993 8.33333C17.4993 8.33333 15.8285 6.05685 14.4712 4.69854C13.1138 3.34022 11.238 2.5 9.16602 2.5C5.02388 2.5 1.66602 5.85786 1.66602 10C1.66602 14.1421 5.02388 17.5 9.16602 17.5C12.5853 17.5 15.4701 15.2119 16.3729 12.0833M12.4993 8.33333H17.4993V3.33333";
|
|
1162
|
+
function RefreshIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
1163
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1164
|
+
Svg18.Path,
|
|
1165
|
+
{
|
|
1166
|
+
d: REFRESH_PATH,
|
|
1167
|
+
stroke: color,
|
|
1168
|
+
strokeWidth,
|
|
1169
|
+
strokeLinecap: "round",
|
|
1170
|
+
strokeLinejoin: "round"
|
|
1171
|
+
}
|
|
1172
|
+
) });
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
// src/icons/RefundStatus/refundStatusPath.ts
|
|
1176
|
+
var REFUND_STATUS_PATH = "M15.1333 7.66667L13.8004 9L12.4666 7.66667M13.9634 8.66667C13.9876 8.44778 14 8.22534 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14C9.88484 14 11.5667 13.1309 12.6667 11.7716M8 4.66667V8L10 9.33333";
|
|
1177
|
+
function RefundStatusIcon({
|
|
1178
|
+
size = 16,
|
|
1179
|
+
color = colors.primary,
|
|
1180
|
+
strokeWidth = 2
|
|
1181
|
+
}) {
|
|
1182
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1183
|
+
Svg18.Path,
|
|
1184
|
+
{
|
|
1185
|
+
d: REFUND_STATUS_PATH,
|
|
1186
|
+
stroke: color,
|
|
1187
|
+
strokeWidth,
|
|
1188
|
+
strokeLinecap: "round",
|
|
1189
|
+
strokeLinejoin: "round"
|
|
1190
|
+
}
|
|
1191
|
+
) });
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1034
1194
|
// src/icons/Search/searchPath.ts
|
|
1035
1195
|
var SEARCH_CIRCLE_PATH = "M9.16667 15.8333C12.8486 15.8333 15.8333 12.8486 15.8333 9.16667C15.8333 5.48477 12.8486 2.5 9.16667 2.5C5.48477 2.5 2.5 5.48477 2.5 9.16667C2.5 12.8486 5.48477 15.8333 9.16667 15.8333Z";
|
|
1036
1196
|
var SEARCH_HANDLE_PATH = "M17.5 17.5L13.875 13.875";
|
|
@@ -1039,9 +1199,9 @@ function SearchIcon({
|
|
|
1039
1199
|
color = colors.primary,
|
|
1040
1200
|
strokeWidth = 2
|
|
1041
1201
|
}) {
|
|
1042
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1202
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
1043
1203
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1044
|
-
|
|
1204
|
+
Svg18.Path,
|
|
1045
1205
|
{
|
|
1046
1206
|
d: SEARCH_CIRCLE_PATH,
|
|
1047
1207
|
stroke: color,
|
|
@@ -1051,7 +1211,7 @@ function SearchIcon({
|
|
|
1051
1211
|
}
|
|
1052
1212
|
),
|
|
1053
1213
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1054
|
-
|
|
1214
|
+
Svg18.Path,
|
|
1055
1215
|
{
|
|
1056
1216
|
d: SEARCH_HANDLE_PATH,
|
|
1057
1217
|
stroke: color,
|
|
@@ -1066,8 +1226,8 @@ function SearchIcon({
|
|
|
1066
1226
|
// src/icons/Settings/settingsPath.ts
|
|
1067
1227
|
var SETTINGS_PATH = "M8.00004 10C9.10461 10 10 9.10457 10 8C10 6.89543 9.10461 6 8.00004 6C6.89547 6 6.00004 6.89543 6.00004 8C6.00004 9.10457 6.89547 10 8.00004 10Z M12.4849 9.81818C12.4042 10.001 12.3801 10.2038 12.4158 10.4004C12.4514 10.597 12.5452 10.7784 12.6849 10.9212L12.7213 10.9576C12.834 11.0702 12.9234 11.2038 12.9844 11.351C13.0454 11.4981 13.0768 11.6559 13.0768 11.8152C13.0768 11.9744 13.0454 12.1322 12.9844 12.2793C12.9234 12.4265 12.834 12.5602 12.7213 12.6727C12.6087 12.7854 12.475 12.8748 12.3278 12.9358C12.1807 12.9968 12.023 13.0282 11.8637 13.0282C11.7044 13.0282 11.5467 12.9968 11.3995 12.9358C11.2524 12.8748 11.1187 12.7854 11.0061 12.6727L10.9697 12.6364C10.8269 12.4966 10.6455 12.4029 10.4489 12.3673C10.2523 12.3316 10.0495 12.3557 9.86671 12.4364C9.68745 12.5132 9.53458 12.6408 9.42689 12.8034C9.31921 12.966 9.26142 13.1565 9.26065 13.3515V13.4545C9.26065 13.776 9.13294 14.0843 8.90562 14.3116C8.67831 14.539 8.37 14.6667 8.04853 14.6667C7.72705 14.6667 7.41874 14.539 7.19143 14.3116C6.96411 14.0843 6.8364 13.776 6.8364 13.4545V13.4C6.83171 13.1994 6.76678 13.0048 6.65005 12.8416C6.53331 12.6784 6.37018 12.5541 6.18186 12.4848C5.99906 12.4042 5.79629 12.3801 5.59968 12.4158C5.40308 12.4514 5.22166 12.5451 5.07883 12.6849L5.04246 12.7212C4.92989 12.8339 4.79621 12.9233 4.64906 12.9843C4.50191 13.0453 4.34418 13.0767 4.18489 13.0767C4.0256 13.0767 3.86787 13.0453 3.72072 12.9843C3.57357 12.9233 3.43989 12.8339 3.32731 12.7212C3.21461 12.6086 3.12521 12.475 3.06421 12.3278C3.00321 12.1807 2.97181 12.0229 2.97181 11.8636C2.97181 11.7043 3.00321 11.5466 3.06421 11.3995C3.12521 11.2523 3.21461 11.1186 3.32731 11.0061L3.36368 10.9697C3.5034 10.8269 3.59712 10.6454 3.63277 10.4488C3.66842 10.2522 3.64435 10.0495 3.56368 9.86667C3.48685 9.68741 3.35929 9.53454 3.19669 9.42686C3.03409 9.31917 2.84355 9.26139 2.64853 9.26061H2.5455C2.22402 9.26061 1.91571 9.1329 1.6884 8.90559C1.46108 8.67827 1.33337 8.36996 1.33337 8.04849C1.33337 7.72701 1.46108 7.4187 1.6884 7.19139C1.91571 6.96407 2.22402 6.83637 2.5455 6.83637H2.60004C2.80064 6.83167 2.9952 6.76674 3.1584 6.65001C3.32161 6.53328 3.44593 6.37014 3.51519 6.18182C3.59587 5.99902 3.61993 5.79625 3.58429 5.59965C3.54864 5.40304 3.45491 5.22163 3.31519 5.07879L3.27883 5.04243C3.16613 4.92985 3.07672 4.79617 3.01573 4.64902C2.95473 4.50187 2.92333 4.34414 2.92333 4.18485C2.92333 4.02556 2.95473 3.86783 3.01573 3.72068C3.07672 3.57353 3.16613 3.43985 3.27883 3.32728C3.3914 3.21458 3.52509 3.12517 3.67223 3.06417C3.81938 3.00317 3.97711 2.97178 4.1364 2.97178C4.2957 2.97178 4.45343 3.00317 4.60057 3.06417C4.74772 3.12517 4.88141 3.21458 4.99398 3.32728L5.03034 3.36364C5.17318 3.50336 5.3546 3.59708 5.5512 3.63273C5.7478 3.66838 5.95058 3.64431 6.13337 3.56364H6.18186C6.36111 3.48681 6.51399 3.35925 6.62167 3.19665C6.72935 3.03405 6.78714 2.84351 6.78792 2.64849V2.54546C6.78792 2.22398 6.91562 1.91567 7.14294 1.68836C7.37026 1.46104 7.67857 1.33334 8.00004 1.33334C8.32151 1.33334 8.62982 1.46104 8.85714 1.68836C9.08446 1.91567 9.21216 2.22398 9.21216 2.54546V2.6C9.21294 2.79502 9.27073 2.98556 9.37841 3.14816C9.48609 3.31076 9.63897 3.43833 9.81822 3.51515C10.001 3.59583 10.2038 3.6199 10.4004 3.58425C10.597 3.5486 10.7784 3.45487 10.9213 3.31515L10.9576 3.27879C11.0702 3.16609 11.2039 3.07669 11.351 3.01569C11.4982 2.95469 11.6559 2.92329 11.8152 2.92329C11.9745 2.92329 12.1322 2.95469 12.2794 3.01569C12.4265 3.07669 12.5602 3.16609 12.6728 3.27879C12.7855 3.39136 12.8749 3.52505 12.9359 3.6722C12.9969 3.81935 13.0283 3.97707 13.0283 4.13637C13.0283 4.29566 12.9969 4.45339 12.9359 4.60054C12.8749 4.74769 12.7855 4.88137 12.6728 4.99394L12.6364 5.03031C12.4967 5.17314 12.403 5.35456 12.3673 5.55116C12.3317 5.74776 12.3557 5.95054 12.4364 6.13334V6.18182C12.5132 6.36107 12.6408 6.51395 12.8034 6.62163C12.966 6.72932 13.1565 6.7871 13.3516 6.78788H13.4546C13.7761 6.78788 14.0844 6.91559 14.3117 7.1429C14.539 7.37022 14.6667 7.67853 14.6667 8C14.6667 8.32148 14.539 8.62978 14.3117 8.8571C14.0844 9.08442 13.7761 9.21212 13.4546 9.21212H13.4C13.205 9.2129 13.0145 9.27069 12.8519 9.37837C12.6893 9.48605 12.5617 9.63893 12.4849 9.81818Z";
|
|
1068
1228
|
function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
1069
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1070
|
-
|
|
1229
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1230
|
+
Svg18.Path,
|
|
1071
1231
|
{
|
|
1072
1232
|
d: SETTINGS_PATH,
|
|
1073
1233
|
stroke: color,
|
|
@@ -1082,9 +1242,9 @@ function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 })
|
|
|
1082
1242
|
var SHOW_PATH = "M1.66669 10C1.66669 10 4.16669 4.16667 10 4.16667C15.8334 4.16667 18.3334 10 18.3334 10C18.3334 10 15.8334 15.8333 10 15.8333C4.16669 15.8333 1.66669 10 1.66669 10Z";
|
|
1083
1243
|
var SHOW_PUPIL_PATH = "M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z";
|
|
1084
1244
|
function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1085
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1245
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
1086
1246
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1087
|
-
|
|
1247
|
+
Svg18.Path,
|
|
1088
1248
|
{
|
|
1089
1249
|
d: SHOW_PATH,
|
|
1090
1250
|
stroke: color,
|
|
@@ -1094,7 +1254,7 @@ function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1094
1254
|
}
|
|
1095
1255
|
),
|
|
1096
1256
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1097
|
-
|
|
1257
|
+
Svg18.Path,
|
|
1098
1258
|
{
|
|
1099
1259
|
d: SHOW_PUPIL_PATH,
|
|
1100
1260
|
stroke: color,
|
|
@@ -1109,8 +1269,8 @@ function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1109
1269
|
// src/icons/Sidebar/sidebarPath.ts
|
|
1110
1270
|
var SIDEBAR_PATH = "M12.5 2.5V17.5M6.5 2.5H13.5C14.9001 2.5 15.6002 2.5 16.135 2.77248C16.6054 3.01217 16.9878 3.39462 17.2275 3.86502C17.5 4.3998 17.5 5.09987 17.5 6.5V13.5C17.5 14.9001 17.5 15.6002 17.2275 16.135C16.9878 16.6054 16.6054 16.9878 16.135 17.2275C15.6002 17.5 14.9001 17.5 13.5 17.5H6.5C5.09987 17.5 4.3998 17.5 3.86502 17.2275C3.39462 16.9878 3.01217 16.6054 2.77248 16.135C2.5 15.6002 2.5 14.9001 2.5 13.5V6.5C2.5 5.09987 2.5 4.3998 2.77248 3.86502C3.01217 3.39462 3.39462 3.01217 3.86502 2.77248C4.3998 2.5 5.09987 2.5 6.5 2.5Z";
|
|
1111
1271
|
function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1112
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1113
|
-
|
|
1272
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1273
|
+
Svg18.Path,
|
|
1114
1274
|
{
|
|
1115
1275
|
d: SIDEBAR_PATH,
|
|
1116
1276
|
stroke: color,
|
|
@@ -1124,8 +1284,8 @@ function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1124
1284
|
// src/icons/Sort/sortPath.ts
|
|
1125
1285
|
var SORT_PATH = "M3.5 2V10M5.5 8L3.5 10L1.5 8M8.5 10V2M10.5 4L8.5 2L6.5 4";
|
|
1126
1286
|
function SortIcon({ size = 12, color = colors.grey150, strokeWidth = 1.5 }) {
|
|
1127
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1128
|
-
|
|
1287
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1288
|
+
Svg18.Path,
|
|
1129
1289
|
{
|
|
1130
1290
|
d: SORT_PATH,
|
|
1131
1291
|
stroke: color,
|
|
@@ -1146,8 +1306,8 @@ function StarIcon({
|
|
|
1146
1306
|
strokeWidth = 2
|
|
1147
1307
|
}) {
|
|
1148
1308
|
const resolvedColor = color ?? (active ? "#E38E5E" : colors.grey150);
|
|
1149
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1150
|
-
|
|
1309
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1310
|
+
Svg18.Path,
|
|
1151
1311
|
{
|
|
1152
1312
|
d: STAR_PATH,
|
|
1153
1313
|
fill: active ? resolvedColor : "none",
|
|
@@ -1164,8 +1324,8 @@ function StarFilledIcon({
|
|
|
1164
1324
|
color = "#E38E5E",
|
|
1165
1325
|
strokeWidth = 2
|
|
1166
1326
|
}) {
|
|
1167
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1168
|
-
|
|
1327
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: color, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1328
|
+
Svg18.Path,
|
|
1169
1329
|
{
|
|
1170
1330
|
d: STAR_PATH,
|
|
1171
1331
|
fill: color,
|
|
@@ -1180,8 +1340,8 @@ function StarFilledIcon({
|
|
|
1180
1340
|
// src/icons/User/userPath.ts
|
|
1181
1341
|
var USER_PATH = "M15.8334 17.5C15.8334 14.2783 13.2217 11.6667 10 11.6667C6.77836 11.6667 4.16669 14.2783 4.16669 17.5M10 9.16667C8.15907 9.16667 6.66669 7.67428 6.66669 5.83333C6.66669 3.99238 8.15907 2.5 10 2.5C11.841 2.5 13.3334 3.99238 13.3334 5.83333C13.3334 7.67428 11.841 9.16667 10 9.16667Z";
|
|
1182
1342
|
function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1183
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1184
|
-
|
|
1343
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1344
|
+
Svg18.Path,
|
|
1185
1345
|
{
|
|
1186
1346
|
d: USER_PATH,
|
|
1187
1347
|
stroke: color,
|
|
@@ -1195,7 +1355,7 @@ function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1195
1355
|
// src/icons/UsersAlt/usersAltPath.ts
|
|
1196
1356
|
var USERS_ALT_PATH = "M14.35 14.2566C14.9725 13.7177 15.4718 13.0513 15.814 12.3024C16.1562 11.5536 16.3333 10.7399 16.3333 9.91659C16.3333 8.36949 15.7187 6.88576 14.6248 5.7918C13.5308 4.69783 12.0471 4.08325 10.5 4.08325C8.95289 4.08325 7.46916 4.69783 6.3752 5.7918C5.28124 6.88576 4.66666 8.36949 4.66666 9.91659C4.66665 10.7399 4.84376 11.5536 5.18597 12.3024C5.52818 13.0513 6.02748 13.7177 6.64999 14.2566C5.01682 14.9961 3.6312 16.1904 2.6588 17.6966C1.6864 19.2027 1.16837 20.9571 1.16666 22.7499C1.16666 23.0593 1.28957 23.3561 1.50837 23.5749C1.72716 23.7937 2.0239 23.9166 2.33332 23.9166C2.64274 23.9166 2.93949 23.7937 3.15828 23.5749C3.37707 23.3561 3.49999 23.0593 3.49999 22.7499C3.49999 20.8934 4.23749 19.1129 5.55024 17.8002C6.863 16.4874 8.64347 15.7499 10.5 15.7499C12.3565 15.7499 14.137 16.4874 15.4497 17.8002C16.7625 19.1129 17.5 20.8934 17.5 22.7499C17.5 23.0593 17.6229 23.3561 17.8417 23.5749C18.0605 23.7937 18.3572 23.9166 18.6667 23.9166C18.9761 23.9166 19.2728 23.7937 19.4916 23.5749C19.7104 23.3561 19.8333 23.0593 19.8333 22.7499C19.8316 20.9571 19.3136 19.2027 18.3412 17.6966C17.3688 16.1904 15.9832 14.9961 14.35 14.2566ZM10.5 13.4166C9.80775 13.4166 9.13107 13.2113 8.55549 12.8267C7.97992 12.4421 7.53132 11.8955 7.26641 11.256C7.0015 10.6164 6.93219 9.9127 7.06724 9.23377C7.20229 8.55484 7.53563 7.9312 8.02512 7.44171C8.5146 6.95223 9.13824 6.61889 9.81717 6.48384C10.4961 6.34879 11.1998 6.4181 11.8394 6.68301C12.4789 6.94791 13.0255 7.39652 13.4101 7.97209C13.7947 8.54766 14 9.22435 14 9.91659C14 10.8448 13.6312 11.7351 12.9749 12.3915C12.3185 13.0478 11.4282 13.4166 10.5 13.4166ZM21.8633 13.7899C22.61 12.9491 23.0977 11.9105 23.2678 10.799C23.4378 9.68748 23.2831 8.55051 22.822 7.52492C22.361 6.49933 21.6134 5.62885 20.6692 5.01825C19.725 4.40764 18.6244 4.08295 17.5 4.08325C17.1906 4.08325 16.8938 4.20617 16.675 4.42496C16.4562 4.64375 16.3333 4.9405 16.3333 5.24992C16.3333 5.55934 16.4562 5.85608 16.675 6.07488C16.8938 6.29367 17.1906 6.41659 17.5 6.41659C18.4282 6.41659 19.3185 6.78533 19.9749 7.44171C20.6312 8.09809 21 8.98833 21 9.91659C20.9983 10.5294 20.8358 11.131 20.5287 11.6612C20.2216 12.1915 19.7807 12.6319 19.25 12.9383C19.077 13.038 18.9325 13.1805 18.8304 13.3521C18.7283 13.5237 18.6719 13.7186 18.6667 13.9183C18.6618 14.1163 18.7074 14.3123 18.7993 14.4879C18.8911 14.6634 19.0262 14.8127 19.1917 14.9216L19.6467 15.2249L19.7983 15.3066C21.2046 15.9736 22.391 17.0286 23.2178 18.3473C24.0446 19.666 24.4773 21.1935 24.465 22.7499C24.465 23.0593 24.5879 23.3561 24.8067 23.5749C25.0255 23.7937 25.3222 23.9166 25.6317 23.9166C25.9411 23.9166 26.2378 23.7937 26.4566 23.5749C26.6754 23.3561 26.7983 23.0593 26.7983 22.7499C26.8079 20.9596 26.3594 19.1965 25.4957 17.6283C24.632 16.0601 23.3816 14.7388 21.8633 13.7899Z";
|
|
1197
1357
|
function UsersAltIcon({ size = 28, color = colors.white }) {
|
|
1198
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1358
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: USERS_ALT_PATH, fill: color }) });
|
|
1199
1359
|
}
|
|
1200
1360
|
|
|
1201
1361
|
// src/icons/Video/videoPath.ts
|
|
@@ -1204,8 +1364,8 @@ var VIDEO_PATHS = [
|
|
|
1204
1364
|
"M1.33337 6.53333C1.33337 5.41322 1.33337 4.85317 1.55136 4.42535C1.74311 4.04902 2.04907 3.74306 2.42539 3.55132C2.85322 3.33333 3.41327 3.33333 4.53337 3.33333H8.13337C9.25348 3.33333 9.81353 3.33333 10.2414 3.55132C10.6177 3.74306 10.9236 4.04902 11.1154 4.42535C11.3334 4.85317 11.3334 5.41322 11.3334 6.53333V9.46666C11.3334 10.5868 11.3334 11.1468 11.1154 11.5746C10.9236 11.951 10.6177 12.2569 10.2414 12.4487C9.81353 12.6667 9.25348 12.6667 8.13337 12.6667H4.53337C3.41327 12.6667 2.85322 12.6667 2.42539 12.4487C2.04907 12.2569 1.74311 11.951 1.55136 11.5746C1.33337 11.1468 1.33337 10.5868 1.33337 9.46666V6.53333Z"
|
|
1205
1365
|
];
|
|
1206
1366
|
function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
1207
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1208
|
-
|
|
1367
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: VIDEO_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1368
|
+
Svg18.Path,
|
|
1209
1369
|
{
|
|
1210
1370
|
d: path,
|
|
1211
1371
|
stroke: color,
|
|
@@ -1219,6 +1379,7 @@ function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
1219
1379
|
|
|
1220
1380
|
// src/icons/registry.ts
|
|
1221
1381
|
var icons = {
|
|
1382
|
+
alertTriangle: AlertTriangleIcon,
|
|
1222
1383
|
areaExpand: AreaExpandIcon,
|
|
1223
1384
|
apple: AppleIcon,
|
|
1224
1385
|
arrowRight: ArrowRightIcon,
|
|
@@ -1235,8 +1396,10 @@ var icons = {
|
|
|
1235
1396
|
chevronLeft: ChevronLeftIcon,
|
|
1236
1397
|
clock: ClockIcon,
|
|
1237
1398
|
close: CloseIcon,
|
|
1399
|
+
edit: EditIcon,
|
|
1238
1400
|
clockFilled: ClockFilledIcon,
|
|
1239
1401
|
copy: CopyIcon,
|
|
1402
|
+
download: DownloadIcon,
|
|
1240
1403
|
bathrooms: BathroomsIcon,
|
|
1241
1404
|
bedrooms: BedroomsIcon,
|
|
1242
1405
|
cardLocation: CardLocationIcon,
|
|
@@ -1254,6 +1417,8 @@ var icons = {
|
|
|
1254
1417
|
linkedin: LinkedInIcon,
|
|
1255
1418
|
listView: ListViewIcon,
|
|
1256
1419
|
locationPin: LocationPinIcon,
|
|
1420
|
+
locationUser: LocationUserIcon,
|
|
1421
|
+
lock: LockIcon,
|
|
1257
1422
|
logOut: LogOutIcon,
|
|
1258
1423
|
mail: MailIcon,
|
|
1259
1424
|
mapView: MapViewIcon,
|
|
@@ -1262,10 +1427,15 @@ var icons = {
|
|
|
1262
1427
|
menu: MenuIcon,
|
|
1263
1428
|
minus: MinusIcon,
|
|
1264
1429
|
navigate: NavigateIcon,
|
|
1430
|
+
noSmoking: NoSmokingIcon,
|
|
1431
|
+
paw: PawIcon,
|
|
1265
1432
|
phone: PhoneIcon,
|
|
1266
1433
|
qrCode: QrCodeIcon,
|
|
1434
|
+
quietHours: QuietHoursIcon,
|
|
1267
1435
|
ratingStar: RatingStarIcon,
|
|
1268
1436
|
plus: PlusIcon,
|
|
1437
|
+
refresh: RefreshIcon,
|
|
1438
|
+
refundStatus: RefundStatusIcon,
|
|
1269
1439
|
search: SearchIcon,
|
|
1270
1440
|
saveHeart: SaveHeartIcon,
|
|
1271
1441
|
share: ShareIcon,
|
|
@@ -1276,6 +1446,7 @@ var icons = {
|
|
|
1276
1446
|
star: StarIcon,
|
|
1277
1447
|
starFilled: StarFilledIcon,
|
|
1278
1448
|
tooltipArrow: TooltipArrowIcon,
|
|
1449
|
+
trash: TrashIcon,
|
|
1279
1450
|
user: UserIcon,
|
|
1280
1451
|
usersAlt: UsersAltIcon,
|
|
1281
1452
|
video: VideoIcon,
|
|
@@ -1290,6 +1461,7 @@ var iconGroups = {
|
|
|
1290
1461
|
"home",
|
|
1291
1462
|
"listView",
|
|
1292
1463
|
"locationPin",
|
|
1464
|
+
"locationUser",
|
|
1293
1465
|
"mapCollapse",
|
|
1294
1466
|
"mapExpand",
|
|
1295
1467
|
"mapView",
|
|
@@ -1298,6 +1470,7 @@ var iconGroups = {
|
|
|
1298
1470
|
],
|
|
1299
1471
|
actions: [
|
|
1300
1472
|
"show",
|
|
1473
|
+
"alertTriangle",
|
|
1301
1474
|
"bell",
|
|
1302
1475
|
"camera",
|
|
1303
1476
|
"key",
|
|
@@ -1305,10 +1478,12 @@ var iconGroups = {
|
|
|
1305
1478
|
"checkBadge",
|
|
1306
1479
|
"checkSuccess",
|
|
1307
1480
|
"copy",
|
|
1481
|
+
"download",
|
|
1308
1482
|
"search",
|
|
1309
1483
|
"calendar",
|
|
1310
1484
|
"calendarOutline",
|
|
1311
1485
|
"close",
|
|
1486
|
+
"edit",
|
|
1312
1487
|
"ratingStar",
|
|
1313
1488
|
"saveHeart",
|
|
1314
1489
|
"share",
|
|
@@ -1318,6 +1493,8 @@ var iconGroups = {
|
|
|
1318
1493
|
"starFilled",
|
|
1319
1494
|
"minus",
|
|
1320
1495
|
"plus",
|
|
1496
|
+
"refresh",
|
|
1497
|
+
"refundStatus",
|
|
1321
1498
|
"sort"
|
|
1322
1499
|
],
|
|
1323
1500
|
objects: [
|
|
@@ -1329,7 +1506,12 @@ var iconGroups = {
|
|
|
1329
1506
|
"clock",
|
|
1330
1507
|
"clockFilled",
|
|
1331
1508
|
"guests",
|
|
1509
|
+
"lock",
|
|
1510
|
+
"noSmoking",
|
|
1511
|
+
"paw",
|
|
1332
1512
|
"qrCode",
|
|
1513
|
+
"quietHours",
|
|
1514
|
+
"trash",
|
|
1333
1515
|
"user",
|
|
1334
1516
|
"usersAlt",
|
|
1335
1517
|
"video",
|
|
@@ -1416,8 +1598,8 @@ var AMENITY_PATHS = {
|
|
|
1416
1598
|
]
|
|
1417
1599
|
};
|
|
1418
1600
|
function AmenityIcon({ name, size = 20, color = colors.primary }) {
|
|
1419
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1420
|
-
|
|
1601
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg18__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: AMENITY_PATHS[name].map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1602
|
+
Svg18.Path,
|
|
1421
1603
|
{
|
|
1422
1604
|
d: path.d,
|
|
1423
1605
|
fill: path.fill ? color : "none",
|
|
@@ -1840,7 +2022,7 @@ function BrandLogo({
|
|
|
1840
2022
|
const size = resolveBrandLogoSize(width, height);
|
|
1841
2023
|
const fill = BRAND_LOGO_COLORS[variant];
|
|
1842
2024
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1843
|
-
|
|
2025
|
+
Svg18__default.default,
|
|
1844
2026
|
{
|
|
1845
2027
|
width: size.width,
|
|
1846
2028
|
height: size.height,
|
|
@@ -1850,7 +2032,7 @@ function BrandLogo({
|
|
|
1850
2032
|
accessible: true,
|
|
1851
2033
|
accessibilityRole: "image",
|
|
1852
2034
|
accessibilityLabel,
|
|
1853
|
-
children: BRAND_LOGO_PATHS.map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2035
|
+
children: BRAND_LOGO_PATHS.map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(Svg18.Path, { d: path, fill }, index))
|
|
1854
2036
|
}
|
|
1855
2037
|
);
|
|
1856
2038
|
}
|
|
@@ -2117,8 +2299,8 @@ var AvatarSimple = react.forwardRef(
|
|
|
2117
2299
|
) : null }),
|
|
2118
2300
|
!compact ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles5.details, children: [
|
|
2119
2301
|
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles5.textBlock, children: [
|
|
2120
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles5.name, numberOfLines: 1, children: name }),
|
|
2121
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles5.email, numberOfLines: 1, children: email })
|
|
2302
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles5.name, numberOfLines: 1, ellipsizeMode: "tail", children: name }),
|
|
2303
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles5.email, numberOfLines: 1, ellipsizeMode: "tail", children: email })
|
|
2122
2304
|
] }),
|
|
2123
2305
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2124
2306
|
reactNative.Pressable,
|
|
@@ -2206,6 +2388,194 @@ var styles5 = reactNative.StyleSheet.create({
|
|
|
2206
2388
|
flexShrink: 0
|
|
2207
2389
|
}
|
|
2208
2390
|
});
|
|
2391
|
+
var HEADER_HEIGHT = 64;
|
|
2392
|
+
var MENU_ICON_SIZE = 28;
|
|
2393
|
+
var ICON_BUTTON_SIZE = 32;
|
|
2394
|
+
var ICON_BUTTON_ICON_SIZE = 16;
|
|
2395
|
+
var BACK_TITLE_GAP = 12;
|
|
2396
|
+
var TITLE_BADGE_GAP = 12;
|
|
2397
|
+
var MENU_TITLE_GAP = 16;
|
|
2398
|
+
var RIGHT_GAP = 16;
|
|
2399
|
+
var AccountHeader = react.forwardRef(
|
|
2400
|
+
function AccountHeader2({
|
|
2401
|
+
title,
|
|
2402
|
+
onBackPress,
|
|
2403
|
+
onMenuPress,
|
|
2404
|
+
onNotificationsPress,
|
|
2405
|
+
badge,
|
|
2406
|
+
backAccessibilityLabel = "Back",
|
|
2407
|
+
menuAccessibilityLabel = "Open menu",
|
|
2408
|
+
notificationsAccessibilityLabel = "Notifications",
|
|
2409
|
+
style,
|
|
2410
|
+
className,
|
|
2411
|
+
...rest
|
|
2412
|
+
}, forwardedRef) {
|
|
2413
|
+
const containerRef = react.useRef(null);
|
|
2414
|
+
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
2415
|
+
const resolvedClassName = className?.trim() || void 0;
|
|
2416
|
+
const showBack = onBackPress != null;
|
|
2417
|
+
const showMenu = !showBack && onMenuPress != null;
|
|
2418
|
+
const isCompact = showMenu;
|
|
2419
|
+
useApplyWebClassName(containerRef, resolvedClassName);
|
|
2420
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2421
|
+
reactNative.View,
|
|
2422
|
+
{
|
|
2423
|
+
...rest,
|
|
2424
|
+
ref: setContainerRef,
|
|
2425
|
+
accessibilityRole: "header",
|
|
2426
|
+
style: [styles6.base, isCompact ? styles6.compact : styles6.desktop, style],
|
|
2427
|
+
children: [
|
|
2428
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2429
|
+
reactNative.View,
|
|
2430
|
+
{
|
|
2431
|
+
style: [
|
|
2432
|
+
styles6.start,
|
|
2433
|
+
showBack ? styles6.startWithBack : null,
|
|
2434
|
+
showMenu ? styles6.startWithMenu : null
|
|
2435
|
+
],
|
|
2436
|
+
children: [
|
|
2437
|
+
showBack ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2438
|
+
reactNative.Pressable,
|
|
2439
|
+
{
|
|
2440
|
+
accessibilityRole: "button",
|
|
2441
|
+
accessibilityLabel: backAccessibilityLabel,
|
|
2442
|
+
hitSlop: 8,
|
|
2443
|
+
onPress: onBackPress,
|
|
2444
|
+
style: styles6.iconButton,
|
|
2445
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2446
|
+
ChevronLeftIcon,
|
|
2447
|
+
{
|
|
2448
|
+
color: colors.white,
|
|
2449
|
+
size: ICON_BUTTON_ICON_SIZE,
|
|
2450
|
+
strokeWidth: 1.5
|
|
2451
|
+
}
|
|
2452
|
+
)
|
|
2453
|
+
}
|
|
2454
|
+
) : null,
|
|
2455
|
+
showMenu ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2456
|
+
reactNative.Pressable,
|
|
2457
|
+
{
|
|
2458
|
+
accessibilityRole: "button",
|
|
2459
|
+
accessibilityLabel: menuAccessibilityLabel,
|
|
2460
|
+
hitSlop: 8,
|
|
2461
|
+
onPress: onMenuPress,
|
|
2462
|
+
style: styles6.menuButton,
|
|
2463
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(MenuIcon, { color: colors.white, size: MENU_ICON_SIZE, strokeWidth: 1.5 })
|
|
2464
|
+
}
|
|
2465
|
+
) : null,
|
|
2466
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles6.titleRow, children: [
|
|
2467
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2468
|
+
reactNative.Text,
|
|
2469
|
+
{
|
|
2470
|
+
numberOfLines: 1,
|
|
2471
|
+
style: [
|
|
2472
|
+
styles6.title,
|
|
2473
|
+
showBack || !isCompact ? styles6.titleDesktop : styles6.titleCompact
|
|
2474
|
+
],
|
|
2475
|
+
children: title
|
|
2476
|
+
}
|
|
2477
|
+
),
|
|
2478
|
+
badge != null ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles6.badgeSlot, children: badge }) : null
|
|
2479
|
+
] })
|
|
2480
|
+
]
|
|
2481
|
+
}
|
|
2482
|
+
),
|
|
2483
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles6.end, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2484
|
+
reactNative.Pressable,
|
|
2485
|
+
{
|
|
2486
|
+
accessibilityRole: "button",
|
|
2487
|
+
accessibilityLabel: notificationsAccessibilityLabel,
|
|
2488
|
+
onPress: onNotificationsPress,
|
|
2489
|
+
style: styles6.iconButton,
|
|
2490
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(BellIcon, { color: colors.white, size: ICON_BUTTON_ICON_SIZE, strokeWidth: 1.5 })
|
|
2491
|
+
}
|
|
2492
|
+
) })
|
|
2493
|
+
]
|
|
2494
|
+
}
|
|
2495
|
+
);
|
|
2496
|
+
}
|
|
2497
|
+
);
|
|
2498
|
+
var styles6 = reactNative.StyleSheet.create({
|
|
2499
|
+
base: {
|
|
2500
|
+
height: HEADER_HEIGHT,
|
|
2501
|
+
width: "100%",
|
|
2502
|
+
flexDirection: "row",
|
|
2503
|
+
alignItems: "center",
|
|
2504
|
+
justifyContent: "space-between",
|
|
2505
|
+
backgroundColor: colors.dark,
|
|
2506
|
+
borderBottomWidth: 1,
|
|
2507
|
+
borderBottomColor: colors.grey700
|
|
2508
|
+
},
|
|
2509
|
+
desktop: {
|
|
2510
|
+
paddingTop: 16,
|
|
2511
|
+
paddingBottom: 16,
|
|
2512
|
+
paddingLeft: 24,
|
|
2513
|
+
paddingRight: 24
|
|
2514
|
+
},
|
|
2515
|
+
compact: {
|
|
2516
|
+
padding: 16
|
|
2517
|
+
},
|
|
2518
|
+
start: {
|
|
2519
|
+
flex: 1,
|
|
2520
|
+
minWidth: 0,
|
|
2521
|
+
flexDirection: "row",
|
|
2522
|
+
alignItems: "center"
|
|
2523
|
+
},
|
|
2524
|
+
startWithBack: {
|
|
2525
|
+
gap: BACK_TITLE_GAP
|
|
2526
|
+
},
|
|
2527
|
+
startWithMenu: {
|
|
2528
|
+
gap: MENU_TITLE_GAP
|
|
2529
|
+
},
|
|
2530
|
+
titleRow: {
|
|
2531
|
+
flex: 1,
|
|
2532
|
+
minWidth: 0,
|
|
2533
|
+
flexDirection: "row",
|
|
2534
|
+
alignItems: "center",
|
|
2535
|
+
gap: TITLE_BADGE_GAP
|
|
2536
|
+
},
|
|
2537
|
+
end: {
|
|
2538
|
+
flexShrink: 0,
|
|
2539
|
+
marginLeft: RIGHT_GAP
|
|
2540
|
+
},
|
|
2541
|
+
iconButton: {
|
|
2542
|
+
width: ICON_BUTTON_SIZE,
|
|
2543
|
+
height: ICON_BUTTON_SIZE,
|
|
2544
|
+
padding: 8,
|
|
2545
|
+
alignItems: "center",
|
|
2546
|
+
justifyContent: "center",
|
|
2547
|
+
borderRadius: 5,
|
|
2548
|
+
backgroundColor: colors.grey800,
|
|
2549
|
+
borderWidth: 1,
|
|
2550
|
+
borderColor: colors.grey700,
|
|
2551
|
+
flexShrink: 0
|
|
2552
|
+
},
|
|
2553
|
+
menuButton: {
|
|
2554
|
+
width: MENU_ICON_SIZE,
|
|
2555
|
+
height: MENU_ICON_SIZE,
|
|
2556
|
+
alignItems: "center",
|
|
2557
|
+
justifyContent: "center",
|
|
2558
|
+
flexShrink: 0
|
|
2559
|
+
},
|
|
2560
|
+
title: {
|
|
2561
|
+
flexShrink: 1,
|
|
2562
|
+
fontFamily: fonts.sans,
|
|
2563
|
+
fontWeight: "600",
|
|
2564
|
+
letterSpacing: 0,
|
|
2565
|
+
color: colors.white
|
|
2566
|
+
},
|
|
2567
|
+
titleDesktop: {
|
|
2568
|
+
fontSize: 16,
|
|
2569
|
+
lineHeight: 22
|
|
2570
|
+
},
|
|
2571
|
+
titleCompact: {
|
|
2572
|
+
fontSize: 14,
|
|
2573
|
+
lineHeight: 20
|
|
2574
|
+
},
|
|
2575
|
+
badgeSlot: {
|
|
2576
|
+
flexShrink: 0
|
|
2577
|
+
}
|
|
2578
|
+
});
|
|
2209
2579
|
var ICON_SIZE3 = 20;
|
|
2210
2580
|
var webBlurStyle2 = reactNative.Platform.OS === "web" ? {
|
|
2211
2581
|
backdropFilter: "blur(10.3px)",
|
|
@@ -2237,22 +2607,22 @@ var Badge = react.forwardRef(function Badge2({ label, variant = "default", icon:
|
|
|
2237
2607
|
...rest,
|
|
2238
2608
|
ref: setContainerRef,
|
|
2239
2609
|
style: [
|
|
2240
|
-
|
|
2610
|
+
styles7.base,
|
|
2241
2611
|
{ backgroundColor: preset.backgroundColor },
|
|
2242
|
-
preset.border ?
|
|
2612
|
+
preset.border ? styles7.transparentBorder : null,
|
|
2243
2613
|
preset.blur ? webBlurStyle2 : null,
|
|
2244
2614
|
style
|
|
2245
2615
|
],
|
|
2246
2616
|
accessibilityRole: "text",
|
|
2247
2617
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
2248
2618
|
children: [
|
|
2249
|
-
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
2250
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
2619
|
+
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles7.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE3, color: preset.iconColor }) }) : null,
|
|
2620
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles7.label, reactNative.Platform.OS === "android" ? styles7.labelAndroid : null], children: label })
|
|
2251
2621
|
]
|
|
2252
2622
|
}
|
|
2253
2623
|
);
|
|
2254
2624
|
});
|
|
2255
|
-
var
|
|
2625
|
+
var styles7 = reactNative.StyleSheet.create({
|
|
2256
2626
|
base: {
|
|
2257
2627
|
flexDirection: "row",
|
|
2258
2628
|
alignItems: "center",
|
|
@@ -2287,8 +2657,339 @@ var styles6 = reactNative.StyleSheet.create({
|
|
|
2287
2657
|
includeFontPadding: false
|
|
2288
2658
|
}
|
|
2289
2659
|
});
|
|
2290
|
-
var
|
|
2660
|
+
var toneConfig = {
|
|
2661
|
+
active: {
|
|
2662
|
+
backgroundColor: colors.greenMuted,
|
|
2663
|
+
color: colors.green
|
|
2664
|
+
},
|
|
2665
|
+
completed: {
|
|
2666
|
+
backgroundColor: colors.greyMuted,
|
|
2667
|
+
color: colors.grey0
|
|
2668
|
+
},
|
|
2669
|
+
cancelled: {
|
|
2670
|
+
backgroundColor: colors.cancelledMuted,
|
|
2671
|
+
color: colors.red
|
|
2672
|
+
}
|
|
2673
|
+
};
|
|
2291
2674
|
var webBlurStyle3 = reactNative.Platform.OS === "web" ? {
|
|
2675
|
+
backdropFilter: "blur(39.5px)",
|
|
2676
|
+
WebkitBackdropFilter: "blur(39.5px)"
|
|
2677
|
+
} : {};
|
|
2678
|
+
var StatusBadge = react.forwardRef(
|
|
2679
|
+
function StatusBadge2({ label, tone = "active", style, className, accessibilityLabel, ...rest }, forwardedRef) {
|
|
2680
|
+
const containerRef = react.useRef(null);
|
|
2681
|
+
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
2682
|
+
const preset = toneConfig[tone];
|
|
2683
|
+
useApplyWebClassName(containerRef, className);
|
|
2684
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2685
|
+
reactNative.View,
|
|
2686
|
+
{
|
|
2687
|
+
...rest,
|
|
2688
|
+
ref: setContainerRef,
|
|
2689
|
+
accessibilityRole: "text",
|
|
2690
|
+
accessibilityLabel: accessibilityLabel ?? label,
|
|
2691
|
+
style: [styles8.base, { backgroundColor: preset.backgroundColor }, webBlurStyle3, style],
|
|
2692
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2693
|
+
reactNative.Text,
|
|
2694
|
+
{
|
|
2695
|
+
style: [
|
|
2696
|
+
styles8.label,
|
|
2697
|
+
{ color: preset.color },
|
|
2698
|
+
reactNative.Platform.OS === "android" ? styles8.labelAndroid : null
|
|
2699
|
+
],
|
|
2700
|
+
children: label
|
|
2701
|
+
}
|
|
2702
|
+
)
|
|
2703
|
+
}
|
|
2704
|
+
);
|
|
2705
|
+
}
|
|
2706
|
+
);
|
|
2707
|
+
var styles8 = reactNative.StyleSheet.create({
|
|
2708
|
+
base: {
|
|
2709
|
+
height: 28,
|
|
2710
|
+
minHeight: 28,
|
|
2711
|
+
flexDirection: "row",
|
|
2712
|
+
alignItems: "center",
|
|
2713
|
+
alignSelf: "flex-start",
|
|
2714
|
+
justifyContent: "center",
|
|
2715
|
+
gap: 6,
|
|
2716
|
+
paddingVertical: 6,
|
|
2717
|
+
paddingHorizontal: 12,
|
|
2718
|
+
borderRadius: 50,
|
|
2719
|
+
overflow: "hidden"
|
|
2720
|
+
},
|
|
2721
|
+
label: {
|
|
2722
|
+
fontFamily: fonts.sans,
|
|
2723
|
+
fontSize: 12,
|
|
2724
|
+
fontWeight: "600",
|
|
2725
|
+
lineHeight: 12,
|
|
2726
|
+
letterSpacing: 0
|
|
2727
|
+
},
|
|
2728
|
+
labelAndroid: {
|
|
2729
|
+
includeFontPadding: false
|
|
2730
|
+
}
|
|
2731
|
+
});
|
|
2732
|
+
var TRACK_WIDTH = 48;
|
|
2733
|
+
var DOT_HEIGHT = 6;
|
|
2734
|
+
var INACTIVE_SIZE = 6;
|
|
2735
|
+
var GAP = 4;
|
|
2736
|
+
function activePillWidth(count) {
|
|
2737
|
+
if (count <= 1) return TRACK_WIDTH;
|
|
2738
|
+
const inactiveCount = count - 1;
|
|
2739
|
+
return TRACK_WIDTH - inactiveCount * INACTIVE_SIZE - inactiveCount * GAP;
|
|
2740
|
+
}
|
|
2741
|
+
var PaginationDots = react.forwardRef(
|
|
2742
|
+
function PaginationDots2({ count, activeIndex, onDotPress, accessibilityLabel, style, className, ...rest }, forwardedRef) {
|
|
2743
|
+
const containerRef = react.useRef(null);
|
|
2744
|
+
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
2745
|
+
const safeCount = Math.max(0, count);
|
|
2746
|
+
const safeActive = safeCount === 0 ? 0 : Math.min(Math.max(activeIndex, 0), safeCount - 1);
|
|
2747
|
+
const pillWidth = Math.max(INACTIVE_SIZE, activePillWidth(safeCount));
|
|
2748
|
+
useApplyWebClassName(containerRef, className);
|
|
2749
|
+
if (safeCount <= 0) {
|
|
2750
|
+
return null;
|
|
2751
|
+
}
|
|
2752
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2753
|
+
reactNative.View,
|
|
2754
|
+
{
|
|
2755
|
+
...rest,
|
|
2756
|
+
ref: setContainerRef,
|
|
2757
|
+
accessibilityRole: "adjustable",
|
|
2758
|
+
accessibilityLabel: accessibilityLabel ?? `Slide ${safeActive + 1} of ${safeCount}`,
|
|
2759
|
+
style: [styles9.root, style],
|
|
2760
|
+
children: Array.from({ length: safeCount }, (_, index) => {
|
|
2761
|
+
const active = index === safeActive;
|
|
2762
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2763
|
+
reactNative.Pressable,
|
|
2764
|
+
{
|
|
2765
|
+
accessibilityRole: "button",
|
|
2766
|
+
accessibilityLabel: `Go to slide ${index + 1}`,
|
|
2767
|
+
accessibilityState: { selected: active },
|
|
2768
|
+
disabled: onDotPress == null,
|
|
2769
|
+
hitSlop: 8,
|
|
2770
|
+
onPress: () => onDotPress?.(index),
|
|
2771
|
+
style: [
|
|
2772
|
+
styles9.dot,
|
|
2773
|
+
active ? [styles9.dotActive, { width: pillWidth }] : styles9.dotInactive
|
|
2774
|
+
]
|
|
2775
|
+
},
|
|
2776
|
+
index
|
|
2777
|
+
);
|
|
2778
|
+
})
|
|
2779
|
+
}
|
|
2780
|
+
);
|
|
2781
|
+
}
|
|
2782
|
+
);
|
|
2783
|
+
var styles9 = reactNative.StyleSheet.create({
|
|
2784
|
+
root: {
|
|
2785
|
+
width: TRACK_WIDTH,
|
|
2786
|
+
flexDirection: "row",
|
|
2787
|
+
alignItems: "center",
|
|
2788
|
+
justifyContent: "center",
|
|
2789
|
+
gap: GAP
|
|
2790
|
+
},
|
|
2791
|
+
dot: {
|
|
2792
|
+
height: DOT_HEIGHT,
|
|
2793
|
+
borderRadius: DOT_HEIGHT
|
|
2794
|
+
},
|
|
2795
|
+
dotActive: {
|
|
2796
|
+
backgroundColor: colors.white
|
|
2797
|
+
},
|
|
2798
|
+
dotInactive: {
|
|
2799
|
+
width: INACTIVE_SIZE,
|
|
2800
|
+
backgroundColor: colors.whiteAlpha40
|
|
2801
|
+
}
|
|
2802
|
+
});
|
|
2803
|
+
var ICON_SLOT = 36;
|
|
2804
|
+
var ICON_SIZE4 = 20;
|
|
2805
|
+
var InfoTile = react.forwardRef(function InfoTile2({
|
|
2806
|
+
title,
|
|
2807
|
+
description,
|
|
2808
|
+
icon: Icon2,
|
|
2809
|
+
iconProps,
|
|
2810
|
+
iconSize = ICON_SIZE4,
|
|
2811
|
+
iconSlotBackgroundColor = colors.grey600,
|
|
2812
|
+
style,
|
|
2813
|
+
className,
|
|
2814
|
+
accessibilityLabel,
|
|
2815
|
+
...rest
|
|
2816
|
+
}, forwardedRef) {
|
|
2817
|
+
const containerRef = react.useRef(null);
|
|
2818
|
+
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
2819
|
+
const hasDescription = Boolean(description?.trim());
|
|
2820
|
+
useApplyWebClassName(containerRef, className);
|
|
2821
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2822
|
+
reactNative.View,
|
|
2823
|
+
{
|
|
2824
|
+
...rest,
|
|
2825
|
+
ref: setContainerRef,
|
|
2826
|
+
accessibilityRole: "text",
|
|
2827
|
+
accessibilityLabel: accessibilityLabel ?? (hasDescription ? `${title}. ${description}` : title),
|
|
2828
|
+
style: [styles10.root, style],
|
|
2829
|
+
children: [
|
|
2830
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles10.iconSlot, { backgroundColor: iconSlotBackgroundColor }], children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }) }),
|
|
2831
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles10.textBlock, children: [
|
|
2832
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles10.title, children: title }),
|
|
2833
|
+
hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles10.description, children: description }) : null
|
|
2834
|
+
] })
|
|
2835
|
+
]
|
|
2836
|
+
}
|
|
2837
|
+
);
|
|
2838
|
+
});
|
|
2839
|
+
var styles10 = reactNative.StyleSheet.create({
|
|
2840
|
+
root: {
|
|
2841
|
+
flexDirection: "row",
|
|
2842
|
+
alignItems: "center",
|
|
2843
|
+
alignSelf: "flex-start",
|
|
2844
|
+
gap: 16,
|
|
2845
|
+
padding: 12,
|
|
2846
|
+
borderRadius: 16,
|
|
2847
|
+
backgroundColor: colors.grey700
|
|
2848
|
+
},
|
|
2849
|
+
iconSlot: {
|
|
2850
|
+
width: ICON_SLOT,
|
|
2851
|
+
height: ICON_SLOT,
|
|
2852
|
+
padding: 8,
|
|
2853
|
+
borderRadius: 8,
|
|
2854
|
+
alignItems: "center",
|
|
2855
|
+
justifyContent: "center",
|
|
2856
|
+
flexShrink: 0
|
|
2857
|
+
},
|
|
2858
|
+
textBlock: {
|
|
2859
|
+
flexShrink: 1,
|
|
2860
|
+
minWidth: 0,
|
|
2861
|
+
flexDirection: "column",
|
|
2862
|
+
gap: 6
|
|
2863
|
+
},
|
|
2864
|
+
title: {
|
|
2865
|
+
fontFamily: fonts.sans,
|
|
2866
|
+
fontSize: 14,
|
|
2867
|
+
fontWeight: "500",
|
|
2868
|
+
lineHeight: 14,
|
|
2869
|
+
letterSpacing: 0,
|
|
2870
|
+
color: colors.white
|
|
2871
|
+
},
|
|
2872
|
+
description: {
|
|
2873
|
+
fontFamily: fonts.sans,
|
|
2874
|
+
fontSize: 12,
|
|
2875
|
+
fontWeight: "400",
|
|
2876
|
+
lineHeight: 12,
|
|
2877
|
+
letterSpacing: 0,
|
|
2878
|
+
color: colors.lightGrey
|
|
2879
|
+
}
|
|
2880
|
+
});
|
|
2881
|
+
var BADGE_SIZE = 42;
|
|
2882
|
+
var ROW_GAP = 12;
|
|
2883
|
+
var CONNECTOR_WIDTH = 2;
|
|
2884
|
+
var CONNECTOR_HEIGHT = 19;
|
|
2885
|
+
var CONNECTOR_GAP = 8;
|
|
2886
|
+
var webBlurStyle4 = reactNative.Platform.OS === "web" ? {
|
|
2887
|
+
backdropFilter: "blur(20px)",
|
|
2888
|
+
WebkitBackdropFilter: "blur(20px)"
|
|
2889
|
+
} : {};
|
|
2890
|
+
var StepList = react.forwardRef(function StepList2({ steps, style, className, accessibilityLabel, ...rest }, forwardedRef) {
|
|
2891
|
+
const containerRef = react.useRef(null);
|
|
2892
|
+
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
2893
|
+
useApplyWebClassName(containerRef, className);
|
|
2894
|
+
if (steps.length === 0) {
|
|
2895
|
+
return null;
|
|
2896
|
+
}
|
|
2897
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2898
|
+
reactNative.View,
|
|
2899
|
+
{
|
|
2900
|
+
...rest,
|
|
2901
|
+
ref: setContainerRef,
|
|
2902
|
+
accessibilityRole: "summary",
|
|
2903
|
+
accessibilityLabel,
|
|
2904
|
+
style: [styles11.root, style],
|
|
2905
|
+
children: steps.map((description, index) => {
|
|
2906
|
+
const isLast = index === steps.length - 1;
|
|
2907
|
+
const number = index + 1;
|
|
2908
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles11.stepBlock, children: [
|
|
2909
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles11.row, children: [
|
|
2910
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles11.badge, webBlurStyle4], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2911
|
+
reactNative.Text,
|
|
2912
|
+
{
|
|
2913
|
+
style: [
|
|
2914
|
+
styles11.badgeLabel,
|
|
2915
|
+
reactNative.Platform.OS === "android" ? styles11.labelAndroid : null
|
|
2916
|
+
],
|
|
2917
|
+
children: String(number)
|
|
2918
|
+
}
|
|
2919
|
+
) }),
|
|
2920
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2921
|
+
reactNative.Text,
|
|
2922
|
+
{
|
|
2923
|
+
style: [styles11.description, reactNative.Platform.OS === "android" ? styles11.labelAndroid : null],
|
|
2924
|
+
children: description
|
|
2925
|
+
}
|
|
2926
|
+
)
|
|
2927
|
+
] }),
|
|
2928
|
+
!isLast ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles11.connectorSlot, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles11.connector }) }) : null
|
|
2929
|
+
] }, `${number}-${description}`);
|
|
2930
|
+
})
|
|
2931
|
+
}
|
|
2932
|
+
);
|
|
2933
|
+
});
|
|
2934
|
+
var styles11 = reactNative.StyleSheet.create({
|
|
2935
|
+
root: {
|
|
2936
|
+
width: "100%"
|
|
2937
|
+
},
|
|
2938
|
+
stepBlock: {
|
|
2939
|
+
width: "100%"
|
|
2940
|
+
},
|
|
2941
|
+
row: {
|
|
2942
|
+
flexDirection: "row",
|
|
2943
|
+
alignItems: "center",
|
|
2944
|
+
gap: ROW_GAP,
|
|
2945
|
+
width: "100%"
|
|
2946
|
+
},
|
|
2947
|
+
badge: {
|
|
2948
|
+
width: BADGE_SIZE,
|
|
2949
|
+
height: BADGE_SIZE,
|
|
2950
|
+
borderRadius: 79,
|
|
2951
|
+
backgroundColor: colors.grey600,
|
|
2952
|
+
alignItems: "center",
|
|
2953
|
+
justifyContent: "center",
|
|
2954
|
+
flexShrink: 0,
|
|
2955
|
+
overflow: "hidden"
|
|
2956
|
+
},
|
|
2957
|
+
badgeLabel: {
|
|
2958
|
+
fontFamily: fonts.sans,
|
|
2959
|
+
fontSize: 14,
|
|
2960
|
+
fontWeight: "500",
|
|
2961
|
+
lineHeight: 14,
|
|
2962
|
+
letterSpacing: 0,
|
|
2963
|
+
color: colors.white,
|
|
2964
|
+
textAlign: "center"
|
|
2965
|
+
},
|
|
2966
|
+
description: {
|
|
2967
|
+
flex: 1,
|
|
2968
|
+
minWidth: 0,
|
|
2969
|
+
fontFamily: fonts.sans,
|
|
2970
|
+
fontSize: 14,
|
|
2971
|
+
fontWeight: "400",
|
|
2972
|
+
lineHeight: 14,
|
|
2973
|
+
letterSpacing: 0,
|
|
2974
|
+
color: colors.white
|
|
2975
|
+
},
|
|
2976
|
+
connectorSlot: {
|
|
2977
|
+
width: BADGE_SIZE,
|
|
2978
|
+
alignItems: "center",
|
|
2979
|
+
paddingVertical: CONNECTOR_GAP
|
|
2980
|
+
},
|
|
2981
|
+
connector: {
|
|
2982
|
+
width: CONNECTOR_WIDTH,
|
|
2983
|
+
height: CONNECTOR_HEIGHT,
|
|
2984
|
+
borderRadius: 98,
|
|
2985
|
+
backgroundColor: colors.grey600
|
|
2986
|
+
},
|
|
2987
|
+
labelAndroid: {
|
|
2988
|
+
includeFontPadding: false
|
|
2989
|
+
}
|
|
2990
|
+
});
|
|
2991
|
+
var BUTTON_SIZE = 32;
|
|
2992
|
+
var webBlurStyle5 = reactNative.Platform.OS === "web" ? {
|
|
2292
2993
|
backdropFilter: "blur(20px)",
|
|
2293
2994
|
WebkitBackdropFilter: "blur(20px)"
|
|
2294
2995
|
} : {};
|
|
@@ -2325,7 +3026,7 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
2325
3026
|
if (!isControlled) setUncontrolledValue(next);
|
|
2326
3027
|
onValueChange?.(next);
|
|
2327
3028
|
};
|
|
2328
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [
|
|
3029
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [styles12.base, style], children: [
|
|
2329
3030
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2330
3031
|
reactNative.Pressable,
|
|
2331
3032
|
{
|
|
@@ -2335,11 +3036,11 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
2335
3036
|
accessibilityRole: "button",
|
|
2336
3037
|
accessibilityLabel: "Decrease value",
|
|
2337
3038
|
accessibilityState: { disabled: decrementDisabled },
|
|
2338
|
-
style: [
|
|
3039
|
+
style: [styles12.button, webBlurStyle5, decrementDisabled && styles12.buttonDisabled],
|
|
2339
3040
|
children: /* @__PURE__ */ jsxRuntime.jsx(MinusIcon, {})
|
|
2340
3041
|
}
|
|
2341
3042
|
),
|
|
2342
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
3043
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles12.value, children: resolvedValue }),
|
|
2343
3044
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2344
3045
|
reactNative.Pressable,
|
|
2345
3046
|
{
|
|
@@ -2349,13 +3050,13 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
2349
3050
|
accessibilityRole: "button",
|
|
2350
3051
|
accessibilityLabel: "Increase value",
|
|
2351
3052
|
accessibilityState: { disabled: incrementDisabled },
|
|
2352
|
-
style: [
|
|
3053
|
+
style: [styles12.button, webBlurStyle5, incrementDisabled && styles12.buttonDisabled],
|
|
2353
3054
|
children: /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, {})
|
|
2354
3055
|
}
|
|
2355
3056
|
)
|
|
2356
3057
|
] });
|
|
2357
3058
|
});
|
|
2358
|
-
var
|
|
3059
|
+
var styles12 = reactNative.StyleSheet.create({
|
|
2359
3060
|
base: {
|
|
2360
3061
|
flexDirection: "row",
|
|
2361
3062
|
alignItems: "center",
|
|
@@ -2379,7 +3080,7 @@ var styles7 = reactNative.StyleSheet.create({
|
|
|
2379
3080
|
color: colors.white
|
|
2380
3081
|
}
|
|
2381
3082
|
});
|
|
2382
|
-
var
|
|
3083
|
+
var ICON_SIZE5 = 20;
|
|
2383
3084
|
var ANIMATION_DURATION = 200;
|
|
2384
3085
|
var OPTION_HORIZONTAL_PADDING = 16;
|
|
2385
3086
|
var OPTION_CONTENT_GAP = 12;
|
|
@@ -2475,9 +3176,9 @@ var SegmentedToggle = react.forwardRef(
|
|
|
2475
3176
|
onLayout?.(event);
|
|
2476
3177
|
},
|
|
2477
3178
|
style: [
|
|
2478
|
-
|
|
2479
|
-
fullWidth ?
|
|
2480
|
-
disabled &&
|
|
3179
|
+
styles13.base,
|
|
3180
|
+
fullWidth ? styles13.fullWidth : styles13.contentWidth,
|
|
3181
|
+
disabled && styles13.disabled,
|
|
2481
3182
|
style
|
|
2482
3183
|
],
|
|
2483
3184
|
accessibilityRole: "radiogroup",
|
|
@@ -2498,10 +3199,10 @@ var SegmentedToggle = react.forwardRef(
|
|
|
2498
3199
|
return nextWidths;
|
|
2499
3200
|
});
|
|
2500
3201
|
},
|
|
2501
|
-
style:
|
|
3202
|
+
style: styles13.optionMeasurement,
|
|
2502
3203
|
children: [
|
|
2503
|
-
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size:
|
|
2504
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3204
|
+
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE5 }) : null,
|
|
3205
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles13.label, styles13.contentWidthLabel], children: label })
|
|
2505
3206
|
]
|
|
2506
3207
|
},
|
|
2507
3208
|
`${optionValue}-measurement`
|
|
@@ -2511,7 +3212,7 @@ var SegmentedToggle = react.forwardRef(
|
|
|
2511
3212
|
{
|
|
2512
3213
|
pointerEvents: "none",
|
|
2513
3214
|
style: [
|
|
2514
|
-
|
|
3215
|
+
styles13.activeIndicator,
|
|
2515
3216
|
{ width: selectedOptionWidth, transform: [{ translateX: indicatorTranslateX }] }
|
|
2516
3217
|
]
|
|
2517
3218
|
}
|
|
@@ -2531,18 +3232,18 @@ var SegmentedToggle = react.forwardRef(
|
|
|
2531
3232
|
accessibilityLabel: label,
|
|
2532
3233
|
accessibilityState: { selected, disabled },
|
|
2533
3234
|
style: [
|
|
2534
|
-
|
|
2535
|
-
fullWidth ?
|
|
3235
|
+
styles13.option,
|
|
3236
|
+
fullWidth ? styles13.optionFullWidth : [styles13.optionContentWidth, optionWidth > 0 && { width: optionWidth }]
|
|
2536
3237
|
],
|
|
2537
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
2538
|
-
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size:
|
|
3238
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles13.optionContent, children: [
|
|
3239
|
+
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE5, color: iconColor }) : null,
|
|
2539
3240
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2540
3241
|
reactNative.Text,
|
|
2541
3242
|
{
|
|
2542
3243
|
numberOfLines: fullWidth ? 1 : void 0,
|
|
2543
3244
|
style: [
|
|
2544
|
-
|
|
2545
|
-
!fullWidth &&
|
|
3245
|
+
styles13.label,
|
|
3246
|
+
!fullWidth && styles13.contentWidthLabel,
|
|
2546
3247
|
{ color: labelColor }
|
|
2547
3248
|
],
|
|
2548
3249
|
children: label
|
|
@@ -2558,7 +3259,7 @@ var SegmentedToggle = react.forwardRef(
|
|
|
2558
3259
|
);
|
|
2559
3260
|
}
|
|
2560
3261
|
);
|
|
2561
|
-
var
|
|
3262
|
+
var styles13 = reactNative.StyleSheet.create({
|
|
2562
3263
|
base: {
|
|
2563
3264
|
height: 44,
|
|
2564
3265
|
flexDirection: "row",
|
|
@@ -2624,11 +3325,11 @@ var styles8 = reactNative.StyleSheet.create({
|
|
|
2624
3325
|
});
|
|
2625
3326
|
var SIDEBAR_WIDTH = 300;
|
|
2626
3327
|
var SIDEBAR_COLLAPSED_WIDTH = 72;
|
|
2627
|
-
var
|
|
3328
|
+
var HEADER_HEIGHT2 = 64;
|
|
2628
3329
|
var LOGO_WIDTH = 31;
|
|
2629
3330
|
var LOGO_HEIGHT = 44;
|
|
2630
3331
|
var TOGGLE_SIZE = 20;
|
|
2631
|
-
var
|
|
3332
|
+
var MENU_ICON_SIZE2 = 16;
|
|
2632
3333
|
var PROFILE_SECTION_HEIGHT = 80;
|
|
2633
3334
|
var SIDEBAR_TRANSITION_MS = 300;
|
|
2634
3335
|
var Sidebar = react.forwardRef(function Sidebar2({
|
|
@@ -2683,16 +3384,16 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
2683
3384
|
{
|
|
2684
3385
|
...rest,
|
|
2685
3386
|
ref: setContainerRef,
|
|
2686
|
-
style: [
|
|
3387
|
+
style: [styles14.root, { width: widthAnim }, style],
|
|
2687
3388
|
accessibilityRole: "menu",
|
|
2688
3389
|
children: [
|
|
2689
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
3390
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles14.header, collapsed ? styles14.headerCollapsed : styles14.headerExpanded], children: [
|
|
2690
3391
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2691
3392
|
reactNative.Animated.View,
|
|
2692
3393
|
{
|
|
2693
3394
|
pointerEvents: collapsed ? "none" : "auto",
|
|
2694
3395
|
style: [
|
|
2695
|
-
|
|
3396
|
+
styles14.logoSlot,
|
|
2696
3397
|
{
|
|
2697
3398
|
opacity: labelOpacity,
|
|
2698
3399
|
maxWidth: collapsed ? 0 : LOGO_WIDTH
|
|
@@ -2719,7 +3420,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
2719
3420
|
accessibilityState: { expanded: !collapsed },
|
|
2720
3421
|
hitSlop: 8,
|
|
2721
3422
|
onPress: () => setCollapsed(!collapsed),
|
|
2722
|
-
style:
|
|
3423
|
+
style: styles14.toggleButton,
|
|
2723
3424
|
children: /* @__PURE__ */ jsxRuntime.jsx(SidebarIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
2724
3425
|
}
|
|
2725
3426
|
)
|
|
@@ -2729,12 +3430,12 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
2729
3430
|
{
|
|
2730
3431
|
accessibilityLabel: navigationAccessibilityLabel,
|
|
2731
3432
|
accessibilityRole: "menu",
|
|
2732
|
-
style:
|
|
3433
|
+
style: styles14.nav,
|
|
2733
3434
|
children: items.map((item) => {
|
|
2734
3435
|
const isActive = Boolean(item.active);
|
|
2735
3436
|
const iconColor = isActive ? colors.primary : colors.grey300;
|
|
2736
3437
|
const Icon2 = item.icon;
|
|
2737
|
-
const iconNode = /* @__PURE__ */ jsxRuntime.jsx(Icon2, { color: iconColor, size:
|
|
3438
|
+
const iconNode = /* @__PURE__ */ jsxRuntime.jsx(Icon2, { color: iconColor, size: MENU_ICON_SIZE2, strokeWidth: 1.5 });
|
|
2738
3439
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2739
3440
|
MenuItem,
|
|
2740
3441
|
{
|
|
@@ -2745,18 +3446,18 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
2745
3446
|
hoverColor: colors.grey700,
|
|
2746
3447
|
onPress: item.onPress,
|
|
2747
3448
|
labelStyle: [
|
|
2748
|
-
|
|
3449
|
+
styles14.menuLabel,
|
|
2749
3450
|
{ color: isActive ? colors.white : colors.grey200 },
|
|
2750
|
-
collapsed ?
|
|
3451
|
+
collapsed ? styles14.menuLabelCollapsed : styles14.menuLabelExpanded
|
|
2751
3452
|
],
|
|
2752
|
-
style: [
|
|
3453
|
+
style: [styles14.menuItem, collapsed ? styles14.menuItemCollapsed : null]
|
|
2753
3454
|
},
|
|
2754
3455
|
item.key
|
|
2755
3456
|
);
|
|
2756
3457
|
})
|
|
2757
3458
|
}
|
|
2758
3459
|
),
|
|
2759
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
3460
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles14.footer, collapsed ? styles14.footerCollapsed : styles14.footerExpanded], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2760
3461
|
AvatarSimple,
|
|
2761
3462
|
{
|
|
2762
3463
|
name: user.name,
|
|
@@ -2771,7 +3472,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
2771
3472
|
}
|
|
2772
3473
|
);
|
|
2773
3474
|
});
|
|
2774
|
-
var
|
|
3475
|
+
var styles14 = reactNative.StyleSheet.create({
|
|
2775
3476
|
root: {
|
|
2776
3477
|
flexDirection: "column",
|
|
2777
3478
|
alignSelf: "stretch",
|
|
@@ -2785,7 +3486,7 @@ var styles9 = reactNative.StyleSheet.create({
|
|
|
2785
3486
|
},
|
|
2786
3487
|
header: {
|
|
2787
3488
|
zIndex: 1,
|
|
2788
|
-
height:
|
|
3489
|
+
height: HEADER_HEIGHT2,
|
|
2789
3490
|
width: "100%",
|
|
2790
3491
|
flexDirection: "row",
|
|
2791
3492
|
alignItems: "center",
|
|
@@ -2873,7 +3574,7 @@ var defaultLanguageOptions = [
|
|
|
2873
3574
|
];
|
|
2874
3575
|
var CONTROL_WIDTH = 90;
|
|
2875
3576
|
var CONTROL_HEIGHT = 35;
|
|
2876
|
-
var
|
|
3577
|
+
var ICON_SIZE6 = 16;
|
|
2877
3578
|
var LanguageSwitcher = react.forwardRef(
|
|
2878
3579
|
function LanguageSwitcher2({
|
|
2879
3580
|
options = defaultLanguageOptions,
|
|
@@ -2953,7 +3654,7 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
2953
3654
|
{
|
|
2954
3655
|
...rest,
|
|
2955
3656
|
ref: setWrapperRef,
|
|
2956
|
-
style: [
|
|
3657
|
+
style: [styles15.wrapper, isOpen && styles15.wrapperOpen, disabled && styles15.disabled, style],
|
|
2957
3658
|
children: [
|
|
2958
3659
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2959
3660
|
reactNative.Pressable,
|
|
@@ -2968,17 +3669,17 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
2968
3669
|
onHoverIn: () => setTriggerHovered(true),
|
|
2969
3670
|
onHoverOut: () => setTriggerHovered(false),
|
|
2970
3671
|
style: ({ pressed }) => [
|
|
2971
|
-
|
|
2972
|
-
(triggerHovered || pressed || isOpen) &&
|
|
3672
|
+
styles15.trigger,
|
|
3673
|
+
(triggerHovered || pressed || isOpen) && styles15.triggerActive
|
|
2973
3674
|
],
|
|
2974
3675
|
children: [
|
|
2975
|
-
/* @__PURE__ */ jsxRuntime.jsx(GlobeIcon, { size:
|
|
2976
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
2977
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
3676
|
+
/* @__PURE__ */ jsxRuntime.jsx(GlobeIcon, { size: ICON_SIZE6, color: colors.white, strokeWidth: 2 }),
|
|
3677
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles15.triggerLabel, numberOfLines: 1, children: selectedOption?.label ?? "" }),
|
|
3678
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles15.chevron, isOpen && styles15.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: ICON_SIZE6, color: colors.white, strokeWidth: 2 }) })
|
|
2978
3679
|
]
|
|
2979
3680
|
}
|
|
2980
3681
|
),
|
|
2981
|
-
isOpen && options.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3682
|
+
isOpen && options.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles15.menu, accessibilityRole: "menu", children: options.map((option) => {
|
|
2982
3683
|
const selected = option.value === selectedValue;
|
|
2983
3684
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2984
3685
|
reactNative.Pressable,
|
|
@@ -2990,10 +3691,10 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
2990
3691
|
onHoverIn: () => setHoveredValue(option.value),
|
|
2991
3692
|
onHoverOut: () => setHoveredValue(null),
|
|
2992
3693
|
style: ({ pressed }) => [
|
|
2993
|
-
|
|
2994
|
-
selected ?
|
|
3694
|
+
styles15.item,
|
|
3695
|
+
selected ? styles15.itemSelected : (hoveredValue === option.value || pressed) && styles15.itemHovered
|
|
2995
3696
|
],
|
|
2996
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3697
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.itemLabel, selected && styles15.itemLabelSelected], children: option.label })
|
|
2997
3698
|
},
|
|
2998
3699
|
option.value
|
|
2999
3700
|
);
|
|
@@ -3003,7 +3704,7 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
3003
3704
|
);
|
|
3004
3705
|
}
|
|
3005
3706
|
);
|
|
3006
|
-
var
|
|
3707
|
+
var styles15 = reactNative.StyleSheet.create({
|
|
3007
3708
|
wrapper: {
|
|
3008
3709
|
position: "relative",
|
|
3009
3710
|
width: CONTROL_WIDTH,
|
|
@@ -3036,8 +3737,8 @@ var styles10 = reactNative.StyleSheet.create({
|
|
|
3036
3737
|
color: colors.white
|
|
3037
3738
|
},
|
|
3038
3739
|
chevron: {
|
|
3039
|
-
width:
|
|
3040
|
-
height:
|
|
3740
|
+
width: ICON_SIZE6,
|
|
3741
|
+
height: ICON_SIZE6,
|
|
3041
3742
|
flexShrink: 0,
|
|
3042
3743
|
alignItems: "center",
|
|
3043
3744
|
justifyContent: "center"
|
|
@@ -3079,12 +3780,12 @@ var styles10 = reactNative.StyleSheet.create({
|
|
|
3079
3780
|
color: colors.primary
|
|
3080
3781
|
}
|
|
3081
3782
|
});
|
|
3082
|
-
var
|
|
3783
|
+
var ICON_SIZE7 = 25.63181;
|
|
3083
3784
|
var StatCard = react.forwardRef(function StatCard2({
|
|
3084
3785
|
label,
|
|
3085
3786
|
icon: Icon2,
|
|
3086
3787
|
iconProps,
|
|
3087
|
-
iconSize =
|
|
3788
|
+
iconSize = ICON_SIZE7,
|
|
3088
3789
|
style,
|
|
3089
3790
|
className,
|
|
3090
3791
|
accessibilityLabel,
|
|
@@ -3099,17 +3800,17 @@ var StatCard = react.forwardRef(function StatCard2({
|
|
|
3099
3800
|
{
|
|
3100
3801
|
...rest,
|
|
3101
3802
|
ref: setContainerRef,
|
|
3102
|
-
style: [
|
|
3803
|
+
style: [styles16.base, style],
|
|
3103
3804
|
accessibilityRole: "text",
|
|
3104
3805
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
3105
3806
|
children: [
|
|
3106
3807
|
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }),
|
|
3107
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
3808
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles16.label, children: label })
|
|
3108
3809
|
]
|
|
3109
3810
|
}
|
|
3110
3811
|
);
|
|
3111
3812
|
});
|
|
3112
|
-
var
|
|
3813
|
+
var styles16 = reactNative.StyleSheet.create({
|
|
3113
3814
|
base: {
|
|
3114
3815
|
width: 204.5,
|
|
3115
3816
|
minHeight: 114,
|
|
@@ -3173,6 +3874,7 @@ var Button = react.forwardRef(
|
|
|
3173
3874
|
size = "lg",
|
|
3174
3875
|
showIcon = false,
|
|
3175
3876
|
icon,
|
|
3877
|
+
iconBadgeBackgroundColor,
|
|
3176
3878
|
style,
|
|
3177
3879
|
textStyle,
|
|
3178
3880
|
className,
|
|
@@ -3195,7 +3897,7 @@ var Button = react.forwardRef(
|
|
|
3195
3897
|
useApplyWebClassName(textRef, textClassName);
|
|
3196
3898
|
const iconNode = customIcon ?? /* @__PURE__ */ jsxRuntime.jsx(ArrowRightIcon, { size: metrics.iconSize, color: preset.iconColor });
|
|
3197
3899
|
const containerStyle = [
|
|
3198
|
-
|
|
3900
|
+
styles17.base,
|
|
3199
3901
|
{
|
|
3200
3902
|
minHeight: metrics.minHeight,
|
|
3201
3903
|
borderRadius: metrics.borderRadius,
|
|
@@ -3206,16 +3908,16 @@ var Button = react.forwardRef(
|
|
|
3206
3908
|
paddingRight: hasIcon ? metrics.paddingRightWithIcon : metrics.paddingRight,
|
|
3207
3909
|
gap: hasIcon ? metrics.gap : 0
|
|
3208
3910
|
},
|
|
3209
|
-
hasIcon ?
|
|
3210
|
-
disabled &&
|
|
3911
|
+
hasIcon ? styles17.contentWithIcon : styles17.contentWithoutIcon,
|
|
3912
|
+
disabled && styles17.disabled,
|
|
3211
3913
|
style
|
|
3212
3914
|
];
|
|
3213
3915
|
const labelStyle = [
|
|
3214
|
-
|
|
3916
|
+
styles17.label,
|
|
3215
3917
|
metrics.text,
|
|
3216
3918
|
{ color: preset.textColor },
|
|
3217
|
-
reactNative.Platform.OS === "android" ?
|
|
3218
|
-
!hasIcon &&
|
|
3919
|
+
reactNative.Platform.OS === "android" ? styles17.labelAndroid : null,
|
|
3920
|
+
!hasIcon && styles17.labelCentered,
|
|
3219
3921
|
textStyle
|
|
3220
3922
|
];
|
|
3221
3923
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -3236,12 +3938,12 @@ var Button = react.forwardRef(
|
|
|
3236
3938
|
reactNative.View,
|
|
3237
3939
|
{
|
|
3238
3940
|
style: [
|
|
3239
|
-
|
|
3941
|
+
styles17.iconContainer,
|
|
3240
3942
|
{
|
|
3241
3943
|
width: metrics.iconContainerSize,
|
|
3242
3944
|
height: metrics.iconContainerSize,
|
|
3243
3945
|
borderRadius: metrics.iconContainerSize / 2,
|
|
3244
|
-
backgroundColor: preset.iconBadgeBackgroundColor
|
|
3946
|
+
backgroundColor: iconBadgeBackgroundColor ?? preset.iconBadgeBackgroundColor
|
|
3245
3947
|
}
|
|
3246
3948
|
],
|
|
3247
3949
|
children: iconNode
|
|
@@ -3252,7 +3954,7 @@ var Button = react.forwardRef(
|
|
|
3252
3954
|
);
|
|
3253
3955
|
}
|
|
3254
3956
|
);
|
|
3255
|
-
var
|
|
3957
|
+
var styles17 = reactNative.StyleSheet.create({
|
|
3256
3958
|
base: {
|
|
3257
3959
|
flexDirection: "row",
|
|
3258
3960
|
alignItems: "center",
|
|
@@ -3336,13 +4038,13 @@ var Checkbox = react.forwardRef(function Checkbox2({
|
|
|
3336
4038
|
accessibilityRole: "checkbox",
|
|
3337
4039
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
3338
4040
|
accessibilityState: { checked: isActive, disabled },
|
|
3339
|
-
style: [
|
|
4041
|
+
style: [styles18.root, disabled && styles18.disabled, style],
|
|
3340
4042
|
children: [
|
|
3341
4043
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3342
4044
|
reactNative.View,
|
|
3343
4045
|
{
|
|
3344
4046
|
style: [
|
|
3345
|
-
|
|
4047
|
+
styles18.box,
|
|
3346
4048
|
{
|
|
3347
4049
|
backgroundColor: chrome.backgroundColor,
|
|
3348
4050
|
borderColor: chrome.borderColor
|
|
@@ -3351,12 +4053,12 @@ var Checkbox = react.forwardRef(function Checkbox2({
|
|
|
3351
4053
|
children: isActive ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { size: CHECK_SIZE, color: colors.primary, strokeWidth: CHECK_STROKE }) : null
|
|
3352
4054
|
}
|
|
3353
4055
|
),
|
|
3354
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4056
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.label, labelStyle], children: labelContent }) : labelContent : null
|
|
3355
4057
|
]
|
|
3356
4058
|
}
|
|
3357
4059
|
);
|
|
3358
4060
|
});
|
|
3359
|
-
var
|
|
4061
|
+
var styles18 = reactNative.StyleSheet.create({
|
|
3360
4062
|
root: {
|
|
3361
4063
|
flexDirection: "row",
|
|
3362
4064
|
alignItems: "center",
|
|
@@ -3415,6 +4117,24 @@ function formatDate(date) {
|
|
|
3415
4117
|
const month = String(date.getMonth() + 1).padStart(2, "0");
|
|
3416
4118
|
return `${day}.${month}.${date.getFullYear()}`;
|
|
3417
4119
|
}
|
|
4120
|
+
function abbreviateMonthName(monthName, letterCount = 3) {
|
|
4121
|
+
const chars = Array.from(monthName);
|
|
4122
|
+
let visual = 0;
|
|
4123
|
+
let end = 0;
|
|
4124
|
+
while (end < chars.length && visual < letterCount) {
|
|
4125
|
+
if (chars[end] === "\u0578" && chars[end + 1] === "\u0582") {
|
|
4126
|
+
end += 2;
|
|
4127
|
+
} else {
|
|
4128
|
+
end += 1;
|
|
4129
|
+
}
|
|
4130
|
+
visual += 1;
|
|
4131
|
+
}
|
|
4132
|
+
return chars.slice(0, end).join("");
|
|
4133
|
+
}
|
|
4134
|
+
function formatDateDayShortMonth(date, monthNames, letterCount = 3) {
|
|
4135
|
+
const month = abbreviateMonthName(monthNames[date.getMonth()] ?? "", letterCount);
|
|
4136
|
+
return `${date.getDate()} ${month} ${date.getFullYear()}`;
|
|
4137
|
+
}
|
|
3418
4138
|
function getMonthMatrix(monthDate, weekStartsOn = 1) {
|
|
3419
4139
|
const year = monthDate.getFullYear();
|
|
3420
4140
|
const month = monthDate.getMonth();
|
|
@@ -3455,7 +4175,7 @@ var RANGE_TRIGGER_WIDTH = 382;
|
|
|
3455
4175
|
var TRIGGER_HEIGHT = 44;
|
|
3456
4176
|
var TRIGGER_RADIUS = 60;
|
|
3457
4177
|
var MENU_RADIUS2 = 20;
|
|
3458
|
-
var
|
|
4178
|
+
var ICON_SIZE8 = 20;
|
|
3459
4179
|
var NAV_ICON_SIZE = 20;
|
|
3460
4180
|
var DAY_CELL_HEIGHT = 44;
|
|
3461
4181
|
var DAY_CIRCLE_SIZE = 44;
|
|
@@ -3464,13 +4184,13 @@ function RangeTriggerField({
|
|
|
3464
4184
|
value,
|
|
3465
4185
|
time
|
|
3466
4186
|
}) {
|
|
3467
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
3468
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
3469
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
3470
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, {
|
|
3471
|
-
time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4187
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.rangeField, children: [
|
|
4188
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles19.rangeLabel, children: label }),
|
|
4189
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.rangeValueRow, children: [
|
|
4190
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles19.rangeDate, children: value }),
|
|
4191
|
+
time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.rangeTimeWrap, children: [
|
|
3472
4192
|
/* @__PURE__ */ jsxRuntime.jsx(ClockFilledIcon, { color: colors.lightGrey, size: 16 }),
|
|
3473
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
4193
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles19.rangeTime, children: time })
|
|
3474
4194
|
] }) : null
|
|
3475
4195
|
] })
|
|
3476
4196
|
] });
|
|
@@ -3496,7 +4216,7 @@ var DatePicker = react.forwardRef(
|
|
|
3496
4216
|
defaultVisibleMonth,
|
|
3497
4217
|
monthNames = DEFAULT_MONTH_NAMES,
|
|
3498
4218
|
weekdayLabels = DEFAULT_WEEKDAY_LABELS,
|
|
3499
|
-
formatValue
|
|
4219
|
+
formatValue: formatValueProp,
|
|
3500
4220
|
weekStartsOn = 1,
|
|
3501
4221
|
calendarStyle,
|
|
3502
4222
|
style,
|
|
@@ -3511,6 +4231,8 @@ var DatePicker = react.forwardRef(
|
|
|
3511
4231
|
...rest
|
|
3512
4232
|
} = props;
|
|
3513
4233
|
const isRange = props.range === true;
|
|
4234
|
+
const usesRangeTrigger = isRange && variant !== "default";
|
|
4235
|
+
const formatValue = formatValueProp ?? (usesRangeTrigger ? (date) => formatDateDayShortMonth(date, monthNames) : formatDate);
|
|
3514
4236
|
const valueProp = props.value;
|
|
3515
4237
|
const rootRef = react.useRef(null);
|
|
3516
4238
|
const triggerRef = react.useRef(null);
|
|
@@ -3623,7 +4345,6 @@ var DatePicker = react.forwardRef(
|
|
|
3623
4345
|
const today = react.useMemo(() => startOfDay(/* @__PURE__ */ new Date()), []);
|
|
3624
4346
|
const hasValue = isRange ? rangeValue.start != null : singleValue != null;
|
|
3625
4347
|
const triggerLabel = isRange ? rangeValue.start && rangeValue.end ? `${formatValue(rangeValue.start)} - ${formatValue(rangeValue.end)}` : rangeValue.start ? `${formatValue(rangeValue.start)} - ...` : placeholder : singleValue ? formatValue(singleValue) : placeholder;
|
|
3626
|
-
const usesRangeTrigger = isRange && variant !== "default";
|
|
3627
4348
|
const usesVerticalRangeTrigger = usesRangeTrigger && variant === "range-vertical";
|
|
3628
4349
|
const triggerBorderColor = usesRangeTrigger ? isOpen ? colors.primary : colors.grey500 : isOpen ? colors.primaryMuted : colors.grey700;
|
|
3629
4350
|
const triggerTextColor = hasValue ? colors.white : colors.grey100;
|
|
@@ -3636,14 +4357,14 @@ var DatePicker = react.forwardRef(
|
|
|
3636
4357
|
...rest,
|
|
3637
4358
|
ref: setRootRef,
|
|
3638
4359
|
style: [
|
|
3639
|
-
|
|
3640
|
-
usesRangeTrigger &&
|
|
3641
|
-
isOpen &&
|
|
3642
|
-
disabled &&
|
|
4360
|
+
styles19.root,
|
|
4361
|
+
usesRangeTrigger && styles19.rangeRoot,
|
|
4362
|
+
isOpen && styles19.rootOpen,
|
|
4363
|
+
disabled && styles19.disabled,
|
|
3643
4364
|
style
|
|
3644
4365
|
],
|
|
3645
4366
|
accessibilityState: { disabled, expanded: isOpen },
|
|
3646
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
4367
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles19.triggerWrap, isOpen && styles19.triggerWrapOpen], children: [
|
|
3647
4368
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3648
4369
|
reactNative.Pressable,
|
|
3649
4370
|
{
|
|
@@ -3654,9 +4375,9 @@ var DatePicker = react.forwardRef(
|
|
|
3654
4375
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
3655
4376
|
accessibilityState: { disabled, expanded: isOpen },
|
|
3656
4377
|
style: [
|
|
3657
|
-
|
|
3658
|
-
usesRangeTrigger &&
|
|
3659
|
-
usesRangeTrigger && (usesVerticalRangeTrigger ?
|
|
4378
|
+
styles19.trigger,
|
|
4379
|
+
usesRangeTrigger && styles19.rangeTrigger,
|
|
4380
|
+
usesRangeTrigger && (usesVerticalRangeTrigger ? styles19.rangeTriggerVertical : styles19.rangeTriggerHorizontal),
|
|
3660
4381
|
{
|
|
3661
4382
|
borderColor: triggerBorderColor,
|
|
3662
4383
|
backgroundColor: usesRangeTrigger ? "transparent" : colors.grey700
|
|
@@ -3667,18 +4388,18 @@ var DatePicker = react.forwardRef(
|
|
|
3667
4388
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3668
4389
|
reactNative.View,
|
|
3669
4390
|
{
|
|
3670
|
-
style: usesVerticalRangeTrigger ?
|
|
4391
|
+
style: usesVerticalRangeTrigger ? styles19.rangeDividerVertical : styles19.rangeDividerHorizontal
|
|
3671
4392
|
}
|
|
3672
4393
|
),
|
|
3673
4394
|
/* @__PURE__ */ jsxRuntime.jsx(RangeTriggerField, { label: endLabel, time: endTime, value: endValue })
|
|
3674
4395
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3675
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3676
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4396
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles19.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: triggerLabel }),
|
|
4397
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(CalendarOutlineIcon, { size: ICON_SIZE8, color: colors.grey100 }) })
|
|
3677
4398
|
] })
|
|
3678
4399
|
}
|
|
3679
4400
|
),
|
|
3680
|
-
isOpen ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
3681
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4401
|
+
isOpen ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles19.menu, usesRangeTrigger && styles19.rangeMenu, calendarStyle], children: [
|
|
4402
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.calendarHeader, children: [
|
|
3682
4403
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3683
4404
|
reactNative.Pressable,
|
|
3684
4405
|
{
|
|
@@ -3686,11 +4407,11 @@ var DatePicker = react.forwardRef(
|
|
|
3686
4407
|
hitSlop: 8,
|
|
3687
4408
|
accessibilityRole: "button",
|
|
3688
4409
|
accessibilityLabel: "Previous month",
|
|
3689
|
-
style:
|
|
4410
|
+
style: styles19.navButton,
|
|
3690
4411
|
children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white })
|
|
3691
4412
|
}
|
|
3692
4413
|
),
|
|
3693
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style:
|
|
4414
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: styles19.monthHeading, children: [
|
|
3694
4415
|
monthNames[visibleMonth.getMonth()],
|
|
3695
4416
|
" ",
|
|
3696
4417
|
visibleMonth.getFullYear()
|
|
@@ -3702,13 +4423,13 @@ var DatePicker = react.forwardRef(
|
|
|
3702
4423
|
hitSlop: 8,
|
|
3703
4424
|
accessibilityRole: "button",
|
|
3704
4425
|
accessibilityLabel: "Next month",
|
|
3705
|
-
style:
|
|
3706
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4426
|
+
style: styles19.navButton,
|
|
4427
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.navIconMirror, children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white }) })
|
|
3707
4428
|
}
|
|
3708
4429
|
)
|
|
3709
4430
|
] }),
|
|
3710
4431
|
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { children: [
|
|
3711
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4432
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.weekdayRow, children: weekdayLabels.map((weekdayLabel, index) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.dayCellWrap, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles19.weekdayText, children: weekdayLabel }) }, `${weekdayLabel}-${index}`)) }),
|
|
3712
4433
|
weeks.map((week, weekIndex) => {
|
|
3713
4434
|
let rangeHighlightStyle = null;
|
|
3714
4435
|
if (isRange && rangeValue.start && rangeValue.end) {
|
|
@@ -3745,13 +4466,13 @@ var DatePicker = react.forwardRef(
|
|
|
3745
4466
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3746
4467
|
reactNative.View,
|
|
3747
4468
|
{
|
|
3748
|
-
style: [
|
|
4469
|
+
style: [styles19.weekRow, weekIndex > 0 && styles19.weekRowSpaced],
|
|
3749
4470
|
children: [
|
|
3750
4471
|
rangeHighlightStyle ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3751
4472
|
reactNative.View,
|
|
3752
4473
|
{
|
|
3753
4474
|
pointerEvents: "none",
|
|
3754
|
-
style: [
|
|
4475
|
+
style: [styles19.rangeHighlight, rangeHighlightStyle]
|
|
3755
4476
|
}
|
|
3756
4477
|
) : null,
|
|
3757
4478
|
week.map((day, dayIndex) => {
|
|
@@ -3774,7 +4495,7 @@ var DatePicker = react.forwardRef(
|
|
|
3774
4495
|
onHoverOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
3775
4496
|
onPressIn: () => setHoveredDayKey(dayKey),
|
|
3776
4497
|
onPressOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
3777
|
-
style:
|
|
4498
|
+
style: styles19.dayCellWrap,
|
|
3778
4499
|
accessibilityRole: "button",
|
|
3779
4500
|
accessibilityLabel: formatValue(day),
|
|
3780
4501
|
accessibilityState: {
|
|
@@ -3786,14 +4507,14 @@ var DatePicker = react.forwardRef(
|
|
|
3786
4507
|
reactNative.View,
|
|
3787
4508
|
{
|
|
3788
4509
|
style: [
|
|
3789
|
-
|
|
3790
|
-
isSelectedEndpoint &&
|
|
3791
|
-
isHovered &&
|
|
4510
|
+
styles19.dayCircle,
|
|
4511
|
+
isSelectedEndpoint && styles19.dayCircleSelected,
|
|
4512
|
+
isHovered && styles19.dayCircleHovered
|
|
3792
4513
|
],
|
|
3793
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4514
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles19.dayText, { color: dayTextColor }], children: day.getDate() })
|
|
3794
4515
|
}
|
|
3795
4516
|
),
|
|
3796
|
-
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4517
|
+
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.todayDot }) : null
|
|
3797
4518
|
]
|
|
3798
4519
|
},
|
|
3799
4520
|
dayIndex
|
|
@@ -3811,7 +4532,7 @@ var DatePicker = react.forwardRef(
|
|
|
3811
4532
|
);
|
|
3812
4533
|
}
|
|
3813
4534
|
);
|
|
3814
|
-
var
|
|
4535
|
+
var styles19 = reactNative.StyleSheet.create({
|
|
3815
4536
|
root: {
|
|
3816
4537
|
width: DEFAULT_WIDTH,
|
|
3817
4538
|
gap: 8,
|
|
@@ -3870,7 +4591,7 @@ var styles14 = reactNative.StyleSheet.create({
|
|
|
3870
4591
|
justifyContent: "center",
|
|
3871
4592
|
gap: 8,
|
|
3872
4593
|
paddingVertical: 12,
|
|
3873
|
-
paddingHorizontal:
|
|
4594
|
+
paddingHorizontal: 12
|
|
3874
4595
|
},
|
|
3875
4596
|
rangeLabel: {
|
|
3876
4597
|
...datePickerTypography.rangeLabel,
|
|
@@ -3880,13 +4601,16 @@ var styles14 = reactNative.StyleSheet.create({
|
|
|
3880
4601
|
minWidth: 0,
|
|
3881
4602
|
flexDirection: "row",
|
|
3882
4603
|
alignItems: "center",
|
|
3883
|
-
justifyContent: "
|
|
3884
|
-
|
|
4604
|
+
justifyContent: "flex-start",
|
|
4605
|
+
flexWrap: "nowrap",
|
|
4606
|
+
gap: 10
|
|
3885
4607
|
},
|
|
3886
4608
|
rangeDate: {
|
|
3887
4609
|
...datePickerTypography.rangeDate,
|
|
3888
|
-
flexShrink:
|
|
3889
|
-
color: colors.white
|
|
4610
|
+
flexShrink: 0,
|
|
4611
|
+
color: colors.white,
|
|
4612
|
+
// @ts-expect-error RN Web — keep the full date on one line
|
|
4613
|
+
whiteSpace: "nowrap"
|
|
3890
4614
|
},
|
|
3891
4615
|
rangeTimeWrap: {
|
|
3892
4616
|
flexShrink: 0,
|
|
@@ -3909,8 +4633,8 @@ var styles14 = reactNative.StyleSheet.create({
|
|
|
3909
4633
|
backgroundColor: colors.grey500
|
|
3910
4634
|
},
|
|
3911
4635
|
iconSlot: {
|
|
3912
|
-
width:
|
|
3913
|
-
height:
|
|
4636
|
+
width: ICON_SIZE8,
|
|
4637
|
+
height: ICON_SIZE8,
|
|
3914
4638
|
alignItems: "center",
|
|
3915
4639
|
justifyContent: "center",
|
|
3916
4640
|
flexShrink: 0
|
|
@@ -4012,6 +4736,46 @@ var styles14 = reactNative.StyleSheet.create({
|
|
|
4012
4736
|
backgroundColor: colors.primary
|
|
4013
4737
|
}
|
|
4014
4738
|
});
|
|
4739
|
+
var SIZE = 48;
|
|
4740
|
+
var PADDING = 12;
|
|
4741
|
+
var ICON_SIZE9 = 24;
|
|
4742
|
+
var RADIUS = 64;
|
|
4743
|
+
var FloatingActionButton = react.forwardRef(function FloatingActionButton2({ onPress, disabled = false, icon, accessibilityLabel = "Add", style, className, ...rest }, forwardedRef) {
|
|
4744
|
+
const containerRef = react.useRef(null);
|
|
4745
|
+
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
4746
|
+
const resolvedClassName = className?.trim() || void 0;
|
|
4747
|
+
useApplyWebClassName(containerRef, resolvedClassName);
|
|
4748
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4749
|
+
reactNative.TouchableOpacity,
|
|
4750
|
+
{
|
|
4751
|
+
...rest,
|
|
4752
|
+
ref: setContainerRef,
|
|
4753
|
+
onPress,
|
|
4754
|
+
disabled,
|
|
4755
|
+
activeOpacity: 0.7,
|
|
4756
|
+
accessibilityRole: "button",
|
|
4757
|
+
accessibilityLabel,
|
|
4758
|
+
accessibilityState: { disabled },
|
|
4759
|
+
style: [styles20.base, disabled && styles20.disabled, style],
|
|
4760
|
+
children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, { color: colors.white, size: ICON_SIZE9, strokeWidth: 2 })
|
|
4761
|
+
}
|
|
4762
|
+
);
|
|
4763
|
+
});
|
|
4764
|
+
var styles20 = reactNative.StyleSheet.create({
|
|
4765
|
+
base: {
|
|
4766
|
+
width: SIZE,
|
|
4767
|
+
height: SIZE,
|
|
4768
|
+
padding: PADDING,
|
|
4769
|
+
borderRadius: RADIUS,
|
|
4770
|
+
backgroundColor: colors.primary,
|
|
4771
|
+
alignItems: "center",
|
|
4772
|
+
justifyContent: "center",
|
|
4773
|
+
gap: 10
|
|
4774
|
+
},
|
|
4775
|
+
disabled: {
|
|
4776
|
+
opacity: 0.6
|
|
4777
|
+
}
|
|
4778
|
+
});
|
|
4015
4779
|
function renderStatefulIcon(icon, FallbackIcon, props) {
|
|
4016
4780
|
if (icon == null) {
|
|
4017
4781
|
return /* @__PURE__ */ jsxRuntime.jsx(FallbackIcon, { ...props });
|
|
@@ -4155,13 +4919,13 @@ var Input = react.forwardRef(function Input2({
|
|
|
4155
4919
|
});
|
|
4156
4920
|
useApplyWebClassName(rootRef, className);
|
|
4157
4921
|
useApplyWebClassName(inputRef, inputClassName);
|
|
4158
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [
|
|
4159
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4922
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [styles21.root, disabled && styles21.disabled, style], children: [
|
|
4923
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles21.label, { color: chrome.labelColor }], children: label }) : null,
|
|
4160
4924
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4161
4925
|
reactNative.View,
|
|
4162
4926
|
{
|
|
4163
4927
|
style: [
|
|
4164
|
-
|
|
4928
|
+
styles21.field,
|
|
4165
4929
|
{
|
|
4166
4930
|
height: metrics.height,
|
|
4167
4931
|
borderRadius: metrics.borderRadius,
|
|
@@ -4176,7 +4940,7 @@ var Input = react.forwardRef(function Input2({
|
|
|
4176
4940
|
fieldStyle
|
|
4177
4941
|
],
|
|
4178
4942
|
children: [
|
|
4179
|
-
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
4943
|
+
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles21.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }], children: leftIconNode }) : null,
|
|
4180
4944
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4181
4945
|
reactNative.TextInput,
|
|
4182
4946
|
{
|
|
@@ -4200,11 +4964,11 @@ var Input = react.forwardRef(function Input2({
|
|
|
4200
4964
|
onBlur?.(event);
|
|
4201
4965
|
},
|
|
4202
4966
|
style: [
|
|
4203
|
-
|
|
4967
|
+
styles21.input,
|
|
4204
4968
|
metrics.text,
|
|
4205
4969
|
{ color: chrome.textColor },
|
|
4206
|
-
reactNative.Platform.OS === "web" ?
|
|
4207
|
-
reactNative.Platform.OS === "android" ?
|
|
4970
|
+
reactNative.Platform.OS === "web" ? styles21.inputWeb : null,
|
|
4971
|
+
reactNative.Platform.OS === "android" ? styles21.inputAndroid : null,
|
|
4208
4972
|
inputStyle
|
|
4209
4973
|
],
|
|
4210
4974
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -4216,20 +4980,20 @@ var Input = react.forwardRef(function Input2({
|
|
|
4216
4980
|
{
|
|
4217
4981
|
onPress: onRightIconPress,
|
|
4218
4982
|
disabled,
|
|
4219
|
-
style: [
|
|
4983
|
+
style: [styles21.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
4220
4984
|
accessibilityRole: "button",
|
|
4221
4985
|
accessibilityLabel: rightIconAccessibilityLabel,
|
|
4222
4986
|
hitSlop: 8,
|
|
4223
4987
|
children: rightIconNode
|
|
4224
4988
|
}
|
|
4225
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
4989
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles21.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }], children: rightIconNode }) : null
|
|
4226
4990
|
]
|
|
4227
4991
|
}
|
|
4228
4992
|
),
|
|
4229
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4993
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles21.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
4230
4994
|
] });
|
|
4231
4995
|
});
|
|
4232
|
-
var
|
|
4996
|
+
var styles21 = reactNative.StyleSheet.create({
|
|
4233
4997
|
root: {
|
|
4234
4998
|
width: DEFAULT_WIDTH2,
|
|
4235
4999
|
gap: 8,
|
|
@@ -4387,9 +5151,9 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
4387
5151
|
...viewProps,
|
|
4388
5152
|
ref: rootRef,
|
|
4389
5153
|
style: [
|
|
4390
|
-
|
|
5154
|
+
styles22.root,
|
|
4391
5155
|
{ width: rootWidth, maxWidth: "100%", gap: cellGap },
|
|
4392
|
-
disabled &&
|
|
5156
|
+
disabled && styles22.disabled,
|
|
4393
5157
|
style
|
|
4394
5158
|
],
|
|
4395
5159
|
children: Array.from({ length: safeLength }, (_, index) => {
|
|
@@ -4417,15 +5181,15 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
4417
5181
|
onSubmitEditing: () => onSubmit?.(currentCode),
|
|
4418
5182
|
selectTextOnFocus: true,
|
|
4419
5183
|
style: [
|
|
4420
|
-
|
|
5184
|
+
styles22.cell,
|
|
4421
5185
|
{
|
|
4422
5186
|
width: cellWidth,
|
|
4423
5187
|
height: CELL_HEIGHT,
|
|
4424
5188
|
borderColor,
|
|
4425
5189
|
color: error ? colors.red : colors.white
|
|
4426
5190
|
},
|
|
4427
|
-
reactNative.Platform.OS === "web" ?
|
|
4428
|
-
reactNative.Platform.OS === "android" ?
|
|
5191
|
+
reactNative.Platform.OS === "web" ? styles22.cellWeb : null,
|
|
5192
|
+
reactNative.Platform.OS === "android" ? styles22.cellAndroid : null,
|
|
4429
5193
|
inputStyle
|
|
4430
5194
|
],
|
|
4431
5195
|
value: currentCode[index] ?? ""
|
|
@@ -4436,7 +5200,7 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
4436
5200
|
}
|
|
4437
5201
|
);
|
|
4438
5202
|
});
|
|
4439
|
-
var
|
|
5203
|
+
var styles22 = reactNative.StyleSheet.create({
|
|
4440
5204
|
root: {
|
|
4441
5205
|
minWidth: 0,
|
|
4442
5206
|
alignSelf: "center",
|
|
@@ -4473,7 +5237,7 @@ var TRIGGER_RADIUS2 = 60;
|
|
|
4473
5237
|
var MENU_RADIUS3 = 24;
|
|
4474
5238
|
var MENU_MAX_LIST_HEIGHT = 248;
|
|
4475
5239
|
var ITEM_RADIUS2 = 12;
|
|
4476
|
-
var
|
|
5240
|
+
var ICON_SIZE10 = 20;
|
|
4477
5241
|
var CHIP_GAP = 6;
|
|
4478
5242
|
var FALLBACK_ELLIPSIS_WIDTH = 20;
|
|
4479
5243
|
function itemBackground(state) {
|
|
@@ -4546,25 +5310,25 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
4546
5310
|
const next = Math.ceil(event.nativeEvent.layout.width);
|
|
4547
5311
|
setEllipsisWidth((current) => current === next ? current : next);
|
|
4548
5312
|
};
|
|
4549
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4550
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { pointerEvents: "none", style:
|
|
5313
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.multiValueRoot, children: [
|
|
5314
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { pointerEvents: "none", style: styles23.measureRow, children: [
|
|
4551
5315
|
options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4552
5316
|
reactNative.View,
|
|
4553
5317
|
{
|
|
4554
|
-
style:
|
|
5318
|
+
style: styles23.chip,
|
|
4555
5319
|
onLayout: (event) => handleChipLayout(option.value, event),
|
|
4556
5320
|
children: [
|
|
4557
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
4558
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5321
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.chipLabel, numberOfLines: 1, children: option.label }),
|
|
5322
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.chipRemove, children: "\xD7" })
|
|
4559
5323
|
]
|
|
4560
5324
|
},
|
|
4561
5325
|
`measure-${option.value}`
|
|
4562
5326
|
)),
|
|
4563
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5327
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.ellipsis, onLayout: handleEllipsisLayout, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.ellipsisText, children: "..." }) })
|
|
4564
5328
|
] }),
|
|
4565
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4566
|
-
visible.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4567
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5329
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.chipsRow, onLayout: handleContainerLayout, children: [
|
|
5330
|
+
visible.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.chip, children: [
|
|
5331
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.chipLabel, numberOfLines: 1, children: option.label }),
|
|
4568
5332
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4569
5333
|
reactNative.Pressable,
|
|
4570
5334
|
{
|
|
@@ -4576,11 +5340,11 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
4576
5340
|
hitSlop: 6,
|
|
4577
5341
|
accessibilityRole: "button",
|
|
4578
5342
|
accessibilityLabel: `Remove ${option.label}`,
|
|
4579
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5343
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.chipRemove, children: "\xD7" })
|
|
4580
5344
|
}
|
|
4581
5345
|
)
|
|
4582
5346
|
] }, option.value)),
|
|
4583
|
-
hasOverflow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5347
|
+
hasOverflow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.ellipsis, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.ellipsisText, children: "..." }) }) : null
|
|
4584
5348
|
] })
|
|
4585
5349
|
] });
|
|
4586
5350
|
}
|
|
@@ -4789,7 +5553,7 @@ var Select = react.forwardRef(
|
|
|
4789
5553
|
setOpen
|
|
4790
5554
|
]);
|
|
4791
5555
|
const leftIconNode = renderStatefulIcon(leftIcon, UserIcon, {
|
|
4792
|
-
size:
|
|
5556
|
+
size: ICON_SIZE10,
|
|
4793
5557
|
color: error ? colors.red : isOpen ? colors.primary : colors.grey100
|
|
4794
5558
|
});
|
|
4795
5559
|
const hasLeftIcon = showLeftIcon || leftIcon != null;
|
|
@@ -4804,11 +5568,11 @@ var Select = react.forwardRef(
|
|
|
4804
5568
|
{
|
|
4805
5569
|
...rest,
|
|
4806
5570
|
ref: setRootRef,
|
|
4807
|
-
style: [
|
|
5571
|
+
style: [styles23.root, isOpen && styles23.rootOpen, disabled && styles23.disabled, style],
|
|
4808
5572
|
accessibilityState: { disabled, expanded: isOpen },
|
|
4809
5573
|
children: [
|
|
4810
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4811
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
5574
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.label, { color: labelColor }], children: label }) : null,
|
|
5575
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles23.triggerWrap, isOpen && styles23.triggerWrapOpen], children: [
|
|
4812
5576
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4813
5577
|
reactNative.Pressable,
|
|
4814
5578
|
{
|
|
@@ -4819,29 +5583,29 @@ var Select = react.forwardRef(
|
|
|
4819
5583
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
4820
5584
|
accessibilityState: { disabled, expanded: isOpen },
|
|
4821
5585
|
style: [
|
|
4822
|
-
|
|
5586
|
+
styles23.trigger,
|
|
4823
5587
|
{
|
|
4824
5588
|
borderColor: triggerBorderColor,
|
|
4825
5589
|
backgroundColor: colors.grey700
|
|
4826
5590
|
}
|
|
4827
5591
|
],
|
|
4828
5592
|
children: [
|
|
4829
|
-
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4830
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5593
|
+
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.iconSlot, children: leftIconNode }) : null,
|
|
5594
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.triggerContent, children: multiple && hasValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4831
5595
|
MultiValueChips,
|
|
4832
5596
|
{
|
|
4833
5597
|
options: selectedOptions,
|
|
4834
5598
|
disabled,
|
|
4835
5599
|
onRemove: handleRemoveChip
|
|
4836
5600
|
}
|
|
4837
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4838
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5601
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: multiple ? placeholder : singleLabel }) }),
|
|
5602
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles23.iconSlot, isOpen && styles23.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: ICON_SIZE10, color: isOpen ? colors.primary : colors.grey100 }) })
|
|
4839
5603
|
]
|
|
4840
5604
|
}
|
|
4841
5605
|
),
|
|
4842
|
-
isOpen ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4843
|
-
showSearch ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4844
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5606
|
+
isOpen ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.menu, children: [
|
|
5607
|
+
showSearch ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.searchField, children: [
|
|
5608
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon, { size: ICON_SIZE10, color: colors.grey100 }) }),
|
|
4845
5609
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4846
5610
|
reactNative.TextInput,
|
|
4847
5611
|
{
|
|
@@ -4852,9 +5616,9 @@ var Select = react.forwardRef(
|
|
|
4852
5616
|
placeholder: searchPlaceholder,
|
|
4853
5617
|
placeholderTextColor: colors.grey100,
|
|
4854
5618
|
style: [
|
|
4855
|
-
|
|
4856
|
-
reactNative.Platform.OS === "web" ?
|
|
4857
|
-
reactNative.Platform.OS === "android" ?
|
|
5619
|
+
styles23.searchInput,
|
|
5620
|
+
reactNative.Platform.OS === "web" ? styles23.searchInputWeb : null,
|
|
5621
|
+
reactNative.Platform.OS === "android" ? styles23.searchInputAndroid : null
|
|
4858
5622
|
],
|
|
4859
5623
|
accessibilityLabel: searchPlaceholder
|
|
4860
5624
|
}
|
|
@@ -4863,12 +5627,12 @@ var Select = react.forwardRef(
|
|
|
4863
5627
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4864
5628
|
reactNative.ScrollView,
|
|
4865
5629
|
{
|
|
4866
|
-
style:
|
|
4867
|
-
contentContainerStyle:
|
|
5630
|
+
style: styles23.optionList,
|
|
5631
|
+
contentContainerStyle: styles23.optionListContent,
|
|
4868
5632
|
keyboardShouldPersistTaps: "handled",
|
|
4869
5633
|
showsVerticalScrollIndicator: false,
|
|
4870
5634
|
children: [
|
|
4871
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5635
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.statusText, children: "Loading..." }) }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.statusText, children: emptyText }) }) : null,
|
|
4872
5636
|
!loading && filteredOptions.map((option) => {
|
|
4873
5637
|
const isSelected = selectedValues.includes(option.value);
|
|
4874
5638
|
const isHovered = hoveredValue === option.value;
|
|
@@ -4885,14 +5649,14 @@ var Select = react.forwardRef(
|
|
|
4885
5649
|
accessibilityRole: multiple ? "checkbox" : "button",
|
|
4886
5650
|
accessibilityState: { selected: isSelected, checked: isSelected, disabled },
|
|
4887
5651
|
style: [
|
|
4888
|
-
|
|
5652
|
+
styles23.item,
|
|
4889
5653
|
{
|
|
4890
5654
|
backgroundColor: itemBackground(visualState)
|
|
4891
5655
|
}
|
|
4892
5656
|
],
|
|
4893
5657
|
children: [
|
|
4894
|
-
multiple ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style:
|
|
4895
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5658
|
+
multiple ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: styles23.itemCheckbox, children: /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { value: isSelected, variant: "light" }) }) : null,
|
|
5659
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.itemLabel, numberOfLines: 1, children: option.label })
|
|
4896
5660
|
]
|
|
4897
5661
|
},
|
|
4898
5662
|
option.value
|
|
@@ -4903,13 +5667,13 @@ var Select = react.forwardRef(
|
|
|
4903
5667
|
)
|
|
4904
5668
|
] }) : null
|
|
4905
5669
|
] }),
|
|
4906
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5670
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.hint, { color: hintColor }], children: hint }) : null
|
|
4907
5671
|
]
|
|
4908
5672
|
}
|
|
4909
5673
|
);
|
|
4910
5674
|
}
|
|
4911
5675
|
);
|
|
4912
|
-
var
|
|
5676
|
+
var styles23 = reactNative.StyleSheet.create({
|
|
4913
5677
|
root: {
|
|
4914
5678
|
width: DEFAULT_WIDTH3,
|
|
4915
5679
|
gap: 8,
|
|
@@ -4999,8 +5763,8 @@ var styles17 = reactNative.StyleSheet.create({
|
|
|
4999
5763
|
lineHeight: 16
|
|
5000
5764
|
},
|
|
5001
5765
|
iconSlot: {
|
|
5002
|
-
width:
|
|
5003
|
-
height:
|
|
5766
|
+
width: ICON_SIZE10,
|
|
5767
|
+
height: ICON_SIZE10,
|
|
5004
5768
|
alignItems: "center",
|
|
5005
5769
|
justifyContent: "center",
|
|
5006
5770
|
flexShrink: 0
|
|
@@ -5171,13 +5935,13 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
5171
5935
|
const resolvedAccessibilityLabel = accessibilityLabel ?? (showLabel ? void 0 : label);
|
|
5172
5936
|
useApplyWebClassName(rootRef, className);
|
|
5173
5937
|
useApplyWebClassName(inputRef, inputClassName);
|
|
5174
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [
|
|
5175
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5938
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [styles24.root, disabled && styles24.disabled, style], children: [
|
|
5939
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.label, { color: chrome.labelColor }], children: label }) : null,
|
|
5176
5940
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5177
5941
|
reactNative.View,
|
|
5178
5942
|
{
|
|
5179
5943
|
style: [
|
|
5180
|
-
|
|
5944
|
+
styles24.field,
|
|
5181
5945
|
{
|
|
5182
5946
|
borderColor: chrome.borderColor,
|
|
5183
5947
|
backgroundColor: chrome.backgroundColor
|
|
@@ -5209,11 +5973,11 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
5209
5973
|
onBlur?.(event);
|
|
5210
5974
|
},
|
|
5211
5975
|
style: [
|
|
5212
|
-
|
|
5976
|
+
styles24.input,
|
|
5213
5977
|
textareaTypography.field,
|
|
5214
5978
|
{ color: chrome.textColor },
|
|
5215
|
-
reactNative.Platform.OS === "web" ?
|
|
5216
|
-
reactNative.Platform.OS === "android" ?
|
|
5979
|
+
reactNative.Platform.OS === "web" ? styles24.inputWeb : null,
|
|
5980
|
+
reactNative.Platform.OS === "android" ? styles24.inputAndroid : null,
|
|
5217
5981
|
inputStyle
|
|
5218
5982
|
],
|
|
5219
5983
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -5222,10 +5986,10 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
5222
5986
|
)
|
|
5223
5987
|
}
|
|
5224
5988
|
),
|
|
5225
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5989
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
5226
5990
|
] });
|
|
5227
5991
|
});
|
|
5228
|
-
var
|
|
5992
|
+
var styles24 = reactNative.StyleSheet.create({
|
|
5229
5993
|
root: {
|
|
5230
5994
|
width: DEFAULT_WIDTH4,
|
|
5231
5995
|
gap: 8,
|
|
@@ -5262,12 +6026,12 @@ var styles18 = reactNative.StyleSheet.create({
|
|
|
5262
6026
|
...textareaTypography.hint
|
|
5263
6027
|
}
|
|
5264
6028
|
});
|
|
5265
|
-
var
|
|
6029
|
+
var TRACK_WIDTH2 = 44;
|
|
5266
6030
|
var TRACK_HEIGHT = 24;
|
|
5267
6031
|
var TRACK_RADIUS = 43;
|
|
5268
6032
|
var TRACK_PADDING2 = 4;
|
|
5269
6033
|
var THUMB_SIZE = TRACK_HEIGHT - TRACK_PADDING2 * 2;
|
|
5270
|
-
var THUMB_TRAVEL =
|
|
6034
|
+
var THUMB_TRAVEL = TRACK_WIDTH2 - TRACK_PADDING2 * 2 - THUMB_SIZE;
|
|
5271
6035
|
var ANIMATION_DURATION2 = 300;
|
|
5272
6036
|
var Toggle = react.forwardRef(function Toggle2({
|
|
5273
6037
|
value,
|
|
@@ -5325,13 +6089,13 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
5325
6089
|
accessibilityRole: "switch",
|
|
5326
6090
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
5327
6091
|
accessibilityState: { checked: isActive, disabled },
|
|
5328
|
-
style: [
|
|
6092
|
+
style: [styles25.pressable, disabled && styles25.disabled, style],
|
|
5329
6093
|
children: [
|
|
5330
6094
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5331
6095
|
reactNative.Animated.View,
|
|
5332
6096
|
{
|
|
5333
6097
|
style: [
|
|
5334
|
-
|
|
6098
|
+
styles25.track,
|
|
5335
6099
|
{
|
|
5336
6100
|
backgroundColor: trackBackgroundColor
|
|
5337
6101
|
}
|
|
@@ -5340,7 +6104,7 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
5340
6104
|
reactNative.Animated.View,
|
|
5341
6105
|
{
|
|
5342
6106
|
style: [
|
|
5343
|
-
|
|
6107
|
+
styles25.thumb,
|
|
5344
6108
|
{
|
|
5345
6109
|
transform: [{ translateX: thumbTranslateX }]
|
|
5346
6110
|
}
|
|
@@ -5349,12 +6113,12 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
5349
6113
|
)
|
|
5350
6114
|
}
|
|
5351
6115
|
),
|
|
5352
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6116
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.label, labelStyle], children: labelContent }) : labelContent : null
|
|
5353
6117
|
]
|
|
5354
6118
|
}
|
|
5355
6119
|
);
|
|
5356
6120
|
});
|
|
5357
|
-
var
|
|
6121
|
+
var styles25 = reactNative.StyleSheet.create({
|
|
5358
6122
|
pressable: {
|
|
5359
6123
|
flexDirection: "row",
|
|
5360
6124
|
alignItems: "center",
|
|
@@ -5365,7 +6129,7 @@ var styles19 = reactNative.StyleSheet.create({
|
|
|
5365
6129
|
opacity: 0.6
|
|
5366
6130
|
},
|
|
5367
6131
|
track: {
|
|
5368
|
-
width:
|
|
6132
|
+
width: TRACK_WIDTH2,
|
|
5369
6133
|
height: TRACK_HEIGHT,
|
|
5370
6134
|
borderRadius: TRACK_RADIUS,
|
|
5371
6135
|
padding: TRACK_PADDING2,
|
|
@@ -5429,21 +6193,21 @@ var RatingInput = react.forwardRef(
|
|
|
5429
6193
|
{
|
|
5430
6194
|
...rest,
|
|
5431
6195
|
ref: setContainerRef,
|
|
5432
|
-
style: [
|
|
6196
|
+
style: [styles26.root, disabled && styles26.disabled, style],
|
|
5433
6197
|
children: [
|
|
5434
|
-
showValue ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [
|
|
6198
|
+
showValue ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles26.value, valueStyle], children: selectedValue.toFixed(precision) }) : null,
|
|
5435
6199
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5436
6200
|
reactNative.View,
|
|
5437
6201
|
{
|
|
5438
6202
|
accessibilityRole: readOnly ? "image" : "radiogroup",
|
|
5439
6203
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
5440
6204
|
accessibilityState: { disabled },
|
|
5441
|
-
style: [
|
|
6205
|
+
style: [styles26.stars, { gap: resolvedStarGap }],
|
|
5442
6206
|
children: Array.from({ length: STAR_COUNT }, (_, index) => {
|
|
5443
6207
|
const starValue = index + 1;
|
|
5444
6208
|
const isSelected = starValue <= selectedStarCount;
|
|
5445
6209
|
const icon = isSelected ? /* @__PURE__ */ jsxRuntime.jsx(StarFilledIcon, { size: iconWidth, height: iconHeight }) : /* @__PURE__ */ jsxRuntime.jsx(StarIcon, { size: iconWidth, height: iconHeight });
|
|
5446
|
-
const itemStyle = [
|
|
6210
|
+
const itemStyle = [styles26.starItem, { width: size, height: size }];
|
|
5447
6211
|
if (readOnly) {
|
|
5448
6212
|
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: itemStyle, children: icon }, starValue);
|
|
5449
6213
|
}
|
|
@@ -5469,7 +6233,7 @@ var RatingInput = react.forwardRef(
|
|
|
5469
6233
|
);
|
|
5470
6234
|
}
|
|
5471
6235
|
);
|
|
5472
|
-
var
|
|
6236
|
+
var styles26 = reactNative.StyleSheet.create({
|
|
5473
6237
|
root: {
|
|
5474
6238
|
flexDirection: "row",
|
|
5475
6239
|
alignItems: "center",
|
|
@@ -5533,19 +6297,19 @@ var CommentCard = react.forwardRef(
|
|
|
5533
6297
|
setExpanded(next);
|
|
5534
6298
|
onExpandedChange?.(next);
|
|
5535
6299
|
};
|
|
5536
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [
|
|
5537
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5538
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
6300
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [styles27.root, style], children: [
|
|
6301
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles27.header, children: [
|
|
6302
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles27.avatar, children: hasImage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5539
6303
|
reactNative.Image,
|
|
5540
6304
|
{
|
|
5541
6305
|
source: { uri: imageUrl ?? void 0 },
|
|
5542
|
-
style:
|
|
6306
|
+
style: styles27.avatarImage,
|
|
5543
6307
|
onError: () => setImageFailed(true)
|
|
5544
6308
|
}
|
|
5545
6309
|
) : /* @__PURE__ */ jsxRuntime.jsx(UserIcon, { size: 20, color: colors.primary }) }),
|
|
5546
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5547
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
5548
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
6310
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles27.identity, children: [
|
|
6311
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles27.name, children: userName }),
|
|
6312
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles27.date, children: date })
|
|
5549
6313
|
] }),
|
|
5550
6314
|
/* @__PURE__ */ jsxRuntime.jsx(RatingInput, { value: rating, readOnly: true, showValue: false, size: 16 })
|
|
5551
6315
|
] }),
|
|
@@ -5553,7 +6317,7 @@ var CommentCard = react.forwardRef(
|
|
|
5553
6317
|
reactNative.Text,
|
|
5554
6318
|
{
|
|
5555
6319
|
numberOfLines: expanded ? void 0 : maxCommentLines,
|
|
5556
|
-
style: [
|
|
6320
|
+
style: [styles27.comment, commentStyle],
|
|
5557
6321
|
children: commentText
|
|
5558
6322
|
}
|
|
5559
6323
|
),
|
|
@@ -5566,14 +6330,14 @@ var CommentCard = react.forwardRef(
|
|
|
5566
6330
|
hitSlop: 6,
|
|
5567
6331
|
onHoverIn: () => setActionHovered(true),
|
|
5568
6332
|
onHoverOut: () => setActionHovered(false),
|
|
5569
|
-
style:
|
|
6333
|
+
style: styles27.action,
|
|
5570
6334
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5571
6335
|
reactNative.Text,
|
|
5572
6336
|
{
|
|
5573
6337
|
style: [
|
|
5574
|
-
|
|
5575
|
-
expanded &&
|
|
5576
|
-
actionHovered && (expanded ?
|
|
6338
|
+
styles27.actionText,
|
|
6339
|
+
expanded && styles27.closeActionText,
|
|
6340
|
+
actionHovered && (expanded ? styles27.closeActionTextHovered : styles27.openActionTextHovered)
|
|
5577
6341
|
],
|
|
5578
6342
|
children: expanded ? readLessLabel : readMoreLabel
|
|
5579
6343
|
}
|
|
@@ -5583,7 +6347,7 @@ var CommentCard = react.forwardRef(
|
|
|
5583
6347
|
] });
|
|
5584
6348
|
}
|
|
5585
6349
|
);
|
|
5586
|
-
var
|
|
6350
|
+
var styles27 = reactNative.StyleSheet.create({
|
|
5587
6351
|
root: {
|
|
5588
6352
|
width: CARD_WIDTH2,
|
|
5589
6353
|
minHeight: CARD_MIN_HEIGHT,
|
|
@@ -6022,7 +6786,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
6022
6786
|
...rest,
|
|
6023
6787
|
ref: setRootRef,
|
|
6024
6788
|
onLayout,
|
|
6025
|
-
style: [
|
|
6789
|
+
style: [styles28.root, disabled && styles28.disabled, style],
|
|
6026
6790
|
children: [
|
|
6027
6791
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6028
6792
|
reactNative.Pressable,
|
|
@@ -6036,16 +6800,16 @@ var Range = react.forwardRef(function Range2({
|
|
|
6036
6800
|
updateNearestFromTrack(event.nativeEvent.offsetX);
|
|
6037
6801
|
} : void 0,
|
|
6038
6802
|
onPress: reactNative.Platform.OS === "web" ? void 0 : handleTrackPress,
|
|
6039
|
-
style:
|
|
6803
|
+
style: styles28.sliderPlane,
|
|
6040
6804
|
tabIndex: -1,
|
|
6041
6805
|
children: [
|
|
6042
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style:
|
|
6806
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: styles28.track }),
|
|
6043
6807
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6044
6808
|
reactNative.View,
|
|
6045
6809
|
{
|
|
6046
6810
|
pointerEvents: "none",
|
|
6047
6811
|
style: [
|
|
6048
|
-
|
|
6812
|
+
styles28.activeTrack,
|
|
6049
6813
|
{
|
|
6050
6814
|
left: TRACK_HORIZONTAL_INSET + fromOffset,
|
|
6051
6815
|
width: toOffset - fromOffset + THUMB_SIZE2
|
|
@@ -6087,9 +6851,9 @@ var Range = react.forwardRef(function Range2({
|
|
|
6087
6851
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveFrom, updateFromInput),
|
|
6088
6852
|
pointerEvents: disabled ? "none" : "auto",
|
|
6089
6853
|
style: [
|
|
6090
|
-
|
|
6091
|
-
reactNative.Platform.OS === "web" &&
|
|
6092
|
-
focusedThumb === "from" && reactNative.Platform.OS === "web" &&
|
|
6854
|
+
styles28.thumb,
|
|
6855
|
+
reactNative.Platform.OS === "web" && styles28.thumbWeb,
|
|
6856
|
+
focusedThumb === "from" && reactNative.Platform.OS === "web" && styles28.thumbFocusedWeb,
|
|
6093
6857
|
{ left: TRACK_HORIZONTAL_INSET + fromOffset }
|
|
6094
6858
|
],
|
|
6095
6859
|
tabIndex: disabled ? -1 : 0
|
|
@@ -6129,9 +6893,9 @@ var Range = react.forwardRef(function Range2({
|
|
|
6129
6893
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveTo, updateToInput),
|
|
6130
6894
|
pointerEvents: disabled ? "none" : "auto",
|
|
6131
6895
|
style: [
|
|
6132
|
-
|
|
6133
|
-
reactNative.Platform.OS === "web" &&
|
|
6134
|
-
focusedThumb === "to" && reactNative.Platform.OS === "web" &&
|
|
6896
|
+
styles28.thumb,
|
|
6897
|
+
reactNative.Platform.OS === "web" && styles28.thumbWeb,
|
|
6898
|
+
focusedThumb === "to" && reactNative.Platform.OS === "web" && styles28.thumbFocusedWeb,
|
|
6135
6899
|
{ left: TRACK_HORIZONTAL_INSET + toOffset }
|
|
6136
6900
|
],
|
|
6137
6901
|
tabIndex: disabled ? -1 : 0
|
|
@@ -6140,7 +6904,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
6140
6904
|
]
|
|
6141
6905
|
}
|
|
6142
6906
|
),
|
|
6143
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6907
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles28.inputs, children: [
|
|
6144
6908
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6145
6909
|
RangeInput,
|
|
6146
6910
|
{
|
|
@@ -6191,7 +6955,7 @@ function RangeInput({
|
|
|
6191
6955
|
placeholder,
|
|
6192
6956
|
value
|
|
6193
6957
|
}) {
|
|
6194
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
6958
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles28.inputField, focused && styles28.inputFieldFocused], children: [
|
|
6195
6959
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6196
6960
|
reactNative.TextInput,
|
|
6197
6961
|
{
|
|
@@ -6207,15 +6971,15 @@ function RangeInput({
|
|
|
6207
6971
|
placeholder,
|
|
6208
6972
|
placeholderTextColor: colors.grey150,
|
|
6209
6973
|
returnKeyType: "done",
|
|
6210
|
-
style: [
|
|
6974
|
+
style: [styles28.input, reactNative.Platform.OS === "web" && styles28.inputWeb],
|
|
6211
6975
|
tabIndex: disabled ? -1 : void 0,
|
|
6212
6976
|
value
|
|
6213
6977
|
}
|
|
6214
6978
|
),
|
|
6215
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
6979
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles28.currencySlot, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles28.currency, children: currency }) })
|
|
6216
6980
|
] });
|
|
6217
6981
|
}
|
|
6218
|
-
var
|
|
6982
|
+
var styles28 = reactNative.StyleSheet.create({
|
|
6219
6983
|
root: {
|
|
6220
6984
|
width: DEFAULT_WIDTH5,
|
|
6221
6985
|
gap: 15,
|
|
@@ -6319,6 +7083,8 @@ var styles22 = reactNative.StyleSheet.create({
|
|
|
6319
7083
|
}
|
|
6320
7084
|
});
|
|
6321
7085
|
|
|
7086
|
+
exports.AccountHeader = AccountHeader;
|
|
7087
|
+
exports.AlertTriangleIcon = AlertTriangleIcon;
|
|
6322
7088
|
exports.Amenity = Amenity;
|
|
6323
7089
|
exports.AmenityIcon = AmenityIcon;
|
|
6324
7090
|
exports.AppleIcon = AppleIcon;
|
|
@@ -6354,9 +7120,12 @@ exports.CommentCard = CommentCard;
|
|
|
6354
7120
|
exports.CopyIcon = CopyIcon;
|
|
6355
7121
|
exports.Counter = Counter;
|
|
6356
7122
|
exports.DatePicker = DatePicker;
|
|
7123
|
+
exports.DownloadIcon = DownloadIcon;
|
|
7124
|
+
exports.EditIcon = EditIcon;
|
|
6357
7125
|
exports.FacebookIcon = FacebookIcon;
|
|
6358
7126
|
exports.FavoritesButton = FavoritesButton;
|
|
6359
7127
|
exports.FiltersIcon = FiltersIcon;
|
|
7128
|
+
exports.FloatingActionButton = FloatingActionButton;
|
|
6360
7129
|
exports.GlobeIcon = GlobeIcon;
|
|
6361
7130
|
exports.GooglePlayIcon = GooglePlayIcon;
|
|
6362
7131
|
exports.GuestsIcon = GuestsIcon;
|
|
@@ -6364,6 +7133,7 @@ exports.HeartIcon = HeartIcon;
|
|
|
6364
7133
|
exports.HelpCircleIcon = HelpCircleIcon;
|
|
6365
7134
|
exports.HomeIcon = HomeIcon;
|
|
6366
7135
|
exports.Icon = Icon;
|
|
7136
|
+
exports.InfoTile = InfoTile;
|
|
6367
7137
|
exports.Input = Input;
|
|
6368
7138
|
exports.InstagramIcon = InstagramIcon;
|
|
6369
7139
|
exports.KeyIcon = KeyIcon;
|
|
@@ -6372,6 +7142,8 @@ exports.LayoutGridIcon = LayoutGridIcon;
|
|
|
6372
7142
|
exports.LinkedInIcon = LinkedInIcon;
|
|
6373
7143
|
exports.ListViewIcon = ListViewIcon;
|
|
6374
7144
|
exports.LocationPinIcon = LocationPinIcon;
|
|
7145
|
+
exports.LocationUserIcon = LocationUserIcon;
|
|
7146
|
+
exports.LockIcon = LockIcon;
|
|
6375
7147
|
exports.LogOutIcon = LogOutIcon;
|
|
6376
7148
|
exports.MailIcon = MailIcon;
|
|
6377
7149
|
exports.MapCollapseIcon = MapCollapseIcon;
|
|
@@ -6381,12 +7153,18 @@ exports.MenuIcon = MenuIcon;
|
|
|
6381
7153
|
exports.MenuItem = MenuItem;
|
|
6382
7154
|
exports.MinusIcon = MinusIcon;
|
|
6383
7155
|
exports.NavigateIcon = NavigateIcon;
|
|
7156
|
+
exports.NoSmokingIcon = NoSmokingIcon;
|
|
7157
|
+
exports.PaginationDots = PaginationDots;
|
|
7158
|
+
exports.PawIcon = PawIcon;
|
|
6384
7159
|
exports.PhoneIcon = PhoneIcon;
|
|
6385
7160
|
exports.PlusIcon = PlusIcon;
|
|
6386
7161
|
exports.QrCodeIcon = QrCodeIcon;
|
|
7162
|
+
exports.QuietHoursIcon = QuietHoursIcon;
|
|
6387
7163
|
exports.Range = Range;
|
|
6388
7164
|
exports.RatingInput = RatingInput;
|
|
6389
7165
|
exports.RatingStarIcon = RatingStarIcon;
|
|
7166
|
+
exports.RefreshIcon = RefreshIcon;
|
|
7167
|
+
exports.RefundStatusIcon = RefundStatusIcon;
|
|
6390
7168
|
exports.SaveHeartIcon = SaveHeartIcon;
|
|
6391
7169
|
exports.SearchIcon = SearchIcon;
|
|
6392
7170
|
exports.SegmentedToggle = SegmentedToggle;
|
|
@@ -6400,14 +7178,18 @@ exports.SortIcon = SortIcon;
|
|
|
6400
7178
|
exports.StarFilledIcon = StarFilledIcon;
|
|
6401
7179
|
exports.StarIcon = StarIcon;
|
|
6402
7180
|
exports.StatCard = StatCard;
|
|
7181
|
+
exports.StatusBadge = StatusBadge;
|
|
7182
|
+
exports.StepList = StepList;
|
|
6403
7183
|
exports.Textarea = Textarea;
|
|
6404
7184
|
exports.Toggle = Toggle;
|
|
6405
7185
|
exports.TooltipArrowIcon = TooltipArrowIcon;
|
|
7186
|
+
exports.TrashIcon = TrashIcon;
|
|
6406
7187
|
exports.UserIcon = UserIcon;
|
|
6407
7188
|
exports.UsersAltIcon = UsersAltIcon;
|
|
6408
7189
|
exports.VerificationCodeInput = VerificationCodeInput;
|
|
6409
7190
|
exports.VideoIcon = VideoIcon;
|
|
6410
7191
|
exports.WhatsAppIcon = WhatsAppIcon;
|
|
7192
|
+
exports.abbreviateMonthName = abbreviateMonthName;
|
|
6411
7193
|
exports.avatarTypography = avatarTypography;
|
|
6412
7194
|
exports.badgeTypography = badgeTypography;
|
|
6413
7195
|
exports.buttonTypography = buttonTypography;
|
|
@@ -6417,6 +7199,8 @@ exports.counterTypography = counterTypography;
|
|
|
6417
7199
|
exports.datePickerTypography = datePickerTypography;
|
|
6418
7200
|
exports.defaultLanguageOptions = defaultLanguageOptions;
|
|
6419
7201
|
exports.fonts = fonts;
|
|
7202
|
+
exports.formatDate = formatDate;
|
|
7203
|
+
exports.formatDateDayShortMonth = formatDateDayShortMonth;
|
|
6420
7204
|
exports.getIconsByGroup = getIconsByGroup;
|
|
6421
7205
|
exports.grey = grey;
|
|
6422
7206
|
exports.iconGroupNames = iconGroupNames;
|