@ecohouse/ui 0.1.32 → 0.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +796 -509
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +74 -8
- package/dist/index.d.ts +74 -8
- package/dist/index.js +729 -448
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/DatePicker/DatePicker.tsx +115 -45
- package/src/components/Select/Select.tsx +5 -2
- package/src/components/Sidebar/Sidebar.tsx +25 -11
- package/src/components/StepPager/StepPager.tsx +150 -0
- package/src/components/StepPager/index.ts +2 -0
- package/src/components/index.ts +3 -0
- package/src/icons/Ban/BanIcon.tsx +15 -0
- package/src/icons/Ban/banPath.ts +2 -0
- package/src/icons/Ban/index.ts +1 -0
- package/src/icons/Fullscreen/FullscreenIcon.tsx +21 -0
- package/src/icons/Fullscreen/fullscreenPath.ts +2 -0
- package/src/icons/Fullscreen/index.ts +1 -0
- package/src/icons/Home/homePath.ts +1 -1
- package/src/icons/Sort/SortIcon.tsx +3 -3
- package/src/icons/Sort/SortIcon.web.tsx +2 -2
- package/src/icons/Sort/sortPath.ts +3 -2
- package/src/icons/VideoOff/VideoOffIcon.tsx +21 -0
- package/src/icons/VideoOff/VideoOffIcon.web.tsx +27 -0
- package/src/icons/VideoOff/index.ts +1 -0
- package/src/icons/VideoOff/videoOffPath.ts +2 -0
- package/src/icons/ZoomOut/ZoomOutIcon.tsx +21 -0
- package/src/icons/ZoomOut/index.ts +1 -0
- package/src/icons/ZoomOut/zoomOutPath.ts +2 -0
- package/src/icons/index.ts +4 -0
- package/src/icons/registry.ts +12 -0
- package/src/index.ts +8 -0
- package/src/theme/colors.test.ts +1 -1
- package/src/theme/typography.ts +4 -4
- package/src/utils/popoverAlign.ts +85 -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 Svg19 = 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 Svg19__default = /*#__PURE__*/_interopDefault(Svg19);
|
|
11
11
|
|
|
12
12
|
// src/components/Avatar/Avatar.tsx
|
|
13
13
|
|
|
@@ -176,7 +176,7 @@ var inputTypography = {
|
|
|
176
176
|
fontFamily: fonts.sans,
|
|
177
177
|
fontSize: 12,
|
|
178
178
|
fontWeight: "400",
|
|
179
|
-
lineHeight:
|
|
179
|
+
lineHeight: 16,
|
|
180
180
|
letterSpacing: 0.36
|
|
181
181
|
},
|
|
182
182
|
hint: {
|
|
@@ -199,7 +199,7 @@ var selectTypography = {
|
|
|
199
199
|
fontFamily: fonts.sans,
|
|
200
200
|
fontSize: 12,
|
|
201
201
|
fontWeight: "400",
|
|
202
|
-
lineHeight:
|
|
202
|
+
lineHeight: 16,
|
|
203
203
|
letterSpacing: 0.36
|
|
204
204
|
},
|
|
205
205
|
hint: {
|
|
@@ -222,7 +222,7 @@ var avatarTypography = {
|
|
|
222
222
|
fontFamily: fonts.sans,
|
|
223
223
|
fontSize: 12,
|
|
224
224
|
fontWeight: "400",
|
|
225
|
-
lineHeight:
|
|
225
|
+
lineHeight: 14,
|
|
226
226
|
letterSpacing: 0
|
|
227
227
|
},
|
|
228
228
|
menuItem: {
|
|
@@ -298,7 +298,7 @@ var textareaTypography = {
|
|
|
298
298
|
fontFamily: fonts.sans,
|
|
299
299
|
fontSize: 12,
|
|
300
300
|
fontWeight: "400",
|
|
301
|
-
lineHeight:
|
|
301
|
+
lineHeight: 16,
|
|
302
302
|
letterSpacing: 0.36
|
|
303
303
|
},
|
|
304
304
|
hint: {
|
|
@@ -314,8 +314,8 @@ function ArrowRightIcon({
|
|
|
314
314
|
color = colors.primary,
|
|
315
315
|
strokeWidth = 2
|
|
316
316
|
}) {
|
|
317
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
318
|
-
|
|
317
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
318
|
+
Svg19.Path,
|
|
319
319
|
{
|
|
320
320
|
d: ARROW_RIGHT_PATH,
|
|
321
321
|
stroke: color,
|
|
@@ -329,8 +329,8 @@ function ArrowRightIcon({
|
|
|
329
329
|
// src/icons/AlertTriangle/alertTrianglePath.ts
|
|
330
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
331
|
function AlertTriangleIcon({ size = 16, color = "#E38E5E", strokeWidth = 1.5 }) {
|
|
332
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
333
|
-
|
|
332
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
333
|
+
Svg19.Path,
|
|
334
334
|
{
|
|
335
335
|
d: ALERT_TRIANGLE_PATH,
|
|
336
336
|
stroke: color,
|
|
@@ -365,17 +365,17 @@ var GOOGLE_PLAY_PATHS = [
|
|
|
365
365
|
}
|
|
366
366
|
];
|
|
367
367
|
function AppleIcon({ size = 30, color = colors.white }) {
|
|
368
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
368
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size * 25 / 30, height: size, viewBox: "0 0 25 30", fill: "none", children: APPLE_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: path, fill: color }, path)) });
|
|
369
369
|
}
|
|
370
370
|
function GooglePlayIcon({ size = 30 }) {
|
|
371
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
371
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size * 27 / 30, height: size, viewBox: "0 0 27 30", fill: "none", children: GOOGLE_PLAY_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: path.d, fill: path.color }, path.d)) });
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
// src/icons/Bag/bagPath.ts
|
|
375
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";
|
|
376
376
|
function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
377
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
378
|
-
|
|
377
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
378
|
+
Svg19.Path,
|
|
379
379
|
{
|
|
380
380
|
d: BAG_PATH,
|
|
381
381
|
stroke: color,
|
|
@@ -386,11 +386,17 @@ function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
386
386
|
) });
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
+
// src/icons/Ban/banPath.ts
|
|
390
|
+
var BAN_PATH = "M14.0007 2.33301C11.6932 2.33301 9.43758 3.01725 7.519 4.2992C5.60043 5.58115 4.10508 7.40323 3.22206 9.53503C2.33904 11.6668 2.108 14.0126 2.55816 16.2757C3.00832 18.5388 4.11946 20.6176 5.75108 22.2493C7.38269 23.8809 9.46149 24.992 11.7246 25.4422C13.9877 25.8923 16.3335 25.6613 18.4653 24.7783C20.5971 23.8952 22.4192 22.3999 23.7011 20.4813C24.9831 18.5628 25.6673 16.3071 25.6673 13.9997C25.6673 12.4676 25.3656 10.9505 24.7793 9.53503C24.1929 8.11957 23.3336 6.83345 22.2502 5.7501C21.1669 4.66675 19.8808 3.80738 18.4653 3.22108C17.0498 2.63478 15.5327 2.33301 14.0007 2.33301ZM14.0007 23.333C11.5253 23.333 9.15133 22.3497 7.40099 20.5993C5.65065 18.849 4.66732 16.475 4.66732 13.9997C4.66475 11.9269 5.35917 9.91348 6.63899 8.28301L19.7173 21.3613C18.0869 22.6412 16.0734 23.3356 14.0007 23.333ZM21.3623 19.7163L8.28399 6.63801C9.91446 5.35819 11.9279 4.66376 14.0007 4.66634C16.476 4.66634 18.85 5.64967 20.6003 7.40001C22.3507 9.15035 23.334 11.5243 23.334 13.9997C23.3366 16.0724 22.6421 18.0859 21.3623 19.7163Z";
|
|
391
|
+
function BanIcon({ size = 28, color = colors.primary }) {
|
|
392
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: BAN_PATH, fill: color }) });
|
|
393
|
+
}
|
|
394
|
+
|
|
389
395
|
// src/icons/Bell/bellPath.ts
|
|
390
396
|
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
397
|
function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
392
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
393
|
-
|
|
398
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
399
|
+
Svg19.Path,
|
|
394
400
|
{
|
|
395
401
|
d: BELL_PATH,
|
|
396
402
|
stroke: color,
|
|
@@ -404,8 +410,8 @@ function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
404
410
|
// src/icons/Building/buildingPath.ts
|
|
405
411
|
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";
|
|
406
412
|
function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
407
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
408
|
-
|
|
413
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
414
|
+
Svg19.Path,
|
|
409
415
|
{
|
|
410
416
|
d: BUILDING_PATH,
|
|
411
417
|
stroke: color,
|
|
@@ -419,8 +425,8 @@ function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
419
425
|
// src/icons/Calendar/calendarPath.ts
|
|
420
426
|
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";
|
|
421
427
|
function CalendarIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
422
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
423
|
-
|
|
428
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
429
|
+
Svg19.Path,
|
|
424
430
|
{
|
|
425
431
|
d: CALENDAR_PATH,
|
|
426
432
|
stroke: color,
|
|
@@ -438,8 +444,8 @@ function CalendarOutlineIcon({
|
|
|
438
444
|
color = colors.primary,
|
|
439
445
|
strokeWidth = 1.5
|
|
440
446
|
}) {
|
|
441
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
442
|
-
|
|
447
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
448
|
+
Svg19.Path,
|
|
443
449
|
{
|
|
444
450
|
d: CALENDAR_OUTLINE_PATH,
|
|
445
451
|
stroke: color,
|
|
@@ -453,8 +459,8 @@ function CalendarOutlineIcon({
|
|
|
453
459
|
// src/icons/Camera/cameraPath.ts
|
|
454
460
|
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";
|
|
455
461
|
function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
456
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
457
|
-
|
|
462
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
463
|
+
Svg19.Path,
|
|
458
464
|
{
|
|
459
465
|
d: CAMERA_PATH,
|
|
460
466
|
stroke: color,
|
|
@@ -468,8 +474,8 @@ function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
468
474
|
// src/icons/Check/checkPath.ts
|
|
469
475
|
var CHECK_PATH = "M4.16669 10.8333L7.50002 14.1667L15.8334 5.83334";
|
|
470
476
|
function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
471
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
472
|
-
|
|
477
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
478
|
+
Svg19.Path,
|
|
473
479
|
{
|
|
474
480
|
d: CHECK_PATH,
|
|
475
481
|
stroke: color,
|
|
@@ -483,8 +489,8 @@ function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
483
489
|
// src/icons/CheckBadge/checkBadgePath.ts
|
|
484
490
|
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";
|
|
485
491
|
function CheckBadgeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
486
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
487
|
-
|
|
492
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
493
|
+
Svg19.Path,
|
|
488
494
|
{
|
|
489
495
|
d: CHECK_BADGE_PATH,
|
|
490
496
|
stroke: color,
|
|
@@ -502,8 +508,8 @@ function ChevronDownIcon({
|
|
|
502
508
|
color = colors.primary,
|
|
503
509
|
strokeWidth = 2
|
|
504
510
|
}) {
|
|
505
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
506
|
-
|
|
511
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
512
|
+
Svg19.Path,
|
|
507
513
|
{
|
|
508
514
|
d: CHEVRON_DOWN_PATH,
|
|
509
515
|
stroke: color,
|
|
@@ -517,8 +523,8 @@ function ChevronDownIcon({
|
|
|
517
523
|
// src/icons/ChevronLeft/chevronLeftPath.ts
|
|
518
524
|
var CHEVRON_LEFT_PATH = "M12.5 15L7.5 10L12.5 5";
|
|
519
525
|
function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
520
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
521
|
-
|
|
526
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
527
|
+
Svg19.Path,
|
|
522
528
|
{
|
|
523
529
|
d: CHEVRON_LEFT_PATH,
|
|
524
530
|
stroke: color,
|
|
@@ -532,8 +538,8 @@ function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 })
|
|
|
532
538
|
// src/icons/Clock/clockPath.ts
|
|
533
539
|
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";
|
|
534
540
|
function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
535
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
536
|
-
|
|
541
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
542
|
+
Svg19.Path,
|
|
537
543
|
{
|
|
538
544
|
d: CLOCK_PATH,
|
|
539
545
|
stroke: color,
|
|
@@ -547,8 +553,8 @@ function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
547
553
|
// src/icons/Close/closePath.ts
|
|
548
554
|
var CLOSE_PATH = "M15 5L5 15M5 5L15 15";
|
|
549
555
|
function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
550
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
551
|
-
|
|
556
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
557
|
+
Svg19.Path,
|
|
552
558
|
{
|
|
553
559
|
d: CLOSE_PATH,
|
|
554
560
|
stroke: color,
|
|
@@ -562,8 +568,8 @@ function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
562
568
|
// src/icons/Edit/editPath.ts
|
|
563
569
|
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
570
|
function EditIcon({ size = 12, color = colors.grey0, strokeWidth = 2 }) {
|
|
565
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
566
|
-
|
|
571
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
572
|
+
Svg19.Path,
|
|
567
573
|
{
|
|
568
574
|
d: EDIT_PATH,
|
|
569
575
|
stroke: color,
|
|
@@ -589,8 +595,8 @@ function SaveHeartIcon({
|
|
|
589
595
|
strokeWidth = 2,
|
|
590
596
|
fillOpacity = 0
|
|
591
597
|
}) {
|
|
592
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
593
|
-
|
|
598
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
599
|
+
Svg19.Path,
|
|
594
600
|
{
|
|
595
601
|
d: SAVE_HEART_PATH,
|
|
596
602
|
fill: color,
|
|
@@ -603,8 +609,8 @@ function SaveHeartIcon({
|
|
|
603
609
|
) });
|
|
604
610
|
}
|
|
605
611
|
function RatingStarIcon({ size = 12, color = "#E38E5E", strokeWidth = 2 }) {
|
|
606
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
607
|
-
|
|
612
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
613
|
+
Svg19.Path,
|
|
608
614
|
{
|
|
609
615
|
d: RATING_STAR_PATH,
|
|
610
616
|
fill: color,
|
|
@@ -621,9 +627,9 @@ function CardLocationIcon({
|
|
|
621
627
|
strokeWidth = 1.5,
|
|
622
628
|
secondaryColor = colors.grey700
|
|
623
629
|
}) {
|
|
624
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
630
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg19__default.default, { width: size, height: size, viewBox: "0 0 13 13", fill: "none", children: [
|
|
625
631
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
626
|
-
|
|
632
|
+
Svg19.Path,
|
|
627
633
|
{
|
|
628
634
|
d: CARD_LOCATION_BASE_PATH,
|
|
629
635
|
stroke: color,
|
|
@@ -633,7 +639,7 @@ function CardLocationIcon({
|
|
|
633
639
|
}
|
|
634
640
|
),
|
|
635
641
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
636
|
-
|
|
642
|
+
Svg19.Path,
|
|
637
643
|
{
|
|
638
644
|
d: CARD_LOCATION_PIN_PATH,
|
|
639
645
|
fill: color,
|
|
@@ -643,7 +649,7 @@ function CardLocationIcon({
|
|
|
643
649
|
}
|
|
644
650
|
),
|
|
645
651
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
646
|
-
|
|
652
|
+
Svg19.Path,
|
|
647
653
|
{
|
|
648
654
|
d: CARD_LOCATION_DOT_PATH,
|
|
649
655
|
fill: secondaryColor,
|
|
@@ -660,7 +666,7 @@ function FilledCardIcon({
|
|
|
660
666
|
color,
|
|
661
667
|
fillOpacity
|
|
662
668
|
}) {
|
|
663
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
669
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: path, fill: color, fillOpacity }) });
|
|
664
670
|
}
|
|
665
671
|
function GuestsIcon({ size = 16, color = colors.white, fillOpacity = 0.4 }) {
|
|
666
672
|
return /* @__PURE__ */ jsxRuntime.jsx(FilledCardIcon, { path: GUESTS_PATH, size, color, fillOpacity });
|
|
@@ -688,8 +694,8 @@ var COPY_PATH = "M6.66699 13.3337V15.667C6.66699 16.6004 6.66699 17.0671 6.84865
|
|
|
688
694
|
var CHECK_SUCCESS_PATH = "M16.6663 5L7.49967 14.1667L3.33301 10";
|
|
689
695
|
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";
|
|
690
696
|
function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
691
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
692
|
-
|
|
697
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
698
|
+
Svg19.Path,
|
|
693
699
|
{
|
|
694
700
|
d: SHARE_PATH,
|
|
695
701
|
stroke: color,
|
|
@@ -700,8 +706,8 @@ function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
700
706
|
) });
|
|
701
707
|
}
|
|
702
708
|
function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
703
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
704
|
-
|
|
709
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
710
|
+
Svg19.Path,
|
|
705
711
|
{
|
|
706
712
|
d: DOWNLOAD_PATH,
|
|
707
713
|
stroke: color,
|
|
@@ -712,8 +718,8 @@ function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
712
718
|
) });
|
|
713
719
|
}
|
|
714
720
|
function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
715
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
716
|
-
|
|
721
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: AREA_EXPAND_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
722
|
+
Svg19.Path,
|
|
717
723
|
{
|
|
718
724
|
d: path,
|
|
719
725
|
stroke: color,
|
|
@@ -725,17 +731,17 @@ function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
725
731
|
)) });
|
|
726
732
|
}
|
|
727
733
|
function ClockFilledIcon({ size = 16, color = colors.white }) {
|
|
728
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
734
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: CLOCK_FILLED_PATH, fill: color }) });
|
|
729
735
|
}
|
|
730
736
|
function QrCodeIcon({ size = 24, color = colors.primary }) {
|
|
731
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
737
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: QR_CODE_PATH, fill: color }) });
|
|
732
738
|
}
|
|
733
739
|
function WhatsAppIcon({ size = 24, color = colors.white }) {
|
|
734
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
740
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: WHATSAPP_PATH, fill: color }) });
|
|
735
741
|
}
|
|
736
742
|
function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
737
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
738
|
-
|
|
743
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
744
|
+
Svg19.Path,
|
|
739
745
|
{
|
|
740
746
|
d: COPY_PATH,
|
|
741
747
|
stroke: color,
|
|
@@ -746,8 +752,8 @@ function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
746
752
|
) });
|
|
747
753
|
}
|
|
748
754
|
function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 }) {
|
|
749
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
750
|
-
|
|
755
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
756
|
+
Svg19.Path,
|
|
751
757
|
{
|
|
752
758
|
d: CHECK_SUCCESS_PATH,
|
|
753
759
|
stroke: color,
|
|
@@ -758,7 +764,7 @@ function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 })
|
|
|
758
764
|
) });
|
|
759
765
|
}
|
|
760
766
|
function TooltipArrowIcon({ size = 10, color = colors.grey600 }) {
|
|
761
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
767
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size * 8 / 10, viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: TOOLTIP_ARROW_PATH, fill: color }) });
|
|
762
768
|
}
|
|
763
769
|
|
|
764
770
|
// src/icons/HouseRules/houseRulesPaths.ts
|
|
@@ -778,11 +784,11 @@ var PAW_PATHS = [
|
|
|
778
784
|
];
|
|
779
785
|
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
786
|
function QuietHoursIcon({ size = 20, color = colors.white }) {
|
|
781
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
787
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: QUIET_HOURS_PATH, fill: color }) });
|
|
782
788
|
}
|
|
783
789
|
function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
784
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
785
|
-
|
|
790
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: NO_SMOKING_PATHS.map((d) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
791
|
+
Svg19.Path,
|
|
786
792
|
{
|
|
787
793
|
d,
|
|
788
794
|
stroke: color,
|
|
@@ -794,8 +800,8 @@ function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
794
800
|
)) });
|
|
795
801
|
}
|
|
796
802
|
function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
797
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
798
|
-
|
|
803
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: PAW_PATHS.map((d) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
804
|
+
Svg19.Path,
|
|
799
805
|
{
|
|
800
806
|
d,
|
|
801
807
|
stroke: color,
|
|
@@ -807,8 +813,8 @@ function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
807
813
|
)) });
|
|
808
814
|
}
|
|
809
815
|
function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
810
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
811
|
-
|
|
816
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
817
|
+
Svg19.Path,
|
|
812
818
|
{
|
|
813
819
|
d: TRASH_PATH,
|
|
814
820
|
stroke: color,
|
|
@@ -822,14 +828,14 @@ function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
822
828
|
// src/icons/Facebook/facebookPath.ts
|
|
823
829
|
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";
|
|
824
830
|
function FacebookIcon({ size = 20, color = colors.white }) {
|
|
825
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
831
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: FACEBOOK_PATH, fill: color }) });
|
|
826
832
|
}
|
|
827
833
|
|
|
828
834
|
// src/icons/Filters/filtersPath.ts
|
|
829
835
|
var FILTERS_PATH = "M5 10H15M2.5 5H17.5M7.5 15H12.5";
|
|
830
836
|
function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
831
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
832
|
-
|
|
837
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
838
|
+
Svg19.Path,
|
|
833
839
|
{
|
|
834
840
|
d: FILTERS_PATH,
|
|
835
841
|
stroke: color,
|
|
@@ -840,11 +846,26 @@ function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
840
846
|
) });
|
|
841
847
|
}
|
|
842
848
|
|
|
849
|
+
// src/icons/Fullscreen/fullscreenPath.ts
|
|
850
|
+
var FULLSCREEN_PATH = "M16 8L21 3M21 8V3H16M8 8L3 3M8 3L3 3L3 8M8 16L3 21M3 16L3 21H8M16 16L21 21M16 21H21V16";
|
|
851
|
+
function FullscreenIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
852
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
853
|
+
Svg19.Path,
|
|
854
|
+
{
|
|
855
|
+
d: FULLSCREEN_PATH,
|
|
856
|
+
stroke: color,
|
|
857
|
+
strokeWidth,
|
|
858
|
+
strokeLinecap: "round",
|
|
859
|
+
strokeLinejoin: "round"
|
|
860
|
+
}
|
|
861
|
+
) });
|
|
862
|
+
}
|
|
863
|
+
|
|
843
864
|
// src/icons/Heart/heartPath.ts
|
|
844
865
|
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";
|
|
845
866
|
function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
846
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
847
|
-
|
|
867
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
868
|
+
Svg19.Path,
|
|
848
869
|
{
|
|
849
870
|
d: HEART_PATH,
|
|
850
871
|
stroke: color,
|
|
@@ -860,8 +881,8 @@ function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
860
881
|
// src/icons/Globe/globePath.ts
|
|
861
882
|
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";
|
|
862
883
|
function GlobeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
863
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
864
|
-
|
|
884
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
885
|
+
Svg19.Path,
|
|
865
886
|
{
|
|
866
887
|
d: GLOBE_PATH,
|
|
867
888
|
stroke: color,
|
|
@@ -879,8 +900,8 @@ function HelpCircleIcon({
|
|
|
879
900
|
color = colors.primary,
|
|
880
901
|
strokeWidth = 1.5
|
|
881
902
|
}) {
|
|
882
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
883
|
-
|
|
903
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
904
|
+
Svg19.Path,
|
|
884
905
|
{
|
|
885
906
|
d: HELP_CIRCLE_PATH,
|
|
886
907
|
stroke: color,
|
|
@@ -892,10 +913,10 @@ function HelpCircleIcon({
|
|
|
892
913
|
}
|
|
893
914
|
|
|
894
915
|
// src/icons/Home/homePath.ts
|
|
895
|
-
var HOME_PATH = "
|
|
916
|
+
var HOME_PATH = "M6.77168 11.6663C7.14172 13.104 8.4468 14.1663 10 14.1663C11.5532 14.1663 12.8583 13.104 13.2283 11.6663M9.18141 2.30297L3.52949 6.6989C3.15168 6.99276 2.96278 7.13968 2.82669 7.32368C2.70614 7.48667 2.61633 7.67029 2.56169 7.86551C2.5 8.0859 2.5 8.32521 2.5 8.80384V14.833C2.5 15.7664 2.5 16.2331 2.68166 16.5896C2.84144 16.9032 3.09641 17.1582 3.41002 17.318C3.76654 17.4996 4.23325 17.4996 5.16667 17.4996H14.8333C15.7668 17.4996 16.2335 17.4996 16.59 17.318C16.9036 17.1582 17.1586 16.9032 17.3183 16.5896C17.5 16.2331 17.5 15.7664 17.5 14.833V8.80384C17.5 8.32521 17.5 8.0859 17.4383 7.86551C17.3837 7.67029 17.2939 7.48667 17.1733 7.32368C17.0372 7.13968 16.8483 6.99276 16.4705 6.69891L10.8186 2.30297C10.5258 2.07526 10.3794 1.9614 10.2178 1.91763C10.0752 1.87902 9.92484 1.87902 9.78221 1.91763C9.62057 1.9614 9.47418 2.07526 9.18141 2.30297Z";
|
|
896
917
|
function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
897
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
898
|
-
|
|
918
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
919
|
+
Svg19.Path,
|
|
899
920
|
{
|
|
900
921
|
d: HOME_PATH,
|
|
901
922
|
stroke: color,
|
|
@@ -909,14 +930,14 @@ function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
909
930
|
// src/icons/Instagram/instagramPath.ts
|
|
910
931
|
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";
|
|
911
932
|
function InstagramIcon({ size = 20, color = colors.white }) {
|
|
912
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
933
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: INSTAGRAM_PATH, fill: color }) });
|
|
913
934
|
}
|
|
914
935
|
|
|
915
936
|
// src/icons/Key/keyPath.ts
|
|
916
937
|
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";
|
|
917
938
|
function KeyIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
918
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
919
|
-
|
|
939
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
940
|
+
Svg19.Path,
|
|
920
941
|
{
|
|
921
942
|
d: KEY_PATH,
|
|
922
943
|
stroke: color,
|
|
@@ -934,8 +955,8 @@ function LayoutGridIcon({
|
|
|
934
955
|
color = colors.primary,
|
|
935
956
|
strokeWidth = 1.5
|
|
936
957
|
}) {
|
|
937
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
938
|
-
|
|
958
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
959
|
+
Svg19.Path,
|
|
939
960
|
{
|
|
940
961
|
d: LAYOUT_GRID_PATH,
|
|
941
962
|
stroke: color,
|
|
@@ -949,14 +970,14 @@ function LayoutGridIcon({
|
|
|
949
970
|
// src/icons/LinkedIn/linkedinPath.ts
|
|
950
971
|
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";
|
|
951
972
|
function LinkedInIcon({ size = 20, color = colors.white }) {
|
|
952
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
973
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: LINKEDIN_PATH, fill: color }) });
|
|
953
974
|
}
|
|
954
975
|
|
|
955
976
|
// src/icons/ListView/listViewPath.ts
|
|
956
977
|
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";
|
|
957
978
|
function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
958
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
959
|
-
|
|
979
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
980
|
+
Svg19.Path,
|
|
960
981
|
{
|
|
961
982
|
d: LIST_VIEW_PATH,
|
|
962
983
|
stroke: color,
|
|
@@ -970,8 +991,8 @@ function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
970
991
|
// src/icons/LocationPin/locationPinPath.ts
|
|
971
992
|
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";
|
|
972
993
|
function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
973
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
974
|
-
|
|
994
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
995
|
+
Svg19.Path,
|
|
975
996
|
{
|
|
976
997
|
d: LOCATION_PIN_PATH,
|
|
977
998
|
stroke: color,
|
|
@@ -985,14 +1006,14 @@ function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 })
|
|
|
985
1006
|
// src/icons/LocationUser/locationUserPath.ts
|
|
986
1007
|
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
1008
|
function LocationUserIcon({ size = 16, color = colors.grey0 }) {
|
|
988
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1009
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: LOCATION_USER_PATH, fill: color }) });
|
|
989
1010
|
}
|
|
990
1011
|
|
|
991
1012
|
// src/icons/Lock/lockPath.ts
|
|
992
1013
|
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
1014
|
function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
994
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
995
|
-
|
|
1015
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 32 32", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1016
|
+
Svg19.Path,
|
|
996
1017
|
{
|
|
997
1018
|
d: LOCK_PATH,
|
|
998
1019
|
stroke: color,
|
|
@@ -1006,8 +1027,8 @@ function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1006
1027
|
// src/icons/LogOut/logOutPath.ts
|
|
1007
1028
|
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";
|
|
1008
1029
|
function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
1009
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1010
|
-
|
|
1030
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1031
|
+
Svg19.Path,
|
|
1011
1032
|
{
|
|
1012
1033
|
d: LOG_OUT_PATH,
|
|
1013
1034
|
stroke: color,
|
|
@@ -1021,8 +1042,8 @@ function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
|
1021
1042
|
// src/icons/Mail/mailPath.ts
|
|
1022
1043
|
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";
|
|
1023
1044
|
function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1024
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1025
|
-
|
|
1045
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1046
|
+
Svg19.Path,
|
|
1026
1047
|
{
|
|
1027
1048
|
d: MAIL_PATH,
|
|
1028
1049
|
stroke: color,
|
|
@@ -1036,8 +1057,8 @@ function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1036
1057
|
// src/icons/MapView/mapViewPath.ts
|
|
1037
1058
|
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";
|
|
1038
1059
|
function MapViewIcon({ size = 20, color = colors.grey400, strokeWidth = 2 }) {
|
|
1039
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1040
|
-
|
|
1060
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1061
|
+
Svg19.Path,
|
|
1041
1062
|
{
|
|
1042
1063
|
d: MAP_VIEW_PATH,
|
|
1043
1064
|
stroke: color,
|
|
@@ -1057,8 +1078,8 @@ function MapControlIcon({
|
|
|
1057
1078
|
color = colors.white,
|
|
1058
1079
|
strokeWidth = 2
|
|
1059
1080
|
}) {
|
|
1060
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1061
|
-
|
|
1081
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1082
|
+
Svg19.Path,
|
|
1062
1083
|
{
|
|
1063
1084
|
d: path,
|
|
1064
1085
|
stroke: color,
|
|
@@ -1084,8 +1105,8 @@ function MenuIcon({
|
|
|
1084
1105
|
strokeWidth = 2,
|
|
1085
1106
|
open = false
|
|
1086
1107
|
}) {
|
|
1087
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1088
|
-
|
|
1108
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 19 19", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1109
|
+
Svg19.Path,
|
|
1089
1110
|
{
|
|
1090
1111
|
d: open ? MENU_CLOSE_PATH : MENU_PATH,
|
|
1091
1112
|
stroke: color,
|
|
@@ -1100,8 +1121,8 @@ function MenuIcon({
|
|
|
1100
1121
|
// src/icons/Minus/minusPath.ts
|
|
1101
1122
|
var MINUS_PATH = "M3.33337 8H12.6667";
|
|
1102
1123
|
function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
1103
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1104
|
-
|
|
1124
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1125
|
+
Svg19.Path,
|
|
1105
1126
|
{
|
|
1106
1127
|
d: MINUS_PATH,
|
|
1107
1128
|
stroke: color,
|
|
@@ -1115,8 +1136,8 @@ function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
1115
1136
|
// src/icons/Navigate/navigatePath.ts
|
|
1116
1137
|
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";
|
|
1117
1138
|
function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1118
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1119
|
-
|
|
1139
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1140
|
+
Svg19.Path,
|
|
1120
1141
|
{
|
|
1121
1142
|
d: NAVIGATE_PATH,
|
|
1122
1143
|
stroke: color,
|
|
@@ -1130,8 +1151,8 @@ function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1130
1151
|
// src/icons/Phone/phonePath.ts
|
|
1131
1152
|
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";
|
|
1132
1153
|
function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1133
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1134
|
-
|
|
1154
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1155
|
+
Svg19.Path,
|
|
1135
1156
|
{
|
|
1136
1157
|
d: PHONE_PATH,
|
|
1137
1158
|
stroke: color,
|
|
@@ -1145,8 +1166,8 @@ function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1145
1166
|
// src/icons/Plus/plusPath.ts
|
|
1146
1167
|
var PLUS_PATH = "M8.00004 3.33325V12.6666M3.33337 7.99992H12.6667";
|
|
1147
1168
|
function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
1148
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1149
|
-
|
|
1169
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1170
|
+
Svg19.Path,
|
|
1150
1171
|
{
|
|
1151
1172
|
d: PLUS_PATH,
|
|
1152
1173
|
stroke: color,
|
|
@@ -1160,8 +1181,8 @@ function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
1160
1181
|
// src/icons/Refresh/refreshPath.ts
|
|
1161
1182
|
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
1183
|
function RefreshIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
1163
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1164
|
-
|
|
1184
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1185
|
+
Svg19.Path,
|
|
1165
1186
|
{
|
|
1166
1187
|
d: REFRESH_PATH,
|
|
1167
1188
|
stroke: color,
|
|
@@ -1179,8 +1200,8 @@ function RefundStatusIcon({
|
|
|
1179
1200
|
color = colors.primary,
|
|
1180
1201
|
strokeWidth = 2
|
|
1181
1202
|
}) {
|
|
1182
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1183
|
-
|
|
1203
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1204
|
+
Svg19.Path,
|
|
1184
1205
|
{
|
|
1185
1206
|
d: REFUND_STATUS_PATH,
|
|
1186
1207
|
stroke: color,
|
|
@@ -1199,9 +1220,9 @@ function SearchIcon({
|
|
|
1199
1220
|
color = colors.primary,
|
|
1200
1221
|
strokeWidth = 2
|
|
1201
1222
|
}) {
|
|
1202
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1223
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
1203
1224
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1204
|
-
|
|
1225
|
+
Svg19.Path,
|
|
1205
1226
|
{
|
|
1206
1227
|
d: SEARCH_CIRCLE_PATH,
|
|
1207
1228
|
stroke: color,
|
|
@@ -1211,7 +1232,7 @@ function SearchIcon({
|
|
|
1211
1232
|
}
|
|
1212
1233
|
),
|
|
1213
1234
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1214
|
-
|
|
1235
|
+
Svg19.Path,
|
|
1215
1236
|
{
|
|
1216
1237
|
d: SEARCH_HANDLE_PATH,
|
|
1217
1238
|
stroke: color,
|
|
@@ -1226,8 +1247,8 @@ function SearchIcon({
|
|
|
1226
1247
|
// src/icons/Settings/settingsPath.ts
|
|
1227
1248
|
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";
|
|
1228
1249
|
function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
1229
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1230
|
-
|
|
1250
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1251
|
+
Svg19.Path,
|
|
1231
1252
|
{
|
|
1232
1253
|
d: SETTINGS_PATH,
|
|
1233
1254
|
stroke: color,
|
|
@@ -1242,9 +1263,9 @@ function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 })
|
|
|
1242
1263
|
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";
|
|
1243
1264
|
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";
|
|
1244
1265
|
function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1245
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1266
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
1246
1267
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1247
|
-
|
|
1268
|
+
Svg19.Path,
|
|
1248
1269
|
{
|
|
1249
1270
|
d: SHOW_PATH,
|
|
1250
1271
|
stroke: color,
|
|
@@ -1254,7 +1275,7 @@ function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1254
1275
|
}
|
|
1255
1276
|
),
|
|
1256
1277
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1257
|
-
|
|
1278
|
+
Svg19.Path,
|
|
1258
1279
|
{
|
|
1259
1280
|
d: SHOW_PUPIL_PATH,
|
|
1260
1281
|
stroke: color,
|
|
@@ -1269,8 +1290,8 @@ function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1269
1290
|
// src/icons/Sidebar/sidebarPath.ts
|
|
1270
1291
|
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";
|
|
1271
1292
|
function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1272
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1273
|
-
|
|
1293
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1294
|
+
Svg19.Path,
|
|
1274
1295
|
{
|
|
1275
1296
|
d: SIDEBAR_PATH,
|
|
1276
1297
|
stroke: color,
|
|
@@ -1282,10 +1303,10 @@ function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1282
1303
|
}
|
|
1283
1304
|
|
|
1284
1305
|
// src/icons/Sort/sortPath.ts
|
|
1285
|
-
var SORT_PATH = "
|
|
1286
|
-
function SortIcon({ size =
|
|
1287
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1288
|
-
|
|
1306
|
+
var SORT_PATH = "M5.83333 3.33301V16.6663M9.16667 13.333L5.83333 16.6663L2.5 13.333M14.1667 16.6663V3.33301M17.5 6.66634L14.1667 3.33301L10.8333 6.66634";
|
|
1307
|
+
function SortIcon({ size = 20, color = colors.grey300, strokeWidth = 2 }) {
|
|
1308
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1309
|
+
Svg19.Path,
|
|
1289
1310
|
{
|
|
1290
1311
|
d: SORT_PATH,
|
|
1291
1312
|
stroke: color,
|
|
@@ -1306,8 +1327,8 @@ function StarIcon({
|
|
|
1306
1327
|
strokeWidth = 2
|
|
1307
1328
|
}) {
|
|
1308
1329
|
const resolvedColor = color ?? (active ? "#E38E5E" : colors.grey150);
|
|
1309
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1310
|
-
|
|
1330
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1331
|
+
Svg19.Path,
|
|
1311
1332
|
{
|
|
1312
1333
|
d: STAR_PATH,
|
|
1313
1334
|
fill: active ? resolvedColor : "none",
|
|
@@ -1324,8 +1345,8 @@ function StarFilledIcon({
|
|
|
1324
1345
|
color = "#E38E5E",
|
|
1325
1346
|
strokeWidth = 2
|
|
1326
1347
|
}) {
|
|
1327
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1328
|
-
|
|
1348
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: color, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1349
|
+
Svg19.Path,
|
|
1329
1350
|
{
|
|
1330
1351
|
d: STAR_PATH,
|
|
1331
1352
|
fill: color,
|
|
@@ -1340,8 +1361,8 @@ function StarFilledIcon({
|
|
|
1340
1361
|
// src/icons/User/userPath.ts
|
|
1341
1362
|
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";
|
|
1342
1363
|
function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
1343
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1344
|
-
|
|
1364
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1365
|
+
Svg19.Path,
|
|
1345
1366
|
{
|
|
1346
1367
|
d: USER_PATH,
|
|
1347
1368
|
stroke: color,
|
|
@@ -1355,7 +1376,7 @@ function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
1355
1376
|
// src/icons/UsersAlt/usersAltPath.ts
|
|
1356
1377
|
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";
|
|
1357
1378
|
function UsersAltIcon({ size = 28, color = colors.white }) {
|
|
1358
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1379
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: USERS_ALT_PATH, fill: color }) });
|
|
1359
1380
|
}
|
|
1360
1381
|
|
|
1361
1382
|
// src/icons/Video/videoPath.ts
|
|
@@ -1364,8 +1385,8 @@ var VIDEO_PATHS = [
|
|
|
1364
1385
|
"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"
|
|
1365
1386
|
];
|
|
1366
1387
|
function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
1367
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1368
|
-
|
|
1388
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: VIDEO_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1389
|
+
Svg19.Path,
|
|
1369
1390
|
{
|
|
1370
1391
|
d: path,
|
|
1371
1392
|
stroke: color,
|
|
@@ -1377,6 +1398,36 @@ function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
1377
1398
|
)) });
|
|
1378
1399
|
}
|
|
1379
1400
|
|
|
1401
|
+
// src/icons/VideoOff/videoOffPath.ts
|
|
1402
|
+
var VIDEO_OFF_PATH = "M5 5C3.34315 5 2 6.34315 2 8V16C2 17.6569 3.34315 19 5 19H14C15.3527 19 16.4962 18.1048 16.8705 16.8745M17 12L20.6343 8.36569C21.0627 7.93731 21.2769 7.72312 21.4608 7.70865C21.6203 7.69609 21.7763 7.76068 21.8802 7.88238C22 8.02265 22 8.32556 22 8.93137V15.0686C22 15.6744 22 15.9774 21.8802 16.1176C21.7763 16.2393 21.6203 16.3039 21.4608 16.2914C21.2769 16.2769 21.0627 16.0627 20.6343 15.6343L17 12ZM17 12V9.8C17 8.11984 17 7.27976 16.673 6.63803C16.3854 6.07354 15.9265 5.6146 15.362 5.32698C14.7202 5 13.8802 5 12.2 5H9.5M2 2L22 22";
|
|
1403
|
+
function VideoOffIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
1404
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1405
|
+
Svg19.Path,
|
|
1406
|
+
{
|
|
1407
|
+
d: VIDEO_OFF_PATH,
|
|
1408
|
+
stroke: color,
|
|
1409
|
+
strokeWidth,
|
|
1410
|
+
strokeLinecap: "round",
|
|
1411
|
+
strokeLinejoin: "round"
|
|
1412
|
+
}
|
|
1413
|
+
) });
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
// src/icons/ZoomOut/zoomOutPath.ts
|
|
1417
|
+
var ZOOM_OUT_PATH = "M3 8H3.2C4.88016 8 5.72024 8 6.36197 7.67302C6.92646 7.3854 7.3854 6.92646 7.67302 6.36197C8 5.72024 8 4.88016 8 3.2V3M3 16H3.2C4.88016 16 5.72024 16 6.36197 16.327C6.92646 16.6146 7.3854 17.0735 7.67302 17.638C8 18.2798 8 19.1198 8 20.8V21M16 3V3.2C16 4.88016 16 5.72024 16.327 6.36197C16.6146 6.92646 17.0735 7.3854 17.638 7.67302C18.2798 8 19.1198 8 20.8 8H21M16 21V20.8C16 19.1198 16 18.2798 16.327 17.638C16.6146 17.0735 17.0735 16.6146 17.638 16.327C18.2798 16 19.1198 16 20.8 16H21";
|
|
1418
|
+
function ZoomOutIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
1419
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1420
|
+
Svg19.Path,
|
|
1421
|
+
{
|
|
1422
|
+
d: ZOOM_OUT_PATH,
|
|
1423
|
+
stroke: color,
|
|
1424
|
+
strokeWidth,
|
|
1425
|
+
strokeLinecap: "round",
|
|
1426
|
+
strokeLinejoin: "round"
|
|
1427
|
+
}
|
|
1428
|
+
) });
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1380
1431
|
// src/icons/registry.ts
|
|
1381
1432
|
var icons = {
|
|
1382
1433
|
alertTriangle: AlertTriangleIcon,
|
|
@@ -1384,6 +1435,7 @@ var icons = {
|
|
|
1384
1435
|
apple: AppleIcon,
|
|
1385
1436
|
arrowRight: ArrowRightIcon,
|
|
1386
1437
|
bag: BagIcon,
|
|
1438
|
+
ban: BanIcon,
|
|
1387
1439
|
bell: BellIcon,
|
|
1388
1440
|
building: BuildingIcon,
|
|
1389
1441
|
calendar: CalendarIcon,
|
|
@@ -1405,6 +1457,7 @@ var icons = {
|
|
|
1405
1457
|
cardLocation: CardLocationIcon,
|
|
1406
1458
|
facebook: FacebookIcon,
|
|
1407
1459
|
filters: FiltersIcon,
|
|
1460
|
+
fullscreen: FullscreenIcon,
|
|
1408
1461
|
guests: GuestsIcon,
|
|
1409
1462
|
heart: HeartIcon,
|
|
1410
1463
|
globe: GlobeIcon,
|
|
@@ -1450,7 +1503,9 @@ var icons = {
|
|
|
1450
1503
|
user: UserIcon,
|
|
1451
1504
|
usersAlt: UsersAltIcon,
|
|
1452
1505
|
video: VideoIcon,
|
|
1453
|
-
|
|
1506
|
+
videoOff: VideoOffIcon,
|
|
1507
|
+
whatsApp: WhatsAppIcon,
|
|
1508
|
+
zoomOut: ZoomOutIcon
|
|
1454
1509
|
};
|
|
1455
1510
|
var iconNames = Object.keys(icons);
|
|
1456
1511
|
var iconGroups = {
|
|
@@ -1471,6 +1526,7 @@ var iconGroups = {
|
|
|
1471
1526
|
actions: [
|
|
1472
1527
|
"show",
|
|
1473
1528
|
"alertTriangle",
|
|
1529
|
+
"ban",
|
|
1474
1530
|
"bell",
|
|
1475
1531
|
"camera",
|
|
1476
1532
|
"key",
|
|
@@ -1488,7 +1544,9 @@ var iconGroups = {
|
|
|
1488
1544
|
"saveHeart",
|
|
1489
1545
|
"share",
|
|
1490
1546
|
"filters",
|
|
1547
|
+
"fullscreen",
|
|
1491
1548
|
"heart",
|
|
1549
|
+
"zoomOut",
|
|
1492
1550
|
"star",
|
|
1493
1551
|
"starFilled",
|
|
1494
1552
|
"minus",
|
|
@@ -1515,6 +1573,7 @@ var iconGroups = {
|
|
|
1515
1573
|
"user",
|
|
1516
1574
|
"usersAlt",
|
|
1517
1575
|
"video",
|
|
1576
|
+
"videoOff",
|
|
1518
1577
|
"whatsApp"
|
|
1519
1578
|
],
|
|
1520
1579
|
communication: ["mail", "phone"],
|
|
@@ -1598,8 +1657,8 @@ var AMENITY_PATHS = {
|
|
|
1598
1657
|
]
|
|
1599
1658
|
};
|
|
1600
1659
|
function AmenityIcon({ name, size = 20, color = colors.primary }) {
|
|
1601
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1602
|
-
|
|
1660
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg19__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: AMENITY_PATHS[name].map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1661
|
+
Svg19.Path,
|
|
1603
1662
|
{
|
|
1604
1663
|
d: path.d,
|
|
1605
1664
|
fill: path.fill ? color : "none",
|
|
@@ -2022,7 +2081,7 @@ function BrandLogo({
|
|
|
2022
2081
|
const size = resolveBrandLogoSize(width, height);
|
|
2023
2082
|
const fill = BRAND_LOGO_COLORS[variant];
|
|
2024
2083
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2025
|
-
|
|
2084
|
+
Svg19__default.default,
|
|
2026
2085
|
{
|
|
2027
2086
|
width: size.width,
|
|
2028
2087
|
height: size.height,
|
|
@@ -2032,7 +2091,7 @@ function BrandLogo({
|
|
|
2032
2091
|
accessible: true,
|
|
2033
2092
|
accessibilityRole: "image",
|
|
2034
2093
|
accessibilityLabel,
|
|
2035
|
-
children: BRAND_LOGO_PATHS.map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2094
|
+
children: BRAND_LOGO_PATHS.map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(Svg19.Path, { d: path, fill }, index))
|
|
2036
2095
|
}
|
|
2037
2096
|
);
|
|
2038
2097
|
}
|
|
@@ -2800,14 +2859,122 @@ var styles9 = reactNative.StyleSheet.create({
|
|
|
2800
2859
|
backgroundColor: colors.whiteAlpha40
|
|
2801
2860
|
}
|
|
2802
2861
|
});
|
|
2862
|
+
var WIDTH = 121;
|
|
2863
|
+
var HEIGHT = 48;
|
|
2864
|
+
var ICON_SIZE4 = 24;
|
|
2865
|
+
var StepPager = react.forwardRef(function StepPager2({
|
|
2866
|
+
index,
|
|
2867
|
+
count,
|
|
2868
|
+
onPrevious,
|
|
2869
|
+
onNext,
|
|
2870
|
+
previousAccessibilityLabel = "Previous",
|
|
2871
|
+
nextAccessibilityLabel = "Next",
|
|
2872
|
+
style,
|
|
2873
|
+
className,
|
|
2874
|
+
accessibilityLabel,
|
|
2875
|
+
...rest
|
|
2876
|
+
}, forwardedRef) {
|
|
2877
|
+
const containerRef = react.useRef(null);
|
|
2878
|
+
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
2879
|
+
const safeCount = Math.max(0, count);
|
|
2880
|
+
const safeIndex = safeCount === 0 ? 0 : Math.min(Math.max(index, 0), safeCount - 1);
|
|
2881
|
+
const label = safeCount === 0 ? "0/0" : `${safeIndex + 1}/${safeCount}`;
|
|
2882
|
+
const atStart = safeIndex <= 0;
|
|
2883
|
+
const atEnd = safeIndex >= safeCount - 1;
|
|
2884
|
+
useApplyWebClassName(containerRef, className);
|
|
2885
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2886
|
+
reactNative.View,
|
|
2887
|
+
{
|
|
2888
|
+
...rest,
|
|
2889
|
+
ref: setContainerRef,
|
|
2890
|
+
accessibilityRole: "adjustable",
|
|
2891
|
+
accessibilityLabel: accessibilityLabel ?? label,
|
|
2892
|
+
accessibilityValue: {
|
|
2893
|
+
min: safeCount === 0 ? 0 : 1,
|
|
2894
|
+
max: safeCount,
|
|
2895
|
+
now: safeCount === 0 ? 0 : safeIndex + 1,
|
|
2896
|
+
text: label
|
|
2897
|
+
},
|
|
2898
|
+
style: [styles10.root, webBlurStyle4, style],
|
|
2899
|
+
children: [
|
|
2900
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2901
|
+
reactNative.Pressable,
|
|
2902
|
+
{
|
|
2903
|
+
onPress: onPrevious,
|
|
2904
|
+
disabled: atStart || !onPrevious,
|
|
2905
|
+
hitSlop: 4,
|
|
2906
|
+
accessibilityRole: "button",
|
|
2907
|
+
accessibilityLabel: previousAccessibilityLabel,
|
|
2908
|
+
accessibilityState: { disabled: atStart || !onPrevious },
|
|
2909
|
+
style: [styles10.navButton, (atStart || !onPrevious) && styles10.navDisabled],
|
|
2910
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: ICON_SIZE4, color: colors.white, strokeWidth: 2 })
|
|
2911
|
+
}
|
|
2912
|
+
),
|
|
2913
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles10.label, children: label }),
|
|
2914
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2915
|
+
reactNative.Pressable,
|
|
2916
|
+
{
|
|
2917
|
+
onPress: onNext,
|
|
2918
|
+
disabled: atEnd || !onNext,
|
|
2919
|
+
hitSlop: 4,
|
|
2920
|
+
accessibilityRole: "button",
|
|
2921
|
+
accessibilityLabel: nextAccessibilityLabel,
|
|
2922
|
+
accessibilityState: { disabled: atEnd || !onNext },
|
|
2923
|
+
style: [styles10.navButton, (atEnd || !onNext) && styles10.navDisabled],
|
|
2924
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles10.chevronRight, children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: ICON_SIZE4, color: colors.white, strokeWidth: 2 }) })
|
|
2925
|
+
}
|
|
2926
|
+
)
|
|
2927
|
+
]
|
|
2928
|
+
}
|
|
2929
|
+
);
|
|
2930
|
+
});
|
|
2931
|
+
var webBlurStyle4 = reactNative.Platform.OS === "web" ? {
|
|
2932
|
+
backdropFilter: "blur(50px)",
|
|
2933
|
+
WebkitBackdropFilter: "blur(50px)"
|
|
2934
|
+
} : {};
|
|
2935
|
+
var styles10 = reactNative.StyleSheet.create({
|
|
2936
|
+
root: {
|
|
2937
|
+
width: WIDTH,
|
|
2938
|
+
height: HEIGHT,
|
|
2939
|
+
flexDirection: "row",
|
|
2940
|
+
alignItems: "center",
|
|
2941
|
+
justifyContent: "center",
|
|
2942
|
+
gap: 12,
|
|
2943
|
+
padding: 12,
|
|
2944
|
+
borderRadius: 77,
|
|
2945
|
+
backgroundColor: colors.whiteAlpha6,
|
|
2946
|
+
overflow: "hidden"
|
|
2947
|
+
},
|
|
2948
|
+
navButton: {
|
|
2949
|
+
width: ICON_SIZE4,
|
|
2950
|
+
height: ICON_SIZE4,
|
|
2951
|
+
alignItems: "center",
|
|
2952
|
+
justifyContent: "center"
|
|
2953
|
+
},
|
|
2954
|
+
navDisabled: {
|
|
2955
|
+
opacity: 0.35
|
|
2956
|
+
},
|
|
2957
|
+
chevronRight: {
|
|
2958
|
+
transform: [{ scaleX: -1 }]
|
|
2959
|
+
},
|
|
2960
|
+
label: {
|
|
2961
|
+
fontFamily: fonts.sans,
|
|
2962
|
+
fontSize: 16,
|
|
2963
|
+
fontWeight: "700",
|
|
2964
|
+
lineHeight: 16,
|
|
2965
|
+
letterSpacing: 0,
|
|
2966
|
+
color: colors.white,
|
|
2967
|
+
textAlign: "center"
|
|
2968
|
+
}
|
|
2969
|
+
});
|
|
2803
2970
|
var ICON_SLOT = 36;
|
|
2804
|
-
var
|
|
2971
|
+
var ICON_SIZE5 = 20;
|
|
2805
2972
|
var InfoTile = react.forwardRef(function InfoTile2({
|
|
2806
2973
|
title,
|
|
2807
2974
|
description,
|
|
2808
2975
|
icon: Icon2,
|
|
2809
2976
|
iconProps,
|
|
2810
|
-
iconSize =
|
|
2977
|
+
iconSize = ICON_SIZE5,
|
|
2811
2978
|
iconSlotBackgroundColor = colors.grey600,
|
|
2812
2979
|
style,
|
|
2813
2980
|
className,
|
|
@@ -2825,18 +2992,18 @@ var InfoTile = react.forwardRef(function InfoTile2({
|
|
|
2825
2992
|
ref: setContainerRef,
|
|
2826
2993
|
accessibilityRole: "text",
|
|
2827
2994
|
accessibilityLabel: accessibilityLabel ?? (hasDescription ? `${title}. ${description}` : title),
|
|
2828
|
-
style: [
|
|
2995
|
+
style: [styles11.root, style],
|
|
2829
2996
|
children: [
|
|
2830
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
2831
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
2832
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
2833
|
-
hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
2997
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles11.iconSlot, { backgroundColor: iconSlotBackgroundColor }], children: /* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }) }),
|
|
2998
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles11.textBlock, children: [
|
|
2999
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles11.title, children: title }),
|
|
3000
|
+
hasDescription ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles11.description, children: description }) : null
|
|
2834
3001
|
] })
|
|
2835
3002
|
]
|
|
2836
3003
|
}
|
|
2837
3004
|
);
|
|
2838
3005
|
});
|
|
2839
|
-
var
|
|
3006
|
+
var styles11 = reactNative.StyleSheet.create({
|
|
2840
3007
|
root: {
|
|
2841
3008
|
flexDirection: "row",
|
|
2842
3009
|
alignItems: "center",
|
|
@@ -2883,7 +3050,7 @@ var ROW_GAP = 12;
|
|
|
2883
3050
|
var CONNECTOR_WIDTH = 2;
|
|
2884
3051
|
var CONNECTOR_HEIGHT = 19;
|
|
2885
3052
|
var CONNECTOR_GAP = 8;
|
|
2886
|
-
var
|
|
3053
|
+
var webBlurStyle5 = reactNative.Platform.OS === "web" ? {
|
|
2887
3054
|
backdropFilter: "blur(20px)",
|
|
2888
3055
|
WebkitBackdropFilter: "blur(20px)"
|
|
2889
3056
|
} : {};
|
|
@@ -2901,18 +3068,18 @@ var StepList = react.forwardRef(function StepList2({ steps, style, className, ac
|
|
|
2901
3068
|
ref: setContainerRef,
|
|
2902
3069
|
accessibilityRole: "summary",
|
|
2903
3070
|
accessibilityLabel,
|
|
2904
|
-
style: [
|
|
3071
|
+
style: [styles12.root, style],
|
|
2905
3072
|
children: steps.map((description, index) => {
|
|
2906
3073
|
const isLast = index === steps.length - 1;
|
|
2907
3074
|
const number = index + 1;
|
|
2908
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
2909
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
2910
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
3075
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles12.stepBlock, children: [
|
|
3076
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles12.row, children: [
|
|
3077
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles12.badge, webBlurStyle5], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2911
3078
|
reactNative.Text,
|
|
2912
3079
|
{
|
|
2913
3080
|
style: [
|
|
2914
|
-
|
|
2915
|
-
reactNative.Platform.OS === "android" ?
|
|
3081
|
+
styles12.badgeLabel,
|
|
3082
|
+
reactNative.Platform.OS === "android" ? styles12.labelAndroid : null
|
|
2916
3083
|
],
|
|
2917
3084
|
children: String(number)
|
|
2918
3085
|
}
|
|
@@ -2920,18 +3087,18 @@ var StepList = react.forwardRef(function StepList2({ steps, style, className, ac
|
|
|
2920
3087
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2921
3088
|
reactNative.Text,
|
|
2922
3089
|
{
|
|
2923
|
-
style: [
|
|
3090
|
+
style: [styles12.description, reactNative.Platform.OS === "android" ? styles12.labelAndroid : null],
|
|
2924
3091
|
children: description
|
|
2925
3092
|
}
|
|
2926
3093
|
)
|
|
2927
3094
|
] }),
|
|
2928
|
-
!isLast ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3095
|
+
!isLast ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles12.connectorSlot, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles12.connector }) }) : null
|
|
2929
3096
|
] }, `${number}-${description}`);
|
|
2930
3097
|
})
|
|
2931
3098
|
}
|
|
2932
3099
|
);
|
|
2933
3100
|
});
|
|
2934
|
-
var
|
|
3101
|
+
var styles12 = reactNative.StyleSheet.create({
|
|
2935
3102
|
root: {
|
|
2936
3103
|
width: "100%"
|
|
2937
3104
|
},
|
|
@@ -2989,7 +3156,7 @@ var styles11 = reactNative.StyleSheet.create({
|
|
|
2989
3156
|
}
|
|
2990
3157
|
});
|
|
2991
3158
|
var BUTTON_SIZE = 32;
|
|
2992
|
-
var
|
|
3159
|
+
var webBlurStyle6 = reactNative.Platform.OS === "web" ? {
|
|
2993
3160
|
backdropFilter: "blur(20px)",
|
|
2994
3161
|
WebkitBackdropFilter: "blur(20px)"
|
|
2995
3162
|
} : {};
|
|
@@ -3026,7 +3193,7 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
3026
3193
|
if (!isControlled) setUncontrolledValue(next);
|
|
3027
3194
|
onValueChange?.(next);
|
|
3028
3195
|
};
|
|
3029
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [
|
|
3196
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [styles13.base, style], children: [
|
|
3030
3197
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3031
3198
|
reactNative.Pressable,
|
|
3032
3199
|
{
|
|
@@ -3036,11 +3203,11 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
3036
3203
|
accessibilityRole: "button",
|
|
3037
3204
|
accessibilityLabel: "Decrease value",
|
|
3038
3205
|
accessibilityState: { disabled: decrementDisabled },
|
|
3039
|
-
style: [
|
|
3206
|
+
style: [styles13.button, webBlurStyle6, decrementDisabled && styles13.buttonDisabled],
|
|
3040
3207
|
children: /* @__PURE__ */ jsxRuntime.jsx(MinusIcon, {})
|
|
3041
3208
|
}
|
|
3042
3209
|
),
|
|
3043
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
3210
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles13.value, children: resolvedValue }),
|
|
3044
3211
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3045
3212
|
reactNative.Pressable,
|
|
3046
3213
|
{
|
|
@@ -3050,13 +3217,13 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
3050
3217
|
accessibilityRole: "button",
|
|
3051
3218
|
accessibilityLabel: "Increase value",
|
|
3052
3219
|
accessibilityState: { disabled: incrementDisabled },
|
|
3053
|
-
style: [
|
|
3220
|
+
style: [styles13.button, webBlurStyle6, incrementDisabled && styles13.buttonDisabled],
|
|
3054
3221
|
children: /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, {})
|
|
3055
3222
|
}
|
|
3056
3223
|
)
|
|
3057
3224
|
] });
|
|
3058
3225
|
});
|
|
3059
|
-
var
|
|
3226
|
+
var styles13 = reactNative.StyleSheet.create({
|
|
3060
3227
|
base: {
|
|
3061
3228
|
flexDirection: "row",
|
|
3062
3229
|
alignItems: "center",
|
|
@@ -3080,7 +3247,7 @@ var styles12 = reactNative.StyleSheet.create({
|
|
|
3080
3247
|
color: colors.white
|
|
3081
3248
|
}
|
|
3082
3249
|
});
|
|
3083
|
-
var
|
|
3250
|
+
var ICON_SIZE6 = 20;
|
|
3084
3251
|
var ANIMATION_DURATION = 200;
|
|
3085
3252
|
var OPTION_HORIZONTAL_PADDING = 16;
|
|
3086
3253
|
var OPTION_CONTENT_GAP = 12;
|
|
@@ -3176,9 +3343,9 @@ var SegmentedToggle = react.forwardRef(
|
|
|
3176
3343
|
onLayout?.(event);
|
|
3177
3344
|
},
|
|
3178
3345
|
style: [
|
|
3179
|
-
|
|
3180
|
-
fullWidth ?
|
|
3181
|
-
disabled &&
|
|
3346
|
+
styles14.base,
|
|
3347
|
+
fullWidth ? styles14.fullWidth : styles14.contentWidth,
|
|
3348
|
+
disabled && styles14.disabled,
|
|
3182
3349
|
style
|
|
3183
3350
|
],
|
|
3184
3351
|
accessibilityRole: "radiogroup",
|
|
@@ -3199,10 +3366,10 @@ var SegmentedToggle = react.forwardRef(
|
|
|
3199
3366
|
return nextWidths;
|
|
3200
3367
|
});
|
|
3201
3368
|
},
|
|
3202
|
-
style:
|
|
3369
|
+
style: styles14.optionMeasurement,
|
|
3203
3370
|
children: [
|
|
3204
|
-
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size:
|
|
3205
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3371
|
+
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE6 }) : null,
|
|
3372
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.label, styles14.contentWidthLabel], children: label })
|
|
3206
3373
|
]
|
|
3207
3374
|
},
|
|
3208
3375
|
`${optionValue}-measurement`
|
|
@@ -3212,7 +3379,7 @@ var SegmentedToggle = react.forwardRef(
|
|
|
3212
3379
|
{
|
|
3213
3380
|
pointerEvents: "none",
|
|
3214
3381
|
style: [
|
|
3215
|
-
|
|
3382
|
+
styles14.activeIndicator,
|
|
3216
3383
|
{ width: selectedOptionWidth, transform: [{ translateX: indicatorTranslateX }] }
|
|
3217
3384
|
]
|
|
3218
3385
|
}
|
|
@@ -3232,18 +3399,18 @@ var SegmentedToggle = react.forwardRef(
|
|
|
3232
3399
|
accessibilityLabel: label,
|
|
3233
3400
|
accessibilityState: { selected, disabled },
|
|
3234
3401
|
style: [
|
|
3235
|
-
|
|
3236
|
-
fullWidth ?
|
|
3402
|
+
styles14.option,
|
|
3403
|
+
fullWidth ? styles14.optionFullWidth : [styles14.optionContentWidth, optionWidth > 0 && { width: optionWidth }]
|
|
3237
3404
|
],
|
|
3238
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
3239
|
-
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size:
|
|
3405
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles14.optionContent, children: [
|
|
3406
|
+
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE6, color: iconColor }) : null,
|
|
3240
3407
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3241
3408
|
reactNative.Text,
|
|
3242
3409
|
{
|
|
3243
3410
|
numberOfLines: fullWidth ? 1 : void 0,
|
|
3244
3411
|
style: [
|
|
3245
|
-
|
|
3246
|
-
!fullWidth &&
|
|
3412
|
+
styles14.label,
|
|
3413
|
+
!fullWidth && styles14.contentWidthLabel,
|
|
3247
3414
|
{ color: labelColor }
|
|
3248
3415
|
],
|
|
3249
3416
|
children: label
|
|
@@ -3259,7 +3426,7 @@ var SegmentedToggle = react.forwardRef(
|
|
|
3259
3426
|
);
|
|
3260
3427
|
}
|
|
3261
3428
|
);
|
|
3262
|
-
var
|
|
3429
|
+
var styles14 = reactNative.StyleSheet.create({
|
|
3263
3430
|
base: {
|
|
3264
3431
|
height: 44,
|
|
3265
3432
|
flexDirection: "row",
|
|
@@ -3344,6 +3511,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
3344
3511
|
collapsed: collapsedProp,
|
|
3345
3512
|
defaultCollapsed = false,
|
|
3346
3513
|
onCollapsedChange,
|
|
3514
|
+
showCollapseToggle = true,
|
|
3347
3515
|
style,
|
|
3348
3516
|
className,
|
|
3349
3517
|
...rest
|
|
@@ -3384,53 +3552,63 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
3384
3552
|
{
|
|
3385
3553
|
...rest,
|
|
3386
3554
|
ref: setContainerRef,
|
|
3387
|
-
style: [
|
|
3555
|
+
style: [styles15.root, { width: widthAnim }, style],
|
|
3388
3556
|
accessibilityRole: "menu",
|
|
3389
3557
|
children: [
|
|
3390
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3558
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3559
|
+
reactNative.View,
|
|
3560
|
+
{
|
|
3561
|
+
style: [
|
|
3562
|
+
styles15.header,
|
|
3563
|
+
collapsed ? styles15.headerCollapsed : styles15.headerExpanded,
|
|
3564
|
+
!showCollapseToggle ? styles15.headerNoToggle : null
|
|
3565
|
+
],
|
|
3566
|
+
children: [
|
|
3567
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3568
|
+
reactNative.Animated.View,
|
|
3397
3569
|
{
|
|
3398
|
-
|
|
3399
|
-
|
|
3570
|
+
pointerEvents: collapsed ? "none" : "auto",
|
|
3571
|
+
style: [
|
|
3572
|
+
styles15.logoSlot,
|
|
3573
|
+
{
|
|
3574
|
+
opacity: labelOpacity,
|
|
3575
|
+
maxWidth: collapsed ? 0 : LOGO_WIDTH
|
|
3576
|
+
}
|
|
3577
|
+
],
|
|
3578
|
+
accessibilityElementsHidden: collapsed,
|
|
3579
|
+
importantForAccessibility: collapsed ? "no-hide-descendants" : "auto",
|
|
3580
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3581
|
+
BrandLogo,
|
|
3582
|
+
{
|
|
3583
|
+
accessibilityLabel: logoAccessibilityLabel,
|
|
3584
|
+
height: LOGO_HEIGHT,
|
|
3585
|
+
variant: "brand",
|
|
3586
|
+
width: LOGO_WIDTH
|
|
3587
|
+
}
|
|
3588
|
+
)
|
|
3400
3589
|
}
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3405
|
-
BrandLogo,
|
|
3590
|
+
),
|
|
3591
|
+
showCollapseToggle ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3592
|
+
reactNative.Pressable,
|
|
3406
3593
|
{
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3594
|
+
accessibilityRole: "button",
|
|
3595
|
+
accessibilityLabel: collapsed ? expandAccessibilityLabel : collapseAccessibilityLabel,
|
|
3596
|
+
accessibilityState: { expanded: !collapsed },
|
|
3597
|
+
hitSlop: 8,
|
|
3598
|
+
onPress: () => setCollapsed(!collapsed),
|
|
3599
|
+
style: styles15.toggleButton,
|
|
3600
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(SidebarIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
3411
3601
|
}
|
|
3412
|
-
)
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
reactNative.Pressable,
|
|
3417
|
-
{
|
|
3418
|
-
accessibilityRole: "button",
|
|
3419
|
-
accessibilityLabel: collapsed ? expandAccessibilityLabel : collapseAccessibilityLabel,
|
|
3420
|
-
accessibilityState: { expanded: !collapsed },
|
|
3421
|
-
hitSlop: 8,
|
|
3422
|
-
onPress: () => setCollapsed(!collapsed),
|
|
3423
|
-
style: styles14.toggleButton,
|
|
3424
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(SidebarIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
3425
|
-
}
|
|
3426
|
-
)
|
|
3427
|
-
] }),
|
|
3602
|
+
) : null
|
|
3603
|
+
]
|
|
3604
|
+
}
|
|
3605
|
+
),
|
|
3428
3606
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3429
3607
|
reactNative.View,
|
|
3430
3608
|
{
|
|
3431
3609
|
accessibilityLabel: navigationAccessibilityLabel,
|
|
3432
3610
|
accessibilityRole: "menu",
|
|
3433
|
-
style:
|
|
3611
|
+
style: styles15.nav,
|
|
3434
3612
|
children: items.map((item) => {
|
|
3435
3613
|
const isActive = Boolean(item.active);
|
|
3436
3614
|
const iconColor = isActive ? colors.primary : colors.grey300;
|
|
@@ -3446,18 +3624,18 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
3446
3624
|
hoverColor: colors.grey700,
|
|
3447
3625
|
onPress: item.onPress,
|
|
3448
3626
|
labelStyle: [
|
|
3449
|
-
|
|
3627
|
+
styles15.menuLabel,
|
|
3450
3628
|
{ color: isActive ? colors.white : colors.grey200 },
|
|
3451
|
-
collapsed ?
|
|
3629
|
+
collapsed ? styles15.menuLabelCollapsed : styles15.menuLabelExpanded
|
|
3452
3630
|
],
|
|
3453
|
-
style: [
|
|
3631
|
+
style: [styles15.menuItem, collapsed ? styles15.menuItemCollapsed : null]
|
|
3454
3632
|
},
|
|
3455
3633
|
item.key
|
|
3456
3634
|
);
|
|
3457
3635
|
})
|
|
3458
3636
|
}
|
|
3459
3637
|
),
|
|
3460
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
3638
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles15.footer, collapsed ? styles15.footerCollapsed : styles15.footerExpanded], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3461
3639
|
AvatarSimple,
|
|
3462
3640
|
{
|
|
3463
3641
|
name: user.name,
|
|
@@ -3472,7 +3650,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
3472
3650
|
}
|
|
3473
3651
|
);
|
|
3474
3652
|
});
|
|
3475
|
-
var
|
|
3653
|
+
var styles15 = reactNative.StyleSheet.create({
|
|
3476
3654
|
root: {
|
|
3477
3655
|
flexDirection: "column",
|
|
3478
3656
|
alignSelf: "stretch",
|
|
@@ -3498,6 +3676,9 @@ var styles14 = reactNative.StyleSheet.create({
|
|
|
3498
3676
|
justifyContent: "space-between",
|
|
3499
3677
|
paddingHorizontal: 24
|
|
3500
3678
|
},
|
|
3679
|
+
headerNoToggle: {
|
|
3680
|
+
justifyContent: "flex-start"
|
|
3681
|
+
},
|
|
3501
3682
|
headerCollapsed: {
|
|
3502
3683
|
justifyContent: "center",
|
|
3503
3684
|
paddingHorizontal: 0
|
|
@@ -3574,7 +3755,7 @@ var defaultLanguageOptions = [
|
|
|
3574
3755
|
];
|
|
3575
3756
|
var CONTROL_WIDTH = 90;
|
|
3576
3757
|
var CONTROL_HEIGHT = 35;
|
|
3577
|
-
var
|
|
3758
|
+
var ICON_SIZE7 = 16;
|
|
3578
3759
|
var LanguageSwitcher = react.forwardRef(
|
|
3579
3760
|
function LanguageSwitcher2({
|
|
3580
3761
|
options = defaultLanguageOptions,
|
|
@@ -3654,7 +3835,7 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
3654
3835
|
{
|
|
3655
3836
|
...rest,
|
|
3656
3837
|
ref: setWrapperRef,
|
|
3657
|
-
style: [
|
|
3838
|
+
style: [styles16.wrapper, isOpen && styles16.wrapperOpen, disabled && styles16.disabled, style],
|
|
3658
3839
|
children: [
|
|
3659
3840
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3660
3841
|
reactNative.Pressable,
|
|
@@ -3669,17 +3850,17 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
3669
3850
|
onHoverIn: () => setTriggerHovered(true),
|
|
3670
3851
|
onHoverOut: () => setTriggerHovered(false),
|
|
3671
3852
|
style: ({ pressed }) => [
|
|
3672
|
-
|
|
3673
|
-
(triggerHovered || pressed || isOpen) &&
|
|
3853
|
+
styles16.trigger,
|
|
3854
|
+
(triggerHovered || pressed || isOpen) && styles16.triggerActive
|
|
3674
3855
|
],
|
|
3675
3856
|
children: [
|
|
3676
|
-
/* @__PURE__ */ jsxRuntime.jsx(GlobeIcon, { size:
|
|
3677
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
3678
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
3857
|
+
/* @__PURE__ */ jsxRuntime.jsx(GlobeIcon, { size: ICON_SIZE7, color: colors.white, strokeWidth: 2 }),
|
|
3858
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles16.triggerLabel, numberOfLines: 1, children: selectedOption?.label ?? "" }),
|
|
3859
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.chevron, isOpen && styles16.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: ICON_SIZE7, color: colors.white, strokeWidth: 2 }) })
|
|
3679
3860
|
]
|
|
3680
3861
|
}
|
|
3681
3862
|
),
|
|
3682
|
-
isOpen && options.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
3863
|
+
isOpen && options.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.menu, accessibilityRole: "menu", children: options.map((option) => {
|
|
3683
3864
|
const selected = option.value === selectedValue;
|
|
3684
3865
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3685
3866
|
reactNative.Pressable,
|
|
@@ -3691,10 +3872,10 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
3691
3872
|
onHoverIn: () => setHoveredValue(option.value),
|
|
3692
3873
|
onHoverOut: () => setHoveredValue(null),
|
|
3693
3874
|
style: ({ pressed }) => [
|
|
3694
|
-
|
|
3695
|
-
selected ?
|
|
3875
|
+
styles16.item,
|
|
3876
|
+
selected ? styles16.itemSelected : (hoveredValue === option.value || pressed) && styles16.itemHovered
|
|
3696
3877
|
],
|
|
3697
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
3878
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.itemLabel, selected && styles16.itemLabelSelected], children: option.label })
|
|
3698
3879
|
},
|
|
3699
3880
|
option.value
|
|
3700
3881
|
);
|
|
@@ -3704,7 +3885,7 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
3704
3885
|
);
|
|
3705
3886
|
}
|
|
3706
3887
|
);
|
|
3707
|
-
var
|
|
3888
|
+
var styles16 = reactNative.StyleSheet.create({
|
|
3708
3889
|
wrapper: {
|
|
3709
3890
|
position: "relative",
|
|
3710
3891
|
width: CONTROL_WIDTH,
|
|
@@ -3737,8 +3918,8 @@ var styles15 = reactNative.StyleSheet.create({
|
|
|
3737
3918
|
color: colors.white
|
|
3738
3919
|
},
|
|
3739
3920
|
chevron: {
|
|
3740
|
-
width:
|
|
3741
|
-
height:
|
|
3921
|
+
width: ICON_SIZE7,
|
|
3922
|
+
height: ICON_SIZE7,
|
|
3742
3923
|
flexShrink: 0,
|
|
3743
3924
|
alignItems: "center",
|
|
3744
3925
|
justifyContent: "center"
|
|
@@ -3780,12 +3961,12 @@ var styles15 = reactNative.StyleSheet.create({
|
|
|
3780
3961
|
color: colors.primary
|
|
3781
3962
|
}
|
|
3782
3963
|
});
|
|
3783
|
-
var
|
|
3964
|
+
var ICON_SIZE8 = 25.63181;
|
|
3784
3965
|
var StatCard = react.forwardRef(function StatCard2({
|
|
3785
3966
|
label,
|
|
3786
3967
|
icon: Icon2,
|
|
3787
3968
|
iconProps,
|
|
3788
|
-
iconSize =
|
|
3969
|
+
iconSize = ICON_SIZE8,
|
|
3789
3970
|
style,
|
|
3790
3971
|
className,
|
|
3791
3972
|
accessibilityLabel,
|
|
@@ -3800,17 +3981,17 @@ var StatCard = react.forwardRef(function StatCard2({
|
|
|
3800
3981
|
{
|
|
3801
3982
|
...rest,
|
|
3802
3983
|
ref: setContainerRef,
|
|
3803
|
-
style: [
|
|
3984
|
+
style: [styles17.base, style],
|
|
3804
3985
|
accessibilityRole: "text",
|
|
3805
3986
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
3806
3987
|
children: [
|
|
3807
3988
|
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }),
|
|
3808
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
3989
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles17.label, children: label })
|
|
3809
3990
|
]
|
|
3810
3991
|
}
|
|
3811
3992
|
);
|
|
3812
3993
|
});
|
|
3813
|
-
var
|
|
3994
|
+
var styles17 = reactNative.StyleSheet.create({
|
|
3814
3995
|
base: {
|
|
3815
3996
|
width: 204.5,
|
|
3816
3997
|
minHeight: 114,
|
|
@@ -3897,7 +4078,7 @@ var Button = react.forwardRef(
|
|
|
3897
4078
|
useApplyWebClassName(textRef, textClassName);
|
|
3898
4079
|
const iconNode = customIcon ?? /* @__PURE__ */ jsxRuntime.jsx(ArrowRightIcon, { size: metrics.iconSize, color: preset.iconColor });
|
|
3899
4080
|
const containerStyle = [
|
|
3900
|
-
|
|
4081
|
+
styles18.base,
|
|
3901
4082
|
{
|
|
3902
4083
|
minHeight: metrics.minHeight,
|
|
3903
4084
|
borderRadius: metrics.borderRadius,
|
|
@@ -3908,16 +4089,16 @@ var Button = react.forwardRef(
|
|
|
3908
4089
|
paddingRight: hasIcon ? metrics.paddingRightWithIcon : metrics.paddingRight,
|
|
3909
4090
|
gap: hasIcon ? metrics.gap : 0
|
|
3910
4091
|
},
|
|
3911
|
-
hasIcon ?
|
|
3912
|
-
disabled &&
|
|
4092
|
+
hasIcon ? styles18.contentWithIcon : styles18.contentWithoutIcon,
|
|
4093
|
+
disabled && styles18.disabled,
|
|
3913
4094
|
style
|
|
3914
4095
|
];
|
|
3915
4096
|
const labelStyle = [
|
|
3916
|
-
|
|
4097
|
+
styles18.label,
|
|
3917
4098
|
metrics.text,
|
|
3918
4099
|
{ color: preset.textColor },
|
|
3919
|
-
reactNative.Platform.OS === "android" ?
|
|
3920
|
-
!hasIcon &&
|
|
4100
|
+
reactNative.Platform.OS === "android" ? styles18.labelAndroid : null,
|
|
4101
|
+
!hasIcon && styles18.labelCentered,
|
|
3921
4102
|
textStyle
|
|
3922
4103
|
];
|
|
3923
4104
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -3938,7 +4119,7 @@ var Button = react.forwardRef(
|
|
|
3938
4119
|
reactNative.View,
|
|
3939
4120
|
{
|
|
3940
4121
|
style: [
|
|
3941
|
-
|
|
4122
|
+
styles18.iconContainer,
|
|
3942
4123
|
{
|
|
3943
4124
|
width: metrics.iconContainerSize,
|
|
3944
4125
|
height: metrics.iconContainerSize,
|
|
@@ -3954,7 +4135,7 @@ var Button = react.forwardRef(
|
|
|
3954
4135
|
);
|
|
3955
4136
|
}
|
|
3956
4137
|
);
|
|
3957
|
-
var
|
|
4138
|
+
var styles18 = reactNative.StyleSheet.create({
|
|
3958
4139
|
base: {
|
|
3959
4140
|
flexDirection: "row",
|
|
3960
4141
|
alignItems: "center",
|
|
@@ -4038,13 +4219,13 @@ var Checkbox = react.forwardRef(function Checkbox2({
|
|
|
4038
4219
|
accessibilityRole: "checkbox",
|
|
4039
4220
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
4040
4221
|
accessibilityState: { checked: isActive, disabled },
|
|
4041
|
-
style: [
|
|
4222
|
+
style: [styles19.root, disabled && styles19.disabled, style],
|
|
4042
4223
|
children: [
|
|
4043
4224
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4044
4225
|
reactNative.View,
|
|
4045
4226
|
{
|
|
4046
4227
|
style: [
|
|
4047
|
-
|
|
4228
|
+
styles19.box,
|
|
4048
4229
|
{
|
|
4049
4230
|
backgroundColor: chrome.backgroundColor,
|
|
4050
4231
|
borderColor: chrome.borderColor
|
|
@@ -4053,12 +4234,12 @@ var Checkbox = react.forwardRef(function Checkbox2({
|
|
|
4053
4234
|
children: isActive ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { size: CHECK_SIZE, color: colors.primary, strokeWidth: CHECK_STROKE }) : null
|
|
4054
4235
|
}
|
|
4055
4236
|
),
|
|
4056
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4237
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles19.label, labelStyle], children: labelContent }) : labelContent : null
|
|
4057
4238
|
]
|
|
4058
4239
|
}
|
|
4059
4240
|
);
|
|
4060
4241
|
});
|
|
4061
|
-
var
|
|
4242
|
+
var styles19 = reactNative.StyleSheet.create({
|
|
4062
4243
|
root: {
|
|
4063
4244
|
flexDirection: "row",
|
|
4064
4245
|
alignItems: "center",
|
|
@@ -4175,7 +4356,7 @@ var RANGE_TRIGGER_WIDTH = 382;
|
|
|
4175
4356
|
var TRIGGER_HEIGHT = 44;
|
|
4176
4357
|
var TRIGGER_RADIUS = 60;
|
|
4177
4358
|
var MENU_RADIUS2 = 20;
|
|
4178
|
-
var
|
|
4359
|
+
var ICON_SIZE9 = 20;
|
|
4179
4360
|
var NAV_ICON_SIZE = 20;
|
|
4180
4361
|
var DAY_CELL_HEIGHT = 44;
|
|
4181
4362
|
var DAY_CIRCLE_SIZE = 44;
|
|
@@ -4184,13 +4365,13 @@ function RangeTriggerField({
|
|
|
4184
4365
|
value,
|
|
4185
4366
|
time
|
|
4186
4367
|
}) {
|
|
4187
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4188
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
4189
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4190
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
4191
|
-
time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
4368
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.rangeField, children: [
|
|
4369
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles20.rangeLabel, children: label }),
|
|
4370
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.rangeValueRow, children: [
|
|
4371
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles20.rangeDate, children: value }),
|
|
4372
|
+
time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.rangeTimeWrap, children: [
|
|
4192
4373
|
/* @__PURE__ */ jsxRuntime.jsx(ClockFilledIcon, { color: colors.lightGrey, size: 16 }),
|
|
4193
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
4374
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles20.rangeTime, children: time })
|
|
4194
4375
|
] }) : null
|
|
4195
4376
|
] })
|
|
4196
4377
|
] });
|
|
@@ -4219,6 +4400,7 @@ var DatePicker = react.forwardRef(
|
|
|
4219
4400
|
formatValue: formatValueProp,
|
|
4220
4401
|
weekStartsOn = 1,
|
|
4221
4402
|
calendarStyle,
|
|
4403
|
+
hideTrigger = false,
|
|
4222
4404
|
style,
|
|
4223
4405
|
className,
|
|
4224
4406
|
accessibilityLabel,
|
|
@@ -4247,9 +4429,16 @@ var DatePicker = react.forwardRef(
|
|
|
4247
4429
|
);
|
|
4248
4430
|
const [uncontrolledOpen, setUncontrolledOpen] = react.useState(defaultOpen);
|
|
4249
4431
|
const [hoveredDayKey, setHoveredDayKey] = react.useState(null);
|
|
4432
|
+
const [menuAlignEnd, setMenuAlignEnd] = react.useState(false);
|
|
4250
4433
|
const rangeValue = isRange ? isValueControlled ? valueProp ?? EMPTY_RANGE : uncontrolledRange : EMPTY_RANGE;
|
|
4251
4434
|
const singleValue = !isRange ? isValueControlled ? valueProp ?? null : uncontrolledSingle : null;
|
|
4252
4435
|
const isOpen = isOpenControlled ? openProp : uncontrolledOpen;
|
|
4436
|
+
const defaultMenuWidth = usesRangeTrigger ? RANGE_TRIGGER_WIDTH : DEFAULT_WIDTH;
|
|
4437
|
+
const resolvedMenuWidth = react.useMemo(() => {
|
|
4438
|
+
const flat = reactNative.StyleSheet.flatten(calendarStyle);
|
|
4439
|
+
const width = flat?.width;
|
|
4440
|
+
return typeof width === "number" ? width : defaultMenuWidth;
|
|
4441
|
+
}, [calendarStyle, defaultMenuWidth]);
|
|
4253
4442
|
const [visibleMonth, setVisibleMonth] = react.useState(() => {
|
|
4254
4443
|
const anchor = defaultVisibleMonth ?? (isRange ? rangeValue.start : singleValue) ?? /* @__PURE__ */ new Date();
|
|
4255
4444
|
return new Date(anchor.getFullYear(), anchor.getMonth(), 1);
|
|
@@ -4264,10 +4453,25 @@ var DatePicker = react.forwardRef(
|
|
|
4264
4453
|
setVisibleMonth(new Date(anchor.getFullYear(), anchor.getMonth(), 1));
|
|
4265
4454
|
} else {
|
|
4266
4455
|
setHoveredDayKey(null);
|
|
4456
|
+
setMenuAlignEnd(false);
|
|
4267
4457
|
}
|
|
4268
4458
|
},
|
|
4269
4459
|
[isOpenControlled, isRange, onOpenChange, rangeValue.start, singleValue]
|
|
4270
4460
|
);
|
|
4461
|
+
react.useLayoutEffect(() => {
|
|
4462
|
+
if (reactNative.Platform.OS !== "web" || !isOpen || hideTrigger) return;
|
|
4463
|
+
const updateMenuAlign = () => {
|
|
4464
|
+
const trigger = triggerRef.current;
|
|
4465
|
+
const rect = trigger?.getBoundingClientRect?.();
|
|
4466
|
+
if (!rect) return;
|
|
4467
|
+
const viewportPadding = 8;
|
|
4468
|
+
const overflowsRight = rect.left + resolvedMenuWidth > window.innerWidth - viewportPadding;
|
|
4469
|
+
setMenuAlignEnd(overflowsRight);
|
|
4470
|
+
};
|
|
4471
|
+
updateMenuAlign();
|
|
4472
|
+
window.addEventListener("resize", updateMenuAlign);
|
|
4473
|
+
return () => window.removeEventListener("resize", updateMenuAlign);
|
|
4474
|
+
}, [hideTrigger, isOpen, resolvedMenuWidth]);
|
|
4271
4475
|
react.useEffect(() => {
|
|
4272
4476
|
if (reactNative.Platform.OS !== "web" || !isOpen) return;
|
|
4273
4477
|
const handlePointerDown = (event) => {
|
|
@@ -4357,15 +4561,16 @@ var DatePicker = react.forwardRef(
|
|
|
4357
4561
|
...rest,
|
|
4358
4562
|
ref: setRootRef,
|
|
4359
4563
|
style: [
|
|
4360
|
-
|
|
4361
|
-
usesRangeTrigger &&
|
|
4362
|
-
|
|
4363
|
-
|
|
4564
|
+
styles20.root,
|
|
4565
|
+
usesRangeTrigger && styles20.rangeRoot,
|
|
4566
|
+
hideTrigger && styles20.rootHideTrigger,
|
|
4567
|
+
isOpen && styles20.rootOpen,
|
|
4568
|
+
disabled && styles20.disabled,
|
|
4364
4569
|
style
|
|
4365
4570
|
],
|
|
4366
4571
|
accessibilityState: { disabled, expanded: isOpen },
|
|
4367
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
4368
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4572
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles20.triggerWrap, isOpen && styles20.triggerWrapOpen], children: [
|
|
4573
|
+
hideTrigger ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
4369
4574
|
reactNative.Pressable,
|
|
4370
4575
|
{
|
|
4371
4576
|
ref: triggerRef,
|
|
@@ -4375,9 +4580,9 @@ var DatePicker = react.forwardRef(
|
|
|
4375
4580
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
4376
4581
|
accessibilityState: { disabled, expanded: isOpen },
|
|
4377
4582
|
style: [
|
|
4378
|
-
|
|
4379
|
-
usesRangeTrigger &&
|
|
4380
|
-
usesRangeTrigger && (usesVerticalRangeTrigger ?
|
|
4583
|
+
styles20.trigger,
|
|
4584
|
+
usesRangeTrigger && styles20.rangeTrigger,
|
|
4585
|
+
usesRangeTrigger && (usesVerticalRangeTrigger ? styles20.rangeTriggerVertical : styles20.rangeTriggerHorizontal),
|
|
4381
4586
|
{
|
|
4382
4587
|
borderColor: triggerBorderColor,
|
|
4383
4588
|
backgroundColor: usesRangeTrigger ? "transparent" : colors.grey700
|
|
@@ -4388,156 +4593,171 @@ var DatePicker = react.forwardRef(
|
|
|
4388
4593
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4389
4594
|
reactNative.View,
|
|
4390
4595
|
{
|
|
4391
|
-
style: usesVerticalRangeTrigger ?
|
|
4596
|
+
style: usesVerticalRangeTrigger ? styles20.rangeDividerVertical : styles20.rangeDividerHorizontal
|
|
4392
4597
|
}
|
|
4393
4598
|
),
|
|
4394
4599
|
/* @__PURE__ */ jsxRuntime.jsx(RangeTriggerField, { label: endLabel, time: endTime, value: endValue })
|
|
4395
4600
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4396
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
4397
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
4601
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles20.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: triggerLabel }),
|
|
4602
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles20.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(CalendarOutlineIcon, { size: ICON_SIZE9, color: colors.grey100 }) })
|
|
4398
4603
|
] })
|
|
4399
4604
|
}
|
|
4400
4605
|
),
|
|
4401
|
-
isOpen ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
{
|
|
4422
|
-
onPress: handleNextMonth,
|
|
4423
|
-
hitSlop: 8,
|
|
4424
|
-
accessibilityRole: "button",
|
|
4425
|
-
accessibilityLabel: "Next month",
|
|
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 }) })
|
|
4428
|
-
}
|
|
4429
|
-
)
|
|
4430
|
-
] }),
|
|
4431
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { children: [
|
|
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}`)) }),
|
|
4433
|
-
weeks.map((week, weekIndex) => {
|
|
4434
|
-
let rangeHighlightStyle = null;
|
|
4435
|
-
if (isRange && rangeValue.start && rangeValue.end) {
|
|
4436
|
-
const rangeIndices = week.reduce((acc, day, index) => {
|
|
4437
|
-
if (isWithinRange(day, rangeValue.start, rangeValue.end)) {
|
|
4438
|
-
acc.push(index);
|
|
4439
|
-
}
|
|
4440
|
-
return acc;
|
|
4441
|
-
}, []);
|
|
4442
|
-
if (rangeIndices.length > 0) {
|
|
4443
|
-
const first = rangeIndices[0];
|
|
4444
|
-
const last = rangeIndices[rangeIndices.length - 1];
|
|
4445
|
-
const startsHere = isSameDay(week[first], rangeValue.start);
|
|
4446
|
-
const endsHere = isSameDay(week[last], rangeValue.end);
|
|
4447
|
-
const cellPct = 100 / 7;
|
|
4448
|
-
const halfCellPct = cellPct / 2;
|
|
4449
|
-
let leftPct = first * cellPct;
|
|
4450
|
-
let widthPct = (last - first + 1) * cellPct;
|
|
4451
|
-
if (startsHere) {
|
|
4452
|
-
leftPct += halfCellPct;
|
|
4453
|
-
widthPct -= halfCellPct;
|
|
4454
|
-
}
|
|
4455
|
-
if (endsHere) {
|
|
4456
|
-
widthPct -= halfCellPct;
|
|
4606
|
+
isOpen ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4607
|
+
reactNative.View,
|
|
4608
|
+
{
|
|
4609
|
+
style: [
|
|
4610
|
+
styles20.menu,
|
|
4611
|
+
usesRangeTrigger && styles20.rangeMenu,
|
|
4612
|
+
hideTrigger ? styles20.menuInline : menuAlignEnd ? styles20.menuAlignEnd : styles20.menuAlignStart,
|
|
4613
|
+
calendarStyle
|
|
4614
|
+
],
|
|
4615
|
+
children: [
|
|
4616
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.calendarHeader, children: [
|
|
4617
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4618
|
+
reactNative.Pressable,
|
|
4619
|
+
{
|
|
4620
|
+
onPress: handlePrevMonth,
|
|
4621
|
+
hitSlop: 8,
|
|
4622
|
+
accessibilityRole: "button",
|
|
4623
|
+
accessibilityLabel: "Previous month",
|
|
4624
|
+
style: styles20.navButton,
|
|
4625
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white })
|
|
4457
4626
|
}
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4627
|
+
),
|
|
4628
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: styles20.monthHeading, children: [
|
|
4629
|
+
monthNames[visibleMonth.getMonth()],
|
|
4630
|
+
" ",
|
|
4631
|
+
visibleMonth.getFullYear()
|
|
4632
|
+
] }),
|
|
4633
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4634
|
+
reactNative.Pressable,
|
|
4635
|
+
{
|
|
4636
|
+
onPress: handleNextMonth,
|
|
4637
|
+
hitSlop: 8,
|
|
4638
|
+
accessibilityRole: "button",
|
|
4639
|
+
accessibilityLabel: "Next month",
|
|
4640
|
+
style: styles20.navButton,
|
|
4641
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles20.navIconMirror, children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white }) })
|
|
4463
4642
|
}
|
|
4464
|
-
|
|
4465
|
-
}
|
|
4466
|
-
|
|
4467
|
-
reactNative.View,
|
|
4468
|
-
{
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
pointerEvents: "none",
|
|
4475
|
-
style: [styles19.rangeHighlight, rangeHighlightStyle]
|
|
4643
|
+
)
|
|
4644
|
+
] }),
|
|
4645
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { children: [
|
|
4646
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles20.weekdayRow, children: weekdayLabels.map((weekdayLabel, index) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles20.dayCellWrap, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles20.weekdayText, children: weekdayLabel }) }, `${weekdayLabel}-${index}`)) }),
|
|
4647
|
+
weeks.map((week, weekIndex) => {
|
|
4648
|
+
let rangeHighlightStyle = null;
|
|
4649
|
+
if (isRange && rangeValue.start && rangeValue.end) {
|
|
4650
|
+
const rangeIndices = week.reduce((acc, day, index) => {
|
|
4651
|
+
if (isWithinRange(day, rangeValue.start, rangeValue.end)) {
|
|
4652
|
+
acc.push(index);
|
|
4476
4653
|
}
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
const
|
|
4481
|
-
const
|
|
4482
|
-
const
|
|
4483
|
-
const
|
|
4484
|
-
const
|
|
4485
|
-
const
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4654
|
+
return acc;
|
|
4655
|
+
}, []);
|
|
4656
|
+
if (rangeIndices.length > 0) {
|
|
4657
|
+
const first = rangeIndices[0];
|
|
4658
|
+
const last = rangeIndices[rangeIndices.length - 1];
|
|
4659
|
+
const startsHere = isSameDay(week[first], rangeValue.start);
|
|
4660
|
+
const endsHere = isSameDay(week[last], rangeValue.end);
|
|
4661
|
+
const cellPct = 100 / 7;
|
|
4662
|
+
const halfCellPct = cellPct / 2;
|
|
4663
|
+
let leftPct = first * cellPct;
|
|
4664
|
+
let widthPct = (last - first + 1) * cellPct;
|
|
4665
|
+
if (startsHere) {
|
|
4666
|
+
leftPct += halfCellPct;
|
|
4667
|
+
widthPct -= halfCellPct;
|
|
4668
|
+
}
|
|
4669
|
+
if (endsHere) {
|
|
4670
|
+
widthPct -= halfCellPct;
|
|
4671
|
+
}
|
|
4672
|
+
if (widthPct > 0) {
|
|
4673
|
+
rangeHighlightStyle = {
|
|
4674
|
+
left: `${leftPct}%`,
|
|
4675
|
+
width: `${widthPct}%`
|
|
4676
|
+
};
|
|
4677
|
+
}
|
|
4678
|
+
}
|
|
4679
|
+
}
|
|
4680
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4681
|
+
reactNative.View,
|
|
4682
|
+
{
|
|
4683
|
+
style: [styles20.weekRow, weekIndex > 0 && styles20.weekRowSpaced],
|
|
4684
|
+
children: [
|
|
4685
|
+
rangeHighlightStyle ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4686
|
+
reactNative.View,
|
|
4687
|
+
{
|
|
4688
|
+
pointerEvents: "none",
|
|
4689
|
+
style: [styles20.rangeHighlight, rangeHighlightStyle]
|
|
4690
|
+
}
|
|
4691
|
+
) : null,
|
|
4692
|
+
week.map((day, dayIndex) => {
|
|
4693
|
+
const inCurrentMonth = isSameMonth(day, visibleMonth);
|
|
4694
|
+
const isToday = isSameDay(day, today);
|
|
4695
|
+
const isSelectedSingle = !isRange && isSameDay(day, singleValue);
|
|
4696
|
+
const isRangeStart = isRange && isSameDay(day, rangeValue.start);
|
|
4697
|
+
const isRangeEnd = isRange && isSameDay(day, rangeValue.end);
|
|
4698
|
+
const isSelectedEndpoint = isSelectedSingle || isRangeStart || isRangeEnd;
|
|
4699
|
+
const dayDisabled = disabled || isDateDisabled(day, minDate, maxDate);
|
|
4700
|
+
const dayKey = startOfDay(day).getTime();
|
|
4701
|
+
const isHovered = !dayDisabled && !isSelectedEndpoint && hoveredDayKey === dayKey;
|
|
4702
|
+
const dayTextColor = isSelectedEndpoint ? colors.white : dayDisabled ? colors.grey400 : isToday ? colors.primary : !inCurrentMonth ? colors.grey300 : colors.white;
|
|
4703
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4704
|
+
reactNative.Pressable,
|
|
4705
|
+
{
|
|
4706
|
+
onPress: () => handleDayPress(day),
|
|
4707
|
+
disabled: dayDisabled,
|
|
4708
|
+
onHoverIn: () => setHoveredDayKey(dayKey),
|
|
4709
|
+
onHoverOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
4710
|
+
onPressIn: () => setHoveredDayKey(dayKey),
|
|
4711
|
+
onPressOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
4712
|
+
style: styles20.dayCellWrap,
|
|
4713
|
+
accessibilityRole: "button",
|
|
4714
|
+
accessibilityLabel: formatValue(day),
|
|
4715
|
+
accessibilityState: {
|
|
4716
|
+
disabled: dayDisabled,
|
|
4717
|
+
selected: isSelectedEndpoint
|
|
4718
|
+
},
|
|
4719
|
+
children: [
|
|
4720
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4721
|
+
reactNative.View,
|
|
4722
|
+
{
|
|
4723
|
+
style: [
|
|
4724
|
+
styles20.dayCircle,
|
|
4725
|
+
isSelectedEndpoint && styles20.dayCircleSelected,
|
|
4726
|
+
isHovered && styles20.dayCircleHovered
|
|
4727
|
+
],
|
|
4728
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles20.dayText, { color: dayTextColor }], children: day.getDate() })
|
|
4729
|
+
}
|
|
4730
|
+
),
|
|
4731
|
+
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles20.todayDot }) : null
|
|
4732
|
+
]
|
|
4733
|
+
},
|
|
4734
|
+
dayIndex
|
|
4735
|
+
);
|
|
4736
|
+
})
|
|
4737
|
+
]
|
|
4738
|
+
},
|
|
4739
|
+
weekIndex
|
|
4740
|
+
);
|
|
4741
|
+
})
|
|
4742
|
+
] })
|
|
4743
|
+
]
|
|
4744
|
+
}
|
|
4745
|
+
) : null
|
|
4530
4746
|
] })
|
|
4531
4747
|
}
|
|
4532
4748
|
);
|
|
4533
4749
|
}
|
|
4534
4750
|
);
|
|
4535
|
-
var
|
|
4751
|
+
var styles20 = reactNative.StyleSheet.create({
|
|
4536
4752
|
root: {
|
|
4537
4753
|
width: DEFAULT_WIDTH,
|
|
4538
4754
|
gap: 8,
|
|
4539
4755
|
alignSelf: "flex-start"
|
|
4540
4756
|
},
|
|
4757
|
+
rootHideTrigger: {
|
|
4758
|
+
width: "auto",
|
|
4759
|
+
gap: 0
|
|
4760
|
+
},
|
|
4541
4761
|
rootOpen: {
|
|
4542
4762
|
zIndex: 30
|
|
4543
4763
|
},
|
|
@@ -4633,8 +4853,8 @@ var styles19 = reactNative.StyleSheet.create({
|
|
|
4633
4853
|
backgroundColor: colors.grey500
|
|
4634
4854
|
},
|
|
4635
4855
|
iconSlot: {
|
|
4636
|
-
width:
|
|
4637
|
-
height:
|
|
4856
|
+
width: ICON_SIZE9,
|
|
4857
|
+
height: ICON_SIZE9,
|
|
4638
4858
|
alignItems: "center",
|
|
4639
4859
|
justifyContent: "center",
|
|
4640
4860
|
flexShrink: 0
|
|
@@ -4642,7 +4862,6 @@ var styles19 = reactNative.StyleSheet.create({
|
|
|
4642
4862
|
menu: {
|
|
4643
4863
|
position: "absolute",
|
|
4644
4864
|
top: "100%",
|
|
4645
|
-
left: 0,
|
|
4646
4865
|
width: DEFAULT_WIDTH,
|
|
4647
4866
|
marginTop: 8,
|
|
4648
4867
|
zIndex: 10,
|
|
@@ -4659,6 +4878,21 @@ var styles19 = reactNative.StyleSheet.create({
|
|
|
4659
4878
|
}
|
|
4660
4879
|
})
|
|
4661
4880
|
},
|
|
4881
|
+
menuAlignStart: {
|
|
4882
|
+
left: 0,
|
|
4883
|
+
right: "auto"
|
|
4884
|
+
},
|
|
4885
|
+
menuAlignEnd: {
|
|
4886
|
+
left: "auto",
|
|
4887
|
+
right: 0
|
|
4888
|
+
},
|
|
4889
|
+
menuInline: {
|
|
4890
|
+
position: "relative",
|
|
4891
|
+
top: "auto",
|
|
4892
|
+
left: "auto",
|
|
4893
|
+
right: "auto",
|
|
4894
|
+
marginTop: 0
|
|
4895
|
+
},
|
|
4662
4896
|
rangeMenu: {
|
|
4663
4897
|
width: RANGE_TRIGGER_WIDTH
|
|
4664
4898
|
},
|
|
@@ -4738,7 +4972,7 @@ var styles19 = reactNative.StyleSheet.create({
|
|
|
4738
4972
|
});
|
|
4739
4973
|
var SIZE = 48;
|
|
4740
4974
|
var PADDING = 12;
|
|
4741
|
-
var
|
|
4975
|
+
var ICON_SIZE10 = 24;
|
|
4742
4976
|
var RADIUS = 64;
|
|
4743
4977
|
var FloatingActionButton = react.forwardRef(function FloatingActionButton2({ onPress, disabled = false, icon, accessibilityLabel = "Add", style, className, ...rest }, forwardedRef) {
|
|
4744
4978
|
const containerRef = react.useRef(null);
|
|
@@ -4756,12 +4990,12 @@ var FloatingActionButton = react.forwardRef(function FloatingActionButton2({ onP
|
|
|
4756
4990
|
accessibilityRole: "button",
|
|
4757
4991
|
accessibilityLabel,
|
|
4758
4992
|
accessibilityState: { disabled },
|
|
4759
|
-
style: [
|
|
4760
|
-
children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, { color: colors.white, size:
|
|
4993
|
+
style: [styles21.base, disabled && styles21.disabled, style],
|
|
4994
|
+
children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, { color: colors.white, size: ICON_SIZE10, strokeWidth: 2 })
|
|
4761
4995
|
}
|
|
4762
4996
|
);
|
|
4763
4997
|
});
|
|
4764
|
-
var
|
|
4998
|
+
var styles21 = reactNative.StyleSheet.create({
|
|
4765
4999
|
base: {
|
|
4766
5000
|
width: SIZE,
|
|
4767
5001
|
height: SIZE,
|
|
@@ -4919,13 +5153,13 @@ var Input = react.forwardRef(function Input2({
|
|
|
4919
5153
|
});
|
|
4920
5154
|
useApplyWebClassName(rootRef, className);
|
|
4921
5155
|
useApplyWebClassName(inputRef, inputClassName);
|
|
4922
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [
|
|
4923
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5156
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [styles22.root, disabled && styles22.disabled, style], children: [
|
|
5157
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles22.label, { color: chrome.labelColor }], children: label }) : null,
|
|
4924
5158
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4925
5159
|
reactNative.View,
|
|
4926
5160
|
{
|
|
4927
5161
|
style: [
|
|
4928
|
-
|
|
5162
|
+
styles22.field,
|
|
4929
5163
|
{
|
|
4930
5164
|
height: metrics.height,
|
|
4931
5165
|
borderRadius: metrics.borderRadius,
|
|
@@ -4940,7 +5174,7 @@ var Input = react.forwardRef(function Input2({
|
|
|
4940
5174
|
fieldStyle
|
|
4941
5175
|
],
|
|
4942
5176
|
children: [
|
|
4943
|
-
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5177
|
+
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles22.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }], children: leftIconNode }) : null,
|
|
4944
5178
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4945
5179
|
reactNative.TextInput,
|
|
4946
5180
|
{
|
|
@@ -4964,11 +5198,11 @@ var Input = react.forwardRef(function Input2({
|
|
|
4964
5198
|
onBlur?.(event);
|
|
4965
5199
|
},
|
|
4966
5200
|
style: [
|
|
4967
|
-
|
|
5201
|
+
styles22.input,
|
|
4968
5202
|
metrics.text,
|
|
4969
5203
|
{ color: chrome.textColor },
|
|
4970
|
-
reactNative.Platform.OS === "web" ?
|
|
4971
|
-
reactNative.Platform.OS === "android" ?
|
|
5204
|
+
reactNative.Platform.OS === "web" ? styles22.inputWeb : null,
|
|
5205
|
+
reactNative.Platform.OS === "android" ? styles22.inputAndroid : null,
|
|
4972
5206
|
inputStyle
|
|
4973
5207
|
],
|
|
4974
5208
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -4980,20 +5214,20 @@ var Input = react.forwardRef(function Input2({
|
|
|
4980
5214
|
{
|
|
4981
5215
|
onPress: onRightIconPress,
|
|
4982
5216
|
disabled,
|
|
4983
|
-
style: [
|
|
5217
|
+
style: [styles22.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
4984
5218
|
accessibilityRole: "button",
|
|
4985
5219
|
accessibilityLabel: rightIconAccessibilityLabel,
|
|
4986
5220
|
hitSlop: 8,
|
|
4987
5221
|
children: rightIconNode
|
|
4988
5222
|
}
|
|
4989
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5223
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles22.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }], children: rightIconNode }) : null
|
|
4990
5224
|
]
|
|
4991
5225
|
}
|
|
4992
5226
|
),
|
|
4993
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5227
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles22.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
4994
5228
|
] });
|
|
4995
5229
|
});
|
|
4996
|
-
var
|
|
5230
|
+
var styles22 = reactNative.StyleSheet.create({
|
|
4997
5231
|
root: {
|
|
4998
5232
|
width: DEFAULT_WIDTH2,
|
|
4999
5233
|
gap: 8,
|
|
@@ -5151,9 +5385,9 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
5151
5385
|
...viewProps,
|
|
5152
5386
|
ref: rootRef,
|
|
5153
5387
|
style: [
|
|
5154
|
-
|
|
5388
|
+
styles23.root,
|
|
5155
5389
|
{ width: rootWidth, maxWidth: "100%", gap: cellGap },
|
|
5156
|
-
disabled &&
|
|
5390
|
+
disabled && styles23.disabled,
|
|
5157
5391
|
style
|
|
5158
5392
|
],
|
|
5159
5393
|
children: Array.from({ length: safeLength }, (_, index) => {
|
|
@@ -5181,15 +5415,15 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
5181
5415
|
onSubmitEditing: () => onSubmit?.(currentCode),
|
|
5182
5416
|
selectTextOnFocus: true,
|
|
5183
5417
|
style: [
|
|
5184
|
-
|
|
5418
|
+
styles23.cell,
|
|
5185
5419
|
{
|
|
5186
5420
|
width: cellWidth,
|
|
5187
5421
|
height: CELL_HEIGHT,
|
|
5188
5422
|
borderColor,
|
|
5189
5423
|
color: error ? colors.red : colors.white
|
|
5190
5424
|
},
|
|
5191
|
-
reactNative.Platform.OS === "web" ?
|
|
5192
|
-
reactNative.Platform.OS === "android" ?
|
|
5425
|
+
reactNative.Platform.OS === "web" ? styles23.cellWeb : null,
|
|
5426
|
+
reactNative.Platform.OS === "android" ? styles23.cellAndroid : null,
|
|
5193
5427
|
inputStyle
|
|
5194
5428
|
],
|
|
5195
5429
|
value: currentCode[index] ?? ""
|
|
@@ -5200,7 +5434,7 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
5200
5434
|
}
|
|
5201
5435
|
);
|
|
5202
5436
|
});
|
|
5203
|
-
var
|
|
5437
|
+
var styles23 = reactNative.StyleSheet.create({
|
|
5204
5438
|
root: {
|
|
5205
5439
|
minWidth: 0,
|
|
5206
5440
|
alignSelf: "center",
|
|
@@ -5237,7 +5471,7 @@ var TRIGGER_RADIUS2 = 60;
|
|
|
5237
5471
|
var MENU_RADIUS3 = 24;
|
|
5238
5472
|
var MENU_MAX_LIST_HEIGHT = 248;
|
|
5239
5473
|
var ITEM_RADIUS2 = 12;
|
|
5240
|
-
var
|
|
5474
|
+
var ICON_SIZE11 = 20;
|
|
5241
5475
|
var CHIP_GAP = 6;
|
|
5242
5476
|
var FALLBACK_ELLIPSIS_WIDTH = 20;
|
|
5243
5477
|
function itemBackground(state) {
|
|
@@ -5310,25 +5544,25 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
5310
5544
|
const next = Math.ceil(event.nativeEvent.layout.width);
|
|
5311
5545
|
setEllipsisWidth((current) => current === next ? current : next);
|
|
5312
5546
|
};
|
|
5313
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5314
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { pointerEvents: "none", style:
|
|
5547
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.multiValueRoot, children: [
|
|
5548
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { pointerEvents: "none", style: styles24.measureRow, children: [
|
|
5315
5549
|
options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5316
5550
|
reactNative.View,
|
|
5317
5551
|
{
|
|
5318
|
-
style:
|
|
5552
|
+
style: styles24.chip,
|
|
5319
5553
|
onLayout: (event) => handleChipLayout(option.value, event),
|
|
5320
5554
|
children: [
|
|
5321
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5322
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5555
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.chipLabel, numberOfLines: 1, children: option.label }),
|
|
5556
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.chipRemove, children: "\xD7" })
|
|
5323
5557
|
]
|
|
5324
5558
|
},
|
|
5325
5559
|
`measure-${option.value}`
|
|
5326
5560
|
)),
|
|
5327
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5561
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.ellipsis, onLayout: handleEllipsisLayout, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.ellipsisText, children: "..." }) })
|
|
5328
5562
|
] }),
|
|
5329
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5330
|
-
visible.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5331
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5563
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.chipsRow, onLayout: handleContainerLayout, children: [
|
|
5564
|
+
visible.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.chip, children: [
|
|
5565
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.chipLabel, numberOfLines: 1, children: option.label }),
|
|
5332
5566
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5333
5567
|
reactNative.Pressable,
|
|
5334
5568
|
{
|
|
@@ -5340,11 +5574,11 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
5340
5574
|
hitSlop: 6,
|
|
5341
5575
|
accessibilityRole: "button",
|
|
5342
5576
|
accessibilityLabel: `Remove ${option.label}`,
|
|
5343
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5577
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.chipRemove, children: "\xD7" })
|
|
5344
5578
|
}
|
|
5345
5579
|
)
|
|
5346
5580
|
] }, option.value)),
|
|
5347
|
-
hasOverflow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5581
|
+
hasOverflow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.ellipsis, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.ellipsisText, children: "..." }) }) : null
|
|
5348
5582
|
] })
|
|
5349
5583
|
] });
|
|
5350
5584
|
}
|
|
@@ -5369,6 +5603,7 @@ var Select = react.forwardRef(
|
|
|
5369
5603
|
onSearchChange,
|
|
5370
5604
|
loading = false,
|
|
5371
5605
|
emptyText = "No results",
|
|
5606
|
+
valueColor,
|
|
5372
5607
|
style,
|
|
5373
5608
|
className,
|
|
5374
5609
|
accessibilityLabel,
|
|
@@ -5553,12 +5788,12 @@ var Select = react.forwardRef(
|
|
|
5553
5788
|
setOpen
|
|
5554
5789
|
]);
|
|
5555
5790
|
const leftIconNode = renderStatefulIcon(leftIcon, UserIcon, {
|
|
5556
|
-
size:
|
|
5557
|
-
color: error ? colors.red :
|
|
5791
|
+
size: ICON_SIZE11,
|
|
5792
|
+
color: error ? colors.red : colors.primary
|
|
5558
5793
|
});
|
|
5559
5794
|
const hasLeftIcon = showLeftIcon || leftIcon != null;
|
|
5560
5795
|
const triggerBorderColor = error ? colors.redMuted : isOpen ? colors.primaryMuted : colors.grey700;
|
|
5561
|
-
const triggerTextColor = hasValue ? error ? colors.red : colors.white : error ? colors.red : colors.grey100;
|
|
5796
|
+
const triggerTextColor = hasValue ? error ? colors.red : valueColor ?? colors.white : error ? colors.red : colors.grey100;
|
|
5562
5797
|
const labelColor = error ? colors.red : colors.white;
|
|
5563
5798
|
const hintColor = error ? colors.red : colors.grey100;
|
|
5564
5799
|
const singleLabel = selectedOptions[0]?.label ?? placeholder;
|
|
@@ -5568,11 +5803,11 @@ var Select = react.forwardRef(
|
|
|
5568
5803
|
{
|
|
5569
5804
|
...rest,
|
|
5570
5805
|
ref: setRootRef,
|
|
5571
|
-
style: [
|
|
5806
|
+
style: [styles24.root, isOpen && styles24.rootOpen, disabled && styles24.disabled, style],
|
|
5572
5807
|
accessibilityState: { disabled, expanded: isOpen },
|
|
5573
5808
|
children: [
|
|
5574
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5575
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
5809
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.label, { color: labelColor }], children: label }) : null,
|
|
5810
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles24.triggerWrap, isOpen && styles24.triggerWrapOpen], children: [
|
|
5576
5811
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5577
5812
|
reactNative.Pressable,
|
|
5578
5813
|
{
|
|
@@ -5583,29 +5818,29 @@ var Select = react.forwardRef(
|
|
|
5583
5818
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
5584
5819
|
accessibilityState: { disabled, expanded: isOpen },
|
|
5585
5820
|
style: [
|
|
5586
|
-
|
|
5821
|
+
styles24.trigger,
|
|
5587
5822
|
{
|
|
5588
5823
|
borderColor: triggerBorderColor,
|
|
5589
5824
|
backgroundColor: colors.grey700
|
|
5590
5825
|
}
|
|
5591
5826
|
],
|
|
5592
5827
|
children: [
|
|
5593
|
-
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5594
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5828
|
+
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.iconSlot, children: leftIconNode }) : null,
|
|
5829
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.triggerContent, children: multiple && hasValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5595
5830
|
MultiValueChips,
|
|
5596
5831
|
{
|
|
5597
5832
|
options: selectedOptions,
|
|
5598
5833
|
disabled,
|
|
5599
5834
|
onRemove: handleRemoveChip
|
|
5600
5835
|
}
|
|
5601
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5602
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
5836
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: multiple ? placeholder : singleLabel }) }),
|
|
5837
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles24.iconSlot, isOpen && styles24.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: ICON_SIZE11, color: isOpen ? colors.primary : colors.grey100 }) })
|
|
5603
5838
|
]
|
|
5604
5839
|
}
|
|
5605
5840
|
),
|
|
5606
|
-
isOpen ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5607
|
-
showSearch ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
5608
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5841
|
+
isOpen ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.menu, children: [
|
|
5842
|
+
showSearch ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.searchField, children: [
|
|
5843
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon, { size: ICON_SIZE11, color: colors.grey100 }) }),
|
|
5609
5844
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5610
5845
|
reactNative.TextInput,
|
|
5611
5846
|
{
|
|
@@ -5616,9 +5851,9 @@ var Select = react.forwardRef(
|
|
|
5616
5851
|
placeholder: searchPlaceholder,
|
|
5617
5852
|
placeholderTextColor: colors.grey100,
|
|
5618
5853
|
style: [
|
|
5619
|
-
|
|
5620
|
-
reactNative.Platform.OS === "web" ?
|
|
5621
|
-
reactNative.Platform.OS === "android" ?
|
|
5854
|
+
styles24.searchInput,
|
|
5855
|
+
reactNative.Platform.OS === "web" ? styles24.searchInputWeb : null,
|
|
5856
|
+
reactNative.Platform.OS === "android" ? styles24.searchInputAndroid : null
|
|
5622
5857
|
],
|
|
5623
5858
|
accessibilityLabel: searchPlaceholder
|
|
5624
5859
|
}
|
|
@@ -5627,12 +5862,12 @@ var Select = react.forwardRef(
|
|
|
5627
5862
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5628
5863
|
reactNative.ScrollView,
|
|
5629
5864
|
{
|
|
5630
|
-
style:
|
|
5631
|
-
contentContainerStyle:
|
|
5865
|
+
style: styles24.optionList,
|
|
5866
|
+
contentContainerStyle: styles24.optionListContent,
|
|
5632
5867
|
keyboardShouldPersistTaps: "handled",
|
|
5633
5868
|
showsVerticalScrollIndicator: false,
|
|
5634
5869
|
children: [
|
|
5635
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
5870
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.statusText, children: "Loading..." }) }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.statusText, children: emptyText }) }) : null,
|
|
5636
5871
|
!loading && filteredOptions.map((option) => {
|
|
5637
5872
|
const isSelected = selectedValues.includes(option.value);
|
|
5638
5873
|
const isHovered = hoveredValue === option.value;
|
|
@@ -5649,14 +5884,14 @@ var Select = react.forwardRef(
|
|
|
5649
5884
|
accessibilityRole: multiple ? "checkbox" : "button",
|
|
5650
5885
|
accessibilityState: { selected: isSelected, checked: isSelected, disabled },
|
|
5651
5886
|
style: [
|
|
5652
|
-
|
|
5887
|
+
styles24.item,
|
|
5653
5888
|
{
|
|
5654
5889
|
backgroundColor: itemBackground(visualState)
|
|
5655
5890
|
}
|
|
5656
5891
|
],
|
|
5657
5892
|
children: [
|
|
5658
|
-
multiple ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style:
|
|
5659
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
5893
|
+
multiple ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: styles24.itemCheckbox, children: /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { value: isSelected, variant: "light" }) }) : null,
|
|
5894
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles24.itemLabel, numberOfLines: 1, children: option.label })
|
|
5660
5895
|
]
|
|
5661
5896
|
},
|
|
5662
5897
|
option.value
|
|
@@ -5667,13 +5902,13 @@ var Select = react.forwardRef(
|
|
|
5667
5902
|
)
|
|
5668
5903
|
] }) : null
|
|
5669
5904
|
] }),
|
|
5670
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
5905
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.hint, { color: hintColor }], children: hint }) : null
|
|
5671
5906
|
]
|
|
5672
5907
|
}
|
|
5673
5908
|
);
|
|
5674
5909
|
}
|
|
5675
5910
|
);
|
|
5676
|
-
var
|
|
5911
|
+
var styles24 = reactNative.StyleSheet.create({
|
|
5677
5912
|
root: {
|
|
5678
5913
|
width: DEFAULT_WIDTH3,
|
|
5679
5914
|
gap: 8,
|
|
@@ -5763,8 +5998,8 @@ var styles23 = reactNative.StyleSheet.create({
|
|
|
5763
5998
|
lineHeight: 16
|
|
5764
5999
|
},
|
|
5765
6000
|
iconSlot: {
|
|
5766
|
-
width:
|
|
5767
|
-
height:
|
|
6001
|
+
width: ICON_SIZE11,
|
|
6002
|
+
height: ICON_SIZE11,
|
|
5768
6003
|
alignItems: "center",
|
|
5769
6004
|
justifyContent: "center",
|
|
5770
6005
|
flexShrink: 0
|
|
@@ -5935,13 +6170,13 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
5935
6170
|
const resolvedAccessibilityLabel = accessibilityLabel ?? (showLabel ? void 0 : label);
|
|
5936
6171
|
useApplyWebClassName(rootRef, className);
|
|
5937
6172
|
useApplyWebClassName(inputRef, inputClassName);
|
|
5938
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [
|
|
5939
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6173
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [styles25.root, disabled && styles25.disabled, style], children: [
|
|
6174
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.label, { color: chrome.labelColor }], children: label }) : null,
|
|
5940
6175
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5941
6176
|
reactNative.View,
|
|
5942
6177
|
{
|
|
5943
6178
|
style: [
|
|
5944
|
-
|
|
6179
|
+
styles25.field,
|
|
5945
6180
|
{
|
|
5946
6181
|
borderColor: chrome.borderColor,
|
|
5947
6182
|
backgroundColor: chrome.backgroundColor
|
|
@@ -5973,11 +6208,11 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
5973
6208
|
onBlur?.(event);
|
|
5974
6209
|
},
|
|
5975
6210
|
style: [
|
|
5976
|
-
|
|
6211
|
+
styles25.input,
|
|
5977
6212
|
textareaTypography.field,
|
|
5978
6213
|
{ color: chrome.textColor },
|
|
5979
|
-
reactNative.Platform.OS === "web" ?
|
|
5980
|
-
reactNative.Platform.OS === "android" ?
|
|
6214
|
+
reactNative.Platform.OS === "web" ? styles25.inputWeb : null,
|
|
6215
|
+
reactNative.Platform.OS === "android" ? styles25.inputAndroid : null,
|
|
5981
6216
|
inputStyle
|
|
5982
6217
|
],
|
|
5983
6218
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -5986,10 +6221,10 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
5986
6221
|
)
|
|
5987
6222
|
}
|
|
5988
6223
|
),
|
|
5989
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6224
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
5990
6225
|
] });
|
|
5991
6226
|
});
|
|
5992
|
-
var
|
|
6227
|
+
var styles25 = reactNative.StyleSheet.create({
|
|
5993
6228
|
root: {
|
|
5994
6229
|
width: DEFAULT_WIDTH4,
|
|
5995
6230
|
gap: 8,
|
|
@@ -6089,13 +6324,13 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
6089
6324
|
accessibilityRole: "switch",
|
|
6090
6325
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
6091
6326
|
accessibilityState: { checked: isActive, disabled },
|
|
6092
|
-
style: [
|
|
6327
|
+
style: [styles26.pressable, disabled && styles26.disabled, style],
|
|
6093
6328
|
children: [
|
|
6094
6329
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6095
6330
|
reactNative.Animated.View,
|
|
6096
6331
|
{
|
|
6097
6332
|
style: [
|
|
6098
|
-
|
|
6333
|
+
styles26.track,
|
|
6099
6334
|
{
|
|
6100
6335
|
backgroundColor: trackBackgroundColor
|
|
6101
6336
|
}
|
|
@@ -6104,7 +6339,7 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
6104
6339
|
reactNative.Animated.View,
|
|
6105
6340
|
{
|
|
6106
6341
|
style: [
|
|
6107
|
-
|
|
6342
|
+
styles26.thumb,
|
|
6108
6343
|
{
|
|
6109
6344
|
transform: [{ translateX: thumbTranslateX }]
|
|
6110
6345
|
}
|
|
@@ -6113,12 +6348,12 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
6113
6348
|
)
|
|
6114
6349
|
}
|
|
6115
6350
|
),
|
|
6116
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
6351
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.label, labelStyle], children: labelContent }) : labelContent : null
|
|
6117
6352
|
]
|
|
6118
6353
|
}
|
|
6119
6354
|
);
|
|
6120
6355
|
});
|
|
6121
|
-
var
|
|
6356
|
+
var styles26 = reactNative.StyleSheet.create({
|
|
6122
6357
|
pressable: {
|
|
6123
6358
|
flexDirection: "row",
|
|
6124
6359
|
alignItems: "center",
|
|
@@ -6193,21 +6428,21 @@ var RatingInput = react.forwardRef(
|
|
|
6193
6428
|
{
|
|
6194
6429
|
...rest,
|
|
6195
6430
|
ref: setContainerRef,
|
|
6196
|
-
style: [
|
|
6431
|
+
style: [styles27.root, disabled && styles27.disabled, style],
|
|
6197
6432
|
children: [
|
|
6198
|
-
showValue ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [
|
|
6433
|
+
showValue ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles27.value, valueStyle], children: selectedValue.toFixed(precision) }) : null,
|
|
6199
6434
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6200
6435
|
reactNative.View,
|
|
6201
6436
|
{
|
|
6202
6437
|
accessibilityRole: readOnly ? "image" : "radiogroup",
|
|
6203
6438
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
6204
6439
|
accessibilityState: { disabled },
|
|
6205
|
-
style: [
|
|
6440
|
+
style: [styles27.stars, { gap: resolvedStarGap }],
|
|
6206
6441
|
children: Array.from({ length: STAR_COUNT }, (_, index) => {
|
|
6207
6442
|
const starValue = index + 1;
|
|
6208
6443
|
const isSelected = starValue <= selectedStarCount;
|
|
6209
6444
|
const icon = isSelected ? /* @__PURE__ */ jsxRuntime.jsx(StarFilledIcon, { size: iconWidth, height: iconHeight }) : /* @__PURE__ */ jsxRuntime.jsx(StarIcon, { size: iconWidth, height: iconHeight });
|
|
6210
|
-
const itemStyle = [
|
|
6445
|
+
const itemStyle = [styles27.starItem, { width: size, height: size }];
|
|
6211
6446
|
if (readOnly) {
|
|
6212
6447
|
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: itemStyle, children: icon }, starValue);
|
|
6213
6448
|
}
|
|
@@ -6233,7 +6468,7 @@ var RatingInput = react.forwardRef(
|
|
|
6233
6468
|
);
|
|
6234
6469
|
}
|
|
6235
6470
|
);
|
|
6236
|
-
var
|
|
6471
|
+
var styles27 = reactNative.StyleSheet.create({
|
|
6237
6472
|
root: {
|
|
6238
6473
|
flexDirection: "row",
|
|
6239
6474
|
alignItems: "center",
|
|
@@ -6297,19 +6532,19 @@ var CommentCard = react.forwardRef(
|
|
|
6297
6532
|
setExpanded(next);
|
|
6298
6533
|
onExpandedChange?.(next);
|
|
6299
6534
|
};
|
|
6300
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [
|
|
6301
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6302
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
6535
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [styles28.root, style], children: [
|
|
6536
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles28.header, children: [
|
|
6537
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles28.avatar, children: hasImage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6303
6538
|
reactNative.Image,
|
|
6304
6539
|
{
|
|
6305
6540
|
source: { uri: imageUrl ?? void 0 },
|
|
6306
|
-
style:
|
|
6541
|
+
style: styles28.avatarImage,
|
|
6307
6542
|
onError: () => setImageFailed(true)
|
|
6308
6543
|
}
|
|
6309
6544
|
) : /* @__PURE__ */ jsxRuntime.jsx(UserIcon, { size: 20, color: colors.primary }) }),
|
|
6310
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
6311
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
6312
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
6545
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles28.identity, children: [
|
|
6546
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles28.name, children: userName }),
|
|
6547
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles28.date, children: date })
|
|
6313
6548
|
] }),
|
|
6314
6549
|
/* @__PURE__ */ jsxRuntime.jsx(RatingInput, { value: rating, readOnly: true, showValue: false, size: 16 })
|
|
6315
6550
|
] }),
|
|
@@ -6317,7 +6552,7 @@ var CommentCard = react.forwardRef(
|
|
|
6317
6552
|
reactNative.Text,
|
|
6318
6553
|
{
|
|
6319
6554
|
numberOfLines: expanded ? void 0 : maxCommentLines,
|
|
6320
|
-
style: [
|
|
6555
|
+
style: [styles28.comment, commentStyle],
|
|
6321
6556
|
children: commentText
|
|
6322
6557
|
}
|
|
6323
6558
|
),
|
|
@@ -6330,14 +6565,14 @@ var CommentCard = react.forwardRef(
|
|
|
6330
6565
|
hitSlop: 6,
|
|
6331
6566
|
onHoverIn: () => setActionHovered(true),
|
|
6332
6567
|
onHoverOut: () => setActionHovered(false),
|
|
6333
|
-
style:
|
|
6568
|
+
style: styles28.action,
|
|
6334
6569
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6335
6570
|
reactNative.Text,
|
|
6336
6571
|
{
|
|
6337
6572
|
style: [
|
|
6338
|
-
|
|
6339
|
-
expanded &&
|
|
6340
|
-
actionHovered && (expanded ?
|
|
6573
|
+
styles28.actionText,
|
|
6574
|
+
expanded && styles28.closeActionText,
|
|
6575
|
+
actionHovered && (expanded ? styles28.closeActionTextHovered : styles28.openActionTextHovered)
|
|
6341
6576
|
],
|
|
6342
6577
|
children: expanded ? readLessLabel : readMoreLabel
|
|
6343
6578
|
}
|
|
@@ -6347,7 +6582,7 @@ var CommentCard = react.forwardRef(
|
|
|
6347
6582
|
] });
|
|
6348
6583
|
}
|
|
6349
6584
|
);
|
|
6350
|
-
var
|
|
6585
|
+
var styles28 = reactNative.StyleSheet.create({
|
|
6351
6586
|
root: {
|
|
6352
6587
|
width: CARD_WIDTH2,
|
|
6353
6588
|
minHeight: CARD_MIN_HEIGHT,
|
|
@@ -6786,7 +7021,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
6786
7021
|
...rest,
|
|
6787
7022
|
ref: setRootRef,
|
|
6788
7023
|
onLayout,
|
|
6789
|
-
style: [
|
|
7024
|
+
style: [styles29.root, disabled && styles29.disabled, style],
|
|
6790
7025
|
children: [
|
|
6791
7026
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6792
7027
|
reactNative.Pressable,
|
|
@@ -6800,16 +7035,16 @@ var Range = react.forwardRef(function Range2({
|
|
|
6800
7035
|
updateNearestFromTrack(event.nativeEvent.offsetX);
|
|
6801
7036
|
} : void 0,
|
|
6802
7037
|
onPress: reactNative.Platform.OS === "web" ? void 0 : handleTrackPress,
|
|
6803
|
-
style:
|
|
7038
|
+
style: styles29.sliderPlane,
|
|
6804
7039
|
tabIndex: -1,
|
|
6805
7040
|
children: [
|
|
6806
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style:
|
|
7041
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: styles29.track }),
|
|
6807
7042
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6808
7043
|
reactNative.View,
|
|
6809
7044
|
{
|
|
6810
7045
|
pointerEvents: "none",
|
|
6811
7046
|
style: [
|
|
6812
|
-
|
|
7047
|
+
styles29.activeTrack,
|
|
6813
7048
|
{
|
|
6814
7049
|
left: TRACK_HORIZONTAL_INSET + fromOffset,
|
|
6815
7050
|
width: toOffset - fromOffset + THUMB_SIZE2
|
|
@@ -6851,9 +7086,9 @@ var Range = react.forwardRef(function Range2({
|
|
|
6851
7086
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveFrom, updateFromInput),
|
|
6852
7087
|
pointerEvents: disabled ? "none" : "auto",
|
|
6853
7088
|
style: [
|
|
6854
|
-
|
|
6855
|
-
reactNative.Platform.OS === "web" &&
|
|
6856
|
-
focusedThumb === "from" && reactNative.Platform.OS === "web" &&
|
|
7089
|
+
styles29.thumb,
|
|
7090
|
+
reactNative.Platform.OS === "web" && styles29.thumbWeb,
|
|
7091
|
+
focusedThumb === "from" && reactNative.Platform.OS === "web" && styles29.thumbFocusedWeb,
|
|
6857
7092
|
{ left: TRACK_HORIZONTAL_INSET + fromOffset }
|
|
6858
7093
|
],
|
|
6859
7094
|
tabIndex: disabled ? -1 : 0
|
|
@@ -6893,9 +7128,9 @@ var Range = react.forwardRef(function Range2({
|
|
|
6893
7128
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveTo, updateToInput),
|
|
6894
7129
|
pointerEvents: disabled ? "none" : "auto",
|
|
6895
7130
|
style: [
|
|
6896
|
-
|
|
6897
|
-
reactNative.Platform.OS === "web" &&
|
|
6898
|
-
focusedThumb === "to" && reactNative.Platform.OS === "web" &&
|
|
7131
|
+
styles29.thumb,
|
|
7132
|
+
reactNative.Platform.OS === "web" && styles29.thumbWeb,
|
|
7133
|
+
focusedThumb === "to" && reactNative.Platform.OS === "web" && styles29.thumbFocusedWeb,
|
|
6899
7134
|
{ left: TRACK_HORIZONTAL_INSET + toOffset }
|
|
6900
7135
|
],
|
|
6901
7136
|
tabIndex: disabled ? -1 : 0
|
|
@@ -6904,7 +7139,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
6904
7139
|
]
|
|
6905
7140
|
}
|
|
6906
7141
|
),
|
|
6907
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
7142
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.inputs, children: [
|
|
6908
7143
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6909
7144
|
RangeInput,
|
|
6910
7145
|
{
|
|
@@ -6955,7 +7190,7 @@ function RangeInput({
|
|
|
6955
7190
|
placeholder,
|
|
6956
7191
|
value
|
|
6957
7192
|
}) {
|
|
6958
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
7193
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles29.inputField, focused && styles29.inputFieldFocused], children: [
|
|
6959
7194
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6960
7195
|
reactNative.TextInput,
|
|
6961
7196
|
{
|
|
@@ -6971,15 +7206,15 @@ function RangeInput({
|
|
|
6971
7206
|
placeholder,
|
|
6972
7207
|
placeholderTextColor: colors.grey150,
|
|
6973
7208
|
returnKeyType: "done",
|
|
6974
|
-
style: [
|
|
7209
|
+
style: [styles29.input, reactNative.Platform.OS === "web" && styles29.inputWeb],
|
|
6975
7210
|
tabIndex: disabled ? -1 : void 0,
|
|
6976
7211
|
value
|
|
6977
7212
|
}
|
|
6978
7213
|
),
|
|
6979
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
7214
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.currencySlot, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.currency, children: currency }) })
|
|
6980
7215
|
] });
|
|
6981
7216
|
}
|
|
6982
|
-
var
|
|
7217
|
+
var styles29 = reactNative.StyleSheet.create({
|
|
6983
7218
|
root: {
|
|
6984
7219
|
width: DEFAULT_WIDTH5,
|
|
6985
7220
|
gap: 15,
|
|
@@ -7083,6 +7318,52 @@ var styles28 = reactNative.StyleSheet.create({
|
|
|
7083
7318
|
}
|
|
7084
7319
|
});
|
|
7085
7320
|
|
|
7321
|
+
// src/utils/popoverAlign.ts
|
|
7322
|
+
function fitsCenter(triggerRect, panelWidth, viewportWidth, padding) {
|
|
7323
|
+
const centerX = triggerRect.left + triggerRect.width / 2;
|
|
7324
|
+
const left = centerX - panelWidth / 2;
|
|
7325
|
+
const right = centerX + panelWidth / 2;
|
|
7326
|
+
return left >= padding && right <= viewportWidth - padding;
|
|
7327
|
+
}
|
|
7328
|
+
function fitsEnd(triggerRect, panelWidth, padding) {
|
|
7329
|
+
return triggerRect.right - panelWidth >= padding;
|
|
7330
|
+
}
|
|
7331
|
+
function fitsStart(triggerRect, panelWidth, viewportWidth, padding) {
|
|
7332
|
+
return triggerRect.left + panelWidth <= viewportWidth - padding;
|
|
7333
|
+
}
|
|
7334
|
+
function resolvePopoverAlign({
|
|
7335
|
+
triggerRect,
|
|
7336
|
+
panelWidth,
|
|
7337
|
+
viewportWidth,
|
|
7338
|
+
padding = 8,
|
|
7339
|
+
preferred = "auto"
|
|
7340
|
+
}) {
|
|
7341
|
+
if (preferred !== "auto") {
|
|
7342
|
+
return preferred;
|
|
7343
|
+
}
|
|
7344
|
+
if (fitsCenter(triggerRect, panelWidth, viewportWidth, padding)) {
|
|
7345
|
+
return "center";
|
|
7346
|
+
}
|
|
7347
|
+
const spaceLeft = triggerRect.right - padding;
|
|
7348
|
+
const spaceRight = viewportWidth - padding - triggerRect.left;
|
|
7349
|
+
if (spaceRight >= spaceLeft) {
|
|
7350
|
+
if (fitsStart(triggerRect, panelWidth, viewportWidth, padding)) {
|
|
7351
|
+
return "start";
|
|
7352
|
+
}
|
|
7353
|
+
if (fitsEnd(triggerRect, panelWidth, padding)) {
|
|
7354
|
+
return "end";
|
|
7355
|
+
}
|
|
7356
|
+
} else {
|
|
7357
|
+
if (fitsEnd(triggerRect, panelWidth, padding)) {
|
|
7358
|
+
return "end";
|
|
7359
|
+
}
|
|
7360
|
+
if (fitsStart(triggerRect, panelWidth, viewportWidth, padding)) {
|
|
7361
|
+
return "start";
|
|
7362
|
+
}
|
|
7363
|
+
}
|
|
7364
|
+
return spaceRight >= spaceLeft ? "start" : "end";
|
|
7365
|
+
}
|
|
7366
|
+
|
|
7086
7367
|
exports.AccountHeader = AccountHeader;
|
|
7087
7368
|
exports.AlertTriangleIcon = AlertTriangleIcon;
|
|
7088
7369
|
exports.Amenity = Amenity;
|
|
@@ -7097,6 +7378,7 @@ exports.BRAND_LOGO_DEFAULT_HEIGHT = BRAND_LOGO_DEFAULT_HEIGHT;
|
|
|
7097
7378
|
exports.BRAND_LOGO_DEFAULT_WIDTH = BRAND_LOGO_DEFAULT_WIDTH;
|
|
7098
7379
|
exports.Badge = Badge;
|
|
7099
7380
|
exports.BagIcon = BagIcon;
|
|
7381
|
+
exports.BanIcon = BanIcon;
|
|
7100
7382
|
exports.BathroomsIcon = BathroomsIcon;
|
|
7101
7383
|
exports.BedroomsIcon = BedroomsIcon;
|
|
7102
7384
|
exports.BellIcon = BellIcon;
|
|
@@ -7126,6 +7408,7 @@ exports.FacebookIcon = FacebookIcon;
|
|
|
7126
7408
|
exports.FavoritesButton = FavoritesButton;
|
|
7127
7409
|
exports.FiltersIcon = FiltersIcon;
|
|
7128
7410
|
exports.FloatingActionButton = FloatingActionButton;
|
|
7411
|
+
exports.FullscreenIcon = FullscreenIcon;
|
|
7129
7412
|
exports.GlobeIcon = GlobeIcon;
|
|
7130
7413
|
exports.GooglePlayIcon = GooglePlayIcon;
|
|
7131
7414
|
exports.GuestsIcon = GuestsIcon;
|
|
@@ -7180,6 +7463,7 @@ exports.StarIcon = StarIcon;
|
|
|
7180
7463
|
exports.StatCard = StatCard;
|
|
7181
7464
|
exports.StatusBadge = StatusBadge;
|
|
7182
7465
|
exports.StepList = StepList;
|
|
7466
|
+
exports.StepPager = StepPager;
|
|
7183
7467
|
exports.Textarea = Textarea;
|
|
7184
7468
|
exports.Toggle = Toggle;
|
|
7185
7469
|
exports.TooltipArrowIcon = TooltipArrowIcon;
|
|
@@ -7188,7 +7472,9 @@ exports.UserIcon = UserIcon;
|
|
|
7188
7472
|
exports.UsersAltIcon = UsersAltIcon;
|
|
7189
7473
|
exports.VerificationCodeInput = VerificationCodeInput;
|
|
7190
7474
|
exports.VideoIcon = VideoIcon;
|
|
7475
|
+
exports.VideoOffIcon = VideoOffIcon;
|
|
7191
7476
|
exports.WhatsAppIcon = WhatsAppIcon;
|
|
7477
|
+
exports.ZoomOutIcon = ZoomOutIcon;
|
|
7192
7478
|
exports.abbreviateMonthName = abbreviateMonthName;
|
|
7193
7479
|
exports.avatarTypography = avatarTypography;
|
|
7194
7480
|
exports.badgeTypography = badgeTypography;
|
|
@@ -7210,6 +7496,7 @@ exports.icons = icons;
|
|
|
7210
7496
|
exports.inputTypography = inputTypography;
|
|
7211
7497
|
exports.languageSwitcherTypography = languageSwitcherTypography;
|
|
7212
7498
|
exports.ratingTypography = ratingTypography;
|
|
7499
|
+
exports.resolvePopoverAlign = resolvePopoverAlign;
|
|
7213
7500
|
exports.segmentedToggleTypography = segmentedToggleTypography;
|
|
7214
7501
|
exports.selectTypography = selectTypography;
|
|
7215
7502
|
exports.statCardTypography = statCardTypography;
|