@ecohouse/ui 0.1.36 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.cjs +1169 -428
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +101 -2
- package/dist/index.d.ts +101 -2
- package/dist/index.js +1092 -358
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/src/components/Accordion/Accordion.stories.tsx +47 -0
- package/src/components/Accordion/Accordion.tsx +165 -0
- package/src/components/Accordion/index.ts +2 -0
- package/src/components/AutocompleteInput/AutocompleteInput.stories.tsx +80 -0
- package/src/components/AutocompleteInput/AutocompleteInput.tsx +313 -0
- package/src/components/AutocompleteInput/index.ts +2 -0
- package/src/components/Counter/Counter.tsx +61 -26
- package/src/components/Drawer/Drawer.stories.tsx +79 -0
- package/src/components/Drawer/Drawer.tsx +239 -0
- package/src/components/Drawer/index.ts +2 -0
- package/src/components/QuantityInput/QuantityInput.stories.tsx +45 -0
- package/src/components/QuantityInput/QuantityInput.tsx +153 -0
- package/src/components/QuantityInput/index.ts +2 -0
- package/src/components/StatusBadge/StatusBadge.tsx +1 -1
- package/src/components/index.ts +12 -0
- package/src/icons/ArrowLeft/ArrowLeftIcon.test.ts +10 -0
- package/src/icons/ArrowLeft/ArrowLeftIcon.tsx +21 -0
- package/src/icons/ArrowLeft/ArrowLeftIcon.web.tsx +26 -0
- package/src/icons/ArrowLeft/arrowLeftPath.ts +3 -0
- package/src/icons/ArrowLeft/index.ts +1 -0
- package/src/icons/CalendarMinus/CalendarMinusIcon.tsx +25 -0
- package/src/icons/CalendarMinus/CalendarMinusIcon.web.tsx +31 -0
- package/src/icons/CalendarMinus/calendarMinusPath.ts +3 -0
- package/src/icons/CalendarMinus/index.ts +1 -0
- package/src/icons/CurrentLocation/CurrentLocationIcon.test.ts +10 -0
- package/src/icons/CurrentLocation/CurrentLocationIcon.tsx +25 -0
- package/src/icons/CurrentLocation/CurrentLocationIcon.web.tsx +30 -0
- package/src/icons/CurrentLocation/currentLocationPath.ts +3 -0
- package/src/icons/CurrentLocation/index.ts +1 -0
- package/src/icons/index.ts +3 -0
- package/src/icons/registry.ts +3 -0
- package/src/index.ts +12 -0
- package/src/theme/colors.test.ts +1 -0
- package/src/theme/colors.ts +2 -0
- package/src/web/styles/account-header.css +22 -0
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { forwardRef, useRef, useMemo, useState, useCallback, useEffect, useLayoutEffect, useId, useImperativeHandle, isValidElement, cloneElement } from 'react';
|
|
2
|
-
import { View, Text, Platform, Pressable, StyleSheet, Image, useWindowDimensions, Animated, Easing, TouchableOpacity, Modal as Modal$1, TextInput, ScrollView, PanResponder } from 'react-native';
|
|
3
|
-
import
|
|
2
|
+
import { View, Text, Platform, Pressable, StyleSheet, Image, useWindowDimensions, Animated, Easing, TouchableOpacity, Modal as Modal$1, TextInput, ActivityIndicator, ScrollView, PanResponder } from 'react-native';
|
|
3
|
+
import Svg21, { Path } from 'react-native-svg';
|
|
4
4
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
var __create = Object.create;
|
|
@@ -7397,7 +7397,7 @@ var require_react_dom_development = __commonJS({
|
|
|
7397
7397
|
var HostPortal = 4;
|
|
7398
7398
|
var HostComponent = 5;
|
|
7399
7399
|
var HostText = 6;
|
|
7400
|
-
var
|
|
7400
|
+
var Fragment6 = 7;
|
|
7401
7401
|
var Mode = 8;
|
|
7402
7402
|
var ContextConsumer = 9;
|
|
7403
7403
|
var ContextProvider = 10;
|
|
@@ -8552,7 +8552,7 @@ var require_react_dom_development = __commonJS({
|
|
|
8552
8552
|
return "DehydratedFragment";
|
|
8553
8553
|
case ForwardRef:
|
|
8554
8554
|
return getWrappedName$1(type, type.render, "ForwardRef");
|
|
8555
|
-
case
|
|
8555
|
+
case Fragment6:
|
|
8556
8556
|
return "Fragment";
|
|
8557
8557
|
case HostComponent:
|
|
8558
8558
|
return type;
|
|
@@ -9449,15 +9449,15 @@ var require_react_dom_development = __commonJS({
|
|
|
9449
9449
|
};
|
|
9450
9450
|
}
|
|
9451
9451
|
var warnValidStyle$1 = warnValidStyle;
|
|
9452
|
-
function createDangerousStringForStyles(
|
|
9452
|
+
function createDangerousStringForStyles(styles40) {
|
|
9453
9453
|
{
|
|
9454
9454
|
var serialized = "";
|
|
9455
9455
|
var delimiter = "";
|
|
9456
|
-
for (var styleName in
|
|
9457
|
-
if (!
|
|
9456
|
+
for (var styleName in styles40) {
|
|
9457
|
+
if (!styles40.hasOwnProperty(styleName)) {
|
|
9458
9458
|
continue;
|
|
9459
9459
|
}
|
|
9460
|
-
var styleValue =
|
|
9460
|
+
var styleValue = styles40[styleName];
|
|
9461
9461
|
if (styleValue != null) {
|
|
9462
9462
|
var isCustomProperty = styleName.indexOf("--") === 0;
|
|
9463
9463
|
serialized += delimiter + (isCustomProperty ? styleName : hyphenateStyleName(styleName)) + ":";
|
|
@@ -9468,19 +9468,19 @@ var require_react_dom_development = __commonJS({
|
|
|
9468
9468
|
return serialized || null;
|
|
9469
9469
|
}
|
|
9470
9470
|
}
|
|
9471
|
-
function setValueForStyles(node,
|
|
9471
|
+
function setValueForStyles(node, styles40) {
|
|
9472
9472
|
var style2 = node.style;
|
|
9473
|
-
for (var styleName in
|
|
9474
|
-
if (!
|
|
9473
|
+
for (var styleName in styles40) {
|
|
9474
|
+
if (!styles40.hasOwnProperty(styleName)) {
|
|
9475
9475
|
continue;
|
|
9476
9476
|
}
|
|
9477
9477
|
var isCustomProperty = styleName.indexOf("--") === 0;
|
|
9478
9478
|
{
|
|
9479
9479
|
if (!isCustomProperty) {
|
|
9480
|
-
warnValidStyle$1(styleName,
|
|
9480
|
+
warnValidStyle$1(styleName, styles40[styleName]);
|
|
9481
9481
|
}
|
|
9482
9482
|
}
|
|
9483
|
-
var styleValue = dangerousStyleValue(styleName,
|
|
9483
|
+
var styleValue = dangerousStyleValue(styleName, styles40[styleName], isCustomProperty);
|
|
9484
9484
|
if (styleName === "float") {
|
|
9485
9485
|
styleName = "cssFloat";
|
|
9486
9486
|
}
|
|
@@ -9494,9 +9494,9 @@ var require_react_dom_development = __commonJS({
|
|
|
9494
9494
|
function isValueEmpty(value) {
|
|
9495
9495
|
return value == null || typeof value === "boolean" || value === "";
|
|
9496
9496
|
}
|
|
9497
|
-
function expandShorthandMap(
|
|
9497
|
+
function expandShorthandMap(styles40) {
|
|
9498
9498
|
var expanded = {};
|
|
9499
|
-
for (var key in
|
|
9499
|
+
for (var key in styles40) {
|
|
9500
9500
|
var longhands = shorthandToLonghand[key] || [key];
|
|
9501
9501
|
for (var i = 0; i < longhands.length; i++) {
|
|
9502
9502
|
expanded[longhands[i]] = key;
|
|
@@ -16977,7 +16977,7 @@ var require_react_dom_development = __commonJS({
|
|
|
16977
16977
|
}
|
|
16978
16978
|
}
|
|
16979
16979
|
function updateFragment2(returnFiber, current2, fragment, lanes, key) {
|
|
16980
|
-
if (current2 === null || current2.tag !==
|
|
16980
|
+
if (current2 === null || current2.tag !== Fragment6) {
|
|
16981
16981
|
var created = createFiberFromFragment(fragment, returnFiber.mode, lanes, key);
|
|
16982
16982
|
created.return = returnFiber;
|
|
16983
16983
|
return created;
|
|
@@ -17380,7 +17380,7 @@ var require_react_dom_development = __commonJS({
|
|
|
17380
17380
|
if (child.key === key) {
|
|
17381
17381
|
var elementType = element.type;
|
|
17382
17382
|
if (elementType === REACT_FRAGMENT_TYPE) {
|
|
17383
|
-
if (child.tag ===
|
|
17383
|
+
if (child.tag === Fragment6) {
|
|
17384
17384
|
deleteRemainingChildren(returnFiber, child.sibling);
|
|
17385
17385
|
var existing = useFiber(child, element.props.children);
|
|
17386
17386
|
existing.return = returnFiber;
|
|
@@ -22854,7 +22854,7 @@ var require_react_dom_development = __commonJS({
|
|
|
22854
22854
|
var _resolvedProps2 = workInProgress2.elementType === type ? _unresolvedProps2 : resolveDefaultProps(type, _unresolvedProps2);
|
|
22855
22855
|
return updateForwardRef(current2, workInProgress2, type, _resolvedProps2, renderLanes2);
|
|
22856
22856
|
}
|
|
22857
|
-
case
|
|
22857
|
+
case Fragment6:
|
|
22858
22858
|
return updateFragment(current2, workInProgress2, renderLanes2);
|
|
22859
22859
|
case Mode:
|
|
22860
22860
|
return updateMode(current2, workInProgress2, renderLanes2);
|
|
@@ -23126,7 +23126,7 @@ var require_react_dom_development = __commonJS({
|
|
|
23126
23126
|
case SimpleMemoComponent:
|
|
23127
23127
|
case FunctionComponent:
|
|
23128
23128
|
case ForwardRef:
|
|
23129
|
-
case
|
|
23129
|
+
case Fragment6:
|
|
23130
23130
|
case Mode:
|
|
23131
23131
|
case Profiler:
|
|
23132
23132
|
case ContextConsumer:
|
|
@@ -27378,7 +27378,7 @@ var require_react_dom_development = __commonJS({
|
|
|
27378
27378
|
return fiber;
|
|
27379
27379
|
}
|
|
27380
27380
|
function createFiberFromFragment(elements, mode, lanes, key) {
|
|
27381
|
-
var fiber = createFiber(
|
|
27381
|
+
var fiber = createFiber(Fragment6, elements, key, mode);
|
|
27382
27382
|
fiber.lanes = lanes;
|
|
27383
27383
|
return fiber;
|
|
27384
27384
|
}
|
|
@@ -27555,7 +27555,7 @@ var require_react_dom_development = __commonJS({
|
|
|
27555
27555
|
return root2;
|
|
27556
27556
|
}
|
|
27557
27557
|
var ReactVersion = "18.3.1";
|
|
27558
|
-
function
|
|
27558
|
+
function createPortal3(children, containerInfo, implementation) {
|
|
27559
27559
|
var key = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
|
|
27560
27560
|
{
|
|
27561
27561
|
checkKeyStringCoercion(key);
|
|
@@ -28411,7 +28411,7 @@ var require_react_dom_development = __commonJS({
|
|
|
28411
28411
|
if (!isValidContainer(container)) {
|
|
28412
28412
|
throw new Error("Target container is not a DOM element.");
|
|
28413
28413
|
}
|
|
28414
|
-
return
|
|
28414
|
+
return createPortal3(children, container, null, key);
|
|
28415
28415
|
}
|
|
28416
28416
|
function renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
|
|
28417
28417
|
return unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback);
|
|
@@ -28530,12 +28530,14 @@ var grey = {
|
|
|
28530
28530
|
};
|
|
28531
28531
|
var colors = {
|
|
28532
28532
|
primary: "#B46436",
|
|
28533
|
+
primaryLight: "#E38E5E",
|
|
28533
28534
|
black: "#000000",
|
|
28534
28535
|
white: "#ffffff",
|
|
28535
28536
|
whiteAlpha86: "#FFFFFFDB",
|
|
28536
28537
|
whiteAlpha60: "#FFFFFF99",
|
|
28537
28538
|
whiteAlpha40: "#FFFFFF66",
|
|
28538
28539
|
whiteAlpha20: "#FFFFFF33",
|
|
28540
|
+
whiteAlpha1: "#FFFFFF03",
|
|
28539
28541
|
whiteAlpha6: "#FFFFFF0F",
|
|
28540
28542
|
whiteAlpha10: "#FFFFFF1A",
|
|
28541
28543
|
whiteAlpha5: "#FFFFFF0D",
|
|
@@ -28810,7 +28812,7 @@ function ArrowRightIcon({
|
|
|
28810
28812
|
color = colors.primary,
|
|
28811
28813
|
strokeWidth = 2
|
|
28812
28814
|
}) {
|
|
28813
|
-
return /* @__PURE__ */ jsx(
|
|
28815
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28814
28816
|
Path,
|
|
28815
28817
|
{
|
|
28816
28818
|
d: ARROW_RIGHT_PATH,
|
|
@@ -28825,7 +28827,7 @@ function ArrowRightIcon({
|
|
|
28825
28827
|
// src/icons/AlertTriangle/alertTrianglePath.ts
|
|
28826
28828
|
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";
|
|
28827
28829
|
function AlertTriangleIcon({ size = 16, color = "#E38E5E", strokeWidth = 1.5 }) {
|
|
28828
|
-
return /* @__PURE__ */ jsx(
|
|
28830
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28829
28831
|
Path,
|
|
28830
28832
|
{
|
|
28831
28833
|
d: ALERT_TRIANGLE_PATH,
|
|
@@ -28861,16 +28863,16 @@ var GOOGLE_PLAY_PATHS = [
|
|
|
28861
28863
|
}
|
|
28862
28864
|
];
|
|
28863
28865
|
function AppleIcon({ size = 30, color = colors.white }) {
|
|
28864
|
-
return /* @__PURE__ */ jsx(
|
|
28866
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size * 25 / 30, height: size, viewBox: "0 0 25 30", fill: "none", children: APPLE_PATHS.map((path) => /* @__PURE__ */ jsx(Path, { d: path, fill: color }, path)) });
|
|
28865
28867
|
}
|
|
28866
28868
|
function GooglePlayIcon({ size = 30 }) {
|
|
28867
|
-
return /* @__PURE__ */ jsx(
|
|
28869
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size * 27 / 30, height: size, viewBox: "0 0 27 30", fill: "none", children: GOOGLE_PLAY_PATHS.map((path) => /* @__PURE__ */ jsx(Path, { d: path.d, fill: path.color }, path.d)) });
|
|
28868
28870
|
}
|
|
28869
28871
|
|
|
28870
28872
|
// src/icons/Bag/bagPath.ts
|
|
28871
28873
|
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";
|
|
28872
28874
|
function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
28873
|
-
return /* @__PURE__ */ jsx(
|
|
28875
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28874
28876
|
Path,
|
|
28875
28877
|
{
|
|
28876
28878
|
d: BAG_PATH,
|
|
@@ -28885,13 +28887,13 @@ function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28885
28887
|
// src/icons/Ban/banPath.ts
|
|
28886
28888
|
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";
|
|
28887
28889
|
function BanIcon({ size = 28, color = colors.primary }) {
|
|
28888
|
-
return /* @__PURE__ */ jsx(
|
|
28890
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: BAN_PATH, fill: color }) });
|
|
28889
28891
|
}
|
|
28890
28892
|
|
|
28891
28893
|
// src/icons/Bell/bellPath.ts
|
|
28892
28894
|
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";
|
|
28893
28895
|
function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
28894
|
-
return /* @__PURE__ */ jsx(
|
|
28896
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28895
28897
|
Path,
|
|
28896
28898
|
{
|
|
28897
28899
|
d: BELL_PATH,
|
|
@@ -28906,7 +28908,7 @@ function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
28906
28908
|
// src/icons/Building/buildingPath.ts
|
|
28907
28909
|
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";
|
|
28908
28910
|
function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
28909
|
-
return /* @__PURE__ */ jsx(
|
|
28911
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28910
28912
|
Path,
|
|
28911
28913
|
{
|
|
28912
28914
|
d: BUILDING_PATH,
|
|
@@ -28921,7 +28923,7 @@ function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28921
28923
|
// src/icons/Calendar/calendarPath.ts
|
|
28922
28924
|
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";
|
|
28923
28925
|
function CalendarIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
28924
|
-
return /* @__PURE__ */ jsx(
|
|
28926
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28925
28927
|
Path,
|
|
28926
28928
|
{
|
|
28927
28929
|
d: CALENDAR_PATH,
|
|
@@ -28933,6 +28935,25 @@ function CalendarIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 })
|
|
|
28933
28935
|
) });
|
|
28934
28936
|
}
|
|
28935
28937
|
|
|
28938
|
+
// src/icons/CalendarMinus/calendarMinusPath.ts
|
|
28939
|
+
var CALENDAR_MINUS_PATH = "M12.5 14.9998H17.5M17.5 9.58317V7.33317C17.5 5.93304 17.5 5.23297 17.2275 4.69819C16.9878 4.22779 16.6054 3.84534 16.135 3.60565C15.6002 3.33317 14.9001 3.33317 13.5 3.33317H6.5C5.09987 3.33317 4.3998 3.33317 3.86502 3.60565C3.39462 3.84534 3.01217 4.22779 2.77248 4.69819C2.5 5.23297 2.5 5.93304 2.5 7.33317V14.3332C2.5 15.7333 2.5 16.4334 2.77248 16.9681C3.01217 17.4386 3.39462 17.821 3.86502 18.0607C4.3998 18.3332 5.09987 18.3332 6.5 18.3332H10.4167M17.5 8.33317H2.5M13.3333 1.6665V4.99984M6.66667 1.6665V4.99984";
|
|
28940
|
+
function CalendarMinusIcon({
|
|
28941
|
+
size = 20,
|
|
28942
|
+
color = colors.grey200,
|
|
28943
|
+
strokeWidth = 2
|
|
28944
|
+
}) {
|
|
28945
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28946
|
+
Path,
|
|
28947
|
+
{
|
|
28948
|
+
d: CALENDAR_MINUS_PATH,
|
|
28949
|
+
stroke: color,
|
|
28950
|
+
strokeWidth,
|
|
28951
|
+
strokeLinecap: "round",
|
|
28952
|
+
strokeLinejoin: "round"
|
|
28953
|
+
}
|
|
28954
|
+
) });
|
|
28955
|
+
}
|
|
28956
|
+
|
|
28936
28957
|
// src/icons/CalendarOutline/calendarOutlinePath.ts
|
|
28937
28958
|
var CALENDAR_OUTLINE_PATH = "M10.6667 1.33334V4.00001M5.33333 1.33334V4.00001M2 6.66668H14M5.2 2.66668H10.8C11.9201 2.66668 12.4802 2.66668 12.908 2.88466C13.2843 3.07641 13.5903 3.38237 13.782 3.7587C14 4.18652 14 4.74657 14 5.86668V11.4667C14 12.5868 14 13.1468 13.782 13.5747C13.5903 13.951 13.2843 14.2569 12.908 14.4487C12.4802 14.6667 11.9201 14.6667 10.8 14.6667H5.2C4.0799 14.6667 3.51984 14.6667 3.09202 14.4487C2.71569 14.2569 2.40973 13.951 2.21799 13.5747C2 13.1468 2 12.5868 2 11.4667V5.86668C2 4.74657 2 4.18652 2.21799 3.7587C2.40973 3.38237 2.71569 3.07641 3.09202 2.88466C3.51984 2.66668 4.0799 2.66668 5.2 2.66668Z";
|
|
28938
28959
|
function CalendarOutlineIcon({
|
|
@@ -28940,7 +28961,7 @@ function CalendarOutlineIcon({
|
|
|
28940
28961
|
color = colors.primary,
|
|
28941
28962
|
strokeWidth = 1.5
|
|
28942
28963
|
}) {
|
|
28943
|
-
return /* @__PURE__ */ jsx(
|
|
28964
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28944
28965
|
Path,
|
|
28945
28966
|
{
|
|
28946
28967
|
d: CALENDAR_OUTLINE_PATH,
|
|
@@ -28955,7 +28976,7 @@ function CalendarOutlineIcon({
|
|
|
28955
28976
|
// src/icons/Camera/cameraPath.ts
|
|
28956
28977
|
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";
|
|
28957
28978
|
function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
28958
|
-
return /* @__PURE__ */ jsx(
|
|
28979
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28959
28980
|
Path,
|
|
28960
28981
|
{
|
|
28961
28982
|
d: CAMERA_PATH,
|
|
@@ -28970,13 +28991,13 @@ function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28970
28991
|
// src/icons/CameraFilled/cameraFilledPath.ts
|
|
28971
28992
|
var CAMERA_FILLED_PATH = "M25.3327 8.66605H23.626L23.1993 7.33271C22.9228 6.55035 22.4097 5.87338 21.7312 5.39559C21.0528 4.9178 20.2425 4.66285 19.4127 4.66605H12.586C11.7481 4.66761 10.9318 4.93229 10.2524 5.42272C9.57295 5.91315 9.06469 6.60456 8.79935 7.39938L8.37268 8.73271H6.66602C5.60515 8.73271 4.58773 9.15414 3.83759 9.90428C3.08744 10.6544 2.66602 11.6718 2.66602 12.7327V23.3994C2.66602 24.4602 3.08744 25.4777 3.83759 26.2278C4.58773 26.978 5.60515 27.3994 6.66602 27.3994H25.3327C26.3935 27.3994 27.411 26.978 28.1611 26.2278C28.9113 25.4777 29.3327 24.4602 29.3327 23.3994V12.7327C29.3415 12.2018 29.2446 11.6745 29.0476 11.1815C28.8505 10.6885 28.5573 10.2396 28.1849 9.86109C27.8126 9.48256 27.3687 9.18195 26.879 8.97678C26.3893 8.7716 25.8636 8.66597 25.3327 8.66605ZM26.666 23.3327C26.666 23.6863 26.5255 24.0255 26.2755 24.2755C26.0254 24.5256 25.6863 24.666 25.3327 24.666H6.66602C6.31239 24.666 5.97326 24.5256 5.72321 24.2755C5.47316 24.0255 5.33268 23.6863 5.33268 23.3327V12.666C5.33268 12.3124 5.47316 11.9733 5.72321 11.7232C5.97326 11.4732 6.31239 11.3327 6.66602 11.3327H9.33268C9.62344 11.3479 9.91117 11.2675 10.1519 11.1038C10.3927 10.94 10.5732 10.702 10.666 10.426L11.386 8.23938C11.4755 7.97455 11.6459 7.74453 11.8732 7.58183C12.1005 7.41914 12.3732 7.33199 12.6527 7.33271H19.4793C19.7589 7.33199 20.0316 7.41914 20.2589 7.58183C20.4862 7.74453 20.6566 7.97455 20.746 8.23938L21.466 10.426C21.5516 10.6804 21.7119 10.903 21.926 11.0647C22.1401 11.2265 22.398 11.3199 22.666 11.3327H25.3327C25.6863 11.3327 26.0254 11.4732 26.2755 11.7232C26.5255 11.9733 26.666 12.3124 26.666 12.666V23.3327ZM15.9993 11.3327C14.9445 11.3327 13.9134 11.6455 13.0363 12.2315C12.1592 12.8176 11.4757 13.6505 11.072 14.6251C10.6683 15.5996 10.5627 16.672 10.7685 17.7065C10.9743 18.7411 11.4822 19.6914 12.2281 20.4373C12.974 21.1832 13.9243 21.6911 14.9589 21.8969C15.9934 22.1027 17.0658 21.9971 18.0403 21.5934C19.0149 21.1897 19.8478 20.5061 20.4339 19.6291C21.0199 18.752 21.3327 17.7209 21.3327 16.666C21.3327 15.2516 20.7708 13.895 19.7706 12.8948C18.7704 11.8946 17.4138 11.3327 15.9993 11.3327ZM15.9993 19.3327C15.4719 19.3327 14.9564 19.1763 14.5178 18.8833C14.0793 18.5903 13.7375 18.1738 13.5357 17.6865C13.3338 17.1993 13.281 16.6631 13.3839 16.1458C13.4868 15.6285 13.7408 15.1534 14.1137 14.7804C14.4867 14.4075 14.9618 14.1535 15.4791 14.0506C15.9964 13.9477 16.5326 14.0005 17.0198 14.2024C17.5071 14.4042 17.9236 14.746 18.2166 15.1845C18.5096 15.6231 18.666 16.1386 18.666 16.666C18.666 17.3733 18.3851 18.0516 17.885 18.5517C17.3849 19.0518 16.7066 19.3327 15.9993 19.3327Z";
|
|
28972
28993
|
function CameraFilledIcon({ size = 32, color = colors.primary }) {
|
|
28973
|
-
return /* @__PURE__ */ jsx(
|
|
28994
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 32 32", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: CAMERA_FILLED_PATH, fill: color }) });
|
|
28974
28995
|
}
|
|
28975
28996
|
|
|
28976
28997
|
// src/icons/Check/checkPath.ts
|
|
28977
28998
|
var CHECK_PATH = "M4.16669 10.8333L7.50002 14.1667L15.8334 5.83334";
|
|
28978
28999
|
function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
28979
|
-
return /* @__PURE__ */ jsx(
|
|
29000
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28980
29001
|
Path,
|
|
28981
29002
|
{
|
|
28982
29003
|
d: CHECK_PATH,
|
|
@@ -28991,7 +29012,7 @@ function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28991
29012
|
// src/icons/CheckBadge/checkBadgePath.ts
|
|
28992
29013
|
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";
|
|
28993
29014
|
function CheckBadgeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
28994
|
-
return /* @__PURE__ */ jsx(
|
|
29015
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28995
29016
|
Path,
|
|
28996
29017
|
{
|
|
28997
29018
|
d: CHECK_BADGE_PATH,
|
|
@@ -29010,7 +29031,7 @@ function ChevronDownIcon({
|
|
|
29010
29031
|
color = colors.primary,
|
|
29011
29032
|
strokeWidth = 2
|
|
29012
29033
|
}) {
|
|
29013
|
-
return /* @__PURE__ */ jsx(
|
|
29034
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29014
29035
|
Path,
|
|
29015
29036
|
{
|
|
29016
29037
|
d: CHEVRON_DOWN_PATH,
|
|
@@ -29025,7 +29046,7 @@ function ChevronDownIcon({
|
|
|
29025
29046
|
// src/icons/ChevronLeft/chevronLeftPath.ts
|
|
29026
29047
|
var CHEVRON_LEFT_PATH = "M12.5 15L7.5 10L12.5 5";
|
|
29027
29048
|
function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29028
|
-
return /* @__PURE__ */ jsx(
|
|
29049
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29029
29050
|
Path,
|
|
29030
29051
|
{
|
|
29031
29052
|
d: CHEVRON_LEFT_PATH,
|
|
@@ -29040,7 +29061,7 @@ function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 })
|
|
|
29040
29061
|
// src/icons/Clock/clockPath.ts
|
|
29041
29062
|
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";
|
|
29042
29063
|
function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29043
|
-
return /* @__PURE__ */ jsx(
|
|
29064
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29044
29065
|
Path,
|
|
29045
29066
|
{
|
|
29046
29067
|
d: CLOCK_PATH,
|
|
@@ -29055,7 +29076,7 @@ function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29055
29076
|
// src/icons/Close/closePath.ts
|
|
29056
29077
|
var CLOSE_PATH = "M15 5L5 15M5 5L15 15";
|
|
29057
29078
|
function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29058
|
-
return /* @__PURE__ */ jsx(
|
|
29079
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29059
29080
|
Path,
|
|
29060
29081
|
{
|
|
29061
29082
|
d: CLOSE_PATH,
|
|
@@ -29070,7 +29091,7 @@ function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29070
29091
|
// src/icons/Edit/editPath.ts
|
|
29071
29092
|
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";
|
|
29072
29093
|
function EditIcon({ size = 12, color = colors.grey0, strokeWidth = 2 }) {
|
|
29073
|
-
return /* @__PURE__ */ jsx(
|
|
29094
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29074
29095
|
Path,
|
|
29075
29096
|
{
|
|
29076
29097
|
d: EDIT_PATH,
|
|
@@ -29097,7 +29118,7 @@ function SaveHeartIcon({
|
|
|
29097
29118
|
strokeWidth = 2,
|
|
29098
29119
|
fillOpacity = 0
|
|
29099
29120
|
}) {
|
|
29100
|
-
return /* @__PURE__ */ jsx(
|
|
29121
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29101
29122
|
Path,
|
|
29102
29123
|
{
|
|
29103
29124
|
d: SAVE_HEART_PATH,
|
|
@@ -29111,7 +29132,7 @@ function SaveHeartIcon({
|
|
|
29111
29132
|
) });
|
|
29112
29133
|
}
|
|
29113
29134
|
function RatingStarIcon({ size = 12, color = "#E38E5E", strokeWidth = 2 }) {
|
|
29114
|
-
return /* @__PURE__ */ jsx(
|
|
29135
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29115
29136
|
Path,
|
|
29116
29137
|
{
|
|
29117
29138
|
d: RATING_STAR_PATH,
|
|
@@ -29129,7 +29150,7 @@ function CardLocationIcon({
|
|
|
29129
29150
|
strokeWidth = 1.5,
|
|
29130
29151
|
secondaryColor = colors.grey700
|
|
29131
29152
|
}) {
|
|
29132
|
-
return /* @__PURE__ */ jsxs(
|
|
29153
|
+
return /* @__PURE__ */ jsxs(Svg21, { width: size, height: size, viewBox: "0 0 13 13", fill: "none", children: [
|
|
29133
29154
|
/* @__PURE__ */ jsx(
|
|
29134
29155
|
Path,
|
|
29135
29156
|
{
|
|
@@ -29168,7 +29189,7 @@ function FilledCardIcon({
|
|
|
29168
29189
|
color,
|
|
29169
29190
|
fillOpacity
|
|
29170
29191
|
}) {
|
|
29171
|
-
return /* @__PURE__ */ jsx(
|
|
29192
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: path, fill: color, fillOpacity }) });
|
|
29172
29193
|
}
|
|
29173
29194
|
function GuestsIcon({ size = 16, color = colors.white, fillOpacity = 0.4 }) {
|
|
29174
29195
|
return /* @__PURE__ */ jsx(FilledCardIcon, { path: GUESTS_PATH, size, color, fillOpacity });
|
|
@@ -29196,7 +29217,7 @@ var COPY_PATH = "M6.66699 13.3337V15.667C6.66699 16.6004 6.66699 17.0671 6.84865
|
|
|
29196
29217
|
var CHECK_SUCCESS_PATH = "M16.6663 5L7.49967 14.1667L3.33301 10";
|
|
29197
29218
|
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";
|
|
29198
29219
|
function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29199
|
-
return /* @__PURE__ */ jsx(
|
|
29220
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29200
29221
|
Path,
|
|
29201
29222
|
{
|
|
29202
29223
|
d: SHARE_PATH,
|
|
@@ -29208,7 +29229,7 @@ function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29208
29229
|
) });
|
|
29209
29230
|
}
|
|
29210
29231
|
function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29211
|
-
return /* @__PURE__ */ jsx(
|
|
29232
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29212
29233
|
Path,
|
|
29213
29234
|
{
|
|
29214
29235
|
d: DOWNLOAD_PATH,
|
|
@@ -29220,7 +29241,7 @@ function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29220
29241
|
) });
|
|
29221
29242
|
}
|
|
29222
29243
|
function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29223
|
-
return /* @__PURE__ */ jsx(
|
|
29244
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: AREA_EXPAND_PATHS.map((path) => /* @__PURE__ */ jsx(
|
|
29224
29245
|
Path,
|
|
29225
29246
|
{
|
|
29226
29247
|
d: path,
|
|
@@ -29233,16 +29254,16 @@ function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29233
29254
|
)) });
|
|
29234
29255
|
}
|
|
29235
29256
|
function ClockFilledIcon({ size = 16, color = colors.white }) {
|
|
29236
|
-
return /* @__PURE__ */ jsx(
|
|
29257
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: CLOCK_FILLED_PATH, fill: color }) });
|
|
29237
29258
|
}
|
|
29238
29259
|
function QrCodeIcon({ size = 24, color = colors.primary }) {
|
|
29239
|
-
return /* @__PURE__ */ jsx(
|
|
29260
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: QR_CODE_PATH, fill: color }) });
|
|
29240
29261
|
}
|
|
29241
29262
|
function WhatsAppIcon({ size = 24, color = colors.white }) {
|
|
29242
|
-
return /* @__PURE__ */ jsx(
|
|
29263
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: WHATSAPP_PATH, fill: color }) });
|
|
29243
29264
|
}
|
|
29244
29265
|
function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29245
|
-
return /* @__PURE__ */ jsx(
|
|
29266
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29246
29267
|
Path,
|
|
29247
29268
|
{
|
|
29248
29269
|
d: COPY_PATH,
|
|
@@ -29254,7 +29275,7 @@ function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
29254
29275
|
) });
|
|
29255
29276
|
}
|
|
29256
29277
|
function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 }) {
|
|
29257
|
-
return /* @__PURE__ */ jsx(
|
|
29278
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29258
29279
|
Path,
|
|
29259
29280
|
{
|
|
29260
29281
|
d: CHECK_SUCCESS_PATH,
|
|
@@ -29266,7 +29287,7 @@ function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 })
|
|
|
29266
29287
|
) });
|
|
29267
29288
|
}
|
|
29268
29289
|
function TooltipArrowIcon({ size = 10, color = colors.grey600 }) {
|
|
29269
|
-
return /* @__PURE__ */ jsx(
|
|
29290
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size * 8 / 10, viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: TOOLTIP_ARROW_PATH, fill: color }) });
|
|
29270
29291
|
}
|
|
29271
29292
|
|
|
29272
29293
|
// src/icons/HouseRules/houseRulesPaths.ts
|
|
@@ -29286,10 +29307,10 @@ var PAW_PATHS = [
|
|
|
29286
29307
|
];
|
|
29287
29308
|
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";
|
|
29288
29309
|
function QuietHoursIcon({ size = 20, color = colors.white }) {
|
|
29289
|
-
return /* @__PURE__ */ jsx(
|
|
29310
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: QUIET_HOURS_PATH, fill: color }) });
|
|
29290
29311
|
}
|
|
29291
29312
|
function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
29292
|
-
return /* @__PURE__ */ jsx(
|
|
29313
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: NO_SMOKING_PATHS.map((d) => /* @__PURE__ */ jsx(
|
|
29293
29314
|
Path,
|
|
29294
29315
|
{
|
|
29295
29316
|
d,
|
|
@@ -29302,7 +29323,7 @@ function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
29302
29323
|
)) });
|
|
29303
29324
|
}
|
|
29304
29325
|
function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
29305
|
-
return /* @__PURE__ */ jsx(
|
|
29326
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: PAW_PATHS.map((d) => /* @__PURE__ */ jsx(
|
|
29306
29327
|
Path,
|
|
29307
29328
|
{
|
|
29308
29329
|
d,
|
|
@@ -29315,7 +29336,7 @@ function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
29315
29336
|
)) });
|
|
29316
29337
|
}
|
|
29317
29338
|
function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29318
|
-
return /* @__PURE__ */ jsx(
|
|
29339
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29319
29340
|
Path,
|
|
29320
29341
|
{
|
|
29321
29342
|
d: TRASH_PATH,
|
|
@@ -29330,13 +29351,13 @@ function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29330
29351
|
// src/icons/Facebook/facebookPath.ts
|
|
29331
29352
|
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";
|
|
29332
29353
|
function FacebookIcon({ size = 20, color = colors.white }) {
|
|
29333
|
-
return /* @__PURE__ */ jsx(
|
|
29354
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: FACEBOOK_PATH, fill: color }) });
|
|
29334
29355
|
}
|
|
29335
29356
|
|
|
29336
29357
|
// src/icons/Filters/filtersPath.ts
|
|
29337
29358
|
var FILTERS_PATH = "M5 10H15M2.5 5H17.5M7.5 15H12.5";
|
|
29338
29359
|
function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29339
|
-
return /* @__PURE__ */ jsx(
|
|
29360
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29340
29361
|
Path,
|
|
29341
29362
|
{
|
|
29342
29363
|
d: FILTERS_PATH,
|
|
@@ -29351,7 +29372,7 @@ function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
29351
29372
|
// src/icons/Fullscreen/fullscreenPath.ts
|
|
29352
29373
|
var FULLSCREEN_PATH = "M16 8L21 3M21 8V3H16M8 8L3 3M8 3L3 3L3 8M8 16L3 21M3 16L3 21H8M16 16L21 21M16 21H21V16";
|
|
29353
29374
|
function FullscreenIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29354
|
-
return /* @__PURE__ */ jsx(
|
|
29375
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29355
29376
|
Path,
|
|
29356
29377
|
{
|
|
29357
29378
|
d: FULLSCREEN_PATH,
|
|
@@ -29366,7 +29387,7 @@ function FullscreenIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29366
29387
|
// src/icons/Heart/heartPath.ts
|
|
29367
29388
|
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";
|
|
29368
29389
|
function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29369
|
-
return /* @__PURE__ */ jsx(
|
|
29390
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29370
29391
|
Path,
|
|
29371
29392
|
{
|
|
29372
29393
|
d: HEART_PATH,
|
|
@@ -29384,7 +29405,7 @@ function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
29384
29405
|
var HEADSET_PATH = "M3 11H6C6.53043 11 7.03914 11.2107 7.41421 11.5858C7.78929 11.9609 8 12.4696 8 13V16C8 16.5304 7.78929 17.0391 7.41421 17.4142C7.03914 17.7893 6.53043 18 6 18H5C4.46957 18 3.96086 17.7893 3.58579 17.4142C3.21071 17.0391 3 16.5304 3 16V11ZM3 11C3 9.8181 3.23279 8.64778 3.68508 7.55585C4.13738 6.46392 4.80031 5.47177 5.63604 4.63604C6.47177 3.80031 7.46392 3.13738 8.55585 2.68508C9.64778 2.23279 10.8181 2 12 2C13.1819 2 14.3522 2.23279 15.4442 2.68508C16.5361 3.13738 17.5282 3.80031 18.364 4.63604C19.1997 5.47177 19.8626 6.46392 20.3149 7.55585C20.7672 8.64778 21 9.8181 21 11M21 11V16C21 16.5304 20.7893 17.0391 20.4142 17.4142C20.0391 17.7893 19.5304 18 19 18H18C17.4696 18 16.9609 17.7893 16.5858 17.4142C16.2107 17.0391 16 16.5304 16 16V13C16 12.4696 16.2107 11.9609 16.5858 11.5858C16.9609 11.2107 17.4696 11 18 11H21Z";
|
|
29385
29406
|
var HEADSET_MIC_PATH = "M21 16V18C21 19.0609 20.5786 20.0783 19.8284 20.8284C19.0783 21.5786 18.0609 22 17 22H12";
|
|
29386
29407
|
function HeadsetIcon({ size = 24, color = "#B76533", strokeWidth = 2 }) {
|
|
29387
|
-
return /* @__PURE__ */ jsxs(
|
|
29408
|
+
return /* @__PURE__ */ jsxs(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
29388
29409
|
/* @__PURE__ */ jsx(
|
|
29389
29410
|
Path,
|
|
29390
29411
|
{
|
|
@@ -29411,7 +29432,7 @@ function HeadsetIcon({ size = 24, color = "#B76533", strokeWidth = 2 }) {
|
|
|
29411
29432
|
// src/icons/Globe/globePath.ts
|
|
29412
29433
|
var GLOBE_PATH = "M1.3335 8.00004H14.6668M1.3335 8.00004C1.3335 11.6819 4.31826 14.6667 8.00016 14.6667M1.3335 8.00004C1.3335 4.31814 4.31826 1.33337 8.00016 1.33337M14.6668 8.00004C14.6668 11.6819 11.6821 14.6667 8.00016 14.6667M14.6668 8.00004C14.6668 4.31814 11.6821 1.33337 8.00016 1.33337M8.00016 1.33337C9.66768 3.15894 10.6153 5.52806 10.6668 8.00004C10.6153 10.472 9.66768 12.8411 8.00016 14.6667M8.00016 1.33337C6.33264 3.15894 5.38499 5.52806 5.3335 8.00004C5.38499 10.472 6.33264 12.8411 8.00016 14.6667";
|
|
29413
29434
|
function GlobeIcon({ size = 16, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29414
|
-
return /* @__PURE__ */ jsx(
|
|
29435
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29415
29436
|
Path,
|
|
29416
29437
|
{
|
|
29417
29438
|
d: GLOBE_PATH,
|
|
@@ -29430,7 +29451,7 @@ function HelpCircleIcon({
|
|
|
29430
29451
|
color = colors.primary,
|
|
29431
29452
|
strokeWidth = 1.5
|
|
29432
29453
|
}) {
|
|
29433
|
-
return /* @__PURE__ */ jsx(
|
|
29454
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29434
29455
|
Path,
|
|
29435
29456
|
{
|
|
29436
29457
|
d: HELP_CIRCLE_PATH,
|
|
@@ -29445,7 +29466,7 @@ function HelpCircleIcon({
|
|
|
29445
29466
|
// src/icons/Hide/hidePath.ts
|
|
29446
29467
|
var HIDE_PATH = "M10.7429 5.09232C11.1494 5.03223 11.5686 5 12.0004 5C17.1054 5 20.4553 9.50484 21.5807 11.2868C21.7169 11.5025 21.785 11.6103 21.8231 11.7767C21.8518 11.9016 21.8517 12.0987 21.8231 12.2236C21.7849 12.3899 21.7164 12.4985 21.5792 12.7156C21.2793 13.1901 20.8222 13.8571 20.2165 14.5805M6.72432 6.71504C4.56225 8.1817 3.09445 10.2194 2.42111 11.2853C2.28428 11.5019 2.21587 11.6102 2.17774 11.7765C2.1491 11.9014 2.14909 12.0984 2.17771 12.2234C2.21583 12.3897 2.28393 12.4975 2.42013 12.7132C3.54554 14.4952 6.89541 19 12.0004 19C14.0588 19 15.8319 18.2676 17.2888 17.2766M3.00042 3L21.0004 21M9.8791 9.87868C9.3362 10.4216 9.00042 11.1716 9.00042 12C9.00042 13.6569 10.3436 15 12.0004 15C12.8288 15 13.5788 14.6642 14.1217 14.1213";
|
|
29447
29468
|
function HideIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29448
|
-
return /* @__PURE__ */ jsx(
|
|
29469
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29449
29470
|
Path,
|
|
29450
29471
|
{
|
|
29451
29472
|
d: HIDE_PATH,
|
|
@@ -29460,7 +29481,7 @@ function HideIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29460
29481
|
// src/icons/Home/homePath.ts
|
|
29461
29482
|
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";
|
|
29462
29483
|
function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29463
|
-
return /* @__PURE__ */ jsx(
|
|
29484
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29464
29485
|
Path,
|
|
29465
29486
|
{
|
|
29466
29487
|
d: HOME_PATH,
|
|
@@ -29475,13 +29496,13 @@ function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29475
29496
|
// src/icons/Instagram/instagramPath.ts
|
|
29476
29497
|
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";
|
|
29477
29498
|
function InstagramIcon({ size = 20, color = colors.white }) {
|
|
29478
|
-
return /* @__PURE__ */ jsx(
|
|
29499
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: INSTAGRAM_PATH, fill: color }) });
|
|
29479
29500
|
}
|
|
29480
29501
|
|
|
29481
29502
|
// src/icons/Key/keyPath.ts
|
|
29482
29503
|
var KEY_PATH = "M14.1668 8.33333V6.66667C14.1668 4.36548 12.3013 2.5 10.0002 2.5C7.69898 2.5 5.8335 4.36548 5.8335 6.66667V8.33333M10.0002 12.0833V13.75M7.3335 17.5H12.6668C14.067 17.5 14.767 17.5 15.3018 17.2275C15.7722 16.9878 16.1547 16.6054 16.3943 16.135C16.6668 15.6002 16.6668 14.9001 16.6668 13.5V12.3333C16.6668 10.9332 16.6668 10.2331 16.3943 9.69836C16.1547 9.22795 15.7722 8.8455 15.3018 8.60582C14.767 8.33333 14.067 8.33333 12.6668 8.33333H7.3335C5.93336 8.33333 5.2333 8.33333 4.69852 8.60582C4.22811 8.8455 3.84566 9.22795 3.60598 9.69836C3.3335 10.2331 3.3335 10.9332 3.3335 12.3333V13.5C3.3335 14.9001 3.3335 15.6002 3.60598 16.135C3.84566 16.6054 4.22811 16.9878 4.69852 17.2275C5.2333 17.5 5.93336 17.5 7.3335 17.5Z";
|
|
29483
29504
|
function KeyIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29484
|
-
return /* @__PURE__ */ jsx(
|
|
29505
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29485
29506
|
Path,
|
|
29486
29507
|
{
|
|
29487
29508
|
d: KEY_PATH,
|
|
@@ -29500,7 +29521,7 @@ function LayoutGridIcon({
|
|
|
29500
29521
|
color = colors.primary,
|
|
29501
29522
|
strokeWidth = 1.5
|
|
29502
29523
|
}) {
|
|
29503
|
-
return /* @__PURE__ */ jsx(
|
|
29524
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29504
29525
|
Path,
|
|
29505
29526
|
{
|
|
29506
29527
|
d: LAYOUT_GRID_PATH,
|
|
@@ -29515,13 +29536,13 @@ function LayoutGridIcon({
|
|
|
29515
29536
|
// src/icons/LinkedIn/linkedinPath.ts
|
|
29516
29537
|
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";
|
|
29517
29538
|
function LinkedInIcon({ size = 20, color = colors.white }) {
|
|
29518
|
-
return /* @__PURE__ */ jsx(
|
|
29539
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: LINKEDIN_PATH, fill: color }) });
|
|
29519
29540
|
}
|
|
29520
29541
|
|
|
29521
29542
|
// src/icons/ListView/listViewPath.ts
|
|
29522
29543
|
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";
|
|
29523
29544
|
function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29524
|
-
return /* @__PURE__ */ jsx(
|
|
29545
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29525
29546
|
Path,
|
|
29526
29547
|
{
|
|
29527
29548
|
d: LIST_VIEW_PATH,
|
|
@@ -29536,7 +29557,7 @@ function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29536
29557
|
// src/icons/LocationPin/locationPinPath.ts
|
|
29537
29558
|
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";
|
|
29538
29559
|
function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29539
|
-
return /* @__PURE__ */ jsx(
|
|
29560
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29540
29561
|
Path,
|
|
29541
29562
|
{
|
|
29542
29563
|
d: LOCATION_PIN_PATH,
|
|
@@ -29551,13 +29572,13 @@ function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 })
|
|
|
29551
29572
|
// src/icons/LocationUser/locationUserPath.ts
|
|
29552
29573
|
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";
|
|
29553
29574
|
function LocationUserIcon({ size = 16, color = colors.grey0 }) {
|
|
29554
|
-
return /* @__PURE__ */ jsx(
|
|
29575
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: LOCATION_USER_PATH, fill: color }) });
|
|
29555
29576
|
}
|
|
29556
29577
|
|
|
29557
29578
|
// src/icons/Lock/lockPath.ts
|
|
29558
29579
|
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";
|
|
29559
29580
|
function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
29560
|
-
return /* @__PURE__ */ jsx(
|
|
29581
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 32 32", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29561
29582
|
Path,
|
|
29562
29583
|
{
|
|
29563
29584
|
d: LOCK_PATH,
|
|
@@ -29572,7 +29593,7 @@ function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29572
29593
|
// src/icons/LogOut/logOutPath.ts
|
|
29573
29594
|
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";
|
|
29574
29595
|
function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
29575
|
-
return /* @__PURE__ */ jsx(
|
|
29596
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29576
29597
|
Path,
|
|
29577
29598
|
{
|
|
29578
29599
|
d: LOG_OUT_PATH,
|
|
@@ -29587,7 +29608,7 @@ function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
|
29587
29608
|
// src/icons/Mail/mailPath.ts
|
|
29588
29609
|
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";
|
|
29589
29610
|
function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29590
|
-
return /* @__PURE__ */ jsx(
|
|
29611
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29591
29612
|
Path,
|
|
29592
29613
|
{
|
|
29593
29614
|
d: MAIL_PATH,
|
|
@@ -29602,7 +29623,7 @@ function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29602
29623
|
// src/icons/MapView/mapViewPath.ts
|
|
29603
29624
|
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";
|
|
29604
29625
|
function MapViewIcon({ size = 20, color = colors.grey400, strokeWidth = 2 }) {
|
|
29605
|
-
return /* @__PURE__ */ jsx(
|
|
29626
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29606
29627
|
Path,
|
|
29607
29628
|
{
|
|
29608
29629
|
d: MAP_VIEW_PATH,
|
|
@@ -29623,7 +29644,7 @@ function MapControlIcon({
|
|
|
29623
29644
|
color = colors.white,
|
|
29624
29645
|
strokeWidth = 2
|
|
29625
29646
|
}) {
|
|
29626
|
-
return /* @__PURE__ */ jsx(
|
|
29647
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29627
29648
|
Path,
|
|
29628
29649
|
{
|
|
29629
29650
|
d: path,
|
|
@@ -29650,7 +29671,7 @@ function MenuIcon({
|
|
|
29650
29671
|
strokeWidth = 2,
|
|
29651
29672
|
open = false
|
|
29652
29673
|
}) {
|
|
29653
|
-
return /* @__PURE__ */ jsx(
|
|
29674
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 19 19", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29654
29675
|
Path,
|
|
29655
29676
|
{
|
|
29656
29677
|
d: open ? MENU_CLOSE_PATH : MENU_PATH,
|
|
@@ -29666,7 +29687,7 @@ function MenuIcon({
|
|
|
29666
29687
|
// src/icons/MenuLines/menuLinesPath.ts
|
|
29667
29688
|
var MENU_LINES_PATH = "M5.83398 19.8337H15.1673M5.83398 14.0003H22.1673M5.83398 8.16699H15.1673";
|
|
29668
29689
|
function MenuLinesIcon({ size = 28, color = colors.white, strokeWidth = 2 }) {
|
|
29669
|
-
return /* @__PURE__ */ jsx(
|
|
29690
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29670
29691
|
Path,
|
|
29671
29692
|
{
|
|
29672
29693
|
d: MENU_LINES_PATH,
|
|
@@ -29681,7 +29702,7 @@ function MenuLinesIcon({ size = 28, color = colors.white, strokeWidth = 2 }) {
|
|
|
29681
29702
|
// src/icons/Minus/minusPath.ts
|
|
29682
29703
|
var MINUS_PATH = "M3.33337 8H12.6667";
|
|
29683
29704
|
function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
29684
|
-
return /* @__PURE__ */ jsx(
|
|
29705
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29685
29706
|
Path,
|
|
29686
29707
|
{
|
|
29687
29708
|
d: MINUS_PATH,
|
|
@@ -29701,7 +29722,7 @@ function MoreHorizontalIcon({
|
|
|
29701
29722
|
color = colors.white,
|
|
29702
29723
|
strokeWidth = 2
|
|
29703
29724
|
}) {
|
|
29704
|
-
return /* @__PURE__ */ jsx(
|
|
29725
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size * ASPECT_RATIO, viewBox: "0 0 13 4", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29705
29726
|
Path,
|
|
29706
29727
|
{
|
|
29707
29728
|
d: MORE_HORIZONTAL_PATH,
|
|
@@ -29716,7 +29737,7 @@ function MoreHorizontalIcon({
|
|
|
29716
29737
|
// src/icons/Navigate/navigatePath.ts
|
|
29717
29738
|
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";
|
|
29718
29739
|
function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29719
|
-
return /* @__PURE__ */ jsx(
|
|
29740
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29720
29741
|
Path,
|
|
29721
29742
|
{
|
|
29722
29743
|
d: NAVIGATE_PATH,
|
|
@@ -29731,7 +29752,7 @@ function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29731
29752
|
// src/icons/Phone/phonePath.ts
|
|
29732
29753
|
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";
|
|
29733
29754
|
function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29734
|
-
return /* @__PURE__ */ jsx(
|
|
29755
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29735
29756
|
Path,
|
|
29736
29757
|
{
|
|
29737
29758
|
d: PHONE_PATH,
|
|
@@ -29746,7 +29767,7 @@ function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29746
29767
|
// src/icons/Plus/plusPath.ts
|
|
29747
29768
|
var PLUS_PATH = "M8.00004 3.33325V12.6666M3.33337 7.99992H12.6667";
|
|
29748
29769
|
function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
29749
|
-
return /* @__PURE__ */ jsx(
|
|
29770
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29750
29771
|
Path,
|
|
29751
29772
|
{
|
|
29752
29773
|
d: PLUS_PATH,
|
|
@@ -29761,7 +29782,7 @@ function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
29761
29782
|
// src/icons/Refresh/refreshPath.ts
|
|
29762
29783
|
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";
|
|
29763
29784
|
function RefreshIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29764
|
-
return /* @__PURE__ */ jsx(
|
|
29785
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29765
29786
|
Path,
|
|
29766
29787
|
{
|
|
29767
29788
|
d: REFRESH_PATH,
|
|
@@ -29780,7 +29801,7 @@ function RefundStatusIcon({
|
|
|
29780
29801
|
color = colors.primary,
|
|
29781
29802
|
strokeWidth = 2
|
|
29782
29803
|
}) {
|
|
29783
|
-
return /* @__PURE__ */ jsx(
|
|
29804
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29784
29805
|
Path,
|
|
29785
29806
|
{
|
|
29786
29807
|
d: REFUND_STATUS_PATH,
|
|
@@ -29800,7 +29821,7 @@ function SearchIcon({
|
|
|
29800
29821
|
color = colors.primary,
|
|
29801
29822
|
strokeWidth = 2
|
|
29802
29823
|
}) {
|
|
29803
|
-
return /* @__PURE__ */ jsxs(
|
|
29824
|
+
return /* @__PURE__ */ jsxs(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
29804
29825
|
/* @__PURE__ */ jsx(
|
|
29805
29826
|
Path,
|
|
29806
29827
|
{
|
|
@@ -29827,7 +29848,7 @@ function SearchIcon({
|
|
|
29827
29848
|
// src/icons/Settings/settingsPath.ts
|
|
29828
29849
|
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";
|
|
29829
29850
|
function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29830
|
-
return /* @__PURE__ */ jsx(
|
|
29851
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29831
29852
|
Path,
|
|
29832
29853
|
{
|
|
29833
29854
|
d: SETTINGS_PATH,
|
|
@@ -29843,7 +29864,7 @@ function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 })
|
|
|
29843
29864
|
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";
|
|
29844
29865
|
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";
|
|
29845
29866
|
function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29846
|
-
return /* @__PURE__ */ jsxs(
|
|
29867
|
+
return /* @__PURE__ */ jsxs(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
29847
29868
|
/* @__PURE__ */ jsx(
|
|
29848
29869
|
Path,
|
|
29849
29870
|
{
|
|
@@ -29870,7 +29891,7 @@ function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29870
29891
|
// src/icons/Sidebar/sidebarPath.ts
|
|
29871
29892
|
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";
|
|
29872
29893
|
function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29873
|
-
return /* @__PURE__ */ jsx(
|
|
29894
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29874
29895
|
Path,
|
|
29875
29896
|
{
|
|
29876
29897
|
d: SIDEBAR_PATH,
|
|
@@ -29885,7 +29906,7 @@ function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29885
29906
|
// src/icons/Sort/sortPath.ts
|
|
29886
29907
|
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";
|
|
29887
29908
|
function SortIcon({ size = 20, color = colors.grey300, strokeWidth = 2 }) {
|
|
29888
|
-
return /* @__PURE__ */ jsx(
|
|
29909
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29889
29910
|
Path,
|
|
29890
29911
|
{
|
|
29891
29912
|
d: SORT_PATH,
|
|
@@ -29907,7 +29928,7 @@ function StarIcon({
|
|
|
29907
29928
|
strokeWidth = 2
|
|
29908
29929
|
}) {
|
|
29909
29930
|
const resolvedColor = color ?? (active ? "#E38E5E" : colors.grey150);
|
|
29910
|
-
return /* @__PURE__ */ jsx(
|
|
29931
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29911
29932
|
Path,
|
|
29912
29933
|
{
|
|
29913
29934
|
d: STAR_PATH,
|
|
@@ -29925,7 +29946,7 @@ function StarFilledIcon({
|
|
|
29925
29946
|
color = "#E38E5E",
|
|
29926
29947
|
strokeWidth = 2
|
|
29927
29948
|
}) {
|
|
29928
|
-
return /* @__PURE__ */ jsx(
|
|
29949
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: color, children: /* @__PURE__ */ jsx(
|
|
29929
29950
|
Path,
|
|
29930
29951
|
{
|
|
29931
29952
|
d: STAR_PATH,
|
|
@@ -29941,7 +29962,7 @@ function StarFilledIcon({
|
|
|
29941
29962
|
// src/icons/TableView/tableViewPath.ts
|
|
29942
29963
|
var TABLE_VIEW_PATH = "M1 6L16 6M6 1L6 16M5 1H12C13.4001 1 14.1002 1 14.635 1.27248C15.1054 1.51217 15.4878 1.89462 15.7275 2.36502C16 2.8998 16 3.59987 16 5V12C16 13.4001 16 14.1002 15.7275 14.635C15.4878 15.1054 15.1054 15.4878 14.635 15.7275C14.1002 16 13.4001 16 12 16H5C3.59987 16 2.8998 16 2.36502 15.7275C1.89462 15.4878 1.51217 15.1054 1.27248 14.635C1 14.1002 1 13.4001 1 12V5C1 3.59987 1 2.8998 1.27248 2.36502C1.51217 1.89462 1.89462 1.51217 2.36502 1.27248C2.8998 1 3.59987 1 5 1Z";
|
|
29943
29964
|
function TableViewIcon({ size = 17, color = colors.grey400, strokeWidth = 2 }) {
|
|
29944
|
-
return /* @__PURE__ */ jsx(
|
|
29965
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 17 17", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29945
29966
|
Path,
|
|
29946
29967
|
{
|
|
29947
29968
|
d: TABLE_VIEW_PATH,
|
|
@@ -29956,7 +29977,7 @@ function TableViewIcon({ size = 17, color = colors.grey400, strokeWidth = 2 }) {
|
|
|
29956
29977
|
// src/icons/User/userPath.ts
|
|
29957
29978
|
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";
|
|
29958
29979
|
function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29959
|
-
return /* @__PURE__ */ jsx(
|
|
29980
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29960
29981
|
Path,
|
|
29961
29982
|
{
|
|
29962
29983
|
d: USER_PATH,
|
|
@@ -29971,7 +29992,7 @@ function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29971
29992
|
// src/icons/UsersAlt/usersAltPath.ts
|
|
29972
29993
|
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";
|
|
29973
29994
|
function UsersAltIcon({ size = 28, color = colors.white }) {
|
|
29974
|
-
return /* @__PURE__ */ jsx(
|
|
29995
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: USERS_ALT_PATH, fill: color }) });
|
|
29975
29996
|
}
|
|
29976
29997
|
|
|
29977
29998
|
// src/icons/Video/videoPath.ts
|
|
@@ -29980,7 +30001,7 @@ var VIDEO_PATHS = [
|
|
|
29980
30001
|
"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"
|
|
29981
30002
|
];
|
|
29982
30003
|
function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29983
|
-
return /* @__PURE__ */ jsx(
|
|
30004
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: VIDEO_PATHS.map((path) => /* @__PURE__ */ jsx(
|
|
29984
30005
|
Path,
|
|
29985
30006
|
{
|
|
29986
30007
|
d: path,
|
|
@@ -29996,7 +30017,7 @@ function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
29996
30017
|
// src/icons/VideoOff/videoOffPath.ts
|
|
29997
30018
|
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";
|
|
29998
30019
|
function VideoOffIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29999
|
-
return /* @__PURE__ */ jsx(
|
|
30020
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
30000
30021
|
Path,
|
|
30001
30022
|
{
|
|
30002
30023
|
d: VIDEO_OFF_PATH,
|
|
@@ -30011,7 +30032,7 @@ function VideoOffIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
30011
30032
|
// src/icons/ZoomOut/zoomOutPath.ts
|
|
30012
30033
|
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";
|
|
30013
30034
|
function ZoomOutIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
30014
|
-
return /* @__PURE__ */ jsx(
|
|
30035
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
30015
30036
|
Path,
|
|
30016
30037
|
{
|
|
30017
30038
|
d: ZOOM_OUT_PATH,
|
|
@@ -30034,6 +30055,7 @@ var icons = {
|
|
|
30034
30055
|
bell: BellIcon,
|
|
30035
30056
|
building: BuildingIcon,
|
|
30036
30057
|
calendar: CalendarIcon,
|
|
30058
|
+
calendarMinus: CalendarMinusIcon,
|
|
30037
30059
|
calendarOutline: CalendarOutlineIcon,
|
|
30038
30060
|
camera: CameraIcon,
|
|
30039
30061
|
cameraFilled: CameraFilledIcon,
|
|
@@ -30141,6 +30163,7 @@ var iconGroups = {
|
|
|
30141
30163
|
"download",
|
|
30142
30164
|
"search",
|
|
30143
30165
|
"calendar",
|
|
30166
|
+
"calendarMinus",
|
|
30144
30167
|
"calendarOutline",
|
|
30145
30168
|
"close",
|
|
30146
30169
|
"edit",
|
|
@@ -30263,7 +30286,7 @@ var AMENITY_PATHS = {
|
|
|
30263
30286
|
]
|
|
30264
30287
|
};
|
|
30265
30288
|
function AmenityIcon({ name, size = 20, color = colors.primary }) {
|
|
30266
|
-
return /* @__PURE__ */ jsx(
|
|
30289
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: AMENITY_PATHS[name].map((path, index) => /* @__PURE__ */ jsx(
|
|
30267
30290
|
Path,
|
|
30268
30291
|
{
|
|
30269
30292
|
d: path.d,
|
|
@@ -30277,6 +30300,40 @@ function AmenityIcon({ name, size = 20, color = colors.primary }) {
|
|
|
30277
30300
|
)) });
|
|
30278
30301
|
}
|
|
30279
30302
|
|
|
30303
|
+
// src/icons/ArrowLeft/arrowLeftPath.ts
|
|
30304
|
+
var ARROW_LEFT_PATH = "M10.1972 6.59961L4.80078 11.9994L10.1972 17.3996M4.80078 11.9965H19.202";
|
|
30305
|
+
function ArrowLeftIcon({ size = 24, color = colors.white, strokeWidth = 1.35 }) {
|
|
30306
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
30307
|
+
Path,
|
|
30308
|
+
{
|
|
30309
|
+
d: ARROW_LEFT_PATH,
|
|
30310
|
+
stroke: color,
|
|
30311
|
+
strokeWidth,
|
|
30312
|
+
strokeLinecap: "round",
|
|
30313
|
+
strokeLinejoin: "round"
|
|
30314
|
+
}
|
|
30315
|
+
) });
|
|
30316
|
+
}
|
|
30317
|
+
|
|
30318
|
+
// src/icons/CurrentLocation/currentLocationPath.ts
|
|
30319
|
+
var CURRENT_LOCATION_PATH = "M17.4167 9.08333H14.0833M4.08333 9.08333H0.75M9.08333 4.08333V0.75M9.08333 17.4167V14.0833M15.75 9.08333C15.75 12.7652 12.7652 15.75 9.08333 15.75C5.40144 15.75 2.41667 12.7652 2.41667 9.08333C2.41667 5.40144 5.40144 2.41667 9.08333 2.41667C12.7652 2.41667 15.75 5.40144 15.75 9.08333ZM11.5833 9.08333C11.5833 10.464 10.464 11.5833 9.08333 11.5833C7.70262 11.5833 6.58333 10.464 6.58333 9.08333C6.58333 7.70262 7.70262 6.58333 9.08333 6.58333C10.464 6.58333 11.5833 7.70262 11.5833 9.08333Z";
|
|
30320
|
+
function CurrentLocationIcon({
|
|
30321
|
+
size = 19,
|
|
30322
|
+
color = colors.primary,
|
|
30323
|
+
strokeWidth = 1.5
|
|
30324
|
+
}) {
|
|
30325
|
+
return /* @__PURE__ */ jsx(Svg21, { width: size, height: size, viewBox: "0 0 19 19", fill: "none", children: /* @__PURE__ */ jsx(
|
|
30326
|
+
Path,
|
|
30327
|
+
{
|
|
30328
|
+
d: CURRENT_LOCATION_PATH,
|
|
30329
|
+
stroke: color,
|
|
30330
|
+
strokeWidth,
|
|
30331
|
+
strokeLinecap: "round",
|
|
30332
|
+
strokeLinejoin: "round"
|
|
30333
|
+
}
|
|
30334
|
+
) });
|
|
30335
|
+
}
|
|
30336
|
+
|
|
30280
30337
|
// src/utils/mergeRefs.ts
|
|
30281
30338
|
function mergeRefs(internalRef, forwardedRef) {
|
|
30282
30339
|
return (node) => {
|
|
@@ -30805,7 +30862,7 @@ function BrandLogo({
|
|
|
30805
30862
|
const size = resolveBrandLogoSize(width, height);
|
|
30806
30863
|
const fill = BRAND_LOGO_COLORS[variant];
|
|
30807
30864
|
return /* @__PURE__ */ jsx(
|
|
30808
|
-
|
|
30865
|
+
Svg21,
|
|
30809
30866
|
{
|
|
30810
30867
|
width: size.width,
|
|
30811
30868
|
height: size.height,
|
|
@@ -31515,7 +31572,7 @@ var styles10 = StyleSheet.create({
|
|
|
31515
31572
|
label: {
|
|
31516
31573
|
fontFamily: fonts.sans,
|
|
31517
31574
|
fontSize: 12,
|
|
31518
|
-
fontWeight: "
|
|
31575
|
+
fontWeight: "700",
|
|
31519
31576
|
lineHeight: 12,
|
|
31520
31577
|
letterSpacing: 0
|
|
31521
31578
|
},
|
|
@@ -32050,6 +32107,123 @@ var styles15 = StyleSheet.create({
|
|
|
32050
32107
|
color: colors.lightGrey
|
|
32051
32108
|
}
|
|
32052
32109
|
});
|
|
32110
|
+
var DESKTOP_MIN_WIDTH3 = 1024;
|
|
32111
|
+
var CHEVRON_SIZE3 = 24;
|
|
32112
|
+
var Accordion = forwardRef(function Accordion2({
|
|
32113
|
+
title,
|
|
32114
|
+
children,
|
|
32115
|
+
open: openProp,
|
|
32116
|
+
defaultOpen = false,
|
|
32117
|
+
onOpenChange,
|
|
32118
|
+
disabled = false,
|
|
32119
|
+
error = false,
|
|
32120
|
+
style,
|
|
32121
|
+
contentStyle,
|
|
32122
|
+
className,
|
|
32123
|
+
accessibilityLabel,
|
|
32124
|
+
...rest
|
|
32125
|
+
}, forwardedRef) {
|
|
32126
|
+
const rootRef = useRef(null);
|
|
32127
|
+
const setRootRef = useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
32128
|
+
const controlled = openProp !== void 0;
|
|
32129
|
+
const [uncontrolledOpen, setUncontrolledOpen] = useState(defaultOpen);
|
|
32130
|
+
const open = controlled ? Boolean(openProp) : uncontrolledOpen;
|
|
32131
|
+
const { width } = useWindowDimensions();
|
|
32132
|
+
const desktop = width >= DESKTOP_MIN_WIDTH3;
|
|
32133
|
+
const horizontalPadding = desktop ? 24 : 16;
|
|
32134
|
+
useApplyWebClassName(rootRef, className?.trim() || void 0);
|
|
32135
|
+
const toggle = useCallback(() => {
|
|
32136
|
+
if (disabled) return;
|
|
32137
|
+
const next = !open;
|
|
32138
|
+
if (!controlled) setUncontrolledOpen(next);
|
|
32139
|
+
onOpenChange?.(next);
|
|
32140
|
+
}, [controlled, disabled, onOpenChange, open]);
|
|
32141
|
+
return /* @__PURE__ */ jsxs(
|
|
32142
|
+
View,
|
|
32143
|
+
{
|
|
32144
|
+
...rest,
|
|
32145
|
+
ref: setRootRef,
|
|
32146
|
+
style: [
|
|
32147
|
+
styles16.root,
|
|
32148
|
+
{ borderRadius: desktop ? 24 : 20 },
|
|
32149
|
+
error && styles16.error,
|
|
32150
|
+
disabled && styles16.disabled,
|
|
32151
|
+
style
|
|
32152
|
+
],
|
|
32153
|
+
children: [
|
|
32154
|
+
/* @__PURE__ */ jsxs(
|
|
32155
|
+
Pressable,
|
|
32156
|
+
{
|
|
32157
|
+
accessibilityLabel: accessibilityLabel ?? title,
|
|
32158
|
+
accessibilityRole: "button",
|
|
32159
|
+
accessibilityState: { disabled, expanded: open },
|
|
32160
|
+
disabled,
|
|
32161
|
+
onPress: toggle,
|
|
32162
|
+
style: [styles16.header, { paddingHorizontal: horizontalPadding }],
|
|
32163
|
+
children: [
|
|
32164
|
+
/* @__PURE__ */ jsx(Text, { style: [styles16.title, desktop ? styles16.titleDesktop : styles16.titleMobile], children: title }),
|
|
32165
|
+
/* @__PURE__ */ jsx(View, { style: [styles16.chevron, open && styles16.chevronOpen], children: /* @__PURE__ */ jsx(ChevronDownIcon, { color: open ? colors.primary : colors.grey400, size: CHEVRON_SIZE3 }) })
|
|
32166
|
+
]
|
|
32167
|
+
}
|
|
32168
|
+
),
|
|
32169
|
+
open ? /* @__PURE__ */ jsx(View, { style: [styles16.content, { paddingHorizontal: horizontalPadding }, contentStyle], children }) : null
|
|
32170
|
+
]
|
|
32171
|
+
}
|
|
32172
|
+
);
|
|
32173
|
+
});
|
|
32174
|
+
var styles16 = StyleSheet.create({
|
|
32175
|
+
root: {
|
|
32176
|
+
alignSelf: "stretch",
|
|
32177
|
+
backgroundColor: colors.whiteAlpha1,
|
|
32178
|
+
borderColor: "transparent",
|
|
32179
|
+
borderWidth: 1,
|
|
32180
|
+
overflow: "hidden",
|
|
32181
|
+
width: "100%"
|
|
32182
|
+
},
|
|
32183
|
+
header: {
|
|
32184
|
+
alignItems: "center",
|
|
32185
|
+
flexDirection: "row",
|
|
32186
|
+
gap: 16,
|
|
32187
|
+
minHeight: 64,
|
|
32188
|
+
paddingVertical: 16,
|
|
32189
|
+
width: "100%"
|
|
32190
|
+
},
|
|
32191
|
+
title: {
|
|
32192
|
+
color: colors.white,
|
|
32193
|
+
flex: 1,
|
|
32194
|
+
fontFamily: fonts.sans,
|
|
32195
|
+
fontSize: 14,
|
|
32196
|
+
letterSpacing: 0,
|
|
32197
|
+
lineHeight: 18,
|
|
32198
|
+
minWidth: 0
|
|
32199
|
+
},
|
|
32200
|
+
titleMobile: {
|
|
32201
|
+
fontWeight: "500"
|
|
32202
|
+
},
|
|
32203
|
+
titleDesktop: {
|
|
32204
|
+
fontWeight: "600"
|
|
32205
|
+
},
|
|
32206
|
+
chevron: {
|
|
32207
|
+
alignItems: "center",
|
|
32208
|
+
flexShrink: 0,
|
|
32209
|
+
height: CHEVRON_SIZE3,
|
|
32210
|
+
justifyContent: "center",
|
|
32211
|
+
transform: [{ rotate: "0deg" }],
|
|
32212
|
+
width: CHEVRON_SIZE3
|
|
32213
|
+
},
|
|
32214
|
+
chevronOpen: {
|
|
32215
|
+
transform: [{ rotate: "180deg" }]
|
|
32216
|
+
},
|
|
32217
|
+
content: {
|
|
32218
|
+
paddingBottom: 16
|
|
32219
|
+
},
|
|
32220
|
+
error: {
|
|
32221
|
+
borderColor: colors.redMuted
|
|
32222
|
+
},
|
|
32223
|
+
disabled: {
|
|
32224
|
+
opacity: 0.6
|
|
32225
|
+
}
|
|
32226
|
+
});
|
|
32053
32227
|
var BADGE_SIZE = 42;
|
|
32054
32228
|
var ROW_GAP = 12;
|
|
32055
32229
|
var CONNECTOR_WIDTH = 2;
|
|
@@ -32073,18 +32247,18 @@ var StepList = forwardRef(function StepList2({ steps, style, className, accessib
|
|
|
32073
32247
|
ref: setContainerRef,
|
|
32074
32248
|
accessibilityRole: "summary",
|
|
32075
32249
|
accessibilityLabel,
|
|
32076
|
-
style: [
|
|
32250
|
+
style: [styles17.root, style],
|
|
32077
32251
|
children: steps.map((description, index) => {
|
|
32078
32252
|
const isLast = index === steps.length - 1;
|
|
32079
32253
|
const number = index + 1;
|
|
32080
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
32081
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
32082
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
32254
|
+
return /* @__PURE__ */ jsxs(View, { style: styles17.stepBlock, children: [
|
|
32255
|
+
/* @__PURE__ */ jsxs(View, { style: styles17.row, children: [
|
|
32256
|
+
/* @__PURE__ */ jsx(View, { style: [styles17.badge, webBlurStyle6], children: /* @__PURE__ */ jsx(
|
|
32083
32257
|
Text,
|
|
32084
32258
|
{
|
|
32085
32259
|
style: [
|
|
32086
|
-
|
|
32087
|
-
Platform.OS === "android" ?
|
|
32260
|
+
styles17.badgeLabel,
|
|
32261
|
+
Platform.OS === "android" ? styles17.labelAndroid : null
|
|
32088
32262
|
],
|
|
32089
32263
|
children: String(number)
|
|
32090
32264
|
}
|
|
@@ -32092,18 +32266,18 @@ var StepList = forwardRef(function StepList2({ steps, style, className, accessib
|
|
|
32092
32266
|
/* @__PURE__ */ jsx(
|
|
32093
32267
|
Text,
|
|
32094
32268
|
{
|
|
32095
|
-
style: [
|
|
32269
|
+
style: [styles17.description, Platform.OS === "android" ? styles17.labelAndroid : null],
|
|
32096
32270
|
children: description
|
|
32097
32271
|
}
|
|
32098
32272
|
)
|
|
32099
32273
|
] }),
|
|
32100
|
-
!isLast ? /* @__PURE__ */ jsx(View, { style:
|
|
32274
|
+
!isLast ? /* @__PURE__ */ jsx(View, { style: styles17.connectorSlot, children: /* @__PURE__ */ jsx(View, { style: styles17.connector }) }) : null
|
|
32101
32275
|
] }, `${number}-${description}`);
|
|
32102
32276
|
})
|
|
32103
32277
|
}
|
|
32104
32278
|
);
|
|
32105
32279
|
});
|
|
32106
|
-
var
|
|
32280
|
+
var styles17 = StyleSheet.create({
|
|
32107
32281
|
root: {
|
|
32108
32282
|
width: "100%"
|
|
32109
32283
|
},
|
|
@@ -32176,6 +32350,7 @@ var Counter = forwardRef(function Counter2({
|
|
|
32176
32350
|
max,
|
|
32177
32351
|
step = 1,
|
|
32178
32352
|
disabled = false,
|
|
32353
|
+
layout = "controls-around",
|
|
32179
32354
|
style,
|
|
32180
32355
|
className,
|
|
32181
32356
|
hitSlop,
|
|
@@ -32198,43 +32373,63 @@ var Counter = forwardRef(function Counter2({
|
|
|
32198
32373
|
if (!isControlled) setUncontrolledValue(next);
|
|
32199
32374
|
onValueChange?.(next);
|
|
32200
32375
|
};
|
|
32201
|
-
|
|
32202
|
-
|
|
32203
|
-
|
|
32204
|
-
|
|
32205
|
-
|
|
32206
|
-
|
|
32207
|
-
|
|
32208
|
-
|
|
32209
|
-
|
|
32210
|
-
|
|
32211
|
-
|
|
32212
|
-
|
|
32213
|
-
|
|
32214
|
-
|
|
32215
|
-
|
|
32216
|
-
|
|
32217
|
-
|
|
32218
|
-
|
|
32219
|
-
|
|
32220
|
-
|
|
32221
|
-
|
|
32222
|
-
|
|
32223
|
-
|
|
32224
|
-
|
|
32225
|
-
|
|
32226
|
-
|
|
32227
|
-
|
|
32228
|
-
|
|
32229
|
-
|
|
32376
|
+
const decrement = /* @__PURE__ */ jsx(
|
|
32377
|
+
Pressable,
|
|
32378
|
+
{
|
|
32379
|
+
disabled: decrementDisabled,
|
|
32380
|
+
hitSlop,
|
|
32381
|
+
onPress: () => updateValue(resolvedValue - step),
|
|
32382
|
+
accessibilityRole: "button",
|
|
32383
|
+
accessibilityLabel: "Decrease value",
|
|
32384
|
+
accessibilityState: { disabled: decrementDisabled },
|
|
32385
|
+
style: [styles18.button, webBlurStyle7, decrementDisabled && styles18.buttonDisabled],
|
|
32386
|
+
children: /* @__PURE__ */ jsx(MinusIcon, {})
|
|
32387
|
+
}
|
|
32388
|
+
);
|
|
32389
|
+
const increment = /* @__PURE__ */ jsx(
|
|
32390
|
+
Pressable,
|
|
32391
|
+
{
|
|
32392
|
+
disabled: incrementDisabled,
|
|
32393
|
+
hitSlop,
|
|
32394
|
+
onPress: () => updateValue(resolvedValue + step),
|
|
32395
|
+
accessibilityRole: "button",
|
|
32396
|
+
accessibilityLabel: "Increase value",
|
|
32397
|
+
accessibilityState: { disabled: incrementDisabled },
|
|
32398
|
+
style: [styles18.button, webBlurStyle7, incrementDisabled && styles18.buttonDisabled],
|
|
32399
|
+
children: /* @__PURE__ */ jsx(PlusIcon, {})
|
|
32400
|
+
}
|
|
32401
|
+
);
|
|
32402
|
+
const valueNode = /* @__PURE__ */ jsx(Text, { style: [styles18.value, layout === "value-first" && styles18.leadingValue], children: resolvedValue });
|
|
32403
|
+
return /* @__PURE__ */ jsx(
|
|
32404
|
+
View,
|
|
32405
|
+
{
|
|
32406
|
+
...rest,
|
|
32407
|
+
ref: setContainerRef,
|
|
32408
|
+
style: [styles18.base, layout === "value-first" && styles18.valueFirst, style],
|
|
32409
|
+
children: layout === "value-first" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32410
|
+
valueNode,
|
|
32411
|
+
decrement,
|
|
32412
|
+
increment
|
|
32413
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32414
|
+
decrement,
|
|
32415
|
+
valueNode,
|
|
32416
|
+
increment
|
|
32417
|
+
] })
|
|
32418
|
+
}
|
|
32419
|
+
);
|
|
32230
32420
|
});
|
|
32231
|
-
var
|
|
32421
|
+
var styles18 = StyleSheet.create({
|
|
32232
32422
|
base: {
|
|
32233
32423
|
flexDirection: "row",
|
|
32234
32424
|
alignItems: "center",
|
|
32235
32425
|
alignSelf: "flex-start",
|
|
32236
32426
|
gap: 17
|
|
32237
32427
|
},
|
|
32428
|
+
valueFirst: {
|
|
32429
|
+
alignSelf: "stretch",
|
|
32430
|
+
flex: 1,
|
|
32431
|
+
gap: 6
|
|
32432
|
+
},
|
|
32238
32433
|
button: {
|
|
32239
32434
|
width: BUTTON_SIZE,
|
|
32240
32435
|
height: BUTTON_SIZE,
|
|
@@ -32250,6 +32445,125 @@ var styles17 = StyleSheet.create({
|
|
|
32250
32445
|
value: {
|
|
32251
32446
|
...counterTypography,
|
|
32252
32447
|
color: colors.white
|
|
32448
|
+
},
|
|
32449
|
+
leadingValue: {
|
|
32450
|
+
flex: 1
|
|
32451
|
+
}
|
|
32452
|
+
});
|
|
32453
|
+
var QuantityInput = forwardRef(
|
|
32454
|
+
function QuantityInput2({
|
|
32455
|
+
label,
|
|
32456
|
+
icon: Icon2,
|
|
32457
|
+
iconProps,
|
|
32458
|
+
iconSize = 20,
|
|
32459
|
+
value,
|
|
32460
|
+
defaultValue,
|
|
32461
|
+
onValueChange,
|
|
32462
|
+
min = 1,
|
|
32463
|
+
max,
|
|
32464
|
+
step = 1,
|
|
32465
|
+
disabled = false,
|
|
32466
|
+
error = false,
|
|
32467
|
+
hint,
|
|
32468
|
+
showHint = true,
|
|
32469
|
+
style,
|
|
32470
|
+
className,
|
|
32471
|
+
accessibilityLabel,
|
|
32472
|
+
...rest
|
|
32473
|
+
}, forwardedRef) {
|
|
32474
|
+
const rootRef = useRef(null);
|
|
32475
|
+
const setRootRef = useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
32476
|
+
useApplyWebClassName(rootRef, className?.trim() || void 0);
|
|
32477
|
+
return /* @__PURE__ */ jsxs(
|
|
32478
|
+
View,
|
|
32479
|
+
{
|
|
32480
|
+
...rest,
|
|
32481
|
+
ref: setRootRef,
|
|
32482
|
+
accessibilityLabel: accessibilityLabel ?? label,
|
|
32483
|
+
accessibilityState: { disabled },
|
|
32484
|
+
style: [styles19.root, disabled && styles19.disabled, style],
|
|
32485
|
+
children: [
|
|
32486
|
+
/* @__PURE__ */ jsx(Text, { style: [styles19.label, error && styles19.errorText], children: label }),
|
|
32487
|
+
/* @__PURE__ */ jsxs(View, { style: [styles19.field, error && styles19.errorField], children: [
|
|
32488
|
+
/* @__PURE__ */ jsx(View, { style: styles19.iconSlot, children: /* @__PURE__ */ jsx(
|
|
32489
|
+
Icon2,
|
|
32490
|
+
{
|
|
32491
|
+
...iconProps,
|
|
32492
|
+
color: iconProps?.color ?? (error ? colors.red : colors.grey150),
|
|
32493
|
+
size: iconSize
|
|
32494
|
+
}
|
|
32495
|
+
) }),
|
|
32496
|
+
/* @__PURE__ */ jsx(
|
|
32497
|
+
Counter,
|
|
32498
|
+
{
|
|
32499
|
+
defaultValue,
|
|
32500
|
+
disabled,
|
|
32501
|
+
layout: "value-first",
|
|
32502
|
+
max,
|
|
32503
|
+
min,
|
|
32504
|
+
onValueChange,
|
|
32505
|
+
step,
|
|
32506
|
+
value
|
|
32507
|
+
}
|
|
32508
|
+
)
|
|
32509
|
+
] }),
|
|
32510
|
+
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [styles19.hint, error && styles19.errorText], children: hint }) : null
|
|
32511
|
+
]
|
|
32512
|
+
}
|
|
32513
|
+
);
|
|
32514
|
+
}
|
|
32515
|
+
);
|
|
32516
|
+
var styles19 = StyleSheet.create({
|
|
32517
|
+
root: {
|
|
32518
|
+
alignSelf: "stretch",
|
|
32519
|
+
flexDirection: "column",
|
|
32520
|
+
gap: 8,
|
|
32521
|
+
minWidth: 0
|
|
32522
|
+
},
|
|
32523
|
+
label: {
|
|
32524
|
+
color: colors.white,
|
|
32525
|
+
fontFamily: fonts.sans,
|
|
32526
|
+
fontSize: 12,
|
|
32527
|
+
fontWeight: "500",
|
|
32528
|
+
letterSpacing: -0.24,
|
|
32529
|
+
lineHeight: 12
|
|
32530
|
+
},
|
|
32531
|
+
field: {
|
|
32532
|
+
alignItems: "center",
|
|
32533
|
+
alignSelf: "stretch",
|
|
32534
|
+
backgroundColor: colors.grey700,
|
|
32535
|
+
borderColor: colors.grey700,
|
|
32536
|
+
borderRadius: 60,
|
|
32537
|
+
borderWidth: 1,
|
|
32538
|
+
flexDirection: "row",
|
|
32539
|
+
gap: 10,
|
|
32540
|
+
height: 44,
|
|
32541
|
+
paddingLeft: 16,
|
|
32542
|
+
paddingRight: 6,
|
|
32543
|
+
paddingVertical: 5
|
|
32544
|
+
},
|
|
32545
|
+
iconSlot: {
|
|
32546
|
+
alignItems: "center",
|
|
32547
|
+
flexShrink: 0,
|
|
32548
|
+
height: 20,
|
|
32549
|
+
justifyContent: "center",
|
|
32550
|
+
width: 20
|
|
32551
|
+
},
|
|
32552
|
+
hint: {
|
|
32553
|
+
color: colors.grey100,
|
|
32554
|
+
fontFamily: fonts.sans,
|
|
32555
|
+
fontSize: 12,
|
|
32556
|
+
fontWeight: "400",
|
|
32557
|
+
lineHeight: 12
|
|
32558
|
+
},
|
|
32559
|
+
errorField: {
|
|
32560
|
+
borderColor: colors.redMuted
|
|
32561
|
+
},
|
|
32562
|
+
errorText: {
|
|
32563
|
+
color: colors.red
|
|
32564
|
+
},
|
|
32565
|
+
disabled: {
|
|
32566
|
+
opacity: 0.6
|
|
32253
32567
|
}
|
|
32254
32568
|
});
|
|
32255
32569
|
var ICON_SIZE8 = 20;
|
|
@@ -32348,9 +32662,9 @@ var SegmentedToggle = forwardRef(
|
|
|
32348
32662
|
onLayout?.(event);
|
|
32349
32663
|
},
|
|
32350
32664
|
style: [
|
|
32351
|
-
|
|
32352
|
-
fullWidth ?
|
|
32353
|
-
disabled &&
|
|
32665
|
+
styles20.base,
|
|
32666
|
+
fullWidth ? styles20.fullWidth : styles20.contentWidth,
|
|
32667
|
+
disabled && styles20.disabled,
|
|
32354
32668
|
style
|
|
32355
32669
|
],
|
|
32356
32670
|
accessibilityRole: "radiogroup",
|
|
@@ -32371,10 +32685,10 @@ var SegmentedToggle = forwardRef(
|
|
|
32371
32685
|
return nextWidths;
|
|
32372
32686
|
});
|
|
32373
32687
|
},
|
|
32374
|
-
style:
|
|
32688
|
+
style: styles20.optionMeasurement,
|
|
32375
32689
|
children: [
|
|
32376
32690
|
Icon2 ? /* @__PURE__ */ jsx(Icon2, { size: ICON_SIZE8 }) : null,
|
|
32377
|
-
showLabel ? /* @__PURE__ */ jsx(Text, { style: [
|
|
32691
|
+
showLabel ? /* @__PURE__ */ jsx(Text, { style: [styles20.label, styles20.contentWidthLabel], children: label }) : null
|
|
32378
32692
|
]
|
|
32379
32693
|
},
|
|
32380
32694
|
`${optionValue}-measurement`
|
|
@@ -32384,7 +32698,7 @@ var SegmentedToggle = forwardRef(
|
|
|
32384
32698
|
{
|
|
32385
32699
|
pointerEvents: "none",
|
|
32386
32700
|
style: [
|
|
32387
|
-
|
|
32701
|
+
styles20.activeIndicator,
|
|
32388
32702
|
{ width: selectedOptionWidth, transform: [{ translateX: indicatorTranslateX }] }
|
|
32389
32703
|
]
|
|
32390
32704
|
}
|
|
@@ -32404,18 +32718,18 @@ var SegmentedToggle = forwardRef(
|
|
|
32404
32718
|
accessibilityLabel: label,
|
|
32405
32719
|
accessibilityState: { selected, disabled },
|
|
32406
32720
|
style: [
|
|
32407
|
-
|
|
32408
|
-
fullWidth ?
|
|
32721
|
+
styles20.option,
|
|
32722
|
+
fullWidth ? styles20.optionFullWidth : [styles20.optionContentWidth, optionWidth > 0 && { width: optionWidth }]
|
|
32409
32723
|
],
|
|
32410
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
32724
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles20.optionContent, children: [
|
|
32411
32725
|
Icon2 ? /* @__PURE__ */ jsx(Icon2, { size: ICON_SIZE8, color: iconColor }) : null,
|
|
32412
32726
|
showLabel ? /* @__PURE__ */ jsx(
|
|
32413
32727
|
Text,
|
|
32414
32728
|
{
|
|
32415
32729
|
numberOfLines: fullWidth ? 1 : void 0,
|
|
32416
32730
|
style: [
|
|
32417
|
-
|
|
32418
|
-
!fullWidth &&
|
|
32731
|
+
styles20.label,
|
|
32732
|
+
!fullWidth && styles20.contentWidthLabel,
|
|
32419
32733
|
{ color: labelColor }
|
|
32420
32734
|
],
|
|
32421
32735
|
children: label
|
|
@@ -32431,7 +32745,7 @@ var SegmentedToggle = forwardRef(
|
|
|
32431
32745
|
);
|
|
32432
32746
|
}
|
|
32433
32747
|
);
|
|
32434
|
-
var
|
|
32748
|
+
var styles20 = StyleSheet.create({
|
|
32435
32749
|
base: {
|
|
32436
32750
|
height: 44,
|
|
32437
32751
|
flexDirection: "row",
|
|
@@ -32559,16 +32873,16 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32559
32873
|
{
|
|
32560
32874
|
...rest,
|
|
32561
32875
|
ref: setContainerRef,
|
|
32562
|
-
style: [
|
|
32876
|
+
style: [styles21.root, { width: widthAnim }, style],
|
|
32563
32877
|
accessibilityRole: "menu",
|
|
32564
32878
|
children: [
|
|
32565
32879
|
/* @__PURE__ */ jsxs(
|
|
32566
32880
|
View,
|
|
32567
32881
|
{
|
|
32568
32882
|
style: [
|
|
32569
|
-
|
|
32570
|
-
collapsed ?
|
|
32571
|
-
!showCollapseToggle && !onClose ?
|
|
32883
|
+
styles21.header,
|
|
32884
|
+
collapsed ? styles21.headerCollapsed : styles21.headerExpanded,
|
|
32885
|
+
!showCollapseToggle && !onClose ? styles21.headerNoToggle : null
|
|
32572
32886
|
],
|
|
32573
32887
|
children: [
|
|
32574
32888
|
/* @__PURE__ */ jsx(
|
|
@@ -32576,7 +32890,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32576
32890
|
{
|
|
32577
32891
|
pointerEvents: collapsed ? "none" : "auto",
|
|
32578
32892
|
style: [
|
|
32579
|
-
|
|
32893
|
+
styles21.logoSlot,
|
|
32580
32894
|
{
|
|
32581
32895
|
opacity: labelOpacity,
|
|
32582
32896
|
maxWidth: collapsed ? 0 : LOGO_WIDTH
|
|
@@ -32602,7 +32916,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32602
32916
|
accessibilityLabel: closeAccessibilityLabel,
|
|
32603
32917
|
hitSlop: 8,
|
|
32604
32918
|
onPress: onClose,
|
|
32605
|
-
style:
|
|
32919
|
+
style: styles21.toggleButton,
|
|
32606
32920
|
children: /* @__PURE__ */ jsx(CloseIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
32607
32921
|
}
|
|
32608
32922
|
) : showCollapseToggle ? /* @__PURE__ */ jsx(
|
|
@@ -32613,7 +32927,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32613
32927
|
accessibilityState: { expanded: !collapsed },
|
|
32614
32928
|
hitSlop: 8,
|
|
32615
32929
|
onPress: () => setCollapsed(!collapsed),
|
|
32616
|
-
style:
|
|
32930
|
+
style: styles21.toggleButton,
|
|
32617
32931
|
children: /* @__PURE__ */ jsx(SidebarIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
32618
32932
|
}
|
|
32619
32933
|
) : null
|
|
@@ -32625,7 +32939,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32625
32939
|
{
|
|
32626
32940
|
accessibilityLabel: navigationAccessibilityLabel,
|
|
32627
32941
|
accessibilityRole: "menu",
|
|
32628
|
-
style:
|
|
32942
|
+
style: styles21.nav,
|
|
32629
32943
|
children: items.map((item) => {
|
|
32630
32944
|
const isActive = Boolean(item.active);
|
|
32631
32945
|
const iconColor = isActive ? colors.primary : colors.grey300;
|
|
@@ -32641,18 +32955,18 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32641
32955
|
hoverColor: colors.grey700,
|
|
32642
32956
|
onPress: item.onPress,
|
|
32643
32957
|
labelStyle: [
|
|
32644
|
-
|
|
32958
|
+
styles21.menuLabel,
|
|
32645
32959
|
{ color: isActive ? colors.white : colors.grey200 },
|
|
32646
|
-
collapsed ?
|
|
32960
|
+
collapsed ? styles21.menuLabelCollapsed : styles21.menuLabelExpanded
|
|
32647
32961
|
],
|
|
32648
|
-
style: [
|
|
32962
|
+
style: [styles21.menuItem, collapsed ? styles21.menuItemCollapsed : null]
|
|
32649
32963
|
},
|
|
32650
32964
|
item.key
|
|
32651
32965
|
);
|
|
32652
32966
|
})
|
|
32653
32967
|
}
|
|
32654
32968
|
),
|
|
32655
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
32969
|
+
/* @__PURE__ */ jsx(View, { style: [styles21.footer, collapsed ? styles21.footerCollapsed : styles21.footerExpanded], children: /* @__PURE__ */ jsx(
|
|
32656
32970
|
AvatarSimple,
|
|
32657
32971
|
{
|
|
32658
32972
|
name: user.name,
|
|
@@ -32667,7 +32981,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32667
32981
|
}
|
|
32668
32982
|
);
|
|
32669
32983
|
});
|
|
32670
|
-
var
|
|
32984
|
+
var styles21 = StyleSheet.create({
|
|
32671
32985
|
root: {
|
|
32672
32986
|
flexDirection: "column",
|
|
32673
32987
|
alignSelf: "stretch",
|
|
@@ -32861,11 +33175,11 @@ var LanguageSwitcher = forwardRef(
|
|
|
32861
33175
|
...rest,
|
|
32862
33176
|
ref: setWrapperRef,
|
|
32863
33177
|
style: [
|
|
32864
|
-
|
|
32865
|
-
isIconVariant ?
|
|
32866
|
-
isOpen &&
|
|
32867
|
-
isOpen && isIconVariant &&
|
|
32868
|
-
disabled &&
|
|
33178
|
+
styles22.wrapper,
|
|
33179
|
+
isIconVariant ? styles22.wrapperIcon : styles22.wrapperDefault,
|
|
33180
|
+
isOpen && styles22.wrapperOpen,
|
|
33181
|
+
isOpen && isIconVariant && styles22.wrapperOpenIcon,
|
|
33182
|
+
disabled && styles22.disabled,
|
|
32869
33183
|
style
|
|
32870
33184
|
],
|
|
32871
33185
|
children: [
|
|
@@ -32882,14 +33196,14 @@ var LanguageSwitcher = forwardRef(
|
|
|
32882
33196
|
onHoverIn: () => setTriggerHovered(true),
|
|
32883
33197
|
onHoverOut: () => setTriggerHovered(false),
|
|
32884
33198
|
style: ({ pressed }) => [
|
|
32885
|
-
isIconVariant ?
|
|
32886
|
-
!isIconVariant && (triggerHovered || pressed || isOpen) &&
|
|
33199
|
+
isIconVariant ? styles22.triggerIcon : styles22.trigger,
|
|
33200
|
+
!isIconVariant && (triggerHovered || pressed || isOpen) && styles22.triggerActive
|
|
32887
33201
|
],
|
|
32888
33202
|
children: [
|
|
32889
33203
|
/* @__PURE__ */ jsx(GlobeIcon, { size: ICON_SIZE9, color: colors.white, strokeWidth: isIconVariant ? 1.5 : 2 }),
|
|
32890
33204
|
!isIconVariant ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32891
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
32892
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
33205
|
+
/* @__PURE__ */ jsx(Text, { style: styles22.triggerLabel, numberOfLines: 1, children: selectedOption?.label ?? "" }),
|
|
33206
|
+
/* @__PURE__ */ jsx(View, { style: [styles22.chevron, isOpen && styles22.chevronOpen], children: /* @__PURE__ */ jsx(ChevronDownIcon, { size: ICON_SIZE9, color: colors.white, strokeWidth: 2 }) })
|
|
32893
33207
|
] }) : null
|
|
32894
33208
|
]
|
|
32895
33209
|
}
|
|
@@ -32897,7 +33211,7 @@ var LanguageSwitcher = forwardRef(
|
|
|
32897
33211
|
isOpen && options.length > 0 ? /* @__PURE__ */ jsx(
|
|
32898
33212
|
View,
|
|
32899
33213
|
{
|
|
32900
|
-
style: [
|
|
33214
|
+
style: [styles22.menu, isIconVariant ? styles22.menuIcon : styles22.menuDefault],
|
|
32901
33215
|
accessibilityRole: "menu",
|
|
32902
33216
|
children: options.map((option) => {
|
|
32903
33217
|
const selected = option.value === selectedValue;
|
|
@@ -32911,16 +33225,16 @@ var LanguageSwitcher = forwardRef(
|
|
|
32911
33225
|
onHoverIn: () => setHoveredValue(option.value),
|
|
32912
33226
|
onHoverOut: () => setHoveredValue(null),
|
|
32913
33227
|
style: ({ pressed }) => [
|
|
32914
|
-
|
|
32915
|
-
isIconVariant ?
|
|
32916
|
-
selected ? isIconVariant ?
|
|
33228
|
+
styles22.item,
|
|
33229
|
+
isIconVariant ? styles22.itemIcon : null,
|
|
33230
|
+
selected ? isIconVariant ? styles22.itemSelectedIcon : styles22.itemSelected : (hoveredValue === option.value || pressed) && styles22.itemHovered
|
|
32917
33231
|
],
|
|
32918
33232
|
children: /* @__PURE__ */ jsx(
|
|
32919
33233
|
Text,
|
|
32920
33234
|
{
|
|
32921
33235
|
style: [
|
|
32922
|
-
|
|
32923
|
-
selected && (isIconVariant ?
|
|
33236
|
+
styles22.itemLabel,
|
|
33237
|
+
selected && (isIconVariant ? styles22.itemLabelSelectedIcon : styles22.itemLabelSelected)
|
|
32924
33238
|
],
|
|
32925
33239
|
children: option.label
|
|
32926
33240
|
}
|
|
@@ -32936,7 +33250,7 @@ var LanguageSwitcher = forwardRef(
|
|
|
32936
33250
|
);
|
|
32937
33251
|
}
|
|
32938
33252
|
);
|
|
32939
|
-
var
|
|
33253
|
+
var styles22 = StyleSheet.create({
|
|
32940
33254
|
wrapper: {
|
|
32941
33255
|
position: "relative",
|
|
32942
33256
|
alignSelf: "flex-start"
|
|
@@ -33077,17 +33391,17 @@ var StatCard = forwardRef(function StatCard2({
|
|
|
33077
33391
|
{
|
|
33078
33392
|
...rest,
|
|
33079
33393
|
ref: setContainerRef,
|
|
33080
|
-
style: [
|
|
33394
|
+
style: [styles23.base, style],
|
|
33081
33395
|
accessibilityRole: "text",
|
|
33082
33396
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
33083
33397
|
children: [
|
|
33084
33398
|
/* @__PURE__ */ jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }),
|
|
33085
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
33399
|
+
/* @__PURE__ */ jsx(Text, { style: styles23.label, children: label })
|
|
33086
33400
|
]
|
|
33087
33401
|
}
|
|
33088
33402
|
);
|
|
33089
33403
|
});
|
|
33090
|
-
var
|
|
33404
|
+
var styles23 = StyleSheet.create({
|
|
33091
33405
|
base: {
|
|
33092
33406
|
width: 204.5,
|
|
33093
33407
|
minHeight: 114,
|
|
@@ -33199,7 +33513,7 @@ var Button = forwardRef(
|
|
|
33199
33513
|
useApplyWebClassName(textRef, textClassName);
|
|
33200
33514
|
const iconNode = customIcon ?? /* @__PURE__ */ jsx(ArrowRightIcon, { size: metrics.iconSize, color: preset.iconColor });
|
|
33201
33515
|
const containerStyle = [
|
|
33202
|
-
|
|
33516
|
+
styles24.base,
|
|
33203
33517
|
{
|
|
33204
33518
|
minHeight: metrics.minHeight,
|
|
33205
33519
|
height: variant === "danger" ? 33 : void 0,
|
|
@@ -33211,16 +33525,16 @@ var Button = forwardRef(
|
|
|
33211
33525
|
paddingRight: hasIcon ? metrics.paddingRightWithIcon : metrics.paddingRight,
|
|
33212
33526
|
gap: hasIcon ? metrics.gap : 0
|
|
33213
33527
|
},
|
|
33214
|
-
hasIcon ?
|
|
33215
|
-
disabled &&
|
|
33528
|
+
hasIcon ? styles24.contentWithIcon : styles24.contentWithoutIcon,
|
|
33529
|
+
disabled && styles24.disabled,
|
|
33216
33530
|
style
|
|
33217
33531
|
];
|
|
33218
33532
|
const labelStyle = [
|
|
33219
|
-
|
|
33533
|
+
styles24.label,
|
|
33220
33534
|
metrics.text,
|
|
33221
33535
|
{ color: preset.textColor },
|
|
33222
|
-
Platform.OS === "android" ?
|
|
33223
|
-
!hasIcon &&
|
|
33536
|
+
Platform.OS === "android" ? styles24.labelAndroid : null,
|
|
33537
|
+
!hasIcon && styles24.labelCentered,
|
|
33224
33538
|
textStyle
|
|
33225
33539
|
];
|
|
33226
33540
|
return /* @__PURE__ */ jsxs(
|
|
@@ -33241,7 +33555,7 @@ var Button = forwardRef(
|
|
|
33241
33555
|
View,
|
|
33242
33556
|
{
|
|
33243
33557
|
style: [
|
|
33244
|
-
|
|
33558
|
+
styles24.iconContainer,
|
|
33245
33559
|
{
|
|
33246
33560
|
width: metrics.iconContainerSize,
|
|
33247
33561
|
height: metrics.iconContainerSize,
|
|
@@ -33257,7 +33571,7 @@ var Button = forwardRef(
|
|
|
33257
33571
|
);
|
|
33258
33572
|
}
|
|
33259
33573
|
);
|
|
33260
|
-
var
|
|
33574
|
+
var styles24 = StyleSheet.create({
|
|
33261
33575
|
base: {
|
|
33262
33576
|
flexDirection: "row",
|
|
33263
33577
|
alignItems: "center",
|
|
@@ -33341,13 +33655,13 @@ var Checkbox = forwardRef(function Checkbox2({
|
|
|
33341
33655
|
accessibilityRole: "checkbox",
|
|
33342
33656
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
33343
33657
|
accessibilityState: { checked: isActive, disabled },
|
|
33344
|
-
style: [
|
|
33658
|
+
style: [styles25.root, disabled && styles25.disabled, style],
|
|
33345
33659
|
children: [
|
|
33346
33660
|
/* @__PURE__ */ jsx(
|
|
33347
33661
|
View,
|
|
33348
33662
|
{
|
|
33349
33663
|
style: [
|
|
33350
|
-
|
|
33664
|
+
styles25.box,
|
|
33351
33665
|
{
|
|
33352
33666
|
backgroundColor: chrome.backgroundColor,
|
|
33353
33667
|
borderColor: chrome.borderColor
|
|
@@ -33356,12 +33670,12 @@ var Checkbox = forwardRef(function Checkbox2({
|
|
|
33356
33670
|
children: isActive ? /* @__PURE__ */ jsx(CheckIcon, { size: CHECK_SIZE, color: colors.primary, strokeWidth: CHECK_STROKE }) : null
|
|
33357
33671
|
}
|
|
33358
33672
|
),
|
|
33359
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsx(Text, { style: [
|
|
33673
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsx(Text, { style: [styles25.label, labelStyle], children: labelContent }) : labelContent : null
|
|
33360
33674
|
]
|
|
33361
33675
|
}
|
|
33362
33676
|
);
|
|
33363
33677
|
});
|
|
33364
|
-
var
|
|
33678
|
+
var styles25 = StyleSheet.create({
|
|
33365
33679
|
root: {
|
|
33366
33680
|
flexDirection: "row",
|
|
33367
33681
|
alignItems: "center",
|
|
@@ -33496,13 +33810,13 @@ function RangeTriggerField({
|
|
|
33496
33810
|
value,
|
|
33497
33811
|
time
|
|
33498
33812
|
}) {
|
|
33499
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
33500
|
-
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style:
|
|
33501
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
33502
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
33503
|
-
time ? /* @__PURE__ */ jsxs(View, { style:
|
|
33813
|
+
return /* @__PURE__ */ jsxs(View, { style: styles26.rangeField, children: [
|
|
33814
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles26.rangeLabel, children: label }),
|
|
33815
|
+
/* @__PURE__ */ jsxs(View, { style: styles26.rangeValueRow, children: [
|
|
33816
|
+
/* @__PURE__ */ jsx(Text, { style: styles26.rangeDate, children: value }),
|
|
33817
|
+
time ? /* @__PURE__ */ jsxs(View, { style: styles26.rangeTimeWrap, children: [
|
|
33504
33818
|
/* @__PURE__ */ jsx(ClockFilledIcon, { color: colors.lightGrey, size: 16 }),
|
|
33505
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
33819
|
+
/* @__PURE__ */ jsx(Text, { style: styles26.rangeTime, children: time })
|
|
33506
33820
|
] }) : null
|
|
33507
33821
|
] })
|
|
33508
33822
|
] });
|
|
@@ -33692,15 +34006,15 @@ var DatePicker = forwardRef(
|
|
|
33692
34006
|
...rest,
|
|
33693
34007
|
ref: setRootRef,
|
|
33694
34008
|
style: [
|
|
33695
|
-
|
|
33696
|
-
usesRangeTrigger &&
|
|
33697
|
-
hideTrigger &&
|
|
33698
|
-
isOpen &&
|
|
33699
|
-
disabled &&
|
|
34009
|
+
styles26.root,
|
|
34010
|
+
usesRangeTrigger && styles26.rangeRoot,
|
|
34011
|
+
hideTrigger && styles26.rootHideTrigger,
|
|
34012
|
+
isOpen && styles26.rootOpen,
|
|
34013
|
+
disabled && styles26.disabled,
|
|
33700
34014
|
style
|
|
33701
34015
|
],
|
|
33702
34016
|
accessibilityState: { disabled, expanded: isOpen },
|
|
33703
|
-
children: /* @__PURE__ */ jsxs(View, { style: [
|
|
34017
|
+
children: /* @__PURE__ */ jsxs(View, { style: [styles26.triggerWrap, isOpen && styles26.triggerWrapOpen], children: [
|
|
33704
34018
|
hideTrigger ? null : /* @__PURE__ */ jsx(
|
|
33705
34019
|
Pressable,
|
|
33706
34020
|
{
|
|
@@ -33711,9 +34025,9 @@ var DatePicker = forwardRef(
|
|
|
33711
34025
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
33712
34026
|
accessibilityState: { disabled, expanded: isOpen },
|
|
33713
34027
|
style: [
|
|
33714
|
-
|
|
33715
|
-
usesRangeTrigger &&
|
|
33716
|
-
usesRangeTrigger && (usesVerticalRangeTrigger ?
|
|
34028
|
+
styles26.trigger,
|
|
34029
|
+
usesRangeTrigger && styles26.rangeTrigger,
|
|
34030
|
+
usesRangeTrigger && (usesVerticalRangeTrigger ? styles26.rangeTriggerVertical : styles26.rangeTriggerHorizontal),
|
|
33717
34031
|
{
|
|
33718
34032
|
borderColor: triggerBorderColor,
|
|
33719
34033
|
backgroundColor: usesRangeTrigger ? "transparent" : colors.grey700
|
|
@@ -33724,13 +34038,13 @@ var DatePicker = forwardRef(
|
|
|
33724
34038
|
/* @__PURE__ */ jsx(
|
|
33725
34039
|
View,
|
|
33726
34040
|
{
|
|
33727
|
-
style: usesVerticalRangeTrigger ?
|
|
34041
|
+
style: usesVerticalRangeTrigger ? styles26.rangeDividerVertical : styles26.rangeDividerHorizontal
|
|
33728
34042
|
}
|
|
33729
34043
|
),
|
|
33730
34044
|
/* @__PURE__ */ jsx(RangeTriggerField, { label: endLabel, time: endTime, value: endValue })
|
|
33731
34045
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
33732
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
33733
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
34046
|
+
/* @__PURE__ */ jsx(Text, { style: [styles26.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: triggerLabel }),
|
|
34047
|
+
/* @__PURE__ */ jsx(View, { style: styles26.iconSlot, children: /* @__PURE__ */ jsx(CalendarOutlineIcon, { size: ICON_SIZE11, color: colors.grey100 }) })
|
|
33734
34048
|
] })
|
|
33735
34049
|
}
|
|
33736
34050
|
),
|
|
@@ -33738,13 +34052,13 @@ var DatePicker = forwardRef(
|
|
|
33738
34052
|
View,
|
|
33739
34053
|
{
|
|
33740
34054
|
style: [
|
|
33741
|
-
|
|
33742
|
-
usesRangeTrigger &&
|
|
33743
|
-
hideTrigger ?
|
|
34055
|
+
styles26.menu,
|
|
34056
|
+
usesRangeTrigger && styles26.rangeMenu,
|
|
34057
|
+
hideTrigger ? styles26.menuInline : menuAlignEnd ? styles26.menuAlignEnd : styles26.menuAlignStart,
|
|
33744
34058
|
calendarStyle
|
|
33745
34059
|
],
|
|
33746
34060
|
children: [
|
|
33747
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
34061
|
+
/* @__PURE__ */ jsxs(View, { style: styles26.calendarHeader, children: [
|
|
33748
34062
|
/* @__PURE__ */ jsx(
|
|
33749
34063
|
Pressable,
|
|
33750
34064
|
{
|
|
@@ -33752,11 +34066,11 @@ var DatePicker = forwardRef(
|
|
|
33752
34066
|
hitSlop: 8,
|
|
33753
34067
|
accessibilityRole: "button",
|
|
33754
34068
|
accessibilityLabel: "Previous month",
|
|
33755
|
-
style:
|
|
34069
|
+
style: styles26.navButton,
|
|
33756
34070
|
children: /* @__PURE__ */ jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white })
|
|
33757
34071
|
}
|
|
33758
34072
|
),
|
|
33759
|
-
/* @__PURE__ */ jsxs(Text, { style:
|
|
34073
|
+
/* @__PURE__ */ jsxs(Text, { style: styles26.monthHeading, children: [
|
|
33760
34074
|
monthNames[visibleMonth.getMonth()],
|
|
33761
34075
|
" ",
|
|
33762
34076
|
visibleMonth.getFullYear()
|
|
@@ -33768,13 +34082,13 @@ var DatePicker = forwardRef(
|
|
|
33768
34082
|
hitSlop: 8,
|
|
33769
34083
|
accessibilityRole: "button",
|
|
33770
34084
|
accessibilityLabel: "Next month",
|
|
33771
|
-
style:
|
|
33772
|
-
children: /* @__PURE__ */ jsx(View, { style:
|
|
34085
|
+
style: styles26.navButton,
|
|
34086
|
+
children: /* @__PURE__ */ jsx(View, { style: styles26.navIconMirror, children: /* @__PURE__ */ jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white }) })
|
|
33773
34087
|
}
|
|
33774
34088
|
)
|
|
33775
34089
|
] }),
|
|
33776
34090
|
/* @__PURE__ */ jsxs(View, { children: [
|
|
33777
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
34091
|
+
/* @__PURE__ */ jsx(View, { style: styles26.weekdayRow, children: weekdayLabels.map((weekdayLabel, index) => /* @__PURE__ */ jsx(View, { style: styles26.weekdayCell, children: /* @__PURE__ */ jsx(Text, { style: styles26.weekdayText, children: weekdayLabel }) }, `${weekdayLabel}-${index}`)) }),
|
|
33778
34092
|
weeks.map((week, weekIndex) => {
|
|
33779
34093
|
let rangeHighlightStyle = null;
|
|
33780
34094
|
if (isRange && rangeValue.start && rangeValue.end) {
|
|
@@ -33811,13 +34125,13 @@ var DatePicker = forwardRef(
|
|
|
33811
34125
|
return /* @__PURE__ */ jsxs(
|
|
33812
34126
|
View,
|
|
33813
34127
|
{
|
|
33814
|
-
style: [
|
|
34128
|
+
style: [styles26.weekRow, weekIndex > 0 && styles26.weekRowSpaced],
|
|
33815
34129
|
children: [
|
|
33816
34130
|
rangeHighlightStyle ? /* @__PURE__ */ jsx(
|
|
33817
34131
|
View,
|
|
33818
34132
|
{
|
|
33819
34133
|
pointerEvents: "none",
|
|
33820
|
-
style: [
|
|
34134
|
+
style: [styles26.rangeHighlight, rangeHighlightStyle]
|
|
33821
34135
|
}
|
|
33822
34136
|
) : null,
|
|
33823
34137
|
week.map((day, dayIndex) => {
|
|
@@ -33840,7 +34154,7 @@ var DatePicker = forwardRef(
|
|
|
33840
34154
|
onHoverOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
33841
34155
|
onPressIn: () => setHoveredDayKey(dayKey),
|
|
33842
34156
|
onPressOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
33843
|
-
style:
|
|
34157
|
+
style: styles26.dayCellWrap,
|
|
33844
34158
|
accessibilityRole: "button",
|
|
33845
34159
|
accessibilityLabel: formatValue(day),
|
|
33846
34160
|
accessibilityState: {
|
|
@@ -33852,14 +34166,14 @@ var DatePicker = forwardRef(
|
|
|
33852
34166
|
View,
|
|
33853
34167
|
{
|
|
33854
34168
|
style: [
|
|
33855
|
-
|
|
33856
|
-
isSelectedEndpoint &&
|
|
33857
|
-
isHovered &&
|
|
34169
|
+
styles26.dayCircle,
|
|
34170
|
+
isSelectedEndpoint && styles26.dayCircleSelected,
|
|
34171
|
+
isHovered && styles26.dayCircleHovered
|
|
33858
34172
|
],
|
|
33859
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
34173
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles26.dayText, { color: dayTextColor }], children: day.getDate() })
|
|
33860
34174
|
}
|
|
33861
34175
|
),
|
|
33862
|
-
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsx(View, { style:
|
|
34176
|
+
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsx(View, { style: styles26.todayDot }) : null
|
|
33863
34177
|
]
|
|
33864
34178
|
},
|
|
33865
34179
|
dayIndex
|
|
@@ -33879,7 +34193,7 @@ var DatePicker = forwardRef(
|
|
|
33879
34193
|
);
|
|
33880
34194
|
}
|
|
33881
34195
|
);
|
|
33882
|
-
var
|
|
34196
|
+
var styles26 = StyleSheet.create({
|
|
33883
34197
|
root: {
|
|
33884
34198
|
width: DEFAULT_WIDTH,
|
|
33885
34199
|
gap: 8,
|
|
@@ -34148,12 +34462,12 @@ var FloatingActionButton = forwardRef(function FloatingActionButton2({ onPress,
|
|
|
34148
34462
|
accessibilityRole: "button",
|
|
34149
34463
|
accessibilityLabel,
|
|
34150
34464
|
accessibilityState: { disabled },
|
|
34151
|
-
style: [
|
|
34465
|
+
style: [styles27.base, disabled && styles27.disabled, style],
|
|
34152
34466
|
children: icon ?? /* @__PURE__ */ jsx(PlusIcon, { color: colors.white, size: ICON_SIZE12, strokeWidth: 2 })
|
|
34153
34467
|
}
|
|
34154
34468
|
);
|
|
34155
34469
|
});
|
|
34156
|
-
var
|
|
34470
|
+
var styles27 = StyleSheet.create({
|
|
34157
34471
|
base: {
|
|
34158
34472
|
width: SIZE,
|
|
34159
34473
|
height: SIZE,
|
|
@@ -34228,7 +34542,7 @@ var Modal = forwardRef(function Modal2({
|
|
|
34228
34542
|
View,
|
|
34229
34543
|
{
|
|
34230
34544
|
ref: setContentRef,
|
|
34231
|
-
style: [
|
|
34545
|
+
style: [styles28.content, contentStyle],
|
|
34232
34546
|
onStartShouldSetResponder: () => true,
|
|
34233
34547
|
children
|
|
34234
34548
|
}
|
|
@@ -34260,7 +34574,7 @@ var Modal = forwardRef(function Modal2({
|
|
|
34260
34574
|
animationType: "fade",
|
|
34261
34575
|
onRequestClose: onClose,
|
|
34262
34576
|
statusBarTranslucent: true,
|
|
34263
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
34577
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles28.root, accessibilityViewIsModal: true, children: [
|
|
34264
34578
|
/* @__PURE__ */ jsx(
|
|
34265
34579
|
Pressable,
|
|
34266
34580
|
{
|
|
@@ -34268,7 +34582,7 @@ var Modal = forwardRef(function Modal2({
|
|
|
34268
34582
|
accessibilityLabel: backdropAccessibilityLabel,
|
|
34269
34583
|
disabled: !closeOnBackdropPress,
|
|
34270
34584
|
onPress: closeOnBackdropPress ? onClose : void 0,
|
|
34271
|
-
style:
|
|
34585
|
+
style: styles28.backdrop
|
|
34272
34586
|
}
|
|
34273
34587
|
),
|
|
34274
34588
|
content
|
|
@@ -34276,7 +34590,7 @@ var Modal = forwardRef(function Modal2({
|
|
|
34276
34590
|
}
|
|
34277
34591
|
);
|
|
34278
34592
|
});
|
|
34279
|
-
var
|
|
34593
|
+
var styles28 = StyleSheet.create({
|
|
34280
34594
|
root: {
|
|
34281
34595
|
flex: 1,
|
|
34282
34596
|
alignItems: "center",
|
|
@@ -34292,6 +34606,198 @@ var styles26 = StyleSheet.create({
|
|
|
34292
34606
|
maxHeight: "100%"
|
|
34293
34607
|
}
|
|
34294
34608
|
});
|
|
34609
|
+
|
|
34610
|
+
// src/components/Drawer/Drawer.tsx
|
|
34611
|
+
var import_react_dom2 = __toESM(require_react_dom());
|
|
34612
|
+
var BACKDROP_COLOR2 = "#09090933";
|
|
34613
|
+
var DEFAULT_WIDTH2 = 652;
|
|
34614
|
+
var WEB_Z_INDEX2 = 500;
|
|
34615
|
+
var CLOSE_ICON_SIZE = 24;
|
|
34616
|
+
var webBackdropDomStyle2 = {
|
|
34617
|
+
position: "absolute",
|
|
34618
|
+
top: 0,
|
|
34619
|
+
right: 0,
|
|
34620
|
+
bottom: 0,
|
|
34621
|
+
left: 0,
|
|
34622
|
+
backgroundColor: BACKDROP_COLOR2,
|
|
34623
|
+
backdropFilter: "blur(18px)",
|
|
34624
|
+
WebkitBackdropFilter: "blur(18px)",
|
|
34625
|
+
border: "none",
|
|
34626
|
+
padding: 0,
|
|
34627
|
+
margin: 0,
|
|
34628
|
+
cursor: "pointer"
|
|
34629
|
+
};
|
|
34630
|
+
var webRootDomStyle2 = {
|
|
34631
|
+
position: "fixed",
|
|
34632
|
+
top: 0,
|
|
34633
|
+
right: 0,
|
|
34634
|
+
bottom: 0,
|
|
34635
|
+
left: 0,
|
|
34636
|
+
zIndex: WEB_Z_INDEX2,
|
|
34637
|
+
display: "flex",
|
|
34638
|
+
justifyContent: "flex-end"
|
|
34639
|
+
};
|
|
34640
|
+
var Drawer = forwardRef(function Drawer2({
|
|
34641
|
+
open,
|
|
34642
|
+
onClose,
|
|
34643
|
+
children,
|
|
34644
|
+
title,
|
|
34645
|
+
width = DEFAULT_WIDTH2,
|
|
34646
|
+
closeOnBackdropPress = true,
|
|
34647
|
+
backdropAccessibilityLabel = "Close",
|
|
34648
|
+
closeAccessibilityLabel = "Close",
|
|
34649
|
+
style,
|
|
34650
|
+
className
|
|
34651
|
+
}, forwardedRef) {
|
|
34652
|
+
const panelRef = useRef(null);
|
|
34653
|
+
const setPanelRef = useMemo(() => mergeRefs(panelRef, forwardedRef), [forwardedRef]);
|
|
34654
|
+
const resolvedClassName = className?.trim() || void 0;
|
|
34655
|
+
useApplyWebClassName(panelRef, resolvedClassName, open && Platform.OS === "web");
|
|
34656
|
+
useEffect(() => {
|
|
34657
|
+
if (!open || Platform.OS !== "web") return void 0;
|
|
34658
|
+
const previousOverflow = document.body.style.overflow;
|
|
34659
|
+
document.body.style.overflow = "hidden";
|
|
34660
|
+
const onKeyDown = (event) => {
|
|
34661
|
+
if (event.key === "Escape") onClose();
|
|
34662
|
+
};
|
|
34663
|
+
document.addEventListener("keydown", onKeyDown);
|
|
34664
|
+
return () => {
|
|
34665
|
+
document.body.style.overflow = previousOverflow;
|
|
34666
|
+
document.removeEventListener("keydown", onKeyDown);
|
|
34667
|
+
};
|
|
34668
|
+
}, [open, onClose]);
|
|
34669
|
+
const header = title != null && title !== "" ? /* @__PURE__ */ jsxs(View, { style: styles29.header, children: [
|
|
34670
|
+
/* @__PURE__ */ jsx(Text, { style: styles29.title, numberOfLines: 1, children: title }),
|
|
34671
|
+
/* @__PURE__ */ jsx(
|
|
34672
|
+
Pressable,
|
|
34673
|
+
{
|
|
34674
|
+
accessibilityRole: "button",
|
|
34675
|
+
accessibilityLabel: closeAccessibilityLabel,
|
|
34676
|
+
hitSlop: 8,
|
|
34677
|
+
onPress: onClose,
|
|
34678
|
+
style: styles29.closeButton,
|
|
34679
|
+
children: /* @__PURE__ */ jsx(CloseIcon, { color: colors.white, size: CLOSE_ICON_SIZE })
|
|
34680
|
+
}
|
|
34681
|
+
)
|
|
34682
|
+
] }) : null;
|
|
34683
|
+
const panel = /* @__PURE__ */ jsxs(
|
|
34684
|
+
View,
|
|
34685
|
+
{
|
|
34686
|
+
ref: setPanelRef,
|
|
34687
|
+
accessibilityViewIsModal: true,
|
|
34688
|
+
style: [styles29.panel, { width }, style],
|
|
34689
|
+
onStartShouldSetResponder: () => true,
|
|
34690
|
+
children: [
|
|
34691
|
+
header,
|
|
34692
|
+
/* @__PURE__ */ jsx(View, { style: styles29.body, children })
|
|
34693
|
+
]
|
|
34694
|
+
}
|
|
34695
|
+
);
|
|
34696
|
+
if (Platform.OS === "web") {
|
|
34697
|
+
if (!open || typeof document === "undefined") return null;
|
|
34698
|
+
return (0, import_react_dom2.createPortal)(
|
|
34699
|
+
/* @__PURE__ */ jsxs("div", { style: webRootDomStyle2, role: "presentation", children: [
|
|
34700
|
+
/* @__PURE__ */ jsx(
|
|
34701
|
+
"button",
|
|
34702
|
+
{
|
|
34703
|
+
type: "button",
|
|
34704
|
+
"aria-label": backdropAccessibilityLabel,
|
|
34705
|
+
disabled: !closeOnBackdropPress,
|
|
34706
|
+
onClick: closeOnBackdropPress ? onClose : void 0,
|
|
34707
|
+
style: webBackdropDomStyle2
|
|
34708
|
+
}
|
|
34709
|
+
),
|
|
34710
|
+
/* @__PURE__ */ jsx(
|
|
34711
|
+
"div",
|
|
34712
|
+
{
|
|
34713
|
+
style: {
|
|
34714
|
+
position: "relative",
|
|
34715
|
+
zIndex: 1,
|
|
34716
|
+
height: "100%",
|
|
34717
|
+
maxWidth: "100%",
|
|
34718
|
+
display: "flex"
|
|
34719
|
+
},
|
|
34720
|
+
children: panel
|
|
34721
|
+
}
|
|
34722
|
+
)
|
|
34723
|
+
] }),
|
|
34724
|
+
document.body
|
|
34725
|
+
);
|
|
34726
|
+
}
|
|
34727
|
+
return /* @__PURE__ */ jsx(
|
|
34728
|
+
Modal$1,
|
|
34729
|
+
{
|
|
34730
|
+
visible: open,
|
|
34731
|
+
transparent: true,
|
|
34732
|
+
animationType: "slide",
|
|
34733
|
+
onRequestClose: onClose,
|
|
34734
|
+
statusBarTranslucent: true,
|
|
34735
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles29.root, accessibilityViewIsModal: true, children: [
|
|
34736
|
+
/* @__PURE__ */ jsx(
|
|
34737
|
+
Pressable,
|
|
34738
|
+
{
|
|
34739
|
+
accessibilityRole: "button",
|
|
34740
|
+
accessibilityLabel: backdropAccessibilityLabel,
|
|
34741
|
+
disabled: !closeOnBackdropPress,
|
|
34742
|
+
onPress: closeOnBackdropPress ? onClose : void 0,
|
|
34743
|
+
style: styles29.backdrop
|
|
34744
|
+
}
|
|
34745
|
+
),
|
|
34746
|
+
panel
|
|
34747
|
+
] })
|
|
34748
|
+
}
|
|
34749
|
+
);
|
|
34750
|
+
});
|
|
34751
|
+
var styles29 = StyleSheet.create({
|
|
34752
|
+
root: {
|
|
34753
|
+
flex: 1,
|
|
34754
|
+
flexDirection: "row",
|
|
34755
|
+
justifyContent: "flex-end"
|
|
34756
|
+
},
|
|
34757
|
+
backdrop: {
|
|
34758
|
+
...StyleSheet.absoluteFillObject,
|
|
34759
|
+
backgroundColor: BACKDROP_COLOR2
|
|
34760
|
+
},
|
|
34761
|
+
panel: {
|
|
34762
|
+
zIndex: 1,
|
|
34763
|
+
height: "100%",
|
|
34764
|
+
maxWidth: "100%",
|
|
34765
|
+
backgroundColor: colors.grey800
|
|
34766
|
+
},
|
|
34767
|
+
header: {
|
|
34768
|
+
height: 65,
|
|
34769
|
+
flexDirection: "row",
|
|
34770
|
+
alignItems: "center",
|
|
34771
|
+
justifyContent: "space-between",
|
|
34772
|
+
paddingTop: 20,
|
|
34773
|
+
paddingRight: 24,
|
|
34774
|
+
paddingBottom: 20,
|
|
34775
|
+
paddingLeft: 24,
|
|
34776
|
+
borderBottomWidth: 1,
|
|
34777
|
+
borderBottomColor: colors.grey650
|
|
34778
|
+
},
|
|
34779
|
+
title: {
|
|
34780
|
+
flex: 1,
|
|
34781
|
+
fontFamily: fonts.sans,
|
|
34782
|
+
fontSize: 16,
|
|
34783
|
+
fontWeight: "600",
|
|
34784
|
+
lineHeight: 16,
|
|
34785
|
+
letterSpacing: 0,
|
|
34786
|
+
color: colors.white,
|
|
34787
|
+
marginRight: 12
|
|
34788
|
+
},
|
|
34789
|
+
closeButton: {
|
|
34790
|
+
width: CLOSE_ICON_SIZE,
|
|
34791
|
+
height: CLOSE_ICON_SIZE,
|
|
34792
|
+
alignItems: "center",
|
|
34793
|
+
justifyContent: "center",
|
|
34794
|
+
flexShrink: 0
|
|
34795
|
+
},
|
|
34796
|
+
body: {
|
|
34797
|
+
flex: 1,
|
|
34798
|
+
minHeight: 0
|
|
34799
|
+
}
|
|
34800
|
+
});
|
|
34295
34801
|
function renderStatefulIcon(icon, FallbackIcon, props) {
|
|
34296
34802
|
if (icon == null) {
|
|
34297
34803
|
return /* @__PURE__ */ jsx(FallbackIcon, { ...props });
|
|
@@ -34305,7 +34811,7 @@ function renderStatefulIcon(icon, FallbackIcon, props) {
|
|
|
34305
34811
|
}
|
|
34306
34812
|
return icon;
|
|
34307
34813
|
}
|
|
34308
|
-
var
|
|
34814
|
+
var DEFAULT_WIDTH3 = 308;
|
|
34309
34815
|
var sizeConfig2 = {
|
|
34310
34816
|
lg: {
|
|
34311
34817
|
height: 44,
|
|
@@ -34442,7 +34948,7 @@ var Input = forwardRef(function Input2({
|
|
|
34442
34948
|
useApplyWebClassName(rootRef, className);
|
|
34443
34949
|
useApplyWebClassName(inputRef, inputClassName);
|
|
34444
34950
|
const fieldChromeStyle = [
|
|
34445
|
-
|
|
34951
|
+
styles30.field,
|
|
34446
34952
|
{
|
|
34447
34953
|
height: metrics.height,
|
|
34448
34954
|
borderRadius: metrics.borderRadius,
|
|
@@ -34454,11 +34960,11 @@ var Input = forwardRef(function Input2({
|
|
|
34454
34960
|
borderColor: chrome.borderColor,
|
|
34455
34961
|
backgroundColor: chrome.backgroundColor
|
|
34456
34962
|
},
|
|
34457
|
-
Platform.OS === "web" ?
|
|
34963
|
+
Platform.OS === "web" ? styles30.fieldWeb : null,
|
|
34458
34964
|
fieldStyle
|
|
34459
34965
|
];
|
|
34460
|
-
return /* @__PURE__ */ jsxs(View, { ref: rootRef, style: [
|
|
34461
|
-
showLabel && label ? /* @__PURE__ */ jsx(Pressable, { disabled, onPress: focusInput, style:
|
|
34966
|
+
return /* @__PURE__ */ jsxs(View, { ref: rootRef, style: [styles30.root, disabled && styles30.disabled, style], children: [
|
|
34967
|
+
showLabel && label ? /* @__PURE__ */ jsx(Pressable, { disabled, onPress: focusInput, style: styles30.labelPressable, children: /* @__PURE__ */ jsx(Text, { style: [styles30.label, { color: chrome.labelColor }], children: label }) }) : null,
|
|
34462
34968
|
/* @__PURE__ */ jsxs(
|
|
34463
34969
|
Pressable,
|
|
34464
34970
|
{
|
|
@@ -34467,7 +34973,7 @@ var Input = forwardRef(function Input2({
|
|
|
34467
34973
|
onPress: focusInput,
|
|
34468
34974
|
style: fieldChromeStyle,
|
|
34469
34975
|
children: [
|
|
34470
|
-
hasLeftIcon ? /* @__PURE__ */ jsx(View, { style: [
|
|
34976
|
+
hasLeftIcon ? /* @__PURE__ */ jsx(View, { style: [styles30.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }], children: leftIconNode }) : null,
|
|
34471
34977
|
/* @__PURE__ */ jsx(
|
|
34472
34978
|
TextInput,
|
|
34473
34979
|
{
|
|
@@ -34492,11 +34998,11 @@ var Input = forwardRef(function Input2({
|
|
|
34492
34998
|
onBlur?.(event);
|
|
34493
34999
|
},
|
|
34494
35000
|
style: [
|
|
34495
|
-
|
|
35001
|
+
styles30.input,
|
|
34496
35002
|
metrics.text,
|
|
34497
35003
|
{ color: chrome.textColor },
|
|
34498
|
-
Platform.OS === "web" ?
|
|
34499
|
-
Platform.OS === "android" ?
|
|
35004
|
+
Platform.OS === "web" ? styles30.inputWeb : null,
|
|
35005
|
+
Platform.OS === "android" ? styles30.inputAndroid : null,
|
|
34500
35006
|
inputStyle
|
|
34501
35007
|
],
|
|
34502
35008
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -34508,7 +35014,7 @@ var Input = forwardRef(function Input2({
|
|
|
34508
35014
|
{
|
|
34509
35015
|
onPress: onRightIconPress,
|
|
34510
35016
|
disabled,
|
|
34511
|
-
style: [
|
|
35017
|
+
style: [styles30.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
34512
35018
|
accessibilityRole: "button",
|
|
34513
35019
|
accessibilityLabel: rightIconAccessibilityLabel,
|
|
34514
35020
|
hitSlop: 8,
|
|
@@ -34520,19 +35026,19 @@ var Input = forwardRef(function Input2({
|
|
|
34520
35026
|
accessibilityRole: "none",
|
|
34521
35027
|
disabled,
|
|
34522
35028
|
onPress: focusInput,
|
|
34523
|
-
style: [
|
|
35029
|
+
style: [styles30.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
34524
35030
|
children: rightIconNode
|
|
34525
35031
|
}
|
|
34526
35032
|
) : null
|
|
34527
35033
|
]
|
|
34528
35034
|
}
|
|
34529
35035
|
),
|
|
34530
|
-
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [
|
|
35036
|
+
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [styles30.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
34531
35037
|
] });
|
|
34532
35038
|
});
|
|
34533
|
-
var
|
|
35039
|
+
var styles30 = StyleSheet.create({
|
|
34534
35040
|
root: {
|
|
34535
|
-
width:
|
|
35041
|
+
width: DEFAULT_WIDTH3,
|
|
34536
35042
|
gap: 8,
|
|
34537
35043
|
alignSelf: "flex-start"
|
|
34538
35044
|
},
|
|
@@ -34578,6 +35084,234 @@ var styles27 = StyleSheet.create({
|
|
|
34578
35084
|
...inputTypography.hint
|
|
34579
35085
|
}
|
|
34580
35086
|
});
|
|
35087
|
+
var MENU_MAX_HEIGHT = 248;
|
|
35088
|
+
var BLUR_CLOSE_DELAY_MS = 120;
|
|
35089
|
+
var AUTOCOMPLETE_ROOT_Z_INDEX = 1100;
|
|
35090
|
+
var AUTOCOMPLETE_MENU_Z_INDEX = 1101;
|
|
35091
|
+
var AutocompleteInput = forwardRef(
|
|
35092
|
+
function AutocompleteInput2({
|
|
35093
|
+
value,
|
|
35094
|
+
options,
|
|
35095
|
+
onChangeText,
|
|
35096
|
+
onOptionSelect,
|
|
35097
|
+
onSubmit,
|
|
35098
|
+
open: openProp,
|
|
35099
|
+
defaultOpen = false,
|
|
35100
|
+
onOpenChange,
|
|
35101
|
+
loading = false,
|
|
35102
|
+
loadingText = "Loading...",
|
|
35103
|
+
emptyText = "No results",
|
|
35104
|
+
showEmpty = true,
|
|
35105
|
+
renderOption,
|
|
35106
|
+
containerStyle,
|
|
35107
|
+
menuStyle,
|
|
35108
|
+
containerClassName,
|
|
35109
|
+
menuClassName,
|
|
35110
|
+
disabled = false,
|
|
35111
|
+
onFocus,
|
|
35112
|
+
onBlur,
|
|
35113
|
+
...inputProps
|
|
35114
|
+
}, forwardedRef) {
|
|
35115
|
+
const rootRef = useRef(null);
|
|
35116
|
+
const menuRef = useRef(null);
|
|
35117
|
+
const blurTimerRef = useRef(null);
|
|
35118
|
+
const setRootRef = useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
35119
|
+
const controlled = typeof openProp === "boolean";
|
|
35120
|
+
const [uncontrolledOpen, setUncontrolledOpen] = useState(defaultOpen);
|
|
35121
|
+
const [highlightedIndex, setHighlightedIndex] = useState(0);
|
|
35122
|
+
const open = controlled ? openProp : uncontrolledOpen;
|
|
35123
|
+
useApplyWebClassName(rootRef, containerClassName);
|
|
35124
|
+
useApplyWebClassName(menuRef, menuClassName, open);
|
|
35125
|
+
const setOpen = useCallback(
|
|
35126
|
+
(nextOpen) => {
|
|
35127
|
+
if (!controlled) setUncontrolledOpen(nextOpen);
|
|
35128
|
+
onOpenChange?.(nextOpen);
|
|
35129
|
+
if (!nextOpen) setHighlightedIndex(0);
|
|
35130
|
+
},
|
|
35131
|
+
[controlled, onOpenChange]
|
|
35132
|
+
);
|
|
35133
|
+
useEffect(() => {
|
|
35134
|
+
if (highlightedIndex < options.length) return;
|
|
35135
|
+
setHighlightedIndex(Math.max(0, options.length - 1));
|
|
35136
|
+
}, [highlightedIndex, options.length]);
|
|
35137
|
+
useEffect(() => {
|
|
35138
|
+
if (Platform.OS !== "web" || !open) return;
|
|
35139
|
+
const closeOnOutsidePress = (event) => {
|
|
35140
|
+
const root = rootRef.current;
|
|
35141
|
+
if (event.target instanceof Node && root?.contains && !root.contains(event.target)) {
|
|
35142
|
+
setOpen(false);
|
|
35143
|
+
}
|
|
35144
|
+
};
|
|
35145
|
+
document.addEventListener("mousedown", closeOnOutsidePress);
|
|
35146
|
+
document.addEventListener("touchstart", closeOnOutsidePress);
|
|
35147
|
+
return () => {
|
|
35148
|
+
document.removeEventListener("mousedown", closeOnOutsidePress);
|
|
35149
|
+
document.removeEventListener("touchstart", closeOnOutsidePress);
|
|
35150
|
+
};
|
|
35151
|
+
}, [open, setOpen]);
|
|
35152
|
+
useEffect(
|
|
35153
|
+
() => () => {
|
|
35154
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
35155
|
+
},
|
|
35156
|
+
[]
|
|
35157
|
+
);
|
|
35158
|
+
const selectOption = (option) => {
|
|
35159
|
+
if (disabled) return;
|
|
35160
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
35161
|
+
onOptionSelect(option);
|
|
35162
|
+
setOpen(false);
|
|
35163
|
+
};
|
|
35164
|
+
const submit = () => {
|
|
35165
|
+
const highlighted = options[highlightedIndex] ?? options[0];
|
|
35166
|
+
if (open && highlighted) {
|
|
35167
|
+
selectOption(highlighted);
|
|
35168
|
+
return;
|
|
35169
|
+
}
|
|
35170
|
+
onSubmit?.(options[0]);
|
|
35171
|
+
};
|
|
35172
|
+
const showMenu = open && !disabled && (loading || options.length > 0 || showEmpty);
|
|
35173
|
+
return /* @__PURE__ */ jsxs(
|
|
35174
|
+
View,
|
|
35175
|
+
{
|
|
35176
|
+
ref: setRootRef,
|
|
35177
|
+
style: [styles31.root, open && styles31.rootOpen, containerStyle],
|
|
35178
|
+
accessibilityState: { disabled, expanded: open },
|
|
35179
|
+
children: [
|
|
35180
|
+
/* @__PURE__ */ jsx(
|
|
35181
|
+
Input,
|
|
35182
|
+
{
|
|
35183
|
+
...inputProps,
|
|
35184
|
+
disabled,
|
|
35185
|
+
value,
|
|
35186
|
+
onChangeText: (nextValue) => {
|
|
35187
|
+
onChangeText(nextValue);
|
|
35188
|
+
setHighlightedIndex(0);
|
|
35189
|
+
setOpen(true);
|
|
35190
|
+
},
|
|
35191
|
+
onFocus: (event) => {
|
|
35192
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
35193
|
+
setOpen(true);
|
|
35194
|
+
onFocus?.(event);
|
|
35195
|
+
},
|
|
35196
|
+
onBlur: (event) => {
|
|
35197
|
+
blurTimerRef.current = setTimeout(() => setOpen(false), BLUR_CLOSE_DELAY_MS);
|
|
35198
|
+
onBlur?.(event);
|
|
35199
|
+
},
|
|
35200
|
+
onKeyPress: (event) => {
|
|
35201
|
+
const key = event.nativeEvent.key;
|
|
35202
|
+
if (key === "ArrowDown" && options.length > 0) {
|
|
35203
|
+
setHighlightedIndex((current) => Math.min(current + 1, options.length - 1));
|
|
35204
|
+
} else if (key === "ArrowUp" && options.length > 0) {
|
|
35205
|
+
setHighlightedIndex((current) => Math.max(current - 1, 0));
|
|
35206
|
+
} else if (key === "Escape") {
|
|
35207
|
+
setOpen(false);
|
|
35208
|
+
}
|
|
35209
|
+
inputProps.onKeyPress?.(event);
|
|
35210
|
+
},
|
|
35211
|
+
onSubmitEditing: submit
|
|
35212
|
+
}
|
|
35213
|
+
),
|
|
35214
|
+
showMenu ? /* @__PURE__ */ jsx(View, { ref: menuRef, style: [styles31.menu, menuStyle], children: loading ? /* @__PURE__ */ jsxs(View, { style: styles31.statusRow, children: [
|
|
35215
|
+
/* @__PURE__ */ jsx(ActivityIndicator, { color: colors.primary, size: "small" }),
|
|
35216
|
+
/* @__PURE__ */ jsx(Text, { style: styles31.statusText, children: loadingText })
|
|
35217
|
+
] }) : options.length === 0 ? /* @__PURE__ */ jsx(View, { style: styles31.statusRow, children: /* @__PURE__ */ jsx(Text, { style: styles31.statusText, children: emptyText }) }) : /* @__PURE__ */ jsx(
|
|
35218
|
+
ScrollView,
|
|
35219
|
+
{
|
|
35220
|
+
keyboardShouldPersistTaps: "handled",
|
|
35221
|
+
nestedScrollEnabled: true,
|
|
35222
|
+
showsVerticalScrollIndicator: true,
|
|
35223
|
+
style: styles31.list,
|
|
35224
|
+
children: options.map((option, index) => {
|
|
35225
|
+
const highlighted = index === highlightedIndex;
|
|
35226
|
+
return /* @__PURE__ */ jsx(
|
|
35227
|
+
Pressable,
|
|
35228
|
+
{
|
|
35229
|
+
accessibilityRole: "button",
|
|
35230
|
+
onHoverIn: () => setHighlightedIndex(index),
|
|
35231
|
+
onPress: () => selectOption(option),
|
|
35232
|
+
style: [styles31.option, highlighted && styles31.optionHighlighted],
|
|
35233
|
+
children: renderOption ? renderOption(option, highlighted) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
35234
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles31.optionLabel, children: option.label }),
|
|
35235
|
+
option.description ? /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles31.optionDescription, children: option.description }) : null
|
|
35236
|
+
] })
|
|
35237
|
+
},
|
|
35238
|
+
option.value
|
|
35239
|
+
);
|
|
35240
|
+
})
|
|
35241
|
+
}
|
|
35242
|
+
) }) : null
|
|
35243
|
+
]
|
|
35244
|
+
}
|
|
35245
|
+
);
|
|
35246
|
+
}
|
|
35247
|
+
);
|
|
35248
|
+
var styles31 = StyleSheet.create({
|
|
35249
|
+
root: {
|
|
35250
|
+
position: "relative",
|
|
35251
|
+
width: 308
|
|
35252
|
+
},
|
|
35253
|
+
rootOpen: {
|
|
35254
|
+
zIndex: AUTOCOMPLETE_ROOT_Z_INDEX
|
|
35255
|
+
},
|
|
35256
|
+
menu: {
|
|
35257
|
+
position: "absolute",
|
|
35258
|
+
top: "100%",
|
|
35259
|
+
left: 0,
|
|
35260
|
+
right: 0,
|
|
35261
|
+
zIndex: AUTOCOMPLETE_MENU_Z_INDEX,
|
|
35262
|
+
marginTop: 4,
|
|
35263
|
+
padding: 4,
|
|
35264
|
+
overflow: "hidden",
|
|
35265
|
+
borderWidth: 1,
|
|
35266
|
+
borderColor: colors.grey700,
|
|
35267
|
+
borderRadius: 16,
|
|
35268
|
+
backgroundColor: colors.grey700,
|
|
35269
|
+
shadowColor: colors.black,
|
|
35270
|
+
shadowOffset: { width: 0, height: 8 },
|
|
35271
|
+
shadowOpacity: 0.4,
|
|
35272
|
+
shadowRadius: 18,
|
|
35273
|
+
elevation: 12
|
|
35274
|
+
},
|
|
35275
|
+
list: {
|
|
35276
|
+
maxHeight: MENU_MAX_HEIGHT
|
|
35277
|
+
},
|
|
35278
|
+
option: {
|
|
35279
|
+
minHeight: 48,
|
|
35280
|
+
justifyContent: "center",
|
|
35281
|
+
gap: 2,
|
|
35282
|
+
paddingHorizontal: 12,
|
|
35283
|
+
paddingVertical: 8,
|
|
35284
|
+
borderRadius: 12
|
|
35285
|
+
},
|
|
35286
|
+
optionHighlighted: {
|
|
35287
|
+
backgroundColor: colors.grey600
|
|
35288
|
+
},
|
|
35289
|
+
optionLabel: {
|
|
35290
|
+
color: colors.white,
|
|
35291
|
+
fontSize: 12,
|
|
35292
|
+
lineHeight: 18,
|
|
35293
|
+
fontWeight: "600"
|
|
35294
|
+
},
|
|
35295
|
+
optionDescription: {
|
|
35296
|
+
color: colors.grey100,
|
|
35297
|
+
fontSize: 11,
|
|
35298
|
+
lineHeight: 16
|
|
35299
|
+
},
|
|
35300
|
+
statusRow: {
|
|
35301
|
+
minHeight: 48,
|
|
35302
|
+
flexDirection: "row",
|
|
35303
|
+
alignItems: "center",
|
|
35304
|
+
justifyContent: "center",
|
|
35305
|
+
gap: 8,
|
|
35306
|
+
paddingHorizontal: 12,
|
|
35307
|
+
paddingVertical: 8
|
|
35308
|
+
},
|
|
35309
|
+
statusText: {
|
|
35310
|
+
color: colors.grey100,
|
|
35311
|
+
fontSize: 12,
|
|
35312
|
+
lineHeight: 18
|
|
35313
|
+
}
|
|
35314
|
+
});
|
|
34581
35315
|
|
|
34582
35316
|
// src/components/VerificationCodeInput/VerificationCodeInput.utils.ts
|
|
34583
35317
|
function normalizeVerificationCode(value, length) {
|
|
@@ -34697,8 +35431,8 @@ var VerificationCodeInput = forwardRef(function VerificationCodeInput2({
|
|
|
34697
35431
|
const cellGap = mobile ? MOBILE_GAP : DESKTOP_GAP;
|
|
34698
35432
|
const rowWidth = cellWidth * safeLength + cellGap * Math.max(0, safeLength - 1);
|
|
34699
35433
|
const showErrorMessage = Boolean(error && errorMessage);
|
|
34700
|
-
return /* @__PURE__ */ jsxs(View, { ...viewProps, ref: rootRef, style: [
|
|
34701
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
35434
|
+
return /* @__PURE__ */ jsxs(View, { ...viewProps, ref: rootRef, style: [styles32.wrapper, disabled && styles32.disabled, style], children: [
|
|
35435
|
+
/* @__PURE__ */ jsx(View, { style: [styles32.row, { width: rowWidth, maxWidth: "100%", gap: cellGap }], children: Array.from({ length: safeLength }, (_, index) => {
|
|
34702
35436
|
const active = focusedIndex === index;
|
|
34703
35437
|
const borderColor = error ? colors.red : active ? colors.primary : colors.grey600;
|
|
34704
35438
|
return /* @__PURE__ */ jsx(
|
|
@@ -34723,15 +35457,15 @@ var VerificationCodeInput = forwardRef(function VerificationCodeInput2({
|
|
|
34723
35457
|
onSubmitEditing: () => onSubmit?.(currentCode),
|
|
34724
35458
|
selectTextOnFocus: true,
|
|
34725
35459
|
style: [
|
|
34726
|
-
|
|
35460
|
+
styles32.cell,
|
|
34727
35461
|
{
|
|
34728
35462
|
width: cellWidth,
|
|
34729
35463
|
height: cellHeight,
|
|
34730
35464
|
borderColor,
|
|
34731
35465
|
color: error ? colors.red : colors.white
|
|
34732
35466
|
},
|
|
34733
|
-
Platform.OS === "web" ?
|
|
34734
|
-
Platform.OS === "android" ?
|
|
35467
|
+
Platform.OS === "web" ? styles32.cellWeb : null,
|
|
35468
|
+
Platform.OS === "android" ? styles32.cellAndroid : null,
|
|
34735
35469
|
inputStyle
|
|
34736
35470
|
],
|
|
34737
35471
|
value: currentCode[index] ?? ""
|
|
@@ -34739,10 +35473,10 @@ var VerificationCodeInput = forwardRef(function VerificationCodeInput2({
|
|
|
34739
35473
|
index
|
|
34740
35474
|
);
|
|
34741
35475
|
}) }),
|
|
34742
|
-
showErrorMessage ? /* @__PURE__ */ jsx(Text, { accessibilityLiveRegion: "assertive", style:
|
|
35476
|
+
showErrorMessage ? /* @__PURE__ */ jsx(Text, { accessibilityLiveRegion: "assertive", style: styles32.errorMessage, children: errorMessage }) : null
|
|
34743
35477
|
] });
|
|
34744
35478
|
});
|
|
34745
|
-
var
|
|
35479
|
+
var styles32 = StyleSheet.create({
|
|
34746
35480
|
wrapper: {
|
|
34747
35481
|
minWidth: 0,
|
|
34748
35482
|
alignSelf: "center",
|
|
@@ -34787,7 +35521,7 @@ var styles28 = StyleSheet.create({
|
|
|
34787
35521
|
color: colors.red
|
|
34788
35522
|
}
|
|
34789
35523
|
});
|
|
34790
|
-
var
|
|
35524
|
+
var DEFAULT_WIDTH4 = 308;
|
|
34791
35525
|
var TRIGGER_HEIGHT2 = 44;
|
|
34792
35526
|
var TRIGGER_RADIUS2 = 60;
|
|
34793
35527
|
var MENU_RADIUS3 = 24;
|
|
@@ -34866,25 +35600,25 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
34866
35600
|
const next = Math.ceil(event.nativeEvent.layout.width);
|
|
34867
35601
|
setEllipsisWidth((current) => current === next ? current : next);
|
|
34868
35602
|
};
|
|
34869
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
34870
|
-
/* @__PURE__ */ jsxs(View, { pointerEvents: "none", style:
|
|
35603
|
+
return /* @__PURE__ */ jsxs(View, { style: styles33.multiValueRoot, children: [
|
|
35604
|
+
/* @__PURE__ */ jsxs(View, { pointerEvents: "none", style: styles33.measureRow, children: [
|
|
34871
35605
|
options.map((option) => /* @__PURE__ */ jsxs(
|
|
34872
35606
|
View,
|
|
34873
35607
|
{
|
|
34874
|
-
style:
|
|
35608
|
+
style: styles33.chip,
|
|
34875
35609
|
onLayout: (event) => handleChipLayout(option.value, event),
|
|
34876
35610
|
children: [
|
|
34877
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
34878
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
35611
|
+
/* @__PURE__ */ jsx(Text, { style: styles33.chipLabel, numberOfLines: 1, children: option.label }),
|
|
35612
|
+
/* @__PURE__ */ jsx(Text, { style: styles33.chipRemove, children: "\xD7" })
|
|
34879
35613
|
]
|
|
34880
35614
|
},
|
|
34881
35615
|
`measure-${option.value}`
|
|
34882
35616
|
)),
|
|
34883
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
35617
|
+
/* @__PURE__ */ jsx(View, { style: styles33.ellipsis, onLayout: handleEllipsisLayout, children: /* @__PURE__ */ jsx(Text, { style: styles33.ellipsisText, children: "..." }) })
|
|
34884
35618
|
] }),
|
|
34885
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
34886
|
-
visible.map((option) => /* @__PURE__ */ jsxs(View, { style:
|
|
34887
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
35619
|
+
/* @__PURE__ */ jsxs(View, { style: styles33.chipsRow, onLayout: handleContainerLayout, children: [
|
|
35620
|
+
visible.map((option) => /* @__PURE__ */ jsxs(View, { style: styles33.chip, children: [
|
|
35621
|
+
/* @__PURE__ */ jsx(Text, { style: styles33.chipLabel, numberOfLines: 1, children: option.label }),
|
|
34888
35622
|
/* @__PURE__ */ jsx(
|
|
34889
35623
|
Pressable,
|
|
34890
35624
|
{
|
|
@@ -34896,11 +35630,11 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
34896
35630
|
hitSlop: 6,
|
|
34897
35631
|
accessibilityRole: "button",
|
|
34898
35632
|
accessibilityLabel: `Remove ${option.label}`,
|
|
34899
|
-
children: /* @__PURE__ */ jsx(Text, { style:
|
|
35633
|
+
children: /* @__PURE__ */ jsx(Text, { style: styles33.chipRemove, children: "\xD7" })
|
|
34900
35634
|
}
|
|
34901
35635
|
)
|
|
34902
35636
|
] }, option.value)),
|
|
34903
|
-
hasOverflow ? /* @__PURE__ */ jsx(View, { style:
|
|
35637
|
+
hasOverflow ? /* @__PURE__ */ jsx(View, { style: styles33.ellipsis, children: /* @__PURE__ */ jsx(Text, { style: styles33.ellipsisText, children: "..." }) }) : null
|
|
34904
35638
|
] })
|
|
34905
35639
|
] });
|
|
34906
35640
|
}
|
|
@@ -35171,11 +35905,11 @@ var Select = forwardRef(
|
|
|
35171
35905
|
{
|
|
35172
35906
|
...rest,
|
|
35173
35907
|
ref: setRootRef,
|
|
35174
|
-
style: [
|
|
35908
|
+
style: [styles33.root, isOpen && styles33.rootOpen, disabled && styles33.disabled, style],
|
|
35175
35909
|
accessibilityState: { disabled, expanded: isOpen },
|
|
35176
35910
|
children: [
|
|
35177
|
-
showLabel && label ? /* @__PURE__ */ jsx(Text, { style: [
|
|
35178
|
-
/* @__PURE__ */ jsxs(View, { style: [
|
|
35911
|
+
showLabel && label ? /* @__PURE__ */ jsx(Text, { style: [styles33.label, { color: labelColor }], children: label }) : null,
|
|
35912
|
+
/* @__PURE__ */ jsxs(View, { style: [styles33.triggerWrap, isOpen && styles33.triggerWrapOpen], children: [
|
|
35179
35913
|
/* @__PURE__ */ jsxs(
|
|
35180
35914
|
Pressable,
|
|
35181
35915
|
{
|
|
@@ -35186,23 +35920,23 @@ var Select = forwardRef(
|
|
|
35186
35920
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35187
35921
|
accessibilityState: { disabled, expanded: isOpen },
|
|
35188
35922
|
style: [
|
|
35189
|
-
|
|
35923
|
+
styles33.trigger,
|
|
35190
35924
|
{
|
|
35191
35925
|
borderColor: triggerBorderColor,
|
|
35192
35926
|
backgroundColor: colors.grey700
|
|
35193
35927
|
}
|
|
35194
35928
|
],
|
|
35195
35929
|
children: [
|
|
35196
|
-
hasLeftIcon ? /* @__PURE__ */ jsx(View, { style:
|
|
35197
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
35930
|
+
hasLeftIcon ? /* @__PURE__ */ jsx(View, { style: styles33.iconSlot, children: leftIconNode }) : null,
|
|
35931
|
+
/* @__PURE__ */ jsx(View, { style: styles33.triggerContent, children: multiple && hasValue ? /* @__PURE__ */ jsx(
|
|
35198
35932
|
MultiValueChips,
|
|
35199
35933
|
{
|
|
35200
35934
|
options: selectedOptions,
|
|
35201
35935
|
disabled,
|
|
35202
35936
|
onRemove: handleRemoveChip
|
|
35203
35937
|
}
|
|
35204
|
-
) : /* @__PURE__ */ jsx(Text, { style: [
|
|
35205
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
35938
|
+
) : /* @__PURE__ */ jsx(Text, { style: [styles33.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: multiple ? placeholder : singleLabel }) }),
|
|
35939
|
+
/* @__PURE__ */ jsx(View, { style: [styles33.iconSlot, isOpen && styles33.chevronOpen], children: /* @__PURE__ */ jsx(ChevronDownIcon, { size: ICON_SIZE13, color: isOpen ? colors.primary : colors.grey100 }) })
|
|
35206
35940
|
]
|
|
35207
35941
|
}
|
|
35208
35942
|
),
|
|
@@ -35210,14 +35944,14 @@ var Select = forwardRef(
|
|
|
35210
35944
|
View,
|
|
35211
35945
|
{
|
|
35212
35946
|
style: [
|
|
35213
|
-
|
|
35214
|
-
menuAlignEnd ?
|
|
35215
|
-
menuPlaceAbove ?
|
|
35947
|
+
styles33.menu,
|
|
35948
|
+
menuAlignEnd ? styles33.menuAlignEnd : styles33.menuAlignStart,
|
|
35949
|
+
menuPlaceAbove ? styles33.menuAbove : styles33.menuBelow,
|
|
35216
35950
|
menuStyle
|
|
35217
35951
|
],
|
|
35218
35952
|
children: [
|
|
35219
|
-
showSearch ? /* @__PURE__ */ jsxs(View, { style:
|
|
35220
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
35953
|
+
showSearch ? /* @__PURE__ */ jsxs(View, { style: styles33.searchField, children: [
|
|
35954
|
+
/* @__PURE__ */ jsx(View, { style: styles33.iconSlot, children: /* @__PURE__ */ jsx(SearchIcon, { size: ICON_SIZE13, color: colors.grey100 }) }),
|
|
35221
35955
|
/* @__PURE__ */ jsx(
|
|
35222
35956
|
TextInput,
|
|
35223
35957
|
{
|
|
@@ -35228,9 +35962,9 @@ var Select = forwardRef(
|
|
|
35228
35962
|
placeholder: searchPlaceholder,
|
|
35229
35963
|
placeholderTextColor: colors.grey100,
|
|
35230
35964
|
style: [
|
|
35231
|
-
|
|
35232
|
-
Platform.OS === "web" ?
|
|
35233
|
-
Platform.OS === "android" ?
|
|
35965
|
+
styles33.searchInput,
|
|
35966
|
+
Platform.OS === "web" ? styles33.searchInputWeb : null,
|
|
35967
|
+
Platform.OS === "android" ? styles33.searchInputAndroid : null
|
|
35234
35968
|
],
|
|
35235
35969
|
accessibilityLabel: searchPlaceholder
|
|
35236
35970
|
}
|
|
@@ -35239,12 +35973,12 @@ var Select = forwardRef(
|
|
|
35239
35973
|
/* @__PURE__ */ jsxs(
|
|
35240
35974
|
ScrollView,
|
|
35241
35975
|
{
|
|
35242
|
-
style:
|
|
35243
|
-
contentContainerStyle:
|
|
35976
|
+
style: styles33.optionList,
|
|
35977
|
+
contentContainerStyle: styles33.optionListContent,
|
|
35244
35978
|
keyboardShouldPersistTaps: "handled",
|
|
35245
35979
|
showsVerticalScrollIndicator: false,
|
|
35246
35980
|
children: [
|
|
35247
|
-
loading ? /* @__PURE__ */ jsx(View, { style:
|
|
35981
|
+
loading ? /* @__PURE__ */ jsx(View, { style: styles33.statusRow, children: /* @__PURE__ */ jsx(Text, { style: styles33.statusText, children: "Loading..." }) }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx(View, { style: styles33.statusRow, children: /* @__PURE__ */ jsx(Text, { style: styles33.statusText, children: emptyText }) }) : null,
|
|
35248
35982
|
!loading && filteredOptions.map((option) => {
|
|
35249
35983
|
const isSelected = selectedValues.includes(option.value);
|
|
35250
35984
|
const isHovered = hoveredValue === option.value;
|
|
@@ -35261,14 +35995,14 @@ var Select = forwardRef(
|
|
|
35261
35995
|
accessibilityRole: multiple ? "checkbox" : "button",
|
|
35262
35996
|
accessibilityState: { selected: isSelected, checked: isSelected, disabled },
|
|
35263
35997
|
style: [
|
|
35264
|
-
|
|
35998
|
+
styles33.item,
|
|
35265
35999
|
{
|
|
35266
36000
|
backgroundColor: itemBackground(visualState)
|
|
35267
36001
|
}
|
|
35268
36002
|
],
|
|
35269
36003
|
children: [
|
|
35270
|
-
multiple ? /* @__PURE__ */ jsx(View, { pointerEvents: "none", style:
|
|
35271
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
36004
|
+
multiple ? /* @__PURE__ */ jsx(View, { pointerEvents: "none", style: styles33.itemCheckbox, children: /* @__PURE__ */ jsx(Checkbox, { value: isSelected, variant: "light" }) }) : null,
|
|
36005
|
+
/* @__PURE__ */ jsx(Text, { style: styles33.itemLabel, numberOfLines: 1, children: option.label })
|
|
35272
36006
|
]
|
|
35273
36007
|
},
|
|
35274
36008
|
option.value
|
|
@@ -35281,15 +36015,15 @@ var Select = forwardRef(
|
|
|
35281
36015
|
}
|
|
35282
36016
|
) : null
|
|
35283
36017
|
] }),
|
|
35284
|
-
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [
|
|
36018
|
+
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [styles33.hint, { color: hintColor }], children: hint }) : null
|
|
35285
36019
|
]
|
|
35286
36020
|
}
|
|
35287
36021
|
);
|
|
35288
36022
|
}
|
|
35289
36023
|
);
|
|
35290
|
-
var
|
|
36024
|
+
var styles33 = StyleSheet.create({
|
|
35291
36025
|
root: {
|
|
35292
|
-
width:
|
|
36026
|
+
width: DEFAULT_WIDTH4,
|
|
35293
36027
|
gap: 8,
|
|
35294
36028
|
alignSelf: "flex-start"
|
|
35295
36029
|
},
|
|
@@ -35480,7 +36214,7 @@ var styles29 = StyleSheet.create({
|
|
|
35480
36214
|
...selectTypography.hint
|
|
35481
36215
|
}
|
|
35482
36216
|
});
|
|
35483
|
-
var
|
|
36217
|
+
var DEFAULT_WIDTH5 = 308;
|
|
35484
36218
|
var FIELD_HEIGHT = 100;
|
|
35485
36219
|
var FIELD_RADIUS = 16;
|
|
35486
36220
|
var FIELD_PADDING_VERTICAL = 12;
|
|
@@ -35572,8 +36306,8 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
35572
36306
|
};
|
|
35573
36307
|
useApplyWebClassName(rootRef, className);
|
|
35574
36308
|
useApplyWebClassName(inputRef, inputClassName);
|
|
35575
|
-
return /* @__PURE__ */ jsxs(View, { ref: rootRef, style: [
|
|
35576
|
-
showLabel && label ? /* @__PURE__ */ jsx(Pressable, { disabled, onPress: focusInput, style:
|
|
36309
|
+
return /* @__PURE__ */ jsxs(View, { ref: rootRef, style: [styles34.root, disabled && styles34.disabled, style], children: [
|
|
36310
|
+
showLabel && label ? /* @__PURE__ */ jsx(Pressable, { disabled, onPress: focusInput, style: styles34.labelPressable, children: /* @__PURE__ */ jsx(Text, { style: [styles34.label, { color: chrome.labelColor }], children: label }) }) : null,
|
|
35577
36311
|
/* @__PURE__ */ jsx(
|
|
35578
36312
|
Pressable,
|
|
35579
36313
|
{
|
|
@@ -35581,12 +36315,12 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
35581
36315
|
disabled,
|
|
35582
36316
|
onPress: focusInput,
|
|
35583
36317
|
style: [
|
|
35584
|
-
|
|
36318
|
+
styles34.field,
|
|
35585
36319
|
{
|
|
35586
36320
|
borderColor: chrome.borderColor,
|
|
35587
36321
|
backgroundColor: chrome.backgroundColor
|
|
35588
36322
|
},
|
|
35589
|
-
Platform.OS === "web" ?
|
|
36323
|
+
Platform.OS === "web" ? styles34.fieldWeb : null,
|
|
35590
36324
|
fieldStyle
|
|
35591
36325
|
],
|
|
35592
36326
|
children: /* @__PURE__ */ jsx(
|
|
@@ -35615,11 +36349,11 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
35615
36349
|
onBlur?.(event);
|
|
35616
36350
|
},
|
|
35617
36351
|
style: [
|
|
35618
|
-
|
|
36352
|
+
styles34.input,
|
|
35619
36353
|
textareaTypography.field,
|
|
35620
36354
|
{ color: chrome.textColor },
|
|
35621
|
-
Platform.OS === "web" ?
|
|
35622
|
-
Platform.OS === "android" ?
|
|
36355
|
+
Platform.OS === "web" ? styles34.inputWeb : null,
|
|
36356
|
+
Platform.OS === "android" ? styles34.inputAndroid : null,
|
|
35623
36357
|
inputStyle
|
|
35624
36358
|
],
|
|
35625
36359
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -35628,12 +36362,12 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
35628
36362
|
)
|
|
35629
36363
|
}
|
|
35630
36364
|
),
|
|
35631
|
-
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [
|
|
36365
|
+
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [styles34.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
35632
36366
|
] });
|
|
35633
36367
|
});
|
|
35634
|
-
var
|
|
36368
|
+
var styles34 = StyleSheet.create({
|
|
35635
36369
|
root: {
|
|
35636
|
-
width:
|
|
36370
|
+
width: DEFAULT_WIDTH5,
|
|
35637
36371
|
gap: 8,
|
|
35638
36372
|
alignSelf: "flex-start"
|
|
35639
36373
|
},
|
|
@@ -35741,13 +36475,13 @@ var Toggle = forwardRef(function Toggle2({
|
|
|
35741
36475
|
accessibilityRole: "switch",
|
|
35742
36476
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35743
36477
|
accessibilityState: { checked: isActive, disabled },
|
|
35744
|
-
style: [
|
|
36478
|
+
style: [styles35.pressable, disabled && styles35.disabled, style],
|
|
35745
36479
|
children: [
|
|
35746
36480
|
/* @__PURE__ */ jsx(
|
|
35747
36481
|
Animated.View,
|
|
35748
36482
|
{
|
|
35749
36483
|
style: [
|
|
35750
|
-
|
|
36484
|
+
styles35.track,
|
|
35751
36485
|
{
|
|
35752
36486
|
backgroundColor: trackBackgroundColor
|
|
35753
36487
|
}
|
|
@@ -35756,7 +36490,7 @@ var Toggle = forwardRef(function Toggle2({
|
|
|
35756
36490
|
Animated.View,
|
|
35757
36491
|
{
|
|
35758
36492
|
style: [
|
|
35759
|
-
|
|
36493
|
+
styles35.thumb,
|
|
35760
36494
|
{
|
|
35761
36495
|
transform: [{ translateX: thumbTranslateX }]
|
|
35762
36496
|
}
|
|
@@ -35765,12 +36499,12 @@ var Toggle = forwardRef(function Toggle2({
|
|
|
35765
36499
|
)
|
|
35766
36500
|
}
|
|
35767
36501
|
),
|
|
35768
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsx(Text, { style: [
|
|
36502
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsx(Text, { style: [styles35.label, labelStyle], children: labelContent }) : labelContent : null
|
|
35769
36503
|
]
|
|
35770
36504
|
}
|
|
35771
36505
|
);
|
|
35772
36506
|
});
|
|
35773
|
-
var
|
|
36507
|
+
var styles35 = StyleSheet.create({
|
|
35774
36508
|
pressable: {
|
|
35775
36509
|
flexDirection: "row",
|
|
35776
36510
|
alignItems: "center",
|
|
@@ -35798,7 +36532,7 @@ var styles31 = StyleSheet.create({
|
|
|
35798
36532
|
color: colors.white
|
|
35799
36533
|
}
|
|
35800
36534
|
});
|
|
35801
|
-
var
|
|
36535
|
+
var DESKTOP_MIN_WIDTH4 = 1024;
|
|
35802
36536
|
var ToggleRow = forwardRef(function ToggleRow2({
|
|
35803
36537
|
label,
|
|
35804
36538
|
value,
|
|
@@ -35814,7 +36548,7 @@ var ToggleRow = forwardRef(function ToggleRow2({
|
|
|
35814
36548
|
const containerRef = useRef(null);
|
|
35815
36549
|
const setContainerRef = useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
35816
36550
|
const { width: viewportWidth } = useWindowDimensions();
|
|
35817
|
-
const isDesktop = viewportWidth >=
|
|
36551
|
+
const isDesktop = viewportWidth >= DESKTOP_MIN_WIDTH4;
|
|
35818
36552
|
const labelSize = isDesktop ? 14 : 12;
|
|
35819
36553
|
useApplyWebClassName(containerRef, className);
|
|
35820
36554
|
return /* @__PURE__ */ jsxs(
|
|
@@ -35823,13 +36557,13 @@ var ToggleRow = forwardRef(function ToggleRow2({
|
|
|
35823
36557
|
...rest,
|
|
35824
36558
|
ref: setContainerRef,
|
|
35825
36559
|
style: [
|
|
35826
|
-
|
|
36560
|
+
styles36.root,
|
|
35827
36561
|
{
|
|
35828
36562
|
minHeight: isDesktop ? 65 : 57,
|
|
35829
36563
|
paddingTop: isDesktop ? 20 : 16,
|
|
35830
36564
|
paddingBottom: isDesktop ? 20 : 16
|
|
35831
36565
|
},
|
|
35832
|
-
!showBorder &&
|
|
36566
|
+
!showBorder && styles36.noBorder,
|
|
35833
36567
|
style
|
|
35834
36568
|
],
|
|
35835
36569
|
children: [
|
|
@@ -35837,7 +36571,7 @@ var ToggleRow = forwardRef(function ToggleRow2({
|
|
|
35837
36571
|
Text,
|
|
35838
36572
|
{
|
|
35839
36573
|
style: [
|
|
35840
|
-
|
|
36574
|
+
styles36.label,
|
|
35841
36575
|
{
|
|
35842
36576
|
fontSize: labelSize,
|
|
35843
36577
|
lineHeight: isDesktop ? 20 : 18,
|
|
@@ -35862,7 +36596,7 @@ var ToggleRow = forwardRef(function ToggleRow2({
|
|
|
35862
36596
|
}
|
|
35863
36597
|
);
|
|
35864
36598
|
});
|
|
35865
|
-
var
|
|
36599
|
+
var styles36 = StyleSheet.create({
|
|
35866
36600
|
root: {
|
|
35867
36601
|
width: "100%",
|
|
35868
36602
|
flexDirection: "row",
|
|
@@ -35934,21 +36668,21 @@ var RatingInput = forwardRef(
|
|
|
35934
36668
|
{
|
|
35935
36669
|
...rest,
|
|
35936
36670
|
ref: setContainerRef,
|
|
35937
|
-
style: [
|
|
36671
|
+
style: [styles37.root, disabled && styles37.disabled, style],
|
|
35938
36672
|
children: [
|
|
35939
|
-
showValue ? /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [
|
|
36673
|
+
showValue ? /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles37.value, valueStyle], children: selectedValue.toFixed(precision) }) : null,
|
|
35940
36674
|
/* @__PURE__ */ jsx(
|
|
35941
36675
|
View,
|
|
35942
36676
|
{
|
|
35943
36677
|
accessibilityRole: readOnly ? "image" : "radiogroup",
|
|
35944
36678
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35945
36679
|
accessibilityState: { disabled },
|
|
35946
|
-
style: [
|
|
36680
|
+
style: [styles37.stars, { gap: resolvedStarGap }],
|
|
35947
36681
|
children: Array.from({ length: STAR_COUNT }, (_, index) => {
|
|
35948
36682
|
const starValue = index + 1;
|
|
35949
36683
|
const isSelected = starValue <= selectedStarCount;
|
|
35950
36684
|
const icon = isSelected ? /* @__PURE__ */ jsx(StarFilledIcon, { size: iconWidth, height: iconHeight }) : /* @__PURE__ */ jsx(StarIcon, { size: iconWidth, height: iconHeight });
|
|
35951
|
-
const itemStyle = [
|
|
36685
|
+
const itemStyle = [styles37.starItem, { width: size, height: size }];
|
|
35952
36686
|
if (readOnly) {
|
|
35953
36687
|
return /* @__PURE__ */ jsx(View, { style: itemStyle, children: icon }, starValue);
|
|
35954
36688
|
}
|
|
@@ -35974,7 +36708,7 @@ var RatingInput = forwardRef(
|
|
|
35974
36708
|
);
|
|
35975
36709
|
}
|
|
35976
36710
|
);
|
|
35977
|
-
var
|
|
36711
|
+
var styles37 = StyleSheet.create({
|
|
35978
36712
|
root: {
|
|
35979
36713
|
flexDirection: "row",
|
|
35980
36714
|
alignItems: "center",
|
|
@@ -36038,19 +36772,19 @@ var CommentCard = forwardRef(
|
|
|
36038
36772
|
setExpanded(next);
|
|
36039
36773
|
onExpandedChange?.(next);
|
|
36040
36774
|
};
|
|
36041
|
-
return /* @__PURE__ */ jsxs(View, { ...rest, ref: setContainerRef, style: [
|
|
36042
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
36043
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
36775
|
+
return /* @__PURE__ */ jsxs(View, { ...rest, ref: setContainerRef, style: [styles38.root, style], children: [
|
|
36776
|
+
/* @__PURE__ */ jsxs(View, { style: styles38.header, children: [
|
|
36777
|
+
/* @__PURE__ */ jsx(View, { style: styles38.avatar, children: hasImage ? /* @__PURE__ */ jsx(
|
|
36044
36778
|
Image,
|
|
36045
36779
|
{
|
|
36046
36780
|
source: { uri: imageUrl ?? void 0 },
|
|
36047
|
-
style:
|
|
36781
|
+
style: styles38.avatarImage,
|
|
36048
36782
|
onError: () => setImageFailed(true)
|
|
36049
36783
|
}
|
|
36050
36784
|
) : /* @__PURE__ */ jsx(UserIcon, { size: 20, color: colors.primary }) }),
|
|
36051
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
36052
|
-
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style:
|
|
36053
|
-
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style:
|
|
36785
|
+
/* @__PURE__ */ jsxs(View, { style: styles38.identity, children: [
|
|
36786
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles38.name, children: userName }),
|
|
36787
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles38.date, children: date })
|
|
36054
36788
|
] }),
|
|
36055
36789
|
/* @__PURE__ */ jsx(RatingInput, { value: rating, readOnly: true, showValue: false, size: 16 })
|
|
36056
36790
|
] }),
|
|
@@ -36058,7 +36792,7 @@ var CommentCard = forwardRef(
|
|
|
36058
36792
|
Text,
|
|
36059
36793
|
{
|
|
36060
36794
|
numberOfLines: expanded ? void 0 : maxCommentLines,
|
|
36061
|
-
style: [
|
|
36795
|
+
style: [styles38.comment, commentStyle],
|
|
36062
36796
|
children: commentText
|
|
36063
36797
|
}
|
|
36064
36798
|
),
|
|
@@ -36071,14 +36805,14 @@ var CommentCard = forwardRef(
|
|
|
36071
36805
|
hitSlop: 6,
|
|
36072
36806
|
onHoverIn: () => setActionHovered(true),
|
|
36073
36807
|
onHoverOut: () => setActionHovered(false),
|
|
36074
|
-
style:
|
|
36808
|
+
style: styles38.action,
|
|
36075
36809
|
children: /* @__PURE__ */ jsx(
|
|
36076
36810
|
Text,
|
|
36077
36811
|
{
|
|
36078
36812
|
style: [
|
|
36079
|
-
|
|
36080
|
-
expanded &&
|
|
36081
|
-
actionHovered && (expanded ?
|
|
36813
|
+
styles38.actionText,
|
|
36814
|
+
expanded && styles38.closeActionText,
|
|
36815
|
+
actionHovered && (expanded ? styles38.closeActionTextHovered : styles38.openActionTextHovered)
|
|
36082
36816
|
],
|
|
36083
36817
|
children: expanded ? readLessLabel : readMoreLabel
|
|
36084
36818
|
}
|
|
@@ -36088,7 +36822,7 @@ var CommentCard = forwardRef(
|
|
|
36088
36822
|
] });
|
|
36089
36823
|
}
|
|
36090
36824
|
);
|
|
36091
|
-
var
|
|
36825
|
+
var styles38 = StyleSheet.create({
|
|
36092
36826
|
root: {
|
|
36093
36827
|
width: CARD_WIDTH2,
|
|
36094
36828
|
minHeight: CARD_MIN_HEIGHT,
|
|
@@ -36188,7 +36922,7 @@ function normalizeRangeValue(value, min, max) {
|
|
|
36188
36922
|
}
|
|
36189
36923
|
return { from, to };
|
|
36190
36924
|
}
|
|
36191
|
-
var
|
|
36925
|
+
var DEFAULT_WIDTH6 = 347;
|
|
36192
36926
|
var TRACK_HEIGHT2 = 4;
|
|
36193
36927
|
var TRACK_HORIZONTAL_INSET = 20;
|
|
36194
36928
|
var THUMB_SIZE2 = 20;
|
|
@@ -36239,7 +36973,7 @@ var Range = forwardRef(function Range2({
|
|
|
36239
36973
|
upperBound
|
|
36240
36974
|
);
|
|
36241
36975
|
const latestValueRef = useRef(resolvedValue);
|
|
36242
|
-
const [trackWidth, setTrackWidth] = useState(
|
|
36976
|
+
const [trackWidth, setTrackWidth] = useState(DEFAULT_WIDTH6);
|
|
36243
36977
|
const [fromDraft, setFromDraft] = useState(
|
|
36244
36978
|
resolvedValue.from === void 0 ? "" : formatValue(resolvedValue.from)
|
|
36245
36979
|
);
|
|
@@ -36527,7 +37261,7 @@ var Range = forwardRef(function Range2({
|
|
|
36527
37261
|
...rest,
|
|
36528
37262
|
ref: setRootRef,
|
|
36529
37263
|
onLayout,
|
|
36530
|
-
style: [
|
|
37264
|
+
style: [styles39.root, disabled && styles39.disabled, style],
|
|
36531
37265
|
children: [
|
|
36532
37266
|
/* @__PURE__ */ jsxs(
|
|
36533
37267
|
Pressable,
|
|
@@ -36541,16 +37275,16 @@ var Range = forwardRef(function Range2({
|
|
|
36541
37275
|
updateNearestFromTrack(event.nativeEvent.offsetX);
|
|
36542
37276
|
} : void 0,
|
|
36543
37277
|
onPress: Platform.OS === "web" ? void 0 : handleTrackPress,
|
|
36544
|
-
style:
|
|
37278
|
+
style: styles39.sliderPlane,
|
|
36545
37279
|
tabIndex: -1,
|
|
36546
37280
|
children: [
|
|
36547
|
-
/* @__PURE__ */ jsx(View, { pointerEvents: "none", style:
|
|
37281
|
+
/* @__PURE__ */ jsx(View, { pointerEvents: "none", style: styles39.track }),
|
|
36548
37282
|
/* @__PURE__ */ jsx(
|
|
36549
37283
|
View,
|
|
36550
37284
|
{
|
|
36551
37285
|
pointerEvents: "none",
|
|
36552
37286
|
style: [
|
|
36553
|
-
|
|
37287
|
+
styles39.activeTrack,
|
|
36554
37288
|
{
|
|
36555
37289
|
left: TRACK_HORIZONTAL_INSET + fromOffset,
|
|
36556
37290
|
width: toOffset - fromOffset + THUMB_SIZE2
|
|
@@ -36592,9 +37326,9 @@ var Range = forwardRef(function Range2({
|
|
|
36592
37326
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveFrom, updateFromInput),
|
|
36593
37327
|
pointerEvents: disabled ? "none" : "auto",
|
|
36594
37328
|
style: [
|
|
36595
|
-
|
|
36596
|
-
Platform.OS === "web" &&
|
|
36597
|
-
focusedThumb === "from" && Platform.OS === "web" &&
|
|
37329
|
+
styles39.thumb,
|
|
37330
|
+
Platform.OS === "web" && styles39.thumbWeb,
|
|
37331
|
+
focusedThumb === "from" && Platform.OS === "web" && styles39.thumbFocusedWeb,
|
|
36598
37332
|
{ left: TRACK_HORIZONTAL_INSET + fromOffset }
|
|
36599
37333
|
],
|
|
36600
37334
|
tabIndex: disabled ? -1 : 0
|
|
@@ -36634,9 +37368,9 @@ var Range = forwardRef(function Range2({
|
|
|
36634
37368
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveTo, updateToInput),
|
|
36635
37369
|
pointerEvents: disabled ? "none" : "auto",
|
|
36636
37370
|
style: [
|
|
36637
|
-
|
|
36638
|
-
Platform.OS === "web" &&
|
|
36639
|
-
focusedThumb === "to" && Platform.OS === "web" &&
|
|
37371
|
+
styles39.thumb,
|
|
37372
|
+
Platform.OS === "web" && styles39.thumbWeb,
|
|
37373
|
+
focusedThumb === "to" && Platform.OS === "web" && styles39.thumbFocusedWeb,
|
|
36640
37374
|
{ left: TRACK_HORIZONTAL_INSET + toOffset }
|
|
36641
37375
|
],
|
|
36642
37376
|
tabIndex: disabled ? -1 : 0
|
|
@@ -36645,7 +37379,7 @@ var Range = forwardRef(function Range2({
|
|
|
36645
37379
|
]
|
|
36646
37380
|
}
|
|
36647
37381
|
),
|
|
36648
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
37382
|
+
/* @__PURE__ */ jsxs(View, { style: styles39.inputs, children: [
|
|
36649
37383
|
/* @__PURE__ */ jsx(
|
|
36650
37384
|
RangeInput,
|
|
36651
37385
|
{
|
|
@@ -36696,7 +37430,7 @@ function RangeInput({
|
|
|
36696
37430
|
placeholder,
|
|
36697
37431
|
value
|
|
36698
37432
|
}) {
|
|
36699
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
37433
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles39.inputField, focused && styles39.inputFieldFocused], children: [
|
|
36700
37434
|
/* @__PURE__ */ jsx(
|
|
36701
37435
|
TextInput,
|
|
36702
37436
|
{
|
|
@@ -36712,17 +37446,17 @@ function RangeInput({
|
|
|
36712
37446
|
placeholder,
|
|
36713
37447
|
placeholderTextColor: colors.grey150,
|
|
36714
37448
|
returnKeyType: "done",
|
|
36715
|
-
style: [
|
|
37449
|
+
style: [styles39.input, Platform.OS === "web" && styles39.inputWeb],
|
|
36716
37450
|
tabIndex: disabled ? -1 : void 0,
|
|
36717
37451
|
value
|
|
36718
37452
|
}
|
|
36719
37453
|
),
|
|
36720
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
37454
|
+
/* @__PURE__ */ jsx(View, { style: styles39.currencySlot, children: /* @__PURE__ */ jsx(Text, { style: styles39.currency, children: currency }) })
|
|
36721
37455
|
] });
|
|
36722
37456
|
}
|
|
36723
|
-
var
|
|
37457
|
+
var styles39 = StyleSheet.create({
|
|
36724
37458
|
root: {
|
|
36725
|
-
width:
|
|
37459
|
+
width: DEFAULT_WIDTH6,
|
|
36726
37460
|
gap: 15,
|
|
36727
37461
|
alignSelf: "flex-start"
|
|
36728
37462
|
},
|
|
@@ -36929,6 +37663,6 @@ react-dom/cjs/react-dom.development.js:
|
|
|
36929
37663
|
*)
|
|
36930
37664
|
*/
|
|
36931
37665
|
|
|
36932
|
-
export { AccordionItem, AccountHeader, AlertTriangleIcon, Amenity, AmenityIcon, AppleIcon, AreaExpandIcon, ArrowRightIcon, Avatar, AvatarSimple, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, BagIcon, BanIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, BuildingIcon, Button, CalendarIcon, CalendarOutlineIcon, CameraFilledIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CommentCard, ContactInfoCard, CopyIcon, Counter, DatePicker, DownloadIcon, EditIcon, FacebookIcon, FavoritesButton, FiltersIcon, FloatingActionButton, FullscreenIcon, GlobeIcon, GooglePlayIcon, GuestsIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HideIcon, HomeIcon, Icon, IconStatusBadge, InfoCardV2, InfoTile, Input, InstagramIcon, KeyIcon, LanguageSwitcher, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LocationUserIcon, LockIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, MenuItem, MenuLinesIcon, MinusIcon, Modal, MoreHorizontalIcon, NavigateIcon, NoSmokingIcon, PaginationDots, PawIcon, PhoneIcon, PlusIcon, QrCodeIcon, QuietHoursIcon, Range, RatingInput, RatingStarIcon, RefreshIcon, RefundStatusIcon, SaveHeartIcon, SearchIcon, SegmentedToggle, Select, SettingsIcon, ShareIcon, ShowIcon, Sidebar, SidebarIcon, SortIcon, StarFilledIcon, StarIcon, StatCard, StatusBadge, StepList, StepPager, TableViewIcon, Textarea, Toggle, ToggleRow, TooltipArrowIcon, TrashIcon, UserIcon, UsersAltIcon, VerificationCodeInput, VideoIcon, VideoOffIcon, WhatsAppIcon, ZoomOutIcon, abbreviateMonthName, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, formatDate, formatDateDayShortMonth, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, resolvePopoverAlign, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|
|
37666
|
+
export { Accordion, AccordionItem, AccountHeader, AlertTriangleIcon, Amenity, AmenityIcon, AppleIcon, AreaExpandIcon, ArrowLeftIcon, ArrowRightIcon, AutocompleteInput, Avatar, AvatarSimple, BRAND_LOGO_COLORS, BRAND_LOGO_DEFAULT_HEIGHT, BRAND_LOGO_DEFAULT_WIDTH, Badge, BagIcon, BanIcon, BathroomsIcon, BedroomsIcon, BellIcon, BrandLogo, BuildingIcon, Button, CalendarIcon, CalendarMinusIcon, CalendarOutlineIcon, CameraFilledIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CommentCard, ContactInfoCard, CopyIcon, Counter, CurrentLocationIcon, DatePicker, DownloadIcon, Drawer, EditIcon, FacebookIcon, FavoritesButton, FiltersIcon, FloatingActionButton, FullscreenIcon, GlobeIcon, GooglePlayIcon, GuestsIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HideIcon, HomeIcon, Icon, IconStatusBadge, InfoCardV2, InfoTile, Input, InstagramIcon, KeyIcon, LanguageSwitcher, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LocationUserIcon, LockIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, MenuItem, MenuLinesIcon, MinusIcon, Modal, MoreHorizontalIcon, NavigateIcon, NoSmokingIcon, PaginationDots, PawIcon, PhoneIcon, PlusIcon, QrCodeIcon, QuantityInput, QuietHoursIcon, Range, RatingInput, RatingStarIcon, RefreshIcon, RefundStatusIcon, SaveHeartIcon, SearchIcon, SegmentedToggle, Select, SettingsIcon, ShareIcon, ShowIcon, Sidebar, SidebarIcon, SortIcon, StarFilledIcon, StarIcon, StatCard, StatusBadge, StepList, StepPager, TableViewIcon, Textarea, Toggle, ToggleRow, TooltipArrowIcon, TrashIcon, UserIcon, UsersAltIcon, VerificationCodeInput, VideoIcon, VideoOffIcon, WhatsAppIcon, ZoomOutIcon, abbreviateMonthName, avatarTypography, badgeTypography, buttonTypography, colors, commentCardTypography, counterTypography, datePickerTypography, defaultLanguageOptions, fonts, formatDate, formatDateDayShortMonth, getIconsByGroup, grey, iconGroupNames, iconGroups, iconNames, icons, inputTypography, languageSwitcherTypography, ratingTypography, resolvePopoverAlign, segmentedToggleTypography, selectTypography, statCardTypography, textareaTypography };
|
|
36933
37667
|
//# sourceMappingURL=index.js.map
|
|
36934
37668
|
//# sourceMappingURL=index.js.map
|