@ecohouse/ui 0.1.35 → 0.1.38
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 +3 -0
- package/dist/index.cjs +1221 -531
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +231 -128
- package/dist/index.d.ts +231 -128
- package/dist/index.js +1144 -463
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- 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/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/SegmentedToggle/SegmentedToggle.stories.tsx +9 -0
- package/src/components/SegmentedToggle/SegmentedToggle.tsx +19 -13
- package/src/components/index.ts +9 -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/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/MoreHorizontal/MoreHorizontalIcon.tsx +26 -0
- package/src/icons/MoreHorizontal/MoreHorizontalIcon.web.tsx +25 -0
- package/src/icons/MoreHorizontal/index.ts +1 -0
- package/src/icons/MoreHorizontal/moreHorizontalPath.ts +2 -0
- package/src/icons/TableView/TableViewIcon.tsx +20 -0
- package/src/icons/TableView/TableViewIcon.web.tsx +26 -0
- package/src/icons/TableView/index.ts +1 -0
- package/src/icons/TableView/tableViewPath.ts +2 -0
- package/src/icons/index.ts +4 -0
- package/src/icons/registry.ts +12 -0
- package/src/index.ts +15 -0
- package/src/primitives/IconStatusBadge/IconStatusBadge.stories.tsx +21 -0
- package/src/primitives/IconStatusBadge/IconStatusBadge.tsx +76 -0
- package/src/primitives/IconStatusBadge/index.ts +2 -0
- package/src/primitives/InfoCardV2/InfoCardV2.stories.tsx +64 -0
- package/src/primitives/InfoCardV2/InfoCardV2.tsx +116 -0
- package/src/primitives/InfoCardV2/index.ts +2 -0
- package/src/primitives/index.ts +7 -0
- package/src/theme/colors.test.ts +1 -0
- package/src/theme/colors.ts +1 -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 Svg22, { 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(styles39) {
|
|
9453
9453
|
{
|
|
9454
9454
|
var serialized = "";
|
|
9455
9455
|
var delimiter = "";
|
|
9456
|
-
for (var styleName in
|
|
9457
|
-
if (!
|
|
9456
|
+
for (var styleName in styles39) {
|
|
9457
|
+
if (!styles39.hasOwnProperty(styleName)) {
|
|
9458
9458
|
continue;
|
|
9459
9459
|
}
|
|
9460
|
-
var styleValue =
|
|
9460
|
+
var styleValue = styles39[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, styles39) {
|
|
9472
9472
|
var style2 = node.style;
|
|
9473
|
-
for (var styleName in
|
|
9474
|
-
if (!
|
|
9473
|
+
for (var styleName in styles39) {
|
|
9474
|
+
if (!styles39.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, styles39[styleName]);
|
|
9481
9481
|
}
|
|
9482
9482
|
}
|
|
9483
|
-
var styleValue = dangerousStyleValue(styleName,
|
|
9483
|
+
var styleValue = dangerousStyleValue(styleName, styles39[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(styles39) {
|
|
9498
9498
|
var expanded = {};
|
|
9499
|
-
for (var key in
|
|
9499
|
+
for (var key in styles39) {
|
|
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
|
}
|
|
@@ -28536,6 +28536,7 @@ var colors = {
|
|
|
28536
28536
|
whiteAlpha60: "#FFFFFF99",
|
|
28537
28537
|
whiteAlpha40: "#FFFFFF66",
|
|
28538
28538
|
whiteAlpha20: "#FFFFFF33",
|
|
28539
|
+
whiteAlpha1: "#FFFFFF03",
|
|
28539
28540
|
whiteAlpha6: "#FFFFFF0F",
|
|
28540
28541
|
whiteAlpha10: "#FFFFFF1A",
|
|
28541
28542
|
whiteAlpha5: "#FFFFFF0D",
|
|
@@ -28810,7 +28811,7 @@ function ArrowRightIcon({
|
|
|
28810
28811
|
color = colors.primary,
|
|
28811
28812
|
strokeWidth = 2
|
|
28812
28813
|
}) {
|
|
28813
|
-
return /* @__PURE__ */ jsx(
|
|
28814
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28814
28815
|
Path,
|
|
28815
28816
|
{
|
|
28816
28817
|
d: ARROW_RIGHT_PATH,
|
|
@@ -28822,10 +28823,25 @@ function ArrowRightIcon({
|
|
|
28822
28823
|
) });
|
|
28823
28824
|
}
|
|
28824
28825
|
|
|
28826
|
+
// src/icons/ArrowLeft/arrowLeftPath.ts
|
|
28827
|
+
var ARROW_LEFT_PATH = "M10.1972 6.59961L4.80078 11.9994L10.1972 17.3996M4.80078 11.9965H19.202";
|
|
28828
|
+
function ArrowLeftIcon({ size = 24, color = colors.white, strokeWidth = 1.35 }) {
|
|
28829
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28830
|
+
Path,
|
|
28831
|
+
{
|
|
28832
|
+
d: ARROW_LEFT_PATH,
|
|
28833
|
+
stroke: color,
|
|
28834
|
+
strokeWidth,
|
|
28835
|
+
strokeLinecap: "round",
|
|
28836
|
+
strokeLinejoin: "round"
|
|
28837
|
+
}
|
|
28838
|
+
) });
|
|
28839
|
+
}
|
|
28840
|
+
|
|
28825
28841
|
// src/icons/AlertTriangle/alertTrianglePath.ts
|
|
28826
28842
|
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
28843
|
function AlertTriangleIcon({ size = 16, color = "#E38E5E", strokeWidth = 1.5 }) {
|
|
28828
|
-
return /* @__PURE__ */ jsx(
|
|
28844
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28829
28845
|
Path,
|
|
28830
28846
|
{
|
|
28831
28847
|
d: ALERT_TRIANGLE_PATH,
|
|
@@ -28861,16 +28877,16 @@ var GOOGLE_PLAY_PATHS = [
|
|
|
28861
28877
|
}
|
|
28862
28878
|
];
|
|
28863
28879
|
function AppleIcon({ size = 30, color = colors.white }) {
|
|
28864
|
-
return /* @__PURE__ */ jsx(
|
|
28880
|
+
return /* @__PURE__ */ jsx(Svg22, { 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
28881
|
}
|
|
28866
28882
|
function GooglePlayIcon({ size = 30 }) {
|
|
28867
|
-
return /* @__PURE__ */ jsx(
|
|
28883
|
+
return /* @__PURE__ */ jsx(Svg22, { 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
28884
|
}
|
|
28869
28885
|
|
|
28870
28886
|
// src/icons/Bag/bagPath.ts
|
|
28871
28887
|
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
28888
|
function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
28873
|
-
return /* @__PURE__ */ jsx(
|
|
28889
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28874
28890
|
Path,
|
|
28875
28891
|
{
|
|
28876
28892
|
d: BAG_PATH,
|
|
@@ -28885,13 +28901,13 @@ function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28885
28901
|
// src/icons/Ban/banPath.ts
|
|
28886
28902
|
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
28903
|
function BanIcon({ size = 28, color = colors.primary }) {
|
|
28888
|
-
return /* @__PURE__ */ jsx(
|
|
28904
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: BAN_PATH, fill: color }) });
|
|
28889
28905
|
}
|
|
28890
28906
|
|
|
28891
28907
|
// src/icons/Bell/bellPath.ts
|
|
28892
28908
|
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
28909
|
function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
28894
|
-
return /* @__PURE__ */ jsx(
|
|
28910
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28895
28911
|
Path,
|
|
28896
28912
|
{
|
|
28897
28913
|
d: BELL_PATH,
|
|
@@ -28906,7 +28922,7 @@ function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
28906
28922
|
// src/icons/Building/buildingPath.ts
|
|
28907
28923
|
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
28924
|
function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
28909
|
-
return /* @__PURE__ */ jsx(
|
|
28925
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28910
28926
|
Path,
|
|
28911
28927
|
{
|
|
28912
28928
|
d: BUILDING_PATH,
|
|
@@ -28921,7 +28937,7 @@ function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28921
28937
|
// src/icons/Calendar/calendarPath.ts
|
|
28922
28938
|
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
28939
|
function CalendarIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
28924
|
-
return /* @__PURE__ */ jsx(
|
|
28940
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28925
28941
|
Path,
|
|
28926
28942
|
{
|
|
28927
28943
|
d: CALENDAR_PATH,
|
|
@@ -28940,7 +28956,7 @@ function CalendarOutlineIcon({
|
|
|
28940
28956
|
color = colors.primary,
|
|
28941
28957
|
strokeWidth = 1.5
|
|
28942
28958
|
}) {
|
|
28943
|
-
return /* @__PURE__ */ jsx(
|
|
28959
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28944
28960
|
Path,
|
|
28945
28961
|
{
|
|
28946
28962
|
d: CALENDAR_OUTLINE_PATH,
|
|
@@ -28955,7 +28971,7 @@ function CalendarOutlineIcon({
|
|
|
28955
28971
|
// src/icons/Camera/cameraPath.ts
|
|
28956
28972
|
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
28973
|
function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
28958
|
-
return /* @__PURE__ */ jsx(
|
|
28974
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28959
28975
|
Path,
|
|
28960
28976
|
{
|
|
28961
28977
|
d: CAMERA_PATH,
|
|
@@ -28970,13 +28986,13 @@ function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28970
28986
|
// src/icons/CameraFilled/cameraFilledPath.ts
|
|
28971
28987
|
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
28988
|
function CameraFilledIcon({ size = 32, color = colors.primary }) {
|
|
28973
|
-
return /* @__PURE__ */ jsx(
|
|
28989
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 32 32", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: CAMERA_FILLED_PATH, fill: color }) });
|
|
28974
28990
|
}
|
|
28975
28991
|
|
|
28976
28992
|
// src/icons/Check/checkPath.ts
|
|
28977
28993
|
var CHECK_PATH = "M4.16669 10.8333L7.50002 14.1667L15.8334 5.83334";
|
|
28978
28994
|
function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
28979
|
-
return /* @__PURE__ */ jsx(
|
|
28995
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28980
28996
|
Path,
|
|
28981
28997
|
{
|
|
28982
28998
|
d: CHECK_PATH,
|
|
@@ -28991,7 +29007,7 @@ function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28991
29007
|
// src/icons/CheckBadge/checkBadgePath.ts
|
|
28992
29008
|
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
29009
|
function CheckBadgeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
28994
|
-
return /* @__PURE__ */ jsx(
|
|
29010
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
28995
29011
|
Path,
|
|
28996
29012
|
{
|
|
28997
29013
|
d: CHECK_BADGE_PATH,
|
|
@@ -29010,7 +29026,7 @@ function ChevronDownIcon({
|
|
|
29010
29026
|
color = colors.primary,
|
|
29011
29027
|
strokeWidth = 2
|
|
29012
29028
|
}) {
|
|
29013
|
-
return /* @__PURE__ */ jsx(
|
|
29029
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29014
29030
|
Path,
|
|
29015
29031
|
{
|
|
29016
29032
|
d: CHEVRON_DOWN_PATH,
|
|
@@ -29025,7 +29041,7 @@ function ChevronDownIcon({
|
|
|
29025
29041
|
// src/icons/ChevronLeft/chevronLeftPath.ts
|
|
29026
29042
|
var CHEVRON_LEFT_PATH = "M12.5 15L7.5 10L12.5 5";
|
|
29027
29043
|
function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29028
|
-
return /* @__PURE__ */ jsx(
|
|
29044
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29029
29045
|
Path,
|
|
29030
29046
|
{
|
|
29031
29047
|
d: CHEVRON_LEFT_PATH,
|
|
@@ -29040,7 +29056,7 @@ function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 })
|
|
|
29040
29056
|
// src/icons/Clock/clockPath.ts
|
|
29041
29057
|
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
29058
|
function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29043
|
-
return /* @__PURE__ */ jsx(
|
|
29059
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29044
29060
|
Path,
|
|
29045
29061
|
{
|
|
29046
29062
|
d: CLOCK_PATH,
|
|
@@ -29055,7 +29071,7 @@ function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29055
29071
|
// src/icons/Close/closePath.ts
|
|
29056
29072
|
var CLOSE_PATH = "M15 5L5 15M5 5L15 15";
|
|
29057
29073
|
function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29058
|
-
return /* @__PURE__ */ jsx(
|
|
29074
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29059
29075
|
Path,
|
|
29060
29076
|
{
|
|
29061
29077
|
d: CLOSE_PATH,
|
|
@@ -29067,10 +29083,29 @@ function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29067
29083
|
) });
|
|
29068
29084
|
}
|
|
29069
29085
|
|
|
29086
|
+
// src/icons/CurrentLocation/currentLocationPath.ts
|
|
29087
|
+
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";
|
|
29088
|
+
function CurrentLocationIcon({
|
|
29089
|
+
size = 19,
|
|
29090
|
+
color = colors.primary,
|
|
29091
|
+
strokeWidth = 1.5
|
|
29092
|
+
}) {
|
|
29093
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 19 19", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29094
|
+
Path,
|
|
29095
|
+
{
|
|
29096
|
+
d: CURRENT_LOCATION_PATH,
|
|
29097
|
+
stroke: color,
|
|
29098
|
+
strokeWidth,
|
|
29099
|
+
strokeLinecap: "round",
|
|
29100
|
+
strokeLinejoin: "round"
|
|
29101
|
+
}
|
|
29102
|
+
) });
|
|
29103
|
+
}
|
|
29104
|
+
|
|
29070
29105
|
// src/icons/Edit/editPath.ts
|
|
29071
29106
|
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
29107
|
function EditIcon({ size = 12, color = colors.grey0, strokeWidth = 2 }) {
|
|
29073
|
-
return /* @__PURE__ */ jsx(
|
|
29108
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29074
29109
|
Path,
|
|
29075
29110
|
{
|
|
29076
29111
|
d: EDIT_PATH,
|
|
@@ -29097,7 +29132,7 @@ function SaveHeartIcon({
|
|
|
29097
29132
|
strokeWidth = 2,
|
|
29098
29133
|
fillOpacity = 0
|
|
29099
29134
|
}) {
|
|
29100
|
-
return /* @__PURE__ */ jsx(
|
|
29135
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29101
29136
|
Path,
|
|
29102
29137
|
{
|
|
29103
29138
|
d: SAVE_HEART_PATH,
|
|
@@ -29111,7 +29146,7 @@ function SaveHeartIcon({
|
|
|
29111
29146
|
) });
|
|
29112
29147
|
}
|
|
29113
29148
|
function RatingStarIcon({ size = 12, color = "#E38E5E", strokeWidth = 2 }) {
|
|
29114
|
-
return /* @__PURE__ */ jsx(
|
|
29149
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29115
29150
|
Path,
|
|
29116
29151
|
{
|
|
29117
29152
|
d: RATING_STAR_PATH,
|
|
@@ -29129,7 +29164,7 @@ function CardLocationIcon({
|
|
|
29129
29164
|
strokeWidth = 1.5,
|
|
29130
29165
|
secondaryColor = colors.grey700
|
|
29131
29166
|
}) {
|
|
29132
|
-
return /* @__PURE__ */ jsxs(
|
|
29167
|
+
return /* @__PURE__ */ jsxs(Svg22, { width: size, height: size, viewBox: "0 0 13 13", fill: "none", children: [
|
|
29133
29168
|
/* @__PURE__ */ jsx(
|
|
29134
29169
|
Path,
|
|
29135
29170
|
{
|
|
@@ -29168,7 +29203,7 @@ function FilledCardIcon({
|
|
|
29168
29203
|
color,
|
|
29169
29204
|
fillOpacity
|
|
29170
29205
|
}) {
|
|
29171
|
-
return /* @__PURE__ */ jsx(
|
|
29206
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: path, fill: color, fillOpacity }) });
|
|
29172
29207
|
}
|
|
29173
29208
|
function GuestsIcon({ size = 16, color = colors.white, fillOpacity = 0.4 }) {
|
|
29174
29209
|
return /* @__PURE__ */ jsx(FilledCardIcon, { path: GUESTS_PATH, size, color, fillOpacity });
|
|
@@ -29196,7 +29231,7 @@ var COPY_PATH = "M6.66699 13.3337V15.667C6.66699 16.6004 6.66699 17.0671 6.84865
|
|
|
29196
29231
|
var CHECK_SUCCESS_PATH = "M16.6663 5L7.49967 14.1667L3.33301 10";
|
|
29197
29232
|
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
29233
|
function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29199
|
-
return /* @__PURE__ */ jsx(
|
|
29234
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29200
29235
|
Path,
|
|
29201
29236
|
{
|
|
29202
29237
|
d: SHARE_PATH,
|
|
@@ -29208,7 +29243,7 @@ function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29208
29243
|
) });
|
|
29209
29244
|
}
|
|
29210
29245
|
function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29211
|
-
return /* @__PURE__ */ jsx(
|
|
29246
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29212
29247
|
Path,
|
|
29213
29248
|
{
|
|
29214
29249
|
d: DOWNLOAD_PATH,
|
|
@@ -29220,7 +29255,7 @@ function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29220
29255
|
) });
|
|
29221
29256
|
}
|
|
29222
29257
|
function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29223
|
-
return /* @__PURE__ */ jsx(
|
|
29258
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: AREA_EXPAND_PATHS.map((path) => /* @__PURE__ */ jsx(
|
|
29224
29259
|
Path,
|
|
29225
29260
|
{
|
|
29226
29261
|
d: path,
|
|
@@ -29233,16 +29268,16 @@ function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29233
29268
|
)) });
|
|
29234
29269
|
}
|
|
29235
29270
|
function ClockFilledIcon({ size = 16, color = colors.white }) {
|
|
29236
|
-
return /* @__PURE__ */ jsx(
|
|
29271
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: CLOCK_FILLED_PATH, fill: color }) });
|
|
29237
29272
|
}
|
|
29238
29273
|
function QrCodeIcon({ size = 24, color = colors.primary }) {
|
|
29239
|
-
return /* @__PURE__ */ jsx(
|
|
29274
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: QR_CODE_PATH, fill: color }) });
|
|
29240
29275
|
}
|
|
29241
29276
|
function WhatsAppIcon({ size = 24, color = colors.white }) {
|
|
29242
|
-
return /* @__PURE__ */ jsx(
|
|
29277
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: WHATSAPP_PATH, fill: color }) });
|
|
29243
29278
|
}
|
|
29244
29279
|
function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29245
|
-
return /* @__PURE__ */ jsx(
|
|
29280
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29246
29281
|
Path,
|
|
29247
29282
|
{
|
|
29248
29283
|
d: COPY_PATH,
|
|
@@ -29254,7 +29289,7 @@ function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
29254
29289
|
) });
|
|
29255
29290
|
}
|
|
29256
29291
|
function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 }) {
|
|
29257
|
-
return /* @__PURE__ */ jsx(
|
|
29292
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29258
29293
|
Path,
|
|
29259
29294
|
{
|
|
29260
29295
|
d: CHECK_SUCCESS_PATH,
|
|
@@ -29266,7 +29301,7 @@ function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 })
|
|
|
29266
29301
|
) });
|
|
29267
29302
|
}
|
|
29268
29303
|
function TooltipArrowIcon({ size = 10, color = colors.grey600 }) {
|
|
29269
|
-
return /* @__PURE__ */ jsx(
|
|
29304
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size * 8 / 10, viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: TOOLTIP_ARROW_PATH, fill: color }) });
|
|
29270
29305
|
}
|
|
29271
29306
|
|
|
29272
29307
|
// src/icons/HouseRules/houseRulesPaths.ts
|
|
@@ -29286,10 +29321,10 @@ var PAW_PATHS = [
|
|
|
29286
29321
|
];
|
|
29287
29322
|
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
29323
|
function QuietHoursIcon({ size = 20, color = colors.white }) {
|
|
29289
|
-
return /* @__PURE__ */ jsx(
|
|
29324
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: QUIET_HOURS_PATH, fill: color }) });
|
|
29290
29325
|
}
|
|
29291
29326
|
function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
29292
|
-
return /* @__PURE__ */ jsx(
|
|
29327
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: NO_SMOKING_PATHS.map((d) => /* @__PURE__ */ jsx(
|
|
29293
29328
|
Path,
|
|
29294
29329
|
{
|
|
29295
29330
|
d,
|
|
@@ -29302,7 +29337,7 @@ function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
29302
29337
|
)) });
|
|
29303
29338
|
}
|
|
29304
29339
|
function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
29305
|
-
return /* @__PURE__ */ jsx(
|
|
29340
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: PAW_PATHS.map((d) => /* @__PURE__ */ jsx(
|
|
29306
29341
|
Path,
|
|
29307
29342
|
{
|
|
29308
29343
|
d,
|
|
@@ -29315,7 +29350,7 @@ function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
29315
29350
|
)) });
|
|
29316
29351
|
}
|
|
29317
29352
|
function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29318
|
-
return /* @__PURE__ */ jsx(
|
|
29353
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29319
29354
|
Path,
|
|
29320
29355
|
{
|
|
29321
29356
|
d: TRASH_PATH,
|
|
@@ -29330,13 +29365,13 @@ function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29330
29365
|
// src/icons/Facebook/facebookPath.ts
|
|
29331
29366
|
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
29367
|
function FacebookIcon({ size = 20, color = colors.white }) {
|
|
29333
|
-
return /* @__PURE__ */ jsx(
|
|
29368
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: FACEBOOK_PATH, fill: color }) });
|
|
29334
29369
|
}
|
|
29335
29370
|
|
|
29336
29371
|
// src/icons/Filters/filtersPath.ts
|
|
29337
29372
|
var FILTERS_PATH = "M5 10H15M2.5 5H17.5M7.5 15H12.5";
|
|
29338
29373
|
function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29339
|
-
return /* @__PURE__ */ jsx(
|
|
29374
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29340
29375
|
Path,
|
|
29341
29376
|
{
|
|
29342
29377
|
d: FILTERS_PATH,
|
|
@@ -29351,7 +29386,7 @@ function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
29351
29386
|
// src/icons/Fullscreen/fullscreenPath.ts
|
|
29352
29387
|
var FULLSCREEN_PATH = "M16 8L21 3M21 8V3H16M8 8L3 3M8 3L3 3L3 8M8 16L3 21M3 16L3 21H8M16 16L21 21M16 21H21V16";
|
|
29353
29388
|
function FullscreenIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29354
|
-
return /* @__PURE__ */ jsx(
|
|
29389
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29355
29390
|
Path,
|
|
29356
29391
|
{
|
|
29357
29392
|
d: FULLSCREEN_PATH,
|
|
@@ -29366,7 +29401,7 @@ function FullscreenIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29366
29401
|
// src/icons/Heart/heartPath.ts
|
|
29367
29402
|
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
29403
|
function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29369
|
-
return /* @__PURE__ */ jsx(
|
|
29404
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29370
29405
|
Path,
|
|
29371
29406
|
{
|
|
29372
29407
|
d: HEART_PATH,
|
|
@@ -29384,7 +29419,7 @@ function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
29384
29419
|
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
29420
|
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
29421
|
function HeadsetIcon({ size = 24, color = "#B76533", strokeWidth = 2 }) {
|
|
29387
|
-
return /* @__PURE__ */ jsxs(
|
|
29422
|
+
return /* @__PURE__ */ jsxs(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
29388
29423
|
/* @__PURE__ */ jsx(
|
|
29389
29424
|
Path,
|
|
29390
29425
|
{
|
|
@@ -29411,7 +29446,7 @@ function HeadsetIcon({ size = 24, color = "#B76533", strokeWidth = 2 }) {
|
|
|
29411
29446
|
// src/icons/Globe/globePath.ts
|
|
29412
29447
|
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
29448
|
function GlobeIcon({ size = 16, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29414
|
-
return /* @__PURE__ */ jsx(
|
|
29449
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29415
29450
|
Path,
|
|
29416
29451
|
{
|
|
29417
29452
|
d: GLOBE_PATH,
|
|
@@ -29430,7 +29465,7 @@ function HelpCircleIcon({
|
|
|
29430
29465
|
color = colors.primary,
|
|
29431
29466
|
strokeWidth = 1.5
|
|
29432
29467
|
}) {
|
|
29433
|
-
return /* @__PURE__ */ jsx(
|
|
29468
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29434
29469
|
Path,
|
|
29435
29470
|
{
|
|
29436
29471
|
d: HELP_CIRCLE_PATH,
|
|
@@ -29445,7 +29480,7 @@ function HelpCircleIcon({
|
|
|
29445
29480
|
// src/icons/Hide/hidePath.ts
|
|
29446
29481
|
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
29482
|
function HideIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29448
|
-
return /* @__PURE__ */ jsx(
|
|
29483
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29449
29484
|
Path,
|
|
29450
29485
|
{
|
|
29451
29486
|
d: HIDE_PATH,
|
|
@@ -29460,7 +29495,7 @@ function HideIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29460
29495
|
// src/icons/Home/homePath.ts
|
|
29461
29496
|
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
29497
|
function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29463
|
-
return /* @__PURE__ */ jsx(
|
|
29498
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29464
29499
|
Path,
|
|
29465
29500
|
{
|
|
29466
29501
|
d: HOME_PATH,
|
|
@@ -29475,13 +29510,13 @@ function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29475
29510
|
// src/icons/Instagram/instagramPath.ts
|
|
29476
29511
|
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
29512
|
function InstagramIcon({ size = 20, color = colors.white }) {
|
|
29478
|
-
return /* @__PURE__ */ jsx(
|
|
29513
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: INSTAGRAM_PATH, fill: color }) });
|
|
29479
29514
|
}
|
|
29480
29515
|
|
|
29481
29516
|
// src/icons/Key/keyPath.ts
|
|
29482
29517
|
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
29518
|
function KeyIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29484
|
-
return /* @__PURE__ */ jsx(
|
|
29519
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29485
29520
|
Path,
|
|
29486
29521
|
{
|
|
29487
29522
|
d: KEY_PATH,
|
|
@@ -29500,7 +29535,7 @@ function LayoutGridIcon({
|
|
|
29500
29535
|
color = colors.primary,
|
|
29501
29536
|
strokeWidth = 1.5
|
|
29502
29537
|
}) {
|
|
29503
|
-
return /* @__PURE__ */ jsx(
|
|
29538
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29504
29539
|
Path,
|
|
29505
29540
|
{
|
|
29506
29541
|
d: LAYOUT_GRID_PATH,
|
|
@@ -29515,13 +29550,13 @@ function LayoutGridIcon({
|
|
|
29515
29550
|
// src/icons/LinkedIn/linkedinPath.ts
|
|
29516
29551
|
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
29552
|
function LinkedInIcon({ size = 20, color = colors.white }) {
|
|
29518
|
-
return /* @__PURE__ */ jsx(
|
|
29553
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: LINKEDIN_PATH, fill: color }) });
|
|
29519
29554
|
}
|
|
29520
29555
|
|
|
29521
29556
|
// src/icons/ListView/listViewPath.ts
|
|
29522
29557
|
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
29558
|
function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29524
|
-
return /* @__PURE__ */ jsx(
|
|
29559
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29525
29560
|
Path,
|
|
29526
29561
|
{
|
|
29527
29562
|
d: LIST_VIEW_PATH,
|
|
@@ -29536,7 +29571,7 @@ function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29536
29571
|
// src/icons/LocationPin/locationPinPath.ts
|
|
29537
29572
|
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
29573
|
function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29539
|
-
return /* @__PURE__ */ jsx(
|
|
29574
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29540
29575
|
Path,
|
|
29541
29576
|
{
|
|
29542
29577
|
d: LOCATION_PIN_PATH,
|
|
@@ -29551,13 +29586,13 @@ function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 })
|
|
|
29551
29586
|
// src/icons/LocationUser/locationUserPath.ts
|
|
29552
29587
|
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
29588
|
function LocationUserIcon({ size = 16, color = colors.grey0 }) {
|
|
29554
|
-
return /* @__PURE__ */ jsx(
|
|
29589
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: LOCATION_USER_PATH, fill: color }) });
|
|
29555
29590
|
}
|
|
29556
29591
|
|
|
29557
29592
|
// src/icons/Lock/lockPath.ts
|
|
29558
29593
|
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
29594
|
function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
29560
|
-
return /* @__PURE__ */ jsx(
|
|
29595
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 32 32", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29561
29596
|
Path,
|
|
29562
29597
|
{
|
|
29563
29598
|
d: LOCK_PATH,
|
|
@@ -29572,7 +29607,7 @@ function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29572
29607
|
// src/icons/LogOut/logOutPath.ts
|
|
29573
29608
|
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
29609
|
function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
29575
|
-
return /* @__PURE__ */ jsx(
|
|
29610
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29576
29611
|
Path,
|
|
29577
29612
|
{
|
|
29578
29613
|
d: LOG_OUT_PATH,
|
|
@@ -29587,7 +29622,7 @@ function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
|
29587
29622
|
// src/icons/Mail/mailPath.ts
|
|
29588
29623
|
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
29624
|
function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29590
|
-
return /* @__PURE__ */ jsx(
|
|
29625
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29591
29626
|
Path,
|
|
29592
29627
|
{
|
|
29593
29628
|
d: MAIL_PATH,
|
|
@@ -29602,7 +29637,7 @@ function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29602
29637
|
// src/icons/MapView/mapViewPath.ts
|
|
29603
29638
|
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
29639
|
function MapViewIcon({ size = 20, color = colors.grey400, strokeWidth = 2 }) {
|
|
29605
|
-
return /* @__PURE__ */ jsx(
|
|
29640
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29606
29641
|
Path,
|
|
29607
29642
|
{
|
|
29608
29643
|
d: MAP_VIEW_PATH,
|
|
@@ -29623,7 +29658,7 @@ function MapControlIcon({
|
|
|
29623
29658
|
color = colors.white,
|
|
29624
29659
|
strokeWidth = 2
|
|
29625
29660
|
}) {
|
|
29626
|
-
return /* @__PURE__ */ jsx(
|
|
29661
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29627
29662
|
Path,
|
|
29628
29663
|
{
|
|
29629
29664
|
d: path,
|
|
@@ -29650,7 +29685,7 @@ function MenuIcon({
|
|
|
29650
29685
|
strokeWidth = 2,
|
|
29651
29686
|
open = false
|
|
29652
29687
|
}) {
|
|
29653
|
-
return /* @__PURE__ */ jsx(
|
|
29688
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 19 19", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29654
29689
|
Path,
|
|
29655
29690
|
{
|
|
29656
29691
|
d: open ? MENU_CLOSE_PATH : MENU_PATH,
|
|
@@ -29666,7 +29701,7 @@ function MenuIcon({
|
|
|
29666
29701
|
// src/icons/MenuLines/menuLinesPath.ts
|
|
29667
29702
|
var MENU_LINES_PATH = "M5.83398 19.8337H15.1673M5.83398 14.0003H22.1673M5.83398 8.16699H15.1673";
|
|
29668
29703
|
function MenuLinesIcon({ size = 28, color = colors.white, strokeWidth = 2 }) {
|
|
29669
|
-
return /* @__PURE__ */ jsx(
|
|
29704
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29670
29705
|
Path,
|
|
29671
29706
|
{
|
|
29672
29707
|
d: MENU_LINES_PATH,
|
|
@@ -29681,7 +29716,7 @@ function MenuLinesIcon({ size = 28, color = colors.white, strokeWidth = 2 }) {
|
|
|
29681
29716
|
// src/icons/Minus/minusPath.ts
|
|
29682
29717
|
var MINUS_PATH = "M3.33337 8H12.6667";
|
|
29683
29718
|
function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
29684
|
-
return /* @__PURE__ */ jsx(
|
|
29719
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29685
29720
|
Path,
|
|
29686
29721
|
{
|
|
29687
29722
|
d: MINUS_PATH,
|
|
@@ -29693,10 +29728,30 @@ function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
29693
29728
|
) });
|
|
29694
29729
|
}
|
|
29695
29730
|
|
|
29731
|
+
// src/icons/MoreHorizontal/moreHorizontalPath.ts
|
|
29732
|
+
var MORE_HORIZONTAL_PATH = "M6.33333 2.33333C6.70152 2.33333 7 2.03486 7 1.66667C7 1.29848 6.70152 1 6.33333 1C5.96514 1 5.66667 1.29848 5.66667 1.66667C5.66667 2.03486 5.96514 2.33333 6.33333 2.33333ZM11 2.33333C11.3682 2.33333 11.6667 2.03486 11.6667 1.66667C11.6667 1.29848 11.3682 1 11 1C10.6318 1 10.3333 1.29848 10.3333 1.66667C10.3333 2.03486 10.6318 2.33333 11 2.33333ZM1.66667 2.33333C2.03486 2.33333 2.33333 2.03486 2.33333 1.66667C2.33333 1.29848 2.03486 1 1.66667 1C1.29848 1 1 1.29848 1 1.66667C1 2.03486 1.29848 2.33333 1.66667 2.33333Z";
|
|
29733
|
+
var ASPECT_RATIO = 4 / 13;
|
|
29734
|
+
function MoreHorizontalIcon({
|
|
29735
|
+
size = 13,
|
|
29736
|
+
color = colors.white,
|
|
29737
|
+
strokeWidth = 2
|
|
29738
|
+
}) {
|
|
29739
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size * ASPECT_RATIO, viewBox: "0 0 13 4", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29740
|
+
Path,
|
|
29741
|
+
{
|
|
29742
|
+
d: MORE_HORIZONTAL_PATH,
|
|
29743
|
+
stroke: color,
|
|
29744
|
+
strokeWidth,
|
|
29745
|
+
strokeLinecap: "round",
|
|
29746
|
+
strokeLinejoin: "round"
|
|
29747
|
+
}
|
|
29748
|
+
) });
|
|
29749
|
+
}
|
|
29750
|
+
|
|
29696
29751
|
// src/icons/Navigate/navigatePath.ts
|
|
29697
29752
|
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";
|
|
29698
29753
|
function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29699
|
-
return /* @__PURE__ */ jsx(
|
|
29754
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29700
29755
|
Path,
|
|
29701
29756
|
{
|
|
29702
29757
|
d: NAVIGATE_PATH,
|
|
@@ -29711,7 +29766,7 @@ function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29711
29766
|
// src/icons/Phone/phonePath.ts
|
|
29712
29767
|
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";
|
|
29713
29768
|
function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29714
|
-
return /* @__PURE__ */ jsx(
|
|
29769
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29715
29770
|
Path,
|
|
29716
29771
|
{
|
|
29717
29772
|
d: PHONE_PATH,
|
|
@@ -29726,7 +29781,7 @@ function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29726
29781
|
// src/icons/Plus/plusPath.ts
|
|
29727
29782
|
var PLUS_PATH = "M8.00004 3.33325V12.6666M3.33337 7.99992H12.6667";
|
|
29728
29783
|
function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
29729
|
-
return /* @__PURE__ */ jsx(
|
|
29784
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29730
29785
|
Path,
|
|
29731
29786
|
{
|
|
29732
29787
|
d: PLUS_PATH,
|
|
@@ -29741,7 +29796,7 @@ function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
29741
29796
|
// src/icons/Refresh/refreshPath.ts
|
|
29742
29797
|
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";
|
|
29743
29798
|
function RefreshIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29744
|
-
return /* @__PURE__ */ jsx(
|
|
29799
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29745
29800
|
Path,
|
|
29746
29801
|
{
|
|
29747
29802
|
d: REFRESH_PATH,
|
|
@@ -29760,7 +29815,7 @@ function RefundStatusIcon({
|
|
|
29760
29815
|
color = colors.primary,
|
|
29761
29816
|
strokeWidth = 2
|
|
29762
29817
|
}) {
|
|
29763
|
-
return /* @__PURE__ */ jsx(
|
|
29818
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29764
29819
|
Path,
|
|
29765
29820
|
{
|
|
29766
29821
|
d: REFUND_STATUS_PATH,
|
|
@@ -29780,7 +29835,7 @@ function SearchIcon({
|
|
|
29780
29835
|
color = colors.primary,
|
|
29781
29836
|
strokeWidth = 2
|
|
29782
29837
|
}) {
|
|
29783
|
-
return /* @__PURE__ */ jsxs(
|
|
29838
|
+
return /* @__PURE__ */ jsxs(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
29784
29839
|
/* @__PURE__ */ jsx(
|
|
29785
29840
|
Path,
|
|
29786
29841
|
{
|
|
@@ -29807,7 +29862,7 @@ function SearchIcon({
|
|
|
29807
29862
|
// src/icons/Settings/settingsPath.ts
|
|
29808
29863
|
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";
|
|
29809
29864
|
function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29810
|
-
return /* @__PURE__ */ jsx(
|
|
29865
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29811
29866
|
Path,
|
|
29812
29867
|
{
|
|
29813
29868
|
d: SETTINGS_PATH,
|
|
@@ -29823,7 +29878,7 @@ function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 })
|
|
|
29823
29878
|
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";
|
|
29824
29879
|
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";
|
|
29825
29880
|
function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29826
|
-
return /* @__PURE__ */ jsxs(
|
|
29881
|
+
return /* @__PURE__ */ jsxs(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
29827
29882
|
/* @__PURE__ */ jsx(
|
|
29828
29883
|
Path,
|
|
29829
29884
|
{
|
|
@@ -29850,7 +29905,7 @@ function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29850
29905
|
// src/icons/Sidebar/sidebarPath.ts
|
|
29851
29906
|
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";
|
|
29852
29907
|
function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29853
|
-
return /* @__PURE__ */ jsx(
|
|
29908
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29854
29909
|
Path,
|
|
29855
29910
|
{
|
|
29856
29911
|
d: SIDEBAR_PATH,
|
|
@@ -29865,7 +29920,7 @@ function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29865
29920
|
// src/icons/Sort/sortPath.ts
|
|
29866
29921
|
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";
|
|
29867
29922
|
function SortIcon({ size = 20, color = colors.grey300, strokeWidth = 2 }) {
|
|
29868
|
-
return /* @__PURE__ */ jsx(
|
|
29923
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29869
29924
|
Path,
|
|
29870
29925
|
{
|
|
29871
29926
|
d: SORT_PATH,
|
|
@@ -29887,7 +29942,7 @@ function StarIcon({
|
|
|
29887
29942
|
strokeWidth = 2
|
|
29888
29943
|
}) {
|
|
29889
29944
|
const resolvedColor = color ?? (active ? "#E38E5E" : colors.grey150);
|
|
29890
|
-
return /* @__PURE__ */ jsx(
|
|
29945
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29891
29946
|
Path,
|
|
29892
29947
|
{
|
|
29893
29948
|
d: STAR_PATH,
|
|
@@ -29905,7 +29960,7 @@ function StarFilledIcon({
|
|
|
29905
29960
|
color = "#E38E5E",
|
|
29906
29961
|
strokeWidth = 2
|
|
29907
29962
|
}) {
|
|
29908
|
-
return /* @__PURE__ */ jsx(
|
|
29963
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: color, children: /* @__PURE__ */ jsx(
|
|
29909
29964
|
Path,
|
|
29910
29965
|
{
|
|
29911
29966
|
d: STAR_PATH,
|
|
@@ -29918,10 +29973,25 @@ function StarFilledIcon({
|
|
|
29918
29973
|
) });
|
|
29919
29974
|
}
|
|
29920
29975
|
|
|
29976
|
+
// src/icons/TableView/tableViewPath.ts
|
|
29977
|
+
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";
|
|
29978
|
+
function TableViewIcon({ size = 17, color = colors.grey400, strokeWidth = 2 }) {
|
|
29979
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 17 17", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29980
|
+
Path,
|
|
29981
|
+
{
|
|
29982
|
+
d: TABLE_VIEW_PATH,
|
|
29983
|
+
stroke: color,
|
|
29984
|
+
strokeWidth,
|
|
29985
|
+
strokeLinecap: "round",
|
|
29986
|
+
strokeLinejoin: "round"
|
|
29987
|
+
}
|
|
29988
|
+
) });
|
|
29989
|
+
}
|
|
29990
|
+
|
|
29921
29991
|
// src/icons/User/userPath.ts
|
|
29922
29992
|
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";
|
|
29923
29993
|
function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29924
|
-
return /* @__PURE__ */ jsx(
|
|
29994
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29925
29995
|
Path,
|
|
29926
29996
|
{
|
|
29927
29997
|
d: USER_PATH,
|
|
@@ -29936,7 +30006,7 @@ function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29936
30006
|
// src/icons/UsersAlt/usersAltPath.ts
|
|
29937
30007
|
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";
|
|
29938
30008
|
function UsersAltIcon({ size = 28, color = colors.white }) {
|
|
29939
|
-
return /* @__PURE__ */ jsx(
|
|
30009
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsx(Path, { d: USERS_ALT_PATH, fill: color }) });
|
|
29940
30010
|
}
|
|
29941
30011
|
|
|
29942
30012
|
// src/icons/Video/videoPath.ts
|
|
@@ -29945,7 +30015,7 @@ var VIDEO_PATHS = [
|
|
|
29945
30015
|
"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"
|
|
29946
30016
|
];
|
|
29947
30017
|
function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29948
|
-
return /* @__PURE__ */ jsx(
|
|
30018
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: VIDEO_PATHS.map((path) => /* @__PURE__ */ jsx(
|
|
29949
30019
|
Path,
|
|
29950
30020
|
{
|
|
29951
30021
|
d: path,
|
|
@@ -29961,7 +30031,7 @@ function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
29961
30031
|
// src/icons/VideoOff/videoOffPath.ts
|
|
29962
30032
|
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";
|
|
29963
30033
|
function VideoOffIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29964
|
-
return /* @__PURE__ */ jsx(
|
|
30034
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29965
30035
|
Path,
|
|
29966
30036
|
{
|
|
29967
30037
|
d: VIDEO_OFF_PATH,
|
|
@@ -29976,7 +30046,7 @@ function VideoOffIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29976
30046
|
// src/icons/ZoomOut/zoomOutPath.ts
|
|
29977
30047
|
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";
|
|
29978
30048
|
function ZoomOutIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29979
|
-
return /* @__PURE__ */ jsx(
|
|
30049
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsx(
|
|
29980
30050
|
Path,
|
|
29981
30051
|
{
|
|
29982
30052
|
d: ZOOM_OUT_PATH,
|
|
@@ -29993,6 +30063,7 @@ var icons = {
|
|
|
29993
30063
|
alertTriangle: AlertTriangleIcon,
|
|
29994
30064
|
areaExpand: AreaExpandIcon,
|
|
29995
30065
|
apple: AppleIcon,
|
|
30066
|
+
arrowLeft: ArrowLeftIcon,
|
|
29996
30067
|
arrowRight: ArrowRightIcon,
|
|
29997
30068
|
bag: BagIcon,
|
|
29998
30069
|
ban: BanIcon,
|
|
@@ -30009,6 +30080,7 @@ var icons = {
|
|
|
30009
30080
|
chevronLeft: ChevronLeftIcon,
|
|
30010
30081
|
clock: ClockIcon,
|
|
30011
30082
|
close: CloseIcon,
|
|
30083
|
+
currentLocation: CurrentLocationIcon,
|
|
30012
30084
|
edit: EditIcon,
|
|
30013
30085
|
clockFilled: ClockFilledIcon,
|
|
30014
30086
|
copy: CopyIcon,
|
|
@@ -30043,6 +30115,7 @@ var icons = {
|
|
|
30043
30115
|
menu: MenuIcon,
|
|
30044
30116
|
menuLines: MenuLinesIcon,
|
|
30045
30117
|
minus: MinusIcon,
|
|
30118
|
+
moreHorizontal: MoreHorizontalIcon,
|
|
30046
30119
|
navigate: NavigateIcon,
|
|
30047
30120
|
noSmoking: NoSmokingIcon,
|
|
30048
30121
|
paw: PawIcon,
|
|
@@ -30062,6 +30135,7 @@ var icons = {
|
|
|
30062
30135
|
sort: SortIcon,
|
|
30063
30136
|
star: StarIcon,
|
|
30064
30137
|
starFilled: StarFilledIcon,
|
|
30138
|
+
tableView: TableViewIcon,
|
|
30065
30139
|
tooltipArrow: TooltipArrowIcon,
|
|
30066
30140
|
trash: TrashIcon,
|
|
30067
30141
|
user: UserIcon,
|
|
@@ -30074,9 +30148,11 @@ var icons = {
|
|
|
30074
30148
|
var iconNames = Object.keys(icons);
|
|
30075
30149
|
var iconGroups = {
|
|
30076
30150
|
navigation: [
|
|
30151
|
+
"arrowLeft",
|
|
30077
30152
|
"arrowRight",
|
|
30078
30153
|
"chevronDown",
|
|
30079
30154
|
"chevronLeft",
|
|
30155
|
+
"currentLocation",
|
|
30080
30156
|
"home",
|
|
30081
30157
|
"listView",
|
|
30082
30158
|
"locationPin",
|
|
@@ -30086,7 +30162,8 @@ var iconGroups = {
|
|
|
30086
30162
|
"mapView",
|
|
30087
30163
|
"menu",
|
|
30088
30164
|
"menuLines",
|
|
30089
|
-
"navigate"
|
|
30165
|
+
"navigate",
|
|
30166
|
+
"tableView"
|
|
30090
30167
|
],
|
|
30091
30168
|
actions: [
|
|
30092
30169
|
"show",
|
|
@@ -30117,6 +30194,7 @@ var iconGroups = {
|
|
|
30117
30194
|
"star",
|
|
30118
30195
|
"starFilled",
|
|
30119
30196
|
"minus",
|
|
30197
|
+
"moreHorizontal",
|
|
30120
30198
|
"plus",
|
|
30121
30199
|
"refresh",
|
|
30122
30200
|
"refundStatus",
|
|
@@ -30224,7 +30302,7 @@ var AMENITY_PATHS = {
|
|
|
30224
30302
|
]
|
|
30225
30303
|
};
|
|
30226
30304
|
function AmenityIcon({ name, size = 20, color = colors.primary }) {
|
|
30227
|
-
return /* @__PURE__ */ jsx(
|
|
30305
|
+
return /* @__PURE__ */ jsx(Svg22, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: AMENITY_PATHS[name].map((path, index) => /* @__PURE__ */ jsx(
|
|
30228
30306
|
Path,
|
|
30229
30307
|
{
|
|
30230
30308
|
d: path.d,
|
|
@@ -30514,7 +30592,87 @@ var styles2 = StyleSheet.create({
|
|
|
30514
30592
|
flex: 1
|
|
30515
30593
|
}
|
|
30516
30594
|
});
|
|
30517
|
-
var
|
|
30595
|
+
var ICON_SLOT_SIZE = 41;
|
|
30596
|
+
var ICON_SIZE2 = 20;
|
|
30597
|
+
var InfoCardV2 = forwardRef(
|
|
30598
|
+
function InfoCardV22({
|
|
30599
|
+
label,
|
|
30600
|
+
value,
|
|
30601
|
+
icon: Icon2,
|
|
30602
|
+
iconProps,
|
|
30603
|
+
iconSize = ICON_SIZE2,
|
|
30604
|
+
style,
|
|
30605
|
+
className,
|
|
30606
|
+
accessibilityLabel,
|
|
30607
|
+
...rest
|
|
30608
|
+
}, forwardedRef) {
|
|
30609
|
+
const containerRef = useRef(null);
|
|
30610
|
+
const setContainerRef = useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
30611
|
+
useApplyWebClassName(containerRef, className?.trim() || void 0);
|
|
30612
|
+
return /* @__PURE__ */ jsxs(
|
|
30613
|
+
View,
|
|
30614
|
+
{
|
|
30615
|
+
...rest,
|
|
30616
|
+
ref: setContainerRef,
|
|
30617
|
+
accessibilityRole: "text",
|
|
30618
|
+
accessibilityLabel: accessibilityLabel ?? `${label}. ${value}`,
|
|
30619
|
+
style: [styles3.root, style],
|
|
30620
|
+
children: [
|
|
30621
|
+
/* @__PURE__ */ jsx(View, { style: styles3.iconSlot, children: /* @__PURE__ */ jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.primary }) }),
|
|
30622
|
+
/* @__PURE__ */ jsxs(View, { style: styles3.content, children: [
|
|
30623
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles3.label, children: label }),
|
|
30624
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles3.value, children: value })
|
|
30625
|
+
] })
|
|
30626
|
+
]
|
|
30627
|
+
}
|
|
30628
|
+
);
|
|
30629
|
+
}
|
|
30630
|
+
);
|
|
30631
|
+
var styles3 = StyleSheet.create({
|
|
30632
|
+
root: {
|
|
30633
|
+
minHeight: 65,
|
|
30634
|
+
padding: 12,
|
|
30635
|
+
flexDirection: "row",
|
|
30636
|
+
alignItems: "center",
|
|
30637
|
+
flexGrow: 1,
|
|
30638
|
+
flexShrink: 0,
|
|
30639
|
+
flexBasis: 0,
|
|
30640
|
+
gap: 16,
|
|
30641
|
+
borderRadius: 16,
|
|
30642
|
+
backgroundColor: colors.grey700
|
|
30643
|
+
},
|
|
30644
|
+
iconSlot: {
|
|
30645
|
+
width: ICON_SLOT_SIZE,
|
|
30646
|
+
height: ICON_SLOT_SIZE,
|
|
30647
|
+
borderRadius: 10,
|
|
30648
|
+
alignItems: "center",
|
|
30649
|
+
justifyContent: "center",
|
|
30650
|
+
flexShrink: 0,
|
|
30651
|
+
backgroundColor: colors.grey600
|
|
30652
|
+
},
|
|
30653
|
+
content: {
|
|
30654
|
+
minWidth: 0,
|
|
30655
|
+
flexShrink: 1,
|
|
30656
|
+
gap: 6
|
|
30657
|
+
},
|
|
30658
|
+
label: {
|
|
30659
|
+
fontFamily: fonts.sans,
|
|
30660
|
+
fontSize: 14,
|
|
30661
|
+
fontWeight: "500",
|
|
30662
|
+
lineHeight: 16,
|
|
30663
|
+
letterSpacing: 0,
|
|
30664
|
+
color: colors.lightGrey
|
|
30665
|
+
},
|
|
30666
|
+
value: {
|
|
30667
|
+
fontFamily: fonts.sans,
|
|
30668
|
+
fontSize: 16,
|
|
30669
|
+
fontWeight: "700",
|
|
30670
|
+
lineHeight: 19,
|
|
30671
|
+
letterSpacing: 0,
|
|
30672
|
+
color: colors.white
|
|
30673
|
+
}
|
|
30674
|
+
});
|
|
30675
|
+
var ICON_SIZE3 = 16;
|
|
30518
30676
|
var BACKGROUND_COLOR = "#09090966";
|
|
30519
30677
|
var webBlurStyle = Platform.OS === "web" ? {
|
|
30520
30678
|
backdropFilter: "blur(10px)",
|
|
@@ -30555,10 +30713,10 @@ var FavoritesButton = forwardRef(
|
|
|
30555
30713
|
hitSlop,
|
|
30556
30714
|
onPress: handlePress,
|
|
30557
30715
|
style: ({ pressed }) => [
|
|
30558
|
-
|
|
30716
|
+
styles4.button,
|
|
30559
30717
|
webBlurStyle,
|
|
30560
|
-
pressed &&
|
|
30561
|
-
disabled &&
|
|
30718
|
+
pressed && styles4.pressed,
|
|
30719
|
+
disabled && styles4.disabled,
|
|
30562
30720
|
style
|
|
30563
30721
|
],
|
|
30564
30722
|
children: /* @__PURE__ */ jsx(
|
|
@@ -30566,7 +30724,7 @@ var FavoritesButton = forwardRef(
|
|
|
30566
30724
|
{
|
|
30567
30725
|
color: isActive ? colors.red : colors.white,
|
|
30568
30726
|
fillOpacity: isActive ? 1 : 0,
|
|
30569
|
-
size:
|
|
30727
|
+
size: ICON_SIZE3,
|
|
30570
30728
|
strokeWidth: 2
|
|
30571
30729
|
}
|
|
30572
30730
|
)
|
|
@@ -30574,7 +30732,7 @@ var FavoritesButton = forwardRef(
|
|
|
30574
30732
|
);
|
|
30575
30733
|
}
|
|
30576
30734
|
);
|
|
30577
|
-
var
|
|
30735
|
+
var styles4 = StyleSheet.create({
|
|
30578
30736
|
button: {
|
|
30579
30737
|
padding: 12,
|
|
30580
30738
|
gap: 10,
|
|
@@ -30593,6 +30751,44 @@ var styles3 = StyleSheet.create({
|
|
|
30593
30751
|
opacity: 0.5
|
|
30594
30752
|
}
|
|
30595
30753
|
});
|
|
30754
|
+
var webBlurStyle2 = Platform.OS === "web" ? {
|
|
30755
|
+
backdropFilter: "blur(10px)",
|
|
30756
|
+
WebkitBackdropFilter: "blur(10px)"
|
|
30757
|
+
} : {};
|
|
30758
|
+
var IconStatusBadge = forwardRef(
|
|
30759
|
+
function IconStatusBadge2({ label, icon: Icon2, iconProps, iconSize = 16, style, className, ...rest }, forwardedRef) {
|
|
30760
|
+
const badgeRef = useRef(null);
|
|
30761
|
+
const setBadgeRef = useMemo(() => mergeRefs(badgeRef, forwardedRef), [forwardedRef]);
|
|
30762
|
+
useApplyWebClassName(badgeRef, className);
|
|
30763
|
+
return /* @__PURE__ */ jsxs(View, { ...rest, ref: setBadgeRef, style: [styles5.root, webBlurStyle2, style], children: [
|
|
30764
|
+
/* @__PURE__ */ jsx(Icon2, { ...iconProps, size: iconSize }),
|
|
30765
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles5.label, children: label })
|
|
30766
|
+
] });
|
|
30767
|
+
}
|
|
30768
|
+
);
|
|
30769
|
+
var styles5 = StyleSheet.create({
|
|
30770
|
+
root: {
|
|
30771
|
+
minHeight: 34,
|
|
30772
|
+
paddingHorizontal: 12,
|
|
30773
|
+
paddingVertical: 8,
|
|
30774
|
+
flexDirection: "row",
|
|
30775
|
+
alignItems: "center",
|
|
30776
|
+
justifyContent: "center",
|
|
30777
|
+
gap: 10,
|
|
30778
|
+
alignSelf: "flex-start",
|
|
30779
|
+
borderRadius: 39,
|
|
30780
|
+
borderWidth: 1,
|
|
30781
|
+
borderColor: colors.whiteAlpha10,
|
|
30782
|
+
backgroundColor: "#09090966"
|
|
30783
|
+
},
|
|
30784
|
+
label: {
|
|
30785
|
+
color: colors.white,
|
|
30786
|
+
fontFamily: fonts.sans,
|
|
30787
|
+
fontSize: 12,
|
|
30788
|
+
fontWeight: "700",
|
|
30789
|
+
lineHeight: 15
|
|
30790
|
+
}
|
|
30791
|
+
});
|
|
30596
30792
|
|
|
30597
30793
|
// src/primitives/BrandLogo/brandLogoPaths.ts
|
|
30598
30794
|
var BRAND_LOGO_PATHS = [
|
|
@@ -30648,7 +30844,7 @@ function BrandLogo({
|
|
|
30648
30844
|
const size = resolveBrandLogoSize(width, height);
|
|
30649
30845
|
const fill = BRAND_LOGO_COLORS[variant];
|
|
30650
30846
|
return /* @__PURE__ */ jsx(
|
|
30651
|
-
|
|
30847
|
+
Svg22,
|
|
30652
30848
|
{
|
|
30653
30849
|
width: size.width,
|
|
30654
30850
|
height: size.height,
|
|
@@ -30752,7 +30948,7 @@ var Avatar = forwardRef(function Avatar2({
|
|
|
30752
30948
|
}, [isOpen, closeAndFocusTrigger]);
|
|
30753
30949
|
const hasImage = Boolean(imageUrl) && !imageFailed;
|
|
30754
30950
|
const resolvedAccessibilityLabel = accessibilityLabel ?? [name, email].filter(Boolean).join(", ");
|
|
30755
|
-
return /* @__PURE__ */ jsxs(View, { ref: wrapperRef, style: [
|
|
30951
|
+
return /* @__PURE__ */ jsxs(View, { ref: wrapperRef, style: [styles6.wrapper, isOpen && styles6.wrapperOpen], children: [
|
|
30756
30952
|
/* @__PURE__ */ jsxs(
|
|
30757
30953
|
Pressable,
|
|
30758
30954
|
{
|
|
@@ -30764,25 +30960,25 @@ var Avatar = forwardRef(function Avatar2({
|
|
|
30764
30960
|
accessibilityRole: isInteractive ? "button" : void 0,
|
|
30765
30961
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
30766
30962
|
accessibilityState: isInteractive ? { disabled, expanded: hasMenu ? isOpen : void 0 } : void 0,
|
|
30767
|
-
style: [
|
|
30963
|
+
style: [styles6.root, disabled && styles6.disabled, style],
|
|
30768
30964
|
children: [
|
|
30769
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
30965
|
+
/* @__PURE__ */ jsx(View, { style: styles6.imageWrap, children: hasImage ? /* @__PURE__ */ jsx(
|
|
30770
30966
|
Image,
|
|
30771
30967
|
{
|
|
30772
30968
|
source: { uri: imageUrl ?? void 0 },
|
|
30773
|
-
style:
|
|
30969
|
+
style: styles6.image,
|
|
30774
30970
|
onError: () => setImageFailed(true)
|
|
30775
30971
|
}
|
|
30776
|
-
) : /* @__PURE__ */ jsx(View, { style:
|
|
30777
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
30778
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
30779
|
-
email ? /* @__PURE__ */ jsx(Text, { style:
|
|
30972
|
+
) : /* @__PURE__ */ jsx(View, { style: styles6.imageFallback, children: /* @__PURE__ */ jsx(UserIcon, { size: FALLBACK_ICON_SIZE, color: colors.primary }) }) }),
|
|
30973
|
+
/* @__PURE__ */ jsxs(View, { style: styles6.textColumn, children: [
|
|
30974
|
+
/* @__PURE__ */ jsx(Text, { style: styles6.name, numberOfLines: 1, children: name }),
|
|
30975
|
+
email ? /* @__PURE__ */ jsx(Text, { style: styles6.email, numberOfLines: 1, children: email }) : null
|
|
30780
30976
|
] }),
|
|
30781
|
-
showChevron ? /* @__PURE__ */ jsx(View, { style: [
|
|
30977
|
+
showChevron ? /* @__PURE__ */ jsx(View, { style: [styles6.chevronSlot, isOpen && styles6.chevronOpen], children: /* @__PURE__ */ jsx(ChevronDownIcon, { size: CHEVRON_SIZE, color: isOpen ? colors.primary : colors.grey100 }) }) : null
|
|
30782
30978
|
]
|
|
30783
30979
|
}
|
|
30784
30980
|
),
|
|
30785
|
-
hasMenu && isOpen ? /* @__PURE__ */ jsx(View, { style: [
|
|
30981
|
+
hasMenu && isOpen ? /* @__PURE__ */ jsx(View, { style: [styles6.menu, menuWidth != null && { right: void 0, width: menuWidth }], children: resolvedMenuItems.map((item) => {
|
|
30786
30982
|
const itemKey = item.key ?? item.label;
|
|
30787
30983
|
return /* @__PURE__ */ jsx(
|
|
30788
30984
|
MenuItem,
|
|
@@ -30799,7 +30995,7 @@ var Avatar = forwardRef(function Avatar2({
|
|
|
30799
30995
|
}) }) : null
|
|
30800
30996
|
] });
|
|
30801
30997
|
});
|
|
30802
|
-
var
|
|
30998
|
+
var styles6 = StyleSheet.create({
|
|
30803
30999
|
wrapper: {
|
|
30804
31000
|
position: "relative",
|
|
30805
31001
|
alignSelf: "flex-start"
|
|
@@ -30910,23 +31106,23 @@ var AvatarSimple = forwardRef(
|
|
|
30910
31106
|
{
|
|
30911
31107
|
...rest,
|
|
30912
31108
|
ref: setContainerRef,
|
|
30913
|
-
style: [
|
|
31109
|
+
style: [styles7.root, compact ? styles7.rootCompact : styles7.rootCard, style],
|
|
30914
31110
|
accessibilityRole: "summary",
|
|
30915
31111
|
accessibilityLabel: `${name}, ${email}`,
|
|
30916
31112
|
children: [
|
|
30917
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
31113
|
+
/* @__PURE__ */ jsx(View, { style: styles7.avatar, children: showImage ? /* @__PURE__ */ jsx(
|
|
30918
31114
|
Image,
|
|
30919
31115
|
{
|
|
30920
31116
|
source: { uri: imageUrl ?? void 0 },
|
|
30921
|
-
style:
|
|
31117
|
+
style: styles7.avatarImage,
|
|
30922
31118
|
onError: () => setImageFailed(true),
|
|
30923
31119
|
accessibilityIgnoresInvertColors: true
|
|
30924
31120
|
}
|
|
30925
31121
|
) : null }),
|
|
30926
|
-
!compact ? /* @__PURE__ */ jsxs(View, { style:
|
|
30927
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
30928
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
30929
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
31122
|
+
!compact ? /* @__PURE__ */ jsxs(View, { style: styles7.details, children: [
|
|
31123
|
+
/* @__PURE__ */ jsxs(View, { style: styles7.textBlock, children: [
|
|
31124
|
+
/* @__PURE__ */ jsx(Text, { style: styles7.name, numberOfLines: 1, ellipsizeMode: "tail", children: name }),
|
|
31125
|
+
/* @__PURE__ */ jsx(Text, { style: styles7.email, numberOfLines: 1, ellipsizeMode: "tail", children: email })
|
|
30930
31126
|
] }),
|
|
30931
31127
|
/* @__PURE__ */ jsx(
|
|
30932
31128
|
Pressable,
|
|
@@ -30935,7 +31131,7 @@ var AvatarSimple = forwardRef(
|
|
|
30935
31131
|
accessibilityRole: "button",
|
|
30936
31132
|
accessibilityLabel: logOutAccessibilityLabel,
|
|
30937
31133
|
hitSlop: 8,
|
|
30938
|
-
style:
|
|
31134
|
+
style: styles7.logOutButton,
|
|
30939
31135
|
children: /* @__PURE__ */ jsx(LogOutIcon, { color: colors.primary, size: LOG_OUT_SIZE, strokeWidth: 2 })
|
|
30940
31136
|
}
|
|
30941
31137
|
)
|
|
@@ -30945,7 +31141,7 @@ var AvatarSimple = forwardRef(
|
|
|
30945
31141
|
);
|
|
30946
31142
|
}
|
|
30947
31143
|
);
|
|
30948
|
-
var
|
|
31144
|
+
var styles7 = StyleSheet.create({
|
|
30949
31145
|
root: {
|
|
30950
31146
|
flexDirection: "row",
|
|
30951
31147
|
alignItems: "center",
|
|
@@ -31054,15 +31250,15 @@ var AccountHeader = forwardRef(
|
|
|
31054
31250
|
...webClassName(className),
|
|
31055
31251
|
ref: setContainerRef,
|
|
31056
31252
|
accessibilityRole: "header",
|
|
31057
|
-
style: [
|
|
31253
|
+
style: [styles8.base, style],
|
|
31058
31254
|
children: [
|
|
31059
31255
|
/* @__PURE__ */ jsxs(
|
|
31060
31256
|
View,
|
|
31061
31257
|
{
|
|
31062
31258
|
style: [
|
|
31063
|
-
|
|
31064
|
-
showBack ?
|
|
31065
|
-
showMenu ?
|
|
31259
|
+
styles8.start,
|
|
31260
|
+
showBack ? styles8.startWithBack : null,
|
|
31261
|
+
showMenu ? styles8.startWithMenu : null
|
|
31066
31262
|
],
|
|
31067
31263
|
children: [
|
|
31068
31264
|
showBack ? /* @__PURE__ */ jsx(
|
|
@@ -31072,7 +31268,7 @@ var AccountHeader = forwardRef(
|
|
|
31072
31268
|
accessibilityLabel: backAccessibilityLabel,
|
|
31073
31269
|
hitSlop: 8,
|
|
31074
31270
|
onPress: onBackPress,
|
|
31075
|
-
style:
|
|
31271
|
+
style: styles8.iconButton,
|
|
31076
31272
|
children: /* @__PURE__ */ jsx(
|
|
31077
31273
|
ChevronLeftIcon,
|
|
31078
31274
|
{
|
|
@@ -31093,34 +31289,34 @@ var AccountHeader = forwardRef(
|
|
|
31093
31289
|
accessibilityLabel: menuAccessibilityLabel,
|
|
31094
31290
|
hitSlop: 8,
|
|
31095
31291
|
onPress: onMenuPress,
|
|
31096
|
-
style:
|
|
31292
|
+
style: styles8.menuButton,
|
|
31097
31293
|
children: /* @__PURE__ */ jsx(MenuLinesIcon, { color: colors.white, size: MENU_ICON_SIZE, strokeWidth: 2 })
|
|
31098
31294
|
}
|
|
31099
31295
|
) : null,
|
|
31100
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
31296
|
+
/* @__PURE__ */ jsxs(View, { style: styles8.titleRow, children: [
|
|
31101
31297
|
/* @__PURE__ */ jsx(
|
|
31102
31298
|
Text,
|
|
31103
31299
|
{
|
|
31104
31300
|
...webClassName("account-header-title"),
|
|
31105
31301
|
numberOfLines: 1,
|
|
31106
|
-
style: [
|
|
31302
|
+
style: [styles8.title, titleStyle],
|
|
31107
31303
|
children: title
|
|
31108
31304
|
}
|
|
31109
31305
|
),
|
|
31110
|
-
badge != null ? /* @__PURE__ */ jsx(View, { style:
|
|
31306
|
+
badge != null ? /* @__PURE__ */ jsx(View, { style: styles8.badgeSlot, children: badge }) : null
|
|
31111
31307
|
] })
|
|
31112
31308
|
]
|
|
31113
31309
|
}
|
|
31114
31310
|
),
|
|
31115
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
31116
|
-
languageSlot != null ? /* @__PURE__ */ jsx(View, { style:
|
|
31311
|
+
/* @__PURE__ */ jsxs(View, { style: styles8.end, children: [
|
|
31312
|
+
languageSlot != null ? /* @__PURE__ */ jsx(View, { style: styles8.languageSlot, children: languageSlot }) : null,
|
|
31117
31313
|
/* @__PURE__ */ jsx(
|
|
31118
31314
|
Pressable,
|
|
31119
31315
|
{
|
|
31120
31316
|
accessibilityRole: "button",
|
|
31121
31317
|
accessibilityLabel: notificationsAccessibilityLabel,
|
|
31122
31318
|
onPress: onNotificationsPress,
|
|
31123
|
-
style:
|
|
31319
|
+
style: styles8.iconButton,
|
|
31124
31320
|
children: /* @__PURE__ */ jsx(BellIcon, { color: colors.white, size: ICON_BUTTON_ICON_SIZE, strokeWidth: 1.5 })
|
|
31125
31321
|
}
|
|
31126
31322
|
)
|
|
@@ -31130,7 +31326,7 @@ var AccountHeader = forwardRef(
|
|
|
31130
31326
|
);
|
|
31131
31327
|
}
|
|
31132
31328
|
);
|
|
31133
|
-
var
|
|
31329
|
+
var styles8 = StyleSheet.create({
|
|
31134
31330
|
base: {
|
|
31135
31331
|
height: HEADER_HEIGHT,
|
|
31136
31332
|
width: "100%",
|
|
@@ -31213,8 +31409,8 @@ var styles6 = StyleSheet.create({
|
|
|
31213
31409
|
flexShrink: 0
|
|
31214
31410
|
}
|
|
31215
31411
|
});
|
|
31216
|
-
var
|
|
31217
|
-
var
|
|
31412
|
+
var ICON_SIZE4 = 20;
|
|
31413
|
+
var webBlurStyle3 = Platform.OS === "web" ? {
|
|
31218
31414
|
backdropFilter: "blur(10.3px)",
|
|
31219
31415
|
WebkitBackdropFilter: "blur(10.3px)"
|
|
31220
31416
|
} : {};
|
|
@@ -31244,22 +31440,22 @@ var Badge = forwardRef(function Badge2({ label, variant = "default", icon: Icon2
|
|
|
31244
31440
|
...rest,
|
|
31245
31441
|
ref: setContainerRef,
|
|
31246
31442
|
style: [
|
|
31247
|
-
|
|
31443
|
+
styles9.base,
|
|
31248
31444
|
{ backgroundColor: preset.backgroundColor },
|
|
31249
|
-
preset.border ?
|
|
31250
|
-
preset.blur ?
|
|
31445
|
+
preset.border ? styles9.transparentBorder : null,
|
|
31446
|
+
preset.blur ? webBlurStyle3 : null,
|
|
31251
31447
|
style
|
|
31252
31448
|
],
|
|
31253
31449
|
accessibilityRole: "text",
|
|
31254
31450
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
31255
31451
|
children: [
|
|
31256
|
-
Icon2 ? /* @__PURE__ */ jsx(View, { style:
|
|
31257
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
31452
|
+
Icon2 ? /* @__PURE__ */ jsx(View, { style: styles9.iconSlot, children: /* @__PURE__ */ jsx(Icon2, { size: ICON_SIZE4, color: preset.iconColor }) }) : null,
|
|
31453
|
+
/* @__PURE__ */ jsx(Text, { style: [styles9.label, Platform.OS === "android" ? styles9.labelAndroid : null], children: label })
|
|
31258
31454
|
]
|
|
31259
31455
|
}
|
|
31260
31456
|
);
|
|
31261
31457
|
});
|
|
31262
|
-
var
|
|
31458
|
+
var styles9 = StyleSheet.create({
|
|
31263
31459
|
base: {
|
|
31264
31460
|
flexDirection: "row",
|
|
31265
31461
|
alignItems: "center",
|
|
@@ -31280,8 +31476,8 @@ var styles7 = StyleSheet.create({
|
|
|
31280
31476
|
borderStyle: "solid"
|
|
31281
31477
|
},
|
|
31282
31478
|
iconSlot: {
|
|
31283
|
-
width:
|
|
31284
|
-
height:
|
|
31479
|
+
width: ICON_SIZE4,
|
|
31480
|
+
height: ICON_SIZE4,
|
|
31285
31481
|
alignItems: "center",
|
|
31286
31482
|
justifyContent: "center",
|
|
31287
31483
|
flexShrink: 0
|
|
@@ -31308,7 +31504,7 @@ var toneConfig = {
|
|
|
31308
31504
|
color: colors.red
|
|
31309
31505
|
}
|
|
31310
31506
|
};
|
|
31311
|
-
var
|
|
31507
|
+
var webBlurStyle4 = Platform.OS === "web" ? {
|
|
31312
31508
|
backdropFilter: "blur(39.5px)",
|
|
31313
31509
|
WebkitBackdropFilter: "blur(39.5px)"
|
|
31314
31510
|
} : {};
|
|
@@ -31325,14 +31521,14 @@ var StatusBadge = forwardRef(
|
|
|
31325
31521
|
ref: setContainerRef,
|
|
31326
31522
|
accessibilityRole: "text",
|
|
31327
31523
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
31328
|
-
style: [
|
|
31524
|
+
style: [styles10.base, { backgroundColor: preset.backgroundColor }, webBlurStyle4, style],
|
|
31329
31525
|
children: /* @__PURE__ */ jsx(
|
|
31330
31526
|
Text,
|
|
31331
31527
|
{
|
|
31332
31528
|
style: [
|
|
31333
|
-
|
|
31529
|
+
styles10.label,
|
|
31334
31530
|
{ color: preset.color },
|
|
31335
|
-
Platform.OS === "android" ?
|
|
31531
|
+
Platform.OS === "android" ? styles10.labelAndroid : null
|
|
31336
31532
|
],
|
|
31337
31533
|
children: label
|
|
31338
31534
|
}
|
|
@@ -31341,7 +31537,7 @@ var StatusBadge = forwardRef(
|
|
|
31341
31537
|
);
|
|
31342
31538
|
}
|
|
31343
31539
|
);
|
|
31344
|
-
var
|
|
31540
|
+
var styles10 = StyleSheet.create({
|
|
31345
31541
|
base: {
|
|
31346
31542
|
height: 28,
|
|
31347
31543
|
minHeight: 28,
|
|
@@ -31393,7 +31589,7 @@ var PaginationDots = forwardRef(
|
|
|
31393
31589
|
ref: setContainerRef,
|
|
31394
31590
|
accessibilityRole: "adjustable",
|
|
31395
31591
|
accessibilityLabel: accessibilityLabel ?? `Slide ${safeActive + 1} of ${safeCount}`,
|
|
31396
|
-
style: [
|
|
31592
|
+
style: [styles11.root, style],
|
|
31397
31593
|
children: Array.from({ length: safeCount }, (_, index) => {
|
|
31398
31594
|
const active = index === safeActive;
|
|
31399
31595
|
return /* @__PURE__ */ jsx(
|
|
@@ -31406,8 +31602,8 @@ var PaginationDots = forwardRef(
|
|
|
31406
31602
|
hitSlop: 8,
|
|
31407
31603
|
onPress: () => onDotPress?.(index),
|
|
31408
31604
|
style: [
|
|
31409
|
-
|
|
31410
|
-
active ? [
|
|
31605
|
+
styles11.dot,
|
|
31606
|
+
active ? [styles11.dotActive, { width: pillWidth }] : styles11.dotInactive
|
|
31411
31607
|
]
|
|
31412
31608
|
},
|
|
31413
31609
|
index
|
|
@@ -31417,7 +31613,7 @@ var PaginationDots = forwardRef(
|
|
|
31417
31613
|
);
|
|
31418
31614
|
}
|
|
31419
31615
|
);
|
|
31420
|
-
var
|
|
31616
|
+
var styles11 = StyleSheet.create({
|
|
31421
31617
|
root: {
|
|
31422
31618
|
width: TRACK_WIDTH,
|
|
31423
31619
|
flexDirection: "row",
|
|
@@ -31439,7 +31635,7 @@ var styles9 = StyleSheet.create({
|
|
|
31439
31635
|
});
|
|
31440
31636
|
var WIDTH = 121;
|
|
31441
31637
|
var HEIGHT = 48;
|
|
31442
|
-
var
|
|
31638
|
+
var ICON_SIZE5 = 24;
|
|
31443
31639
|
var StepPager = forwardRef(function StepPager2({
|
|
31444
31640
|
index,
|
|
31445
31641
|
count,
|
|
@@ -31473,7 +31669,7 @@ var StepPager = forwardRef(function StepPager2({
|
|
|
31473
31669
|
now: safeCount === 0 ? 0 : safeIndex + 1,
|
|
31474
31670
|
text: label
|
|
31475
31671
|
},
|
|
31476
|
-
style: [
|
|
31672
|
+
style: [styles12.root, webBlurStyle5, style],
|
|
31477
31673
|
children: [
|
|
31478
31674
|
/* @__PURE__ */ jsx(
|
|
31479
31675
|
Pressable,
|
|
@@ -31484,11 +31680,11 @@ var StepPager = forwardRef(function StepPager2({
|
|
|
31484
31680
|
accessibilityRole: "button",
|
|
31485
31681
|
accessibilityLabel: previousAccessibilityLabel,
|
|
31486
31682
|
accessibilityState: { disabled: atStart || !onPrevious },
|
|
31487
|
-
style: [
|
|
31488
|
-
children: /* @__PURE__ */ jsx(ChevronLeftIcon, { size:
|
|
31683
|
+
style: [styles12.navButton, (atStart || !onPrevious) && styles12.navDisabled],
|
|
31684
|
+
children: /* @__PURE__ */ jsx(ChevronLeftIcon, { size: ICON_SIZE5, color: colors.white, strokeWidth: 2 })
|
|
31489
31685
|
}
|
|
31490
31686
|
),
|
|
31491
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
31687
|
+
/* @__PURE__ */ jsx(Text, { style: styles12.label, children: label }),
|
|
31492
31688
|
/* @__PURE__ */ jsx(
|
|
31493
31689
|
Pressable,
|
|
31494
31690
|
{
|
|
@@ -31498,19 +31694,19 @@ var StepPager = forwardRef(function StepPager2({
|
|
|
31498
31694
|
accessibilityRole: "button",
|
|
31499
31695
|
accessibilityLabel: nextAccessibilityLabel,
|
|
31500
31696
|
accessibilityState: { disabled: atEnd || !onNext },
|
|
31501
|
-
style: [
|
|
31502
|
-
children: /* @__PURE__ */ jsx(View, { style:
|
|
31697
|
+
style: [styles12.navButton, (atEnd || !onNext) && styles12.navDisabled],
|
|
31698
|
+
children: /* @__PURE__ */ jsx(View, { style: styles12.chevronRight, children: /* @__PURE__ */ jsx(ChevronLeftIcon, { size: ICON_SIZE5, color: colors.white, strokeWidth: 2 }) })
|
|
31503
31699
|
}
|
|
31504
31700
|
)
|
|
31505
31701
|
]
|
|
31506
31702
|
}
|
|
31507
31703
|
);
|
|
31508
31704
|
});
|
|
31509
|
-
var
|
|
31705
|
+
var webBlurStyle5 = Platform.OS === "web" ? {
|
|
31510
31706
|
backdropFilter: "blur(50px)",
|
|
31511
31707
|
WebkitBackdropFilter: "blur(50px)"
|
|
31512
31708
|
} : {};
|
|
31513
|
-
var
|
|
31709
|
+
var styles12 = StyleSheet.create({
|
|
31514
31710
|
root: {
|
|
31515
31711
|
width: WIDTH,
|
|
31516
31712
|
height: HEIGHT,
|
|
@@ -31524,8 +31720,8 @@ var styles10 = StyleSheet.create({
|
|
|
31524
31720
|
overflow: "hidden"
|
|
31525
31721
|
},
|
|
31526
31722
|
navButton: {
|
|
31527
|
-
width:
|
|
31528
|
-
height:
|
|
31723
|
+
width: ICON_SIZE5,
|
|
31724
|
+
height: ICON_SIZE5,
|
|
31529
31725
|
alignItems: "center",
|
|
31530
31726
|
justifyContent: "center"
|
|
31531
31727
|
},
|
|
@@ -31546,13 +31742,13 @@ var styles10 = StyleSheet.create({
|
|
|
31546
31742
|
}
|
|
31547
31743
|
});
|
|
31548
31744
|
var ICON_SLOT = 36;
|
|
31549
|
-
var
|
|
31745
|
+
var ICON_SIZE6 = 20;
|
|
31550
31746
|
var InfoTile = forwardRef(function InfoTile2({
|
|
31551
31747
|
title,
|
|
31552
31748
|
description,
|
|
31553
31749
|
icon: Icon2,
|
|
31554
31750
|
iconProps,
|
|
31555
|
-
iconSize =
|
|
31751
|
+
iconSize = ICON_SIZE6,
|
|
31556
31752
|
iconSlotBackgroundColor = colors.grey600,
|
|
31557
31753
|
style,
|
|
31558
31754
|
className,
|
|
@@ -31570,18 +31766,18 @@ var InfoTile = forwardRef(function InfoTile2({
|
|
|
31570
31766
|
ref: setContainerRef,
|
|
31571
31767
|
accessibilityRole: "text",
|
|
31572
31768
|
accessibilityLabel: accessibilityLabel ?? (hasDescription ? `${title}. ${description}` : title),
|
|
31573
|
-
style: [
|
|
31769
|
+
style: [styles13.root, style],
|
|
31574
31770
|
children: [
|
|
31575
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
31576
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
31577
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
31578
|
-
hasDescription ? /* @__PURE__ */ jsx(Text, { style:
|
|
31771
|
+
/* @__PURE__ */ jsx(View, { style: [styles13.iconSlot, { backgroundColor: iconSlotBackgroundColor }], children: /* @__PURE__ */ jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }) }),
|
|
31772
|
+
/* @__PURE__ */ jsxs(View, { style: styles13.textBlock, children: [
|
|
31773
|
+
/* @__PURE__ */ jsx(Text, { style: styles13.title, children: title }),
|
|
31774
|
+
hasDescription ? /* @__PURE__ */ jsx(Text, { style: styles13.description, children: description }) : null
|
|
31579
31775
|
] })
|
|
31580
31776
|
]
|
|
31581
31777
|
}
|
|
31582
31778
|
);
|
|
31583
31779
|
});
|
|
31584
|
-
var
|
|
31780
|
+
var styles13 = StyleSheet.create({
|
|
31585
31781
|
root: {
|
|
31586
31782
|
flexDirection: "row",
|
|
31587
31783
|
alignItems: "center",
|
|
@@ -31631,7 +31827,7 @@ var CARD_PADDING_DESKTOP = 24;
|
|
|
31631
31827
|
var CARD_GAP_MOBILE = 16;
|
|
31632
31828
|
var CARD_GAP_DESKTOP = 24;
|
|
31633
31829
|
var ICON_SLOT2 = 48;
|
|
31634
|
-
var
|
|
31830
|
+
var ICON_SIZE7 = 24;
|
|
31635
31831
|
var ICON_SLOT_BG = "#E38E5E0F";
|
|
31636
31832
|
var ICON_COLOR = "#B76533";
|
|
31637
31833
|
var ContactInfoCard = forwardRef(
|
|
@@ -31640,7 +31836,7 @@ var ContactInfoCard = forwardRef(
|
|
|
31640
31836
|
value,
|
|
31641
31837
|
icon: Icon2,
|
|
31642
31838
|
iconProps,
|
|
31643
|
-
iconSize =
|
|
31839
|
+
iconSize = ICON_SIZE7,
|
|
31644
31840
|
iconSlotBackgroundColor = ICON_SLOT_BG,
|
|
31645
31841
|
style,
|
|
31646
31842
|
className,
|
|
@@ -31660,7 +31856,7 @@ var ContactInfoCard = forwardRef(
|
|
|
31660
31856
|
accessibilityRole: "text",
|
|
31661
31857
|
accessibilityLabel: accessibilityLabel ?? `${title}. ${value}`,
|
|
31662
31858
|
style: [
|
|
31663
|
-
|
|
31859
|
+
styles14.root,
|
|
31664
31860
|
{
|
|
31665
31861
|
height: isDesktop ? CARD_HEIGHT_DESKTOP : CARD_HEIGHT_MOBILE,
|
|
31666
31862
|
gap: isDesktop ? CARD_GAP_DESKTOP : CARD_GAP_MOBILE,
|
|
@@ -31669,7 +31865,7 @@ var ContactInfoCard = forwardRef(
|
|
|
31669
31865
|
style
|
|
31670
31866
|
],
|
|
31671
31867
|
children: [
|
|
31672
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
31868
|
+
/* @__PURE__ */ jsx(View, { style: [styles14.iconSlot, { backgroundColor: iconSlotBackgroundColor }], children: /* @__PURE__ */ jsx(
|
|
31673
31869
|
Icon2,
|
|
31674
31870
|
{
|
|
31675
31871
|
...iconProps,
|
|
@@ -31678,16 +31874,16 @@ var ContactInfoCard = forwardRef(
|
|
|
31678
31874
|
strokeWidth: iconProps?.strokeWidth ?? 2
|
|
31679
31875
|
}
|
|
31680
31876
|
) }),
|
|
31681
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
31682
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
31683
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
31877
|
+
/* @__PURE__ */ jsxs(View, { style: styles14.textBlock, children: [
|
|
31878
|
+
/* @__PURE__ */ jsx(Text, { style: styles14.title, children: title }),
|
|
31879
|
+
/* @__PURE__ */ jsx(Text, { style: styles14.value, children: value })
|
|
31684
31880
|
] })
|
|
31685
31881
|
]
|
|
31686
31882
|
}
|
|
31687
31883
|
);
|
|
31688
31884
|
}
|
|
31689
31885
|
);
|
|
31690
|
-
var
|
|
31886
|
+
var styles14 = StyleSheet.create({
|
|
31691
31887
|
root: {
|
|
31692
31888
|
width: "100%",
|
|
31693
31889
|
flexDirection: "row",
|
|
@@ -31792,7 +31988,7 @@ var AccordionItem = forwardRef(
|
|
|
31792
31988
|
inputRange: [0, 1],
|
|
31793
31989
|
outputRange: ["0deg", "180deg"]
|
|
31794
31990
|
});
|
|
31795
|
-
const bodyTextStyle = [
|
|
31991
|
+
const bodyTextStyle = [styles15.body, { fontSize: bodyFontSize, lineHeight: bodyLineHeight }];
|
|
31796
31992
|
return /* @__PURE__ */ jsxs(
|
|
31797
31993
|
Pressable,
|
|
31798
31994
|
{
|
|
@@ -31803,19 +31999,19 @@ var AccordionItem = forwardRef(
|
|
|
31803
31999
|
accessibilityLabel: accessibilityLabel ?? title,
|
|
31804
32000
|
onPress: toggle,
|
|
31805
32001
|
style: [
|
|
31806
|
-
|
|
32002
|
+
styles15.root,
|
|
31807
32003
|
{
|
|
31808
32004
|
borderRadius: isDesktop ? RADIUS_DESKTOP : RADIUS_MOBILE,
|
|
31809
32005
|
paddingRight: paddingX,
|
|
31810
32006
|
paddingLeft: paddingX
|
|
31811
32007
|
},
|
|
31812
|
-
Platform.OS === "web" ?
|
|
32008
|
+
Platform.OS === "web" ? styles15.rootWeb : null,
|
|
31813
32009
|
style
|
|
31814
32010
|
],
|
|
31815
32011
|
children: [
|
|
31816
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
31817
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
31818
|
-
/* @__PURE__ */ jsx(Animated.View, { style: [
|
|
32012
|
+
/* @__PURE__ */ jsxs(View, { style: styles15.header, children: [
|
|
32013
|
+
/* @__PURE__ */ jsx(Text, { style: styles15.title, children: title }),
|
|
32014
|
+
/* @__PURE__ */ jsx(Animated.View, { style: [styles15.chevron, { transform: [{ rotate: chevronRotate }] }], children: /* @__PURE__ */ jsx(
|
|
31819
32015
|
ChevronDownIcon,
|
|
31820
32016
|
{
|
|
31821
32017
|
size: CHEVRON_SIZE2,
|
|
@@ -31827,19 +32023,19 @@ var AccordionItem = forwardRef(
|
|
|
31827
32023
|
/* @__PURE__ */ jsx(
|
|
31828
32024
|
View,
|
|
31829
32025
|
{
|
|
31830
|
-
style: [
|
|
32026
|
+
style: [styles15.measureHidden, { left: paddingX, right: paddingX }],
|
|
31831
32027
|
pointerEvents: "none",
|
|
31832
32028
|
onLayout: onBodyLayout,
|
|
31833
32029
|
children: /* @__PURE__ */ jsx(Text, { style: bodyTextStyle, children })
|
|
31834
32030
|
}
|
|
31835
32031
|
),
|
|
31836
|
-
/* @__PURE__ */ jsx(Animated.View, { style: [
|
|
32032
|
+
/* @__PURE__ */ jsx(Animated.View, { style: [styles15.bodyClip, { height: bodyHeight }], pointerEvents: "none", children: /* @__PURE__ */ jsx(View, { style: styles15.bodyInner, children: /* @__PURE__ */ jsx(Text, { style: bodyTextStyle, children }) }) })
|
|
31837
32033
|
]
|
|
31838
32034
|
}
|
|
31839
32035
|
);
|
|
31840
32036
|
}
|
|
31841
32037
|
);
|
|
31842
|
-
var
|
|
32038
|
+
var styles15 = StyleSheet.create({
|
|
31843
32039
|
root: {
|
|
31844
32040
|
width: "100%",
|
|
31845
32041
|
paddingTop: 16,
|
|
@@ -31893,12 +32089,129 @@ var styles13 = StyleSheet.create({
|
|
|
31893
32089
|
color: colors.lightGrey
|
|
31894
32090
|
}
|
|
31895
32091
|
});
|
|
32092
|
+
var DESKTOP_MIN_WIDTH3 = 1024;
|
|
32093
|
+
var CHEVRON_SIZE3 = 24;
|
|
32094
|
+
var Accordion = forwardRef(function Accordion2({
|
|
32095
|
+
title,
|
|
32096
|
+
children,
|
|
32097
|
+
open: openProp,
|
|
32098
|
+
defaultOpen = false,
|
|
32099
|
+
onOpenChange,
|
|
32100
|
+
disabled = false,
|
|
32101
|
+
error = false,
|
|
32102
|
+
style,
|
|
32103
|
+
contentStyle,
|
|
32104
|
+
className,
|
|
32105
|
+
accessibilityLabel,
|
|
32106
|
+
...rest
|
|
32107
|
+
}, forwardedRef) {
|
|
32108
|
+
const rootRef = useRef(null);
|
|
32109
|
+
const setRootRef = useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
32110
|
+
const controlled = openProp !== void 0;
|
|
32111
|
+
const [uncontrolledOpen, setUncontrolledOpen] = useState(defaultOpen);
|
|
32112
|
+
const open = controlled ? Boolean(openProp) : uncontrolledOpen;
|
|
32113
|
+
const { width } = useWindowDimensions();
|
|
32114
|
+
const desktop = width >= DESKTOP_MIN_WIDTH3;
|
|
32115
|
+
const horizontalPadding = desktop ? 24 : 16;
|
|
32116
|
+
useApplyWebClassName(rootRef, className?.trim() || void 0);
|
|
32117
|
+
const toggle = useCallback(() => {
|
|
32118
|
+
if (disabled) return;
|
|
32119
|
+
const next = !open;
|
|
32120
|
+
if (!controlled) setUncontrolledOpen(next);
|
|
32121
|
+
onOpenChange?.(next);
|
|
32122
|
+
}, [controlled, disabled, onOpenChange, open]);
|
|
32123
|
+
return /* @__PURE__ */ jsxs(
|
|
32124
|
+
View,
|
|
32125
|
+
{
|
|
32126
|
+
...rest,
|
|
32127
|
+
ref: setRootRef,
|
|
32128
|
+
style: [
|
|
32129
|
+
styles16.root,
|
|
32130
|
+
{ borderRadius: desktop ? 24 : 20 },
|
|
32131
|
+
error && styles16.error,
|
|
32132
|
+
disabled && styles16.disabled,
|
|
32133
|
+
style
|
|
32134
|
+
],
|
|
32135
|
+
children: [
|
|
32136
|
+
/* @__PURE__ */ jsxs(
|
|
32137
|
+
Pressable,
|
|
32138
|
+
{
|
|
32139
|
+
accessibilityLabel: accessibilityLabel ?? title,
|
|
32140
|
+
accessibilityRole: "button",
|
|
32141
|
+
accessibilityState: { disabled, expanded: open },
|
|
32142
|
+
disabled,
|
|
32143
|
+
onPress: toggle,
|
|
32144
|
+
style: [styles16.header, { paddingHorizontal: horizontalPadding }],
|
|
32145
|
+
children: [
|
|
32146
|
+
/* @__PURE__ */ jsx(Text, { style: [styles16.title, desktop ? styles16.titleDesktop : styles16.titleMobile], children: title }),
|
|
32147
|
+
/* @__PURE__ */ jsx(View, { style: [styles16.chevron, open && styles16.chevronOpen], children: /* @__PURE__ */ jsx(ChevronDownIcon, { color: open ? colors.primary : colors.grey400, size: CHEVRON_SIZE3 }) })
|
|
32148
|
+
]
|
|
32149
|
+
}
|
|
32150
|
+
),
|
|
32151
|
+
open ? /* @__PURE__ */ jsx(View, { style: [styles16.content, { paddingHorizontal: horizontalPadding }, contentStyle], children }) : null
|
|
32152
|
+
]
|
|
32153
|
+
}
|
|
32154
|
+
);
|
|
32155
|
+
});
|
|
32156
|
+
var styles16 = StyleSheet.create({
|
|
32157
|
+
root: {
|
|
32158
|
+
alignSelf: "stretch",
|
|
32159
|
+
backgroundColor: colors.whiteAlpha1,
|
|
32160
|
+
borderColor: "transparent",
|
|
32161
|
+
borderWidth: 1,
|
|
32162
|
+
overflow: "hidden",
|
|
32163
|
+
width: "100%"
|
|
32164
|
+
},
|
|
32165
|
+
header: {
|
|
32166
|
+
alignItems: "center",
|
|
32167
|
+
flexDirection: "row",
|
|
32168
|
+
gap: 16,
|
|
32169
|
+
minHeight: 64,
|
|
32170
|
+
paddingVertical: 16,
|
|
32171
|
+
width: "100%"
|
|
32172
|
+
},
|
|
32173
|
+
title: {
|
|
32174
|
+
color: colors.white,
|
|
32175
|
+
flex: 1,
|
|
32176
|
+
fontFamily: fonts.sans,
|
|
32177
|
+
fontSize: 14,
|
|
32178
|
+
letterSpacing: 0,
|
|
32179
|
+
lineHeight: 18,
|
|
32180
|
+
minWidth: 0
|
|
32181
|
+
},
|
|
32182
|
+
titleMobile: {
|
|
32183
|
+
fontWeight: "500"
|
|
32184
|
+
},
|
|
32185
|
+
titleDesktop: {
|
|
32186
|
+
fontWeight: "600"
|
|
32187
|
+
},
|
|
32188
|
+
chevron: {
|
|
32189
|
+
alignItems: "center",
|
|
32190
|
+
flexShrink: 0,
|
|
32191
|
+
height: CHEVRON_SIZE3,
|
|
32192
|
+
justifyContent: "center",
|
|
32193
|
+
transform: [{ rotate: "0deg" }],
|
|
32194
|
+
width: CHEVRON_SIZE3
|
|
32195
|
+
},
|
|
32196
|
+
chevronOpen: {
|
|
32197
|
+
transform: [{ rotate: "180deg" }]
|
|
32198
|
+
},
|
|
32199
|
+
content: {
|
|
32200
|
+
paddingBottom: 16
|
|
32201
|
+
},
|
|
32202
|
+
error: {
|
|
32203
|
+
borderColor: colors.redMuted
|
|
32204
|
+
},
|
|
32205
|
+
disabled: {
|
|
32206
|
+
opacity: 0.6
|
|
32207
|
+
}
|
|
32208
|
+
});
|
|
31896
32209
|
var BADGE_SIZE = 42;
|
|
31897
32210
|
var ROW_GAP = 12;
|
|
31898
32211
|
var CONNECTOR_WIDTH = 2;
|
|
31899
32212
|
var CONNECTOR_HEIGHT = 19;
|
|
31900
32213
|
var CONNECTOR_GAP = 8;
|
|
31901
|
-
var
|
|
32214
|
+
var webBlurStyle6 = Platform.OS === "web" ? {
|
|
31902
32215
|
backdropFilter: "blur(20px)",
|
|
31903
32216
|
WebkitBackdropFilter: "blur(20px)"
|
|
31904
32217
|
} : {};
|
|
@@ -31916,18 +32229,18 @@ var StepList = forwardRef(function StepList2({ steps, style, className, accessib
|
|
|
31916
32229
|
ref: setContainerRef,
|
|
31917
32230
|
accessibilityRole: "summary",
|
|
31918
32231
|
accessibilityLabel,
|
|
31919
|
-
style: [
|
|
32232
|
+
style: [styles17.root, style],
|
|
31920
32233
|
children: steps.map((description, index) => {
|
|
31921
32234
|
const isLast = index === steps.length - 1;
|
|
31922
32235
|
const number = index + 1;
|
|
31923
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
31924
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
31925
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
32236
|
+
return /* @__PURE__ */ jsxs(View, { style: styles17.stepBlock, children: [
|
|
32237
|
+
/* @__PURE__ */ jsxs(View, { style: styles17.row, children: [
|
|
32238
|
+
/* @__PURE__ */ jsx(View, { style: [styles17.badge, webBlurStyle6], children: /* @__PURE__ */ jsx(
|
|
31926
32239
|
Text,
|
|
31927
32240
|
{
|
|
31928
32241
|
style: [
|
|
31929
|
-
|
|
31930
|
-
Platform.OS === "android" ?
|
|
32242
|
+
styles17.badgeLabel,
|
|
32243
|
+
Platform.OS === "android" ? styles17.labelAndroid : null
|
|
31931
32244
|
],
|
|
31932
32245
|
children: String(number)
|
|
31933
32246
|
}
|
|
@@ -31935,18 +32248,18 @@ var StepList = forwardRef(function StepList2({ steps, style, className, accessib
|
|
|
31935
32248
|
/* @__PURE__ */ jsx(
|
|
31936
32249
|
Text,
|
|
31937
32250
|
{
|
|
31938
|
-
style: [
|
|
32251
|
+
style: [styles17.description, Platform.OS === "android" ? styles17.labelAndroid : null],
|
|
31939
32252
|
children: description
|
|
31940
32253
|
}
|
|
31941
32254
|
)
|
|
31942
32255
|
] }),
|
|
31943
|
-
!isLast ? /* @__PURE__ */ jsx(View, { style:
|
|
32256
|
+
!isLast ? /* @__PURE__ */ jsx(View, { style: styles17.connectorSlot, children: /* @__PURE__ */ jsx(View, { style: styles17.connector }) }) : null
|
|
31944
32257
|
] }, `${number}-${description}`);
|
|
31945
32258
|
})
|
|
31946
32259
|
}
|
|
31947
32260
|
);
|
|
31948
32261
|
});
|
|
31949
|
-
var
|
|
32262
|
+
var styles17 = StyleSheet.create({
|
|
31950
32263
|
root: {
|
|
31951
32264
|
width: "100%"
|
|
31952
32265
|
},
|
|
@@ -32004,7 +32317,7 @@ var styles14 = StyleSheet.create({
|
|
|
32004
32317
|
}
|
|
32005
32318
|
});
|
|
32006
32319
|
var BUTTON_SIZE = 32;
|
|
32007
|
-
var
|
|
32320
|
+
var webBlurStyle7 = Platform.OS === "web" ? {
|
|
32008
32321
|
backdropFilter: "blur(20px)",
|
|
32009
32322
|
WebkitBackdropFilter: "blur(20px)"
|
|
32010
32323
|
} : {};
|
|
@@ -32019,6 +32332,7 @@ var Counter = forwardRef(function Counter2({
|
|
|
32019
32332
|
max,
|
|
32020
32333
|
step = 1,
|
|
32021
32334
|
disabled = false,
|
|
32335
|
+
layout = "controls-around",
|
|
32022
32336
|
style,
|
|
32023
32337
|
className,
|
|
32024
32338
|
hitSlop,
|
|
@@ -32041,43 +32355,63 @@ var Counter = forwardRef(function Counter2({
|
|
|
32041
32355
|
if (!isControlled) setUncontrolledValue(next);
|
|
32042
32356
|
onValueChange?.(next);
|
|
32043
32357
|
};
|
|
32044
|
-
|
|
32045
|
-
|
|
32046
|
-
|
|
32047
|
-
|
|
32048
|
-
|
|
32049
|
-
|
|
32050
|
-
|
|
32051
|
-
|
|
32052
|
-
|
|
32053
|
-
|
|
32054
|
-
|
|
32055
|
-
|
|
32056
|
-
|
|
32057
|
-
|
|
32058
|
-
|
|
32059
|
-
|
|
32060
|
-
|
|
32061
|
-
|
|
32062
|
-
|
|
32063
|
-
|
|
32064
|
-
|
|
32065
|
-
|
|
32066
|
-
|
|
32067
|
-
|
|
32068
|
-
|
|
32069
|
-
|
|
32070
|
-
|
|
32071
|
-
|
|
32072
|
-
|
|
32358
|
+
const decrement = /* @__PURE__ */ jsx(
|
|
32359
|
+
Pressable,
|
|
32360
|
+
{
|
|
32361
|
+
disabled: decrementDisabled,
|
|
32362
|
+
hitSlop,
|
|
32363
|
+
onPress: () => updateValue(resolvedValue - step),
|
|
32364
|
+
accessibilityRole: "button",
|
|
32365
|
+
accessibilityLabel: "Decrease value",
|
|
32366
|
+
accessibilityState: { disabled: decrementDisabled },
|
|
32367
|
+
style: [styles18.button, webBlurStyle7, decrementDisabled && styles18.buttonDisabled],
|
|
32368
|
+
children: /* @__PURE__ */ jsx(MinusIcon, {})
|
|
32369
|
+
}
|
|
32370
|
+
);
|
|
32371
|
+
const increment = /* @__PURE__ */ jsx(
|
|
32372
|
+
Pressable,
|
|
32373
|
+
{
|
|
32374
|
+
disabled: incrementDisabled,
|
|
32375
|
+
hitSlop,
|
|
32376
|
+
onPress: () => updateValue(resolvedValue + step),
|
|
32377
|
+
accessibilityRole: "button",
|
|
32378
|
+
accessibilityLabel: "Increase value",
|
|
32379
|
+
accessibilityState: { disabled: incrementDisabled },
|
|
32380
|
+
style: [styles18.button, webBlurStyle7, incrementDisabled && styles18.buttonDisabled],
|
|
32381
|
+
children: /* @__PURE__ */ jsx(PlusIcon, {})
|
|
32382
|
+
}
|
|
32383
|
+
);
|
|
32384
|
+
const valueNode = /* @__PURE__ */ jsx(Text, { style: [styles18.value, layout === "value-first" && styles18.leadingValue], children: resolvedValue });
|
|
32385
|
+
return /* @__PURE__ */ jsx(
|
|
32386
|
+
View,
|
|
32387
|
+
{
|
|
32388
|
+
...rest,
|
|
32389
|
+
ref: setContainerRef,
|
|
32390
|
+
style: [styles18.base, layout === "value-first" && styles18.valueFirst, style],
|
|
32391
|
+
children: layout === "value-first" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32392
|
+
valueNode,
|
|
32393
|
+
decrement,
|
|
32394
|
+
increment
|
|
32395
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32396
|
+
decrement,
|
|
32397
|
+
valueNode,
|
|
32398
|
+
increment
|
|
32399
|
+
] })
|
|
32400
|
+
}
|
|
32401
|
+
);
|
|
32073
32402
|
});
|
|
32074
|
-
var
|
|
32403
|
+
var styles18 = StyleSheet.create({
|
|
32075
32404
|
base: {
|
|
32076
32405
|
flexDirection: "row",
|
|
32077
32406
|
alignItems: "center",
|
|
32078
32407
|
alignSelf: "flex-start",
|
|
32079
32408
|
gap: 17
|
|
32080
32409
|
},
|
|
32410
|
+
valueFirst: {
|
|
32411
|
+
alignSelf: "stretch",
|
|
32412
|
+
flex: 1,
|
|
32413
|
+
gap: 6
|
|
32414
|
+
},
|
|
32081
32415
|
button: {
|
|
32082
32416
|
width: BUTTON_SIZE,
|
|
32083
32417
|
height: BUTTON_SIZE,
|
|
@@ -32093,9 +32427,128 @@ var styles15 = StyleSheet.create({
|
|
|
32093
32427
|
value: {
|
|
32094
32428
|
...counterTypography,
|
|
32095
32429
|
color: colors.white
|
|
32430
|
+
},
|
|
32431
|
+
leadingValue: {
|
|
32432
|
+
flex: 1
|
|
32433
|
+
}
|
|
32434
|
+
});
|
|
32435
|
+
var QuantityInput = forwardRef(
|
|
32436
|
+
function QuantityInput2({
|
|
32437
|
+
label,
|
|
32438
|
+
icon: Icon2,
|
|
32439
|
+
iconProps,
|
|
32440
|
+
iconSize = 20,
|
|
32441
|
+
value,
|
|
32442
|
+
defaultValue,
|
|
32443
|
+
onValueChange,
|
|
32444
|
+
min = 1,
|
|
32445
|
+
max,
|
|
32446
|
+
step = 1,
|
|
32447
|
+
disabled = false,
|
|
32448
|
+
error = false,
|
|
32449
|
+
hint,
|
|
32450
|
+
showHint = true,
|
|
32451
|
+
style,
|
|
32452
|
+
className,
|
|
32453
|
+
accessibilityLabel,
|
|
32454
|
+
...rest
|
|
32455
|
+
}, forwardedRef) {
|
|
32456
|
+
const rootRef = useRef(null);
|
|
32457
|
+
const setRootRef = useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
32458
|
+
useApplyWebClassName(rootRef, className?.trim() || void 0);
|
|
32459
|
+
return /* @__PURE__ */ jsxs(
|
|
32460
|
+
View,
|
|
32461
|
+
{
|
|
32462
|
+
...rest,
|
|
32463
|
+
ref: setRootRef,
|
|
32464
|
+
accessibilityLabel: accessibilityLabel ?? label,
|
|
32465
|
+
accessibilityState: { disabled },
|
|
32466
|
+
style: [styles19.root, disabled && styles19.disabled, style],
|
|
32467
|
+
children: [
|
|
32468
|
+
/* @__PURE__ */ jsx(Text, { style: [styles19.label, error && styles19.errorText], children: label }),
|
|
32469
|
+
/* @__PURE__ */ jsxs(View, { style: [styles19.field, error && styles19.errorField], children: [
|
|
32470
|
+
/* @__PURE__ */ jsx(View, { style: styles19.iconSlot, children: /* @__PURE__ */ jsx(
|
|
32471
|
+
Icon2,
|
|
32472
|
+
{
|
|
32473
|
+
...iconProps,
|
|
32474
|
+
color: iconProps?.color ?? (error ? colors.red : colors.grey150),
|
|
32475
|
+
size: iconSize
|
|
32476
|
+
}
|
|
32477
|
+
) }),
|
|
32478
|
+
/* @__PURE__ */ jsx(
|
|
32479
|
+
Counter,
|
|
32480
|
+
{
|
|
32481
|
+
defaultValue,
|
|
32482
|
+
disabled,
|
|
32483
|
+
layout: "value-first",
|
|
32484
|
+
max,
|
|
32485
|
+
min,
|
|
32486
|
+
onValueChange,
|
|
32487
|
+
step,
|
|
32488
|
+
value
|
|
32489
|
+
}
|
|
32490
|
+
)
|
|
32491
|
+
] }),
|
|
32492
|
+
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [styles19.hint, error && styles19.errorText], children: hint }) : null
|
|
32493
|
+
]
|
|
32494
|
+
}
|
|
32495
|
+
);
|
|
32496
|
+
}
|
|
32497
|
+
);
|
|
32498
|
+
var styles19 = StyleSheet.create({
|
|
32499
|
+
root: {
|
|
32500
|
+
alignSelf: "stretch",
|
|
32501
|
+
flexDirection: "column",
|
|
32502
|
+
gap: 8,
|
|
32503
|
+
minWidth: 0
|
|
32504
|
+
},
|
|
32505
|
+
label: {
|
|
32506
|
+
color: colors.white,
|
|
32507
|
+
fontFamily: fonts.sans,
|
|
32508
|
+
fontSize: 12,
|
|
32509
|
+
fontWeight: "500",
|
|
32510
|
+
letterSpacing: -0.24,
|
|
32511
|
+
lineHeight: 12
|
|
32512
|
+
},
|
|
32513
|
+
field: {
|
|
32514
|
+
alignItems: "center",
|
|
32515
|
+
alignSelf: "stretch",
|
|
32516
|
+
backgroundColor: colors.grey700,
|
|
32517
|
+
borderColor: colors.grey700,
|
|
32518
|
+
borderRadius: 60,
|
|
32519
|
+
borderWidth: 1,
|
|
32520
|
+
flexDirection: "row",
|
|
32521
|
+
gap: 10,
|
|
32522
|
+
height: 44,
|
|
32523
|
+
paddingLeft: 16,
|
|
32524
|
+
paddingRight: 6,
|
|
32525
|
+
paddingVertical: 5
|
|
32526
|
+
},
|
|
32527
|
+
iconSlot: {
|
|
32528
|
+
alignItems: "center",
|
|
32529
|
+
flexShrink: 0,
|
|
32530
|
+
height: 20,
|
|
32531
|
+
justifyContent: "center",
|
|
32532
|
+
width: 20
|
|
32533
|
+
},
|
|
32534
|
+
hint: {
|
|
32535
|
+
color: colors.grey100,
|
|
32536
|
+
fontFamily: fonts.sans,
|
|
32537
|
+
fontSize: 12,
|
|
32538
|
+
fontWeight: "400",
|
|
32539
|
+
lineHeight: 12
|
|
32540
|
+
},
|
|
32541
|
+
errorField: {
|
|
32542
|
+
borderColor: colors.redMuted
|
|
32543
|
+
},
|
|
32544
|
+
errorText: {
|
|
32545
|
+
color: colors.red
|
|
32546
|
+
},
|
|
32547
|
+
disabled: {
|
|
32548
|
+
opacity: 0.6
|
|
32096
32549
|
}
|
|
32097
32550
|
});
|
|
32098
|
-
var
|
|
32551
|
+
var ICON_SIZE8 = 20;
|
|
32099
32552
|
var ANIMATION_DURATION2 = 200;
|
|
32100
32553
|
var OPTION_HORIZONTAL_PADDING = 16;
|
|
32101
32554
|
var OPTION_CONTENT_GAP = 12;
|
|
@@ -32191,14 +32644,14 @@ var SegmentedToggle = forwardRef(
|
|
|
32191
32644
|
onLayout?.(event);
|
|
32192
32645
|
},
|
|
32193
32646
|
style: [
|
|
32194
|
-
|
|
32195
|
-
fullWidth ?
|
|
32196
|
-
disabled &&
|
|
32647
|
+
styles20.base,
|
|
32648
|
+
fullWidth ? styles20.fullWidth : styles20.contentWidth,
|
|
32649
|
+
disabled && styles20.disabled,
|
|
32197
32650
|
style
|
|
32198
32651
|
],
|
|
32199
32652
|
accessibilityRole: "radiogroup",
|
|
32200
32653
|
children: [
|
|
32201
|
-
!fullWidth ? options.map(({ value: optionValue, label, icon: Icon2 }, index) => /* @__PURE__ */ jsxs(
|
|
32654
|
+
!fullWidth ? options.map(({ value: optionValue, label, icon: Icon2, showLabel = true }, index) => /* @__PURE__ */ jsxs(
|
|
32202
32655
|
View,
|
|
32203
32656
|
{
|
|
32204
32657
|
pointerEvents: "none",
|
|
@@ -32214,10 +32667,10 @@ var SegmentedToggle = forwardRef(
|
|
|
32214
32667
|
return nextWidths;
|
|
32215
32668
|
});
|
|
32216
32669
|
},
|
|
32217
|
-
style:
|
|
32670
|
+
style: styles20.optionMeasurement,
|
|
32218
32671
|
children: [
|
|
32219
|
-
Icon2 ? /* @__PURE__ */ jsx(Icon2, { size:
|
|
32220
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
32672
|
+
Icon2 ? /* @__PURE__ */ jsx(Icon2, { size: ICON_SIZE8 }) : null,
|
|
32673
|
+
showLabel ? /* @__PURE__ */ jsx(Text, { style: [styles20.label, styles20.contentWidthLabel], children: label }) : null
|
|
32221
32674
|
]
|
|
32222
32675
|
},
|
|
32223
32676
|
`${optionValue}-measurement`
|
|
@@ -32227,12 +32680,12 @@ var SegmentedToggle = forwardRef(
|
|
|
32227
32680
|
{
|
|
32228
32681
|
pointerEvents: "none",
|
|
32229
32682
|
style: [
|
|
32230
|
-
|
|
32683
|
+
styles20.activeIndicator,
|
|
32231
32684
|
{ width: selectedOptionWidth, transform: [{ translateX: indicatorTranslateX }] }
|
|
32232
32685
|
]
|
|
32233
32686
|
}
|
|
32234
32687
|
) : null,
|
|
32235
|
-
options.map(({ value: optionValue, label, icon: Icon2 }, index) => {
|
|
32688
|
+
options.map(({ value: optionValue, label, icon: Icon2, showLabel = true }, index) => {
|
|
32236
32689
|
const selected = optionValue === selectedValue;
|
|
32237
32690
|
const iconColor = selected ? colors.primary : colors.whiteAlpha20;
|
|
32238
32691
|
const labelColor = selected ? colors.whiteAlpha86 : colors.whiteAlpha40;
|
|
@@ -32247,23 +32700,23 @@ var SegmentedToggle = forwardRef(
|
|
|
32247
32700
|
accessibilityLabel: label,
|
|
32248
32701
|
accessibilityState: { selected, disabled },
|
|
32249
32702
|
style: [
|
|
32250
|
-
|
|
32251
|
-
fullWidth ?
|
|
32703
|
+
styles20.option,
|
|
32704
|
+
fullWidth ? styles20.optionFullWidth : [styles20.optionContentWidth, optionWidth > 0 && { width: optionWidth }]
|
|
32252
32705
|
],
|
|
32253
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
32254
|
-
Icon2 ? /* @__PURE__ */ jsx(Icon2, { size:
|
|
32255
|
-
/* @__PURE__ */ jsx(
|
|
32706
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles20.optionContent, children: [
|
|
32707
|
+
Icon2 ? /* @__PURE__ */ jsx(Icon2, { size: ICON_SIZE8, color: iconColor }) : null,
|
|
32708
|
+
showLabel ? /* @__PURE__ */ jsx(
|
|
32256
32709
|
Text,
|
|
32257
32710
|
{
|
|
32258
32711
|
numberOfLines: fullWidth ? 1 : void 0,
|
|
32259
32712
|
style: [
|
|
32260
|
-
|
|
32261
|
-
!fullWidth &&
|
|
32713
|
+
styles20.label,
|
|
32714
|
+
!fullWidth && styles20.contentWidthLabel,
|
|
32262
32715
|
{ color: labelColor }
|
|
32263
32716
|
],
|
|
32264
32717
|
children: label
|
|
32265
32718
|
}
|
|
32266
|
-
)
|
|
32719
|
+
) : null
|
|
32267
32720
|
] })
|
|
32268
32721
|
},
|
|
32269
32722
|
optionValue
|
|
@@ -32274,7 +32727,7 @@ var SegmentedToggle = forwardRef(
|
|
|
32274
32727
|
);
|
|
32275
32728
|
}
|
|
32276
32729
|
);
|
|
32277
|
-
var
|
|
32730
|
+
var styles20 = StyleSheet.create({
|
|
32278
32731
|
base: {
|
|
32279
32732
|
height: 44,
|
|
32280
32733
|
flexDirection: "row",
|
|
@@ -32402,16 +32855,16 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32402
32855
|
{
|
|
32403
32856
|
...rest,
|
|
32404
32857
|
ref: setContainerRef,
|
|
32405
|
-
style: [
|
|
32858
|
+
style: [styles21.root, { width: widthAnim }, style],
|
|
32406
32859
|
accessibilityRole: "menu",
|
|
32407
32860
|
children: [
|
|
32408
32861
|
/* @__PURE__ */ jsxs(
|
|
32409
32862
|
View,
|
|
32410
32863
|
{
|
|
32411
32864
|
style: [
|
|
32412
|
-
|
|
32413
|
-
collapsed ?
|
|
32414
|
-
!showCollapseToggle && !onClose ?
|
|
32865
|
+
styles21.header,
|
|
32866
|
+
collapsed ? styles21.headerCollapsed : styles21.headerExpanded,
|
|
32867
|
+
!showCollapseToggle && !onClose ? styles21.headerNoToggle : null
|
|
32415
32868
|
],
|
|
32416
32869
|
children: [
|
|
32417
32870
|
/* @__PURE__ */ jsx(
|
|
@@ -32419,7 +32872,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32419
32872
|
{
|
|
32420
32873
|
pointerEvents: collapsed ? "none" : "auto",
|
|
32421
32874
|
style: [
|
|
32422
|
-
|
|
32875
|
+
styles21.logoSlot,
|
|
32423
32876
|
{
|
|
32424
32877
|
opacity: labelOpacity,
|
|
32425
32878
|
maxWidth: collapsed ? 0 : LOGO_WIDTH
|
|
@@ -32445,7 +32898,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32445
32898
|
accessibilityLabel: closeAccessibilityLabel,
|
|
32446
32899
|
hitSlop: 8,
|
|
32447
32900
|
onPress: onClose,
|
|
32448
|
-
style:
|
|
32901
|
+
style: styles21.toggleButton,
|
|
32449
32902
|
children: /* @__PURE__ */ jsx(CloseIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
32450
32903
|
}
|
|
32451
32904
|
) : showCollapseToggle ? /* @__PURE__ */ jsx(
|
|
@@ -32456,7 +32909,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32456
32909
|
accessibilityState: { expanded: !collapsed },
|
|
32457
32910
|
hitSlop: 8,
|
|
32458
32911
|
onPress: () => setCollapsed(!collapsed),
|
|
32459
|
-
style:
|
|
32912
|
+
style: styles21.toggleButton,
|
|
32460
32913
|
children: /* @__PURE__ */ jsx(SidebarIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
32461
32914
|
}
|
|
32462
32915
|
) : null
|
|
@@ -32468,7 +32921,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32468
32921
|
{
|
|
32469
32922
|
accessibilityLabel: navigationAccessibilityLabel,
|
|
32470
32923
|
accessibilityRole: "menu",
|
|
32471
|
-
style:
|
|
32924
|
+
style: styles21.nav,
|
|
32472
32925
|
children: items.map((item) => {
|
|
32473
32926
|
const isActive = Boolean(item.active);
|
|
32474
32927
|
const iconColor = isActive ? colors.primary : colors.grey300;
|
|
@@ -32484,18 +32937,18 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32484
32937
|
hoverColor: colors.grey700,
|
|
32485
32938
|
onPress: item.onPress,
|
|
32486
32939
|
labelStyle: [
|
|
32487
|
-
|
|
32940
|
+
styles21.menuLabel,
|
|
32488
32941
|
{ color: isActive ? colors.white : colors.grey200 },
|
|
32489
|
-
collapsed ?
|
|
32942
|
+
collapsed ? styles21.menuLabelCollapsed : styles21.menuLabelExpanded
|
|
32490
32943
|
],
|
|
32491
|
-
style: [
|
|
32944
|
+
style: [styles21.menuItem, collapsed ? styles21.menuItemCollapsed : null]
|
|
32492
32945
|
},
|
|
32493
32946
|
item.key
|
|
32494
32947
|
);
|
|
32495
32948
|
})
|
|
32496
32949
|
}
|
|
32497
32950
|
),
|
|
32498
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
32951
|
+
/* @__PURE__ */ jsx(View, { style: [styles21.footer, collapsed ? styles21.footerCollapsed : styles21.footerExpanded], children: /* @__PURE__ */ jsx(
|
|
32499
32952
|
AvatarSimple,
|
|
32500
32953
|
{
|
|
32501
32954
|
name: user.name,
|
|
@@ -32510,7 +32963,7 @@ var Sidebar = forwardRef(function Sidebar2({
|
|
|
32510
32963
|
}
|
|
32511
32964
|
);
|
|
32512
32965
|
});
|
|
32513
|
-
var
|
|
32966
|
+
var styles21 = StyleSheet.create({
|
|
32514
32967
|
root: {
|
|
32515
32968
|
flexDirection: "column",
|
|
32516
32969
|
alignSelf: "stretch",
|
|
@@ -32615,7 +33068,7 @@ var defaultLanguageOptions = [
|
|
|
32615
33068
|
];
|
|
32616
33069
|
var CONTROL_WIDTH = 90;
|
|
32617
33070
|
var CONTROL_HEIGHT = 35;
|
|
32618
|
-
var
|
|
33071
|
+
var ICON_SIZE9 = 16;
|
|
32619
33072
|
var ICON_BUTTON_SIZE2 = 32;
|
|
32620
33073
|
var ICON_MENU_WIDTH = 67;
|
|
32621
33074
|
var ICON_MENU_HEIGHT = 129;
|
|
@@ -32704,11 +33157,11 @@ var LanguageSwitcher = forwardRef(
|
|
|
32704
33157
|
...rest,
|
|
32705
33158
|
ref: setWrapperRef,
|
|
32706
33159
|
style: [
|
|
32707
|
-
|
|
32708
|
-
isIconVariant ?
|
|
32709
|
-
isOpen &&
|
|
32710
|
-
isOpen && isIconVariant &&
|
|
32711
|
-
disabled &&
|
|
33160
|
+
styles22.wrapper,
|
|
33161
|
+
isIconVariant ? styles22.wrapperIcon : styles22.wrapperDefault,
|
|
33162
|
+
isOpen && styles22.wrapperOpen,
|
|
33163
|
+
isOpen && isIconVariant && styles22.wrapperOpenIcon,
|
|
33164
|
+
disabled && styles22.disabled,
|
|
32712
33165
|
style
|
|
32713
33166
|
],
|
|
32714
33167
|
children: [
|
|
@@ -32725,14 +33178,14 @@ var LanguageSwitcher = forwardRef(
|
|
|
32725
33178
|
onHoverIn: () => setTriggerHovered(true),
|
|
32726
33179
|
onHoverOut: () => setTriggerHovered(false),
|
|
32727
33180
|
style: ({ pressed }) => [
|
|
32728
|
-
isIconVariant ?
|
|
32729
|
-
!isIconVariant && (triggerHovered || pressed || isOpen) &&
|
|
33181
|
+
isIconVariant ? styles22.triggerIcon : styles22.trigger,
|
|
33182
|
+
!isIconVariant && (triggerHovered || pressed || isOpen) && styles22.triggerActive
|
|
32730
33183
|
],
|
|
32731
33184
|
children: [
|
|
32732
|
-
/* @__PURE__ */ jsx(GlobeIcon, { size:
|
|
33185
|
+
/* @__PURE__ */ jsx(GlobeIcon, { size: ICON_SIZE9, color: colors.white, strokeWidth: isIconVariant ? 1.5 : 2 }),
|
|
32733
33186
|
!isIconVariant ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32734
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
32735
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
33187
|
+
/* @__PURE__ */ jsx(Text, { style: styles22.triggerLabel, numberOfLines: 1, children: selectedOption?.label ?? "" }),
|
|
33188
|
+
/* @__PURE__ */ jsx(View, { style: [styles22.chevron, isOpen && styles22.chevronOpen], children: /* @__PURE__ */ jsx(ChevronDownIcon, { size: ICON_SIZE9, color: colors.white, strokeWidth: 2 }) })
|
|
32736
33189
|
] }) : null
|
|
32737
33190
|
]
|
|
32738
33191
|
}
|
|
@@ -32740,7 +33193,7 @@ var LanguageSwitcher = forwardRef(
|
|
|
32740
33193
|
isOpen && options.length > 0 ? /* @__PURE__ */ jsx(
|
|
32741
33194
|
View,
|
|
32742
33195
|
{
|
|
32743
|
-
style: [
|
|
33196
|
+
style: [styles22.menu, isIconVariant ? styles22.menuIcon : styles22.menuDefault],
|
|
32744
33197
|
accessibilityRole: "menu",
|
|
32745
33198
|
children: options.map((option) => {
|
|
32746
33199
|
const selected = option.value === selectedValue;
|
|
@@ -32754,16 +33207,16 @@ var LanguageSwitcher = forwardRef(
|
|
|
32754
33207
|
onHoverIn: () => setHoveredValue(option.value),
|
|
32755
33208
|
onHoverOut: () => setHoveredValue(null),
|
|
32756
33209
|
style: ({ pressed }) => [
|
|
32757
|
-
|
|
32758
|
-
isIconVariant ?
|
|
32759
|
-
selected ? isIconVariant ?
|
|
33210
|
+
styles22.item,
|
|
33211
|
+
isIconVariant ? styles22.itemIcon : null,
|
|
33212
|
+
selected ? isIconVariant ? styles22.itemSelectedIcon : styles22.itemSelected : (hoveredValue === option.value || pressed) && styles22.itemHovered
|
|
32760
33213
|
],
|
|
32761
33214
|
children: /* @__PURE__ */ jsx(
|
|
32762
33215
|
Text,
|
|
32763
33216
|
{
|
|
32764
33217
|
style: [
|
|
32765
|
-
|
|
32766
|
-
selected && (isIconVariant ?
|
|
33218
|
+
styles22.itemLabel,
|
|
33219
|
+
selected && (isIconVariant ? styles22.itemLabelSelectedIcon : styles22.itemLabelSelected)
|
|
32767
33220
|
],
|
|
32768
33221
|
children: option.label
|
|
32769
33222
|
}
|
|
@@ -32779,7 +33232,7 @@ var LanguageSwitcher = forwardRef(
|
|
|
32779
33232
|
);
|
|
32780
33233
|
}
|
|
32781
33234
|
);
|
|
32782
|
-
var
|
|
33235
|
+
var styles22 = StyleSheet.create({
|
|
32783
33236
|
wrapper: {
|
|
32784
33237
|
position: "relative",
|
|
32785
33238
|
alignSelf: "flex-start"
|
|
@@ -32831,8 +33284,8 @@ var styles18 = StyleSheet.create({
|
|
|
32831
33284
|
color: colors.white
|
|
32832
33285
|
},
|
|
32833
33286
|
chevron: {
|
|
32834
|
-
width:
|
|
32835
|
-
height:
|
|
33287
|
+
width: ICON_SIZE9,
|
|
33288
|
+
height: ICON_SIZE9,
|
|
32836
33289
|
flexShrink: 0,
|
|
32837
33290
|
alignItems: "center",
|
|
32838
33291
|
justifyContent: "center"
|
|
@@ -32900,12 +33353,12 @@ var styles18 = StyleSheet.create({
|
|
|
32900
33353
|
color: colors.primary
|
|
32901
33354
|
}
|
|
32902
33355
|
});
|
|
32903
|
-
var
|
|
33356
|
+
var ICON_SIZE10 = 25.63181;
|
|
32904
33357
|
var StatCard = forwardRef(function StatCard2({
|
|
32905
33358
|
label,
|
|
32906
33359
|
icon: Icon2,
|
|
32907
33360
|
iconProps,
|
|
32908
|
-
iconSize =
|
|
33361
|
+
iconSize = ICON_SIZE10,
|
|
32909
33362
|
style,
|
|
32910
33363
|
className,
|
|
32911
33364
|
accessibilityLabel,
|
|
@@ -32920,17 +33373,17 @@ var StatCard = forwardRef(function StatCard2({
|
|
|
32920
33373
|
{
|
|
32921
33374
|
...rest,
|
|
32922
33375
|
ref: setContainerRef,
|
|
32923
|
-
style: [
|
|
33376
|
+
style: [styles23.base, style],
|
|
32924
33377
|
accessibilityRole: "text",
|
|
32925
33378
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
32926
33379
|
children: [
|
|
32927
33380
|
/* @__PURE__ */ jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }),
|
|
32928
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
33381
|
+
/* @__PURE__ */ jsx(Text, { style: styles23.label, children: label })
|
|
32929
33382
|
]
|
|
32930
33383
|
}
|
|
32931
33384
|
);
|
|
32932
33385
|
});
|
|
32933
|
-
var
|
|
33386
|
+
var styles23 = StyleSheet.create({
|
|
32934
33387
|
base: {
|
|
32935
33388
|
width: 204.5,
|
|
32936
33389
|
minHeight: 114,
|
|
@@ -33042,7 +33495,7 @@ var Button = forwardRef(
|
|
|
33042
33495
|
useApplyWebClassName(textRef, textClassName);
|
|
33043
33496
|
const iconNode = customIcon ?? /* @__PURE__ */ jsx(ArrowRightIcon, { size: metrics.iconSize, color: preset.iconColor });
|
|
33044
33497
|
const containerStyle = [
|
|
33045
|
-
|
|
33498
|
+
styles24.base,
|
|
33046
33499
|
{
|
|
33047
33500
|
minHeight: metrics.minHeight,
|
|
33048
33501
|
height: variant === "danger" ? 33 : void 0,
|
|
@@ -33054,16 +33507,16 @@ var Button = forwardRef(
|
|
|
33054
33507
|
paddingRight: hasIcon ? metrics.paddingRightWithIcon : metrics.paddingRight,
|
|
33055
33508
|
gap: hasIcon ? metrics.gap : 0
|
|
33056
33509
|
},
|
|
33057
|
-
hasIcon ?
|
|
33058
|
-
disabled &&
|
|
33510
|
+
hasIcon ? styles24.contentWithIcon : styles24.contentWithoutIcon,
|
|
33511
|
+
disabled && styles24.disabled,
|
|
33059
33512
|
style
|
|
33060
33513
|
];
|
|
33061
33514
|
const labelStyle = [
|
|
33062
|
-
|
|
33515
|
+
styles24.label,
|
|
33063
33516
|
metrics.text,
|
|
33064
33517
|
{ color: preset.textColor },
|
|
33065
|
-
Platform.OS === "android" ?
|
|
33066
|
-
!hasIcon &&
|
|
33518
|
+
Platform.OS === "android" ? styles24.labelAndroid : null,
|
|
33519
|
+
!hasIcon && styles24.labelCentered,
|
|
33067
33520
|
textStyle
|
|
33068
33521
|
];
|
|
33069
33522
|
return /* @__PURE__ */ jsxs(
|
|
@@ -33084,7 +33537,7 @@ var Button = forwardRef(
|
|
|
33084
33537
|
View,
|
|
33085
33538
|
{
|
|
33086
33539
|
style: [
|
|
33087
|
-
|
|
33540
|
+
styles24.iconContainer,
|
|
33088
33541
|
{
|
|
33089
33542
|
width: metrics.iconContainerSize,
|
|
33090
33543
|
height: metrics.iconContainerSize,
|
|
@@ -33100,7 +33553,7 @@ var Button = forwardRef(
|
|
|
33100
33553
|
);
|
|
33101
33554
|
}
|
|
33102
33555
|
);
|
|
33103
|
-
var
|
|
33556
|
+
var styles24 = StyleSheet.create({
|
|
33104
33557
|
base: {
|
|
33105
33558
|
flexDirection: "row",
|
|
33106
33559
|
alignItems: "center",
|
|
@@ -33184,13 +33637,13 @@ var Checkbox = forwardRef(function Checkbox2({
|
|
|
33184
33637
|
accessibilityRole: "checkbox",
|
|
33185
33638
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
33186
33639
|
accessibilityState: { checked: isActive, disabled },
|
|
33187
|
-
style: [
|
|
33640
|
+
style: [styles25.root, disabled && styles25.disabled, style],
|
|
33188
33641
|
children: [
|
|
33189
33642
|
/* @__PURE__ */ jsx(
|
|
33190
33643
|
View,
|
|
33191
33644
|
{
|
|
33192
33645
|
style: [
|
|
33193
|
-
|
|
33646
|
+
styles25.box,
|
|
33194
33647
|
{
|
|
33195
33648
|
backgroundColor: chrome.backgroundColor,
|
|
33196
33649
|
borderColor: chrome.borderColor
|
|
@@ -33199,12 +33652,12 @@ var Checkbox = forwardRef(function Checkbox2({
|
|
|
33199
33652
|
children: isActive ? /* @__PURE__ */ jsx(CheckIcon, { size: CHECK_SIZE, color: colors.primary, strokeWidth: CHECK_STROKE }) : null
|
|
33200
33653
|
}
|
|
33201
33654
|
),
|
|
33202
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsx(Text, { style: [
|
|
33655
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsx(Text, { style: [styles25.label, labelStyle], children: labelContent }) : labelContent : null
|
|
33203
33656
|
]
|
|
33204
33657
|
}
|
|
33205
33658
|
);
|
|
33206
33659
|
});
|
|
33207
|
-
var
|
|
33660
|
+
var styles25 = StyleSheet.create({
|
|
33208
33661
|
root: {
|
|
33209
33662
|
flexDirection: "row",
|
|
33210
33663
|
alignItems: "center",
|
|
@@ -33324,7 +33777,7 @@ var TRIGGER_HEIGHT = 44;
|
|
|
33324
33777
|
var TRIGGER_RADIUS = 60;
|
|
33325
33778
|
var MENU_RADIUS2 = 20;
|
|
33326
33779
|
var MENU_PADDING = 12;
|
|
33327
|
-
var
|
|
33780
|
+
var ICON_SIZE11 = 20;
|
|
33328
33781
|
var NAV_ICON_SIZE = 20;
|
|
33329
33782
|
var HEADER_HEIGHT3 = 36;
|
|
33330
33783
|
var WEEKDAY_ROW_HEIGHT = 44;
|
|
@@ -33339,13 +33792,13 @@ function RangeTriggerField({
|
|
|
33339
33792
|
value,
|
|
33340
33793
|
time
|
|
33341
33794
|
}) {
|
|
33342
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
33343
|
-
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style:
|
|
33344
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
33345
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
33346
|
-
time ? /* @__PURE__ */ jsxs(View, { style:
|
|
33795
|
+
return /* @__PURE__ */ jsxs(View, { style: styles26.rangeField, children: [
|
|
33796
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles26.rangeLabel, children: label }),
|
|
33797
|
+
/* @__PURE__ */ jsxs(View, { style: styles26.rangeValueRow, children: [
|
|
33798
|
+
/* @__PURE__ */ jsx(Text, { style: styles26.rangeDate, children: value }),
|
|
33799
|
+
time ? /* @__PURE__ */ jsxs(View, { style: styles26.rangeTimeWrap, children: [
|
|
33347
33800
|
/* @__PURE__ */ jsx(ClockFilledIcon, { color: colors.lightGrey, size: 16 }),
|
|
33348
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
33801
|
+
/* @__PURE__ */ jsx(Text, { style: styles26.rangeTime, children: time })
|
|
33349
33802
|
] }) : null
|
|
33350
33803
|
] })
|
|
33351
33804
|
] });
|
|
@@ -33535,15 +33988,15 @@ var DatePicker = forwardRef(
|
|
|
33535
33988
|
...rest,
|
|
33536
33989
|
ref: setRootRef,
|
|
33537
33990
|
style: [
|
|
33538
|
-
|
|
33539
|
-
usesRangeTrigger &&
|
|
33540
|
-
hideTrigger &&
|
|
33541
|
-
isOpen &&
|
|
33542
|
-
disabled &&
|
|
33991
|
+
styles26.root,
|
|
33992
|
+
usesRangeTrigger && styles26.rangeRoot,
|
|
33993
|
+
hideTrigger && styles26.rootHideTrigger,
|
|
33994
|
+
isOpen && styles26.rootOpen,
|
|
33995
|
+
disabled && styles26.disabled,
|
|
33543
33996
|
style
|
|
33544
33997
|
],
|
|
33545
33998
|
accessibilityState: { disabled, expanded: isOpen },
|
|
33546
|
-
children: /* @__PURE__ */ jsxs(View, { style: [
|
|
33999
|
+
children: /* @__PURE__ */ jsxs(View, { style: [styles26.triggerWrap, isOpen && styles26.triggerWrapOpen], children: [
|
|
33547
34000
|
hideTrigger ? null : /* @__PURE__ */ jsx(
|
|
33548
34001
|
Pressable,
|
|
33549
34002
|
{
|
|
@@ -33554,9 +34007,9 @@ var DatePicker = forwardRef(
|
|
|
33554
34007
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
33555
34008
|
accessibilityState: { disabled, expanded: isOpen },
|
|
33556
34009
|
style: [
|
|
33557
|
-
|
|
33558
|
-
usesRangeTrigger &&
|
|
33559
|
-
usesRangeTrigger && (usesVerticalRangeTrigger ?
|
|
34010
|
+
styles26.trigger,
|
|
34011
|
+
usesRangeTrigger && styles26.rangeTrigger,
|
|
34012
|
+
usesRangeTrigger && (usesVerticalRangeTrigger ? styles26.rangeTriggerVertical : styles26.rangeTriggerHorizontal),
|
|
33560
34013
|
{
|
|
33561
34014
|
borderColor: triggerBorderColor,
|
|
33562
34015
|
backgroundColor: usesRangeTrigger ? "transparent" : colors.grey700
|
|
@@ -33567,13 +34020,13 @@ var DatePicker = forwardRef(
|
|
|
33567
34020
|
/* @__PURE__ */ jsx(
|
|
33568
34021
|
View,
|
|
33569
34022
|
{
|
|
33570
|
-
style: usesVerticalRangeTrigger ?
|
|
34023
|
+
style: usesVerticalRangeTrigger ? styles26.rangeDividerVertical : styles26.rangeDividerHorizontal
|
|
33571
34024
|
}
|
|
33572
34025
|
),
|
|
33573
34026
|
/* @__PURE__ */ jsx(RangeTriggerField, { label: endLabel, time: endTime, value: endValue })
|
|
33574
34027
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
33575
|
-
/* @__PURE__ */ jsx(Text, { style: [
|
|
33576
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
34028
|
+
/* @__PURE__ */ jsx(Text, { style: [styles26.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: triggerLabel }),
|
|
34029
|
+
/* @__PURE__ */ jsx(View, { style: styles26.iconSlot, children: /* @__PURE__ */ jsx(CalendarOutlineIcon, { size: ICON_SIZE11, color: colors.grey100 }) })
|
|
33577
34030
|
] })
|
|
33578
34031
|
}
|
|
33579
34032
|
),
|
|
@@ -33581,13 +34034,13 @@ var DatePicker = forwardRef(
|
|
|
33581
34034
|
View,
|
|
33582
34035
|
{
|
|
33583
34036
|
style: [
|
|
33584
|
-
|
|
33585
|
-
usesRangeTrigger &&
|
|
33586
|
-
hideTrigger ?
|
|
34037
|
+
styles26.menu,
|
|
34038
|
+
usesRangeTrigger && styles26.rangeMenu,
|
|
34039
|
+
hideTrigger ? styles26.menuInline : menuAlignEnd ? styles26.menuAlignEnd : styles26.menuAlignStart,
|
|
33587
34040
|
calendarStyle
|
|
33588
34041
|
],
|
|
33589
34042
|
children: [
|
|
33590
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
34043
|
+
/* @__PURE__ */ jsxs(View, { style: styles26.calendarHeader, children: [
|
|
33591
34044
|
/* @__PURE__ */ jsx(
|
|
33592
34045
|
Pressable,
|
|
33593
34046
|
{
|
|
@@ -33595,11 +34048,11 @@ var DatePicker = forwardRef(
|
|
|
33595
34048
|
hitSlop: 8,
|
|
33596
34049
|
accessibilityRole: "button",
|
|
33597
34050
|
accessibilityLabel: "Previous month",
|
|
33598
|
-
style:
|
|
34051
|
+
style: styles26.navButton,
|
|
33599
34052
|
children: /* @__PURE__ */ jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white })
|
|
33600
34053
|
}
|
|
33601
34054
|
),
|
|
33602
|
-
/* @__PURE__ */ jsxs(Text, { style:
|
|
34055
|
+
/* @__PURE__ */ jsxs(Text, { style: styles26.monthHeading, children: [
|
|
33603
34056
|
monthNames[visibleMonth.getMonth()],
|
|
33604
34057
|
" ",
|
|
33605
34058
|
visibleMonth.getFullYear()
|
|
@@ -33611,13 +34064,13 @@ var DatePicker = forwardRef(
|
|
|
33611
34064
|
hitSlop: 8,
|
|
33612
34065
|
accessibilityRole: "button",
|
|
33613
34066
|
accessibilityLabel: "Next month",
|
|
33614
|
-
style:
|
|
33615
|
-
children: /* @__PURE__ */ jsx(View, { style:
|
|
34067
|
+
style: styles26.navButton,
|
|
34068
|
+
children: /* @__PURE__ */ jsx(View, { style: styles26.navIconMirror, children: /* @__PURE__ */ jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white }) })
|
|
33616
34069
|
}
|
|
33617
34070
|
)
|
|
33618
34071
|
] }),
|
|
33619
34072
|
/* @__PURE__ */ jsxs(View, { children: [
|
|
33620
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
34073
|
+
/* @__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}`)) }),
|
|
33621
34074
|
weeks.map((week, weekIndex) => {
|
|
33622
34075
|
let rangeHighlightStyle = null;
|
|
33623
34076
|
if (isRange && rangeValue.start && rangeValue.end) {
|
|
@@ -33654,13 +34107,13 @@ var DatePicker = forwardRef(
|
|
|
33654
34107
|
return /* @__PURE__ */ jsxs(
|
|
33655
34108
|
View,
|
|
33656
34109
|
{
|
|
33657
|
-
style: [
|
|
34110
|
+
style: [styles26.weekRow, weekIndex > 0 && styles26.weekRowSpaced],
|
|
33658
34111
|
children: [
|
|
33659
34112
|
rangeHighlightStyle ? /* @__PURE__ */ jsx(
|
|
33660
34113
|
View,
|
|
33661
34114
|
{
|
|
33662
34115
|
pointerEvents: "none",
|
|
33663
|
-
style: [
|
|
34116
|
+
style: [styles26.rangeHighlight, rangeHighlightStyle]
|
|
33664
34117
|
}
|
|
33665
34118
|
) : null,
|
|
33666
34119
|
week.map((day, dayIndex) => {
|
|
@@ -33683,7 +34136,7 @@ var DatePicker = forwardRef(
|
|
|
33683
34136
|
onHoverOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
33684
34137
|
onPressIn: () => setHoveredDayKey(dayKey),
|
|
33685
34138
|
onPressOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
33686
|
-
style:
|
|
34139
|
+
style: styles26.dayCellWrap,
|
|
33687
34140
|
accessibilityRole: "button",
|
|
33688
34141
|
accessibilityLabel: formatValue(day),
|
|
33689
34142
|
accessibilityState: {
|
|
@@ -33695,14 +34148,14 @@ var DatePicker = forwardRef(
|
|
|
33695
34148
|
View,
|
|
33696
34149
|
{
|
|
33697
34150
|
style: [
|
|
33698
|
-
|
|
33699
|
-
isSelectedEndpoint &&
|
|
33700
|
-
isHovered &&
|
|
34151
|
+
styles26.dayCircle,
|
|
34152
|
+
isSelectedEndpoint && styles26.dayCircleSelected,
|
|
34153
|
+
isHovered && styles26.dayCircleHovered
|
|
33701
34154
|
],
|
|
33702
|
-
children: /* @__PURE__ */ jsx(Text, { style: [
|
|
34155
|
+
children: /* @__PURE__ */ jsx(Text, { style: [styles26.dayText, { color: dayTextColor }], children: day.getDate() })
|
|
33703
34156
|
}
|
|
33704
34157
|
),
|
|
33705
|
-
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsx(View, { style:
|
|
34158
|
+
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsx(View, { style: styles26.todayDot }) : null
|
|
33706
34159
|
]
|
|
33707
34160
|
},
|
|
33708
34161
|
dayIndex
|
|
@@ -33722,7 +34175,7 @@ var DatePicker = forwardRef(
|
|
|
33722
34175
|
);
|
|
33723
34176
|
}
|
|
33724
34177
|
);
|
|
33725
|
-
var
|
|
34178
|
+
var styles26 = StyleSheet.create({
|
|
33726
34179
|
root: {
|
|
33727
34180
|
width: DEFAULT_WIDTH,
|
|
33728
34181
|
gap: 8,
|
|
@@ -33827,8 +34280,8 @@ var styles22 = StyleSheet.create({
|
|
|
33827
34280
|
backgroundColor: colors.grey500
|
|
33828
34281
|
},
|
|
33829
34282
|
iconSlot: {
|
|
33830
|
-
width:
|
|
33831
|
-
height:
|
|
34283
|
+
width: ICON_SIZE11,
|
|
34284
|
+
height: ICON_SIZE11,
|
|
33832
34285
|
alignItems: "center",
|
|
33833
34286
|
justifyContent: "center",
|
|
33834
34287
|
flexShrink: 0
|
|
@@ -33973,7 +34426,7 @@ var styles22 = StyleSheet.create({
|
|
|
33973
34426
|
});
|
|
33974
34427
|
var SIZE = 48;
|
|
33975
34428
|
var PADDING = 12;
|
|
33976
|
-
var
|
|
34429
|
+
var ICON_SIZE12 = 24;
|
|
33977
34430
|
var RADIUS = 64;
|
|
33978
34431
|
var FloatingActionButton = forwardRef(function FloatingActionButton2({ onPress, disabled = false, icon, accessibilityLabel = "Add", style, className, ...rest }, forwardedRef) {
|
|
33979
34432
|
const containerRef = useRef(null);
|
|
@@ -33991,12 +34444,12 @@ var FloatingActionButton = forwardRef(function FloatingActionButton2({ onPress,
|
|
|
33991
34444
|
accessibilityRole: "button",
|
|
33992
34445
|
accessibilityLabel,
|
|
33993
34446
|
accessibilityState: { disabled },
|
|
33994
|
-
style: [
|
|
33995
|
-
children: icon ?? /* @__PURE__ */ jsx(PlusIcon, { color: colors.white, size:
|
|
34447
|
+
style: [styles27.base, disabled && styles27.disabled, style],
|
|
34448
|
+
children: icon ?? /* @__PURE__ */ jsx(PlusIcon, { color: colors.white, size: ICON_SIZE12, strokeWidth: 2 })
|
|
33996
34449
|
}
|
|
33997
34450
|
);
|
|
33998
34451
|
});
|
|
33999
|
-
var
|
|
34452
|
+
var styles27 = StyleSheet.create({
|
|
34000
34453
|
base: {
|
|
34001
34454
|
width: SIZE,
|
|
34002
34455
|
height: SIZE,
|
|
@@ -34071,7 +34524,7 @@ var Modal = forwardRef(function Modal2({
|
|
|
34071
34524
|
View,
|
|
34072
34525
|
{
|
|
34073
34526
|
ref: setContentRef,
|
|
34074
|
-
style: [
|
|
34527
|
+
style: [styles28.content, contentStyle],
|
|
34075
34528
|
onStartShouldSetResponder: () => true,
|
|
34076
34529
|
children
|
|
34077
34530
|
}
|
|
@@ -34103,7 +34556,7 @@ var Modal = forwardRef(function Modal2({
|
|
|
34103
34556
|
animationType: "fade",
|
|
34104
34557
|
onRequestClose: onClose,
|
|
34105
34558
|
statusBarTranslucent: true,
|
|
34106
|
-
children: /* @__PURE__ */ jsxs(View, { style:
|
|
34559
|
+
children: /* @__PURE__ */ jsxs(View, { style: styles28.root, accessibilityViewIsModal: true, children: [
|
|
34107
34560
|
/* @__PURE__ */ jsx(
|
|
34108
34561
|
Pressable,
|
|
34109
34562
|
{
|
|
@@ -34111,7 +34564,7 @@ var Modal = forwardRef(function Modal2({
|
|
|
34111
34564
|
accessibilityLabel: backdropAccessibilityLabel,
|
|
34112
34565
|
disabled: !closeOnBackdropPress,
|
|
34113
34566
|
onPress: closeOnBackdropPress ? onClose : void 0,
|
|
34114
|
-
style:
|
|
34567
|
+
style: styles28.backdrop
|
|
34115
34568
|
}
|
|
34116
34569
|
),
|
|
34117
34570
|
content
|
|
@@ -34119,7 +34572,7 @@ var Modal = forwardRef(function Modal2({
|
|
|
34119
34572
|
}
|
|
34120
34573
|
);
|
|
34121
34574
|
});
|
|
34122
|
-
var
|
|
34575
|
+
var styles28 = StyleSheet.create({
|
|
34123
34576
|
root: {
|
|
34124
34577
|
flex: 1,
|
|
34125
34578
|
alignItems: "center",
|
|
@@ -34285,7 +34738,7 @@ var Input = forwardRef(function Input2({
|
|
|
34285
34738
|
useApplyWebClassName(rootRef, className);
|
|
34286
34739
|
useApplyWebClassName(inputRef, inputClassName);
|
|
34287
34740
|
const fieldChromeStyle = [
|
|
34288
|
-
|
|
34741
|
+
styles29.field,
|
|
34289
34742
|
{
|
|
34290
34743
|
height: metrics.height,
|
|
34291
34744
|
borderRadius: metrics.borderRadius,
|
|
@@ -34297,11 +34750,11 @@ var Input = forwardRef(function Input2({
|
|
|
34297
34750
|
borderColor: chrome.borderColor,
|
|
34298
34751
|
backgroundColor: chrome.backgroundColor
|
|
34299
34752
|
},
|
|
34300
|
-
Platform.OS === "web" ?
|
|
34753
|
+
Platform.OS === "web" ? styles29.fieldWeb : null,
|
|
34301
34754
|
fieldStyle
|
|
34302
34755
|
];
|
|
34303
|
-
return /* @__PURE__ */ jsxs(View, { ref: rootRef, style: [
|
|
34304
|
-
showLabel && label ? /* @__PURE__ */ jsx(Pressable, { disabled, onPress: focusInput, style:
|
|
34756
|
+
return /* @__PURE__ */ jsxs(View, { ref: rootRef, style: [styles29.root, disabled && styles29.disabled, style], children: [
|
|
34757
|
+
showLabel && label ? /* @__PURE__ */ jsx(Pressable, { disabled, onPress: focusInput, style: styles29.labelPressable, children: /* @__PURE__ */ jsx(Text, { style: [styles29.label, { color: chrome.labelColor }], children: label }) }) : null,
|
|
34305
34758
|
/* @__PURE__ */ jsxs(
|
|
34306
34759
|
Pressable,
|
|
34307
34760
|
{
|
|
@@ -34310,7 +34763,7 @@ var Input = forwardRef(function Input2({
|
|
|
34310
34763
|
onPress: focusInput,
|
|
34311
34764
|
style: fieldChromeStyle,
|
|
34312
34765
|
children: [
|
|
34313
|
-
hasLeftIcon ? /* @__PURE__ */ jsx(View, { style: [
|
|
34766
|
+
hasLeftIcon ? /* @__PURE__ */ jsx(View, { style: [styles29.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }], children: leftIconNode }) : null,
|
|
34314
34767
|
/* @__PURE__ */ jsx(
|
|
34315
34768
|
TextInput,
|
|
34316
34769
|
{
|
|
@@ -34335,11 +34788,11 @@ var Input = forwardRef(function Input2({
|
|
|
34335
34788
|
onBlur?.(event);
|
|
34336
34789
|
},
|
|
34337
34790
|
style: [
|
|
34338
|
-
|
|
34791
|
+
styles29.input,
|
|
34339
34792
|
metrics.text,
|
|
34340
34793
|
{ color: chrome.textColor },
|
|
34341
|
-
Platform.OS === "web" ?
|
|
34342
|
-
Platform.OS === "android" ?
|
|
34794
|
+
Platform.OS === "web" ? styles29.inputWeb : null,
|
|
34795
|
+
Platform.OS === "android" ? styles29.inputAndroid : null,
|
|
34343
34796
|
inputStyle
|
|
34344
34797
|
],
|
|
34345
34798
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -34351,7 +34804,7 @@ var Input = forwardRef(function Input2({
|
|
|
34351
34804
|
{
|
|
34352
34805
|
onPress: onRightIconPress,
|
|
34353
34806
|
disabled,
|
|
34354
|
-
style: [
|
|
34807
|
+
style: [styles29.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
34355
34808
|
accessibilityRole: "button",
|
|
34356
34809
|
accessibilityLabel: rightIconAccessibilityLabel,
|
|
34357
34810
|
hitSlop: 8,
|
|
@@ -34363,17 +34816,17 @@ var Input = forwardRef(function Input2({
|
|
|
34363
34816
|
accessibilityRole: "none",
|
|
34364
34817
|
disabled,
|
|
34365
34818
|
onPress: focusInput,
|
|
34366
|
-
style: [
|
|
34819
|
+
style: [styles29.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
34367
34820
|
children: rightIconNode
|
|
34368
34821
|
}
|
|
34369
34822
|
) : null
|
|
34370
34823
|
]
|
|
34371
34824
|
}
|
|
34372
34825
|
),
|
|
34373
|
-
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [
|
|
34826
|
+
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [styles29.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
34374
34827
|
] });
|
|
34375
34828
|
});
|
|
34376
|
-
var
|
|
34829
|
+
var styles29 = StyleSheet.create({
|
|
34377
34830
|
root: {
|
|
34378
34831
|
width: DEFAULT_WIDTH2,
|
|
34379
34832
|
gap: 8,
|
|
@@ -34421,6 +34874,234 @@ var styles25 = StyleSheet.create({
|
|
|
34421
34874
|
...inputTypography.hint
|
|
34422
34875
|
}
|
|
34423
34876
|
});
|
|
34877
|
+
var MENU_MAX_HEIGHT = 248;
|
|
34878
|
+
var BLUR_CLOSE_DELAY_MS = 120;
|
|
34879
|
+
var AUTOCOMPLETE_ROOT_Z_INDEX = 1100;
|
|
34880
|
+
var AUTOCOMPLETE_MENU_Z_INDEX = 1101;
|
|
34881
|
+
var AutocompleteInput = forwardRef(
|
|
34882
|
+
function AutocompleteInput2({
|
|
34883
|
+
value,
|
|
34884
|
+
options,
|
|
34885
|
+
onChangeText,
|
|
34886
|
+
onOptionSelect,
|
|
34887
|
+
onSubmit,
|
|
34888
|
+
open: openProp,
|
|
34889
|
+
defaultOpen = false,
|
|
34890
|
+
onOpenChange,
|
|
34891
|
+
loading = false,
|
|
34892
|
+
loadingText = "Loading...",
|
|
34893
|
+
emptyText = "No results",
|
|
34894
|
+
showEmpty = true,
|
|
34895
|
+
renderOption,
|
|
34896
|
+
containerStyle,
|
|
34897
|
+
menuStyle,
|
|
34898
|
+
containerClassName,
|
|
34899
|
+
menuClassName,
|
|
34900
|
+
disabled = false,
|
|
34901
|
+
onFocus,
|
|
34902
|
+
onBlur,
|
|
34903
|
+
...inputProps
|
|
34904
|
+
}, forwardedRef) {
|
|
34905
|
+
const rootRef = useRef(null);
|
|
34906
|
+
const menuRef = useRef(null);
|
|
34907
|
+
const blurTimerRef = useRef(null);
|
|
34908
|
+
const setRootRef = useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
34909
|
+
const controlled = typeof openProp === "boolean";
|
|
34910
|
+
const [uncontrolledOpen, setUncontrolledOpen] = useState(defaultOpen);
|
|
34911
|
+
const [highlightedIndex, setHighlightedIndex] = useState(0);
|
|
34912
|
+
const open = controlled ? openProp : uncontrolledOpen;
|
|
34913
|
+
useApplyWebClassName(rootRef, containerClassName);
|
|
34914
|
+
useApplyWebClassName(menuRef, menuClassName, open);
|
|
34915
|
+
const setOpen = useCallback(
|
|
34916
|
+
(nextOpen) => {
|
|
34917
|
+
if (!controlled) setUncontrolledOpen(nextOpen);
|
|
34918
|
+
onOpenChange?.(nextOpen);
|
|
34919
|
+
if (!nextOpen) setHighlightedIndex(0);
|
|
34920
|
+
},
|
|
34921
|
+
[controlled, onOpenChange]
|
|
34922
|
+
);
|
|
34923
|
+
useEffect(() => {
|
|
34924
|
+
if (highlightedIndex < options.length) return;
|
|
34925
|
+
setHighlightedIndex(Math.max(0, options.length - 1));
|
|
34926
|
+
}, [highlightedIndex, options.length]);
|
|
34927
|
+
useEffect(() => {
|
|
34928
|
+
if (Platform.OS !== "web" || !open) return;
|
|
34929
|
+
const closeOnOutsidePress = (event) => {
|
|
34930
|
+
const root = rootRef.current;
|
|
34931
|
+
if (event.target instanceof Node && root?.contains && !root.contains(event.target)) {
|
|
34932
|
+
setOpen(false);
|
|
34933
|
+
}
|
|
34934
|
+
};
|
|
34935
|
+
document.addEventListener("mousedown", closeOnOutsidePress);
|
|
34936
|
+
document.addEventListener("touchstart", closeOnOutsidePress);
|
|
34937
|
+
return () => {
|
|
34938
|
+
document.removeEventListener("mousedown", closeOnOutsidePress);
|
|
34939
|
+
document.removeEventListener("touchstart", closeOnOutsidePress);
|
|
34940
|
+
};
|
|
34941
|
+
}, [open, setOpen]);
|
|
34942
|
+
useEffect(
|
|
34943
|
+
() => () => {
|
|
34944
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
34945
|
+
},
|
|
34946
|
+
[]
|
|
34947
|
+
);
|
|
34948
|
+
const selectOption = (option) => {
|
|
34949
|
+
if (disabled) return;
|
|
34950
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
34951
|
+
onOptionSelect(option);
|
|
34952
|
+
setOpen(false);
|
|
34953
|
+
};
|
|
34954
|
+
const submit = () => {
|
|
34955
|
+
const highlighted = options[highlightedIndex] ?? options[0];
|
|
34956
|
+
if (open && highlighted) {
|
|
34957
|
+
selectOption(highlighted);
|
|
34958
|
+
return;
|
|
34959
|
+
}
|
|
34960
|
+
onSubmit?.(options[0]);
|
|
34961
|
+
};
|
|
34962
|
+
const showMenu = open && !disabled && (loading || options.length > 0 || showEmpty);
|
|
34963
|
+
return /* @__PURE__ */ jsxs(
|
|
34964
|
+
View,
|
|
34965
|
+
{
|
|
34966
|
+
ref: setRootRef,
|
|
34967
|
+
style: [styles30.root, open && styles30.rootOpen, containerStyle],
|
|
34968
|
+
accessibilityState: { disabled, expanded: open },
|
|
34969
|
+
children: [
|
|
34970
|
+
/* @__PURE__ */ jsx(
|
|
34971
|
+
Input,
|
|
34972
|
+
{
|
|
34973
|
+
...inputProps,
|
|
34974
|
+
disabled,
|
|
34975
|
+
value,
|
|
34976
|
+
onChangeText: (nextValue) => {
|
|
34977
|
+
onChangeText(nextValue);
|
|
34978
|
+
setHighlightedIndex(0);
|
|
34979
|
+
setOpen(true);
|
|
34980
|
+
},
|
|
34981
|
+
onFocus: (event) => {
|
|
34982
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
34983
|
+
setOpen(true);
|
|
34984
|
+
onFocus?.(event);
|
|
34985
|
+
},
|
|
34986
|
+
onBlur: (event) => {
|
|
34987
|
+
blurTimerRef.current = setTimeout(() => setOpen(false), BLUR_CLOSE_DELAY_MS);
|
|
34988
|
+
onBlur?.(event);
|
|
34989
|
+
},
|
|
34990
|
+
onKeyPress: (event) => {
|
|
34991
|
+
const key = event.nativeEvent.key;
|
|
34992
|
+
if (key === "ArrowDown" && options.length > 0) {
|
|
34993
|
+
setHighlightedIndex((current) => Math.min(current + 1, options.length - 1));
|
|
34994
|
+
} else if (key === "ArrowUp" && options.length > 0) {
|
|
34995
|
+
setHighlightedIndex((current) => Math.max(current - 1, 0));
|
|
34996
|
+
} else if (key === "Escape") {
|
|
34997
|
+
setOpen(false);
|
|
34998
|
+
}
|
|
34999
|
+
inputProps.onKeyPress?.(event);
|
|
35000
|
+
},
|
|
35001
|
+
onSubmitEditing: submit
|
|
35002
|
+
}
|
|
35003
|
+
),
|
|
35004
|
+
showMenu ? /* @__PURE__ */ jsx(View, { ref: menuRef, style: [styles30.menu, menuStyle], children: loading ? /* @__PURE__ */ jsxs(View, { style: styles30.statusRow, children: [
|
|
35005
|
+
/* @__PURE__ */ jsx(ActivityIndicator, { color: colors.primary, size: "small" }),
|
|
35006
|
+
/* @__PURE__ */ jsx(Text, { style: styles30.statusText, children: loadingText })
|
|
35007
|
+
] }) : options.length === 0 ? /* @__PURE__ */ jsx(View, { style: styles30.statusRow, children: /* @__PURE__ */ jsx(Text, { style: styles30.statusText, children: emptyText }) }) : /* @__PURE__ */ jsx(
|
|
35008
|
+
ScrollView,
|
|
35009
|
+
{
|
|
35010
|
+
keyboardShouldPersistTaps: "handled",
|
|
35011
|
+
nestedScrollEnabled: true,
|
|
35012
|
+
showsVerticalScrollIndicator: true,
|
|
35013
|
+
style: styles30.list,
|
|
35014
|
+
children: options.map((option, index) => {
|
|
35015
|
+
const highlighted = index === highlightedIndex;
|
|
35016
|
+
return /* @__PURE__ */ jsx(
|
|
35017
|
+
Pressable,
|
|
35018
|
+
{
|
|
35019
|
+
accessibilityRole: "button",
|
|
35020
|
+
onHoverIn: () => setHighlightedIndex(index),
|
|
35021
|
+
onPress: () => selectOption(option),
|
|
35022
|
+
style: [styles30.option, highlighted && styles30.optionHighlighted],
|
|
35023
|
+
children: renderOption ? renderOption(option, highlighted) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
35024
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles30.optionLabel, children: option.label }),
|
|
35025
|
+
option.description ? /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles30.optionDescription, children: option.description }) : null
|
|
35026
|
+
] })
|
|
35027
|
+
},
|
|
35028
|
+
option.value
|
|
35029
|
+
);
|
|
35030
|
+
})
|
|
35031
|
+
}
|
|
35032
|
+
) }) : null
|
|
35033
|
+
]
|
|
35034
|
+
}
|
|
35035
|
+
);
|
|
35036
|
+
}
|
|
35037
|
+
);
|
|
35038
|
+
var styles30 = StyleSheet.create({
|
|
35039
|
+
root: {
|
|
35040
|
+
position: "relative",
|
|
35041
|
+
width: 308
|
|
35042
|
+
},
|
|
35043
|
+
rootOpen: {
|
|
35044
|
+
zIndex: AUTOCOMPLETE_ROOT_Z_INDEX
|
|
35045
|
+
},
|
|
35046
|
+
menu: {
|
|
35047
|
+
position: "absolute",
|
|
35048
|
+
top: "100%",
|
|
35049
|
+
left: 0,
|
|
35050
|
+
right: 0,
|
|
35051
|
+
zIndex: AUTOCOMPLETE_MENU_Z_INDEX,
|
|
35052
|
+
marginTop: 4,
|
|
35053
|
+
padding: 4,
|
|
35054
|
+
overflow: "hidden",
|
|
35055
|
+
borderWidth: 1,
|
|
35056
|
+
borderColor: colors.grey700,
|
|
35057
|
+
borderRadius: 16,
|
|
35058
|
+
backgroundColor: colors.grey700,
|
|
35059
|
+
shadowColor: colors.black,
|
|
35060
|
+
shadowOffset: { width: 0, height: 8 },
|
|
35061
|
+
shadowOpacity: 0.4,
|
|
35062
|
+
shadowRadius: 18,
|
|
35063
|
+
elevation: 12
|
|
35064
|
+
},
|
|
35065
|
+
list: {
|
|
35066
|
+
maxHeight: MENU_MAX_HEIGHT
|
|
35067
|
+
},
|
|
35068
|
+
option: {
|
|
35069
|
+
minHeight: 48,
|
|
35070
|
+
justifyContent: "center",
|
|
35071
|
+
gap: 2,
|
|
35072
|
+
paddingHorizontal: 12,
|
|
35073
|
+
paddingVertical: 8,
|
|
35074
|
+
borderRadius: 12
|
|
35075
|
+
},
|
|
35076
|
+
optionHighlighted: {
|
|
35077
|
+
backgroundColor: colors.grey600
|
|
35078
|
+
},
|
|
35079
|
+
optionLabel: {
|
|
35080
|
+
color: colors.white,
|
|
35081
|
+
fontSize: 12,
|
|
35082
|
+
lineHeight: 18,
|
|
35083
|
+
fontWeight: "600"
|
|
35084
|
+
},
|
|
35085
|
+
optionDescription: {
|
|
35086
|
+
color: colors.grey100,
|
|
35087
|
+
fontSize: 11,
|
|
35088
|
+
lineHeight: 16
|
|
35089
|
+
},
|
|
35090
|
+
statusRow: {
|
|
35091
|
+
minHeight: 48,
|
|
35092
|
+
flexDirection: "row",
|
|
35093
|
+
alignItems: "center",
|
|
35094
|
+
justifyContent: "center",
|
|
35095
|
+
gap: 8,
|
|
35096
|
+
paddingHorizontal: 12,
|
|
35097
|
+
paddingVertical: 8
|
|
35098
|
+
},
|
|
35099
|
+
statusText: {
|
|
35100
|
+
color: colors.grey100,
|
|
35101
|
+
fontSize: 12,
|
|
35102
|
+
lineHeight: 18
|
|
35103
|
+
}
|
|
35104
|
+
});
|
|
34424
35105
|
|
|
34425
35106
|
// src/components/VerificationCodeInput/VerificationCodeInput.utils.ts
|
|
34426
35107
|
function normalizeVerificationCode(value, length) {
|
|
@@ -34540,8 +35221,8 @@ var VerificationCodeInput = forwardRef(function VerificationCodeInput2({
|
|
|
34540
35221
|
const cellGap = mobile ? MOBILE_GAP : DESKTOP_GAP;
|
|
34541
35222
|
const rowWidth = cellWidth * safeLength + cellGap * Math.max(0, safeLength - 1);
|
|
34542
35223
|
const showErrorMessage = Boolean(error && errorMessage);
|
|
34543
|
-
return /* @__PURE__ */ jsxs(View, { ...viewProps, ref: rootRef, style: [
|
|
34544
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
35224
|
+
return /* @__PURE__ */ jsxs(View, { ...viewProps, ref: rootRef, style: [styles31.wrapper, disabled && styles31.disabled, style], children: [
|
|
35225
|
+
/* @__PURE__ */ jsx(View, { style: [styles31.row, { width: rowWidth, maxWidth: "100%", gap: cellGap }], children: Array.from({ length: safeLength }, (_, index) => {
|
|
34545
35226
|
const active = focusedIndex === index;
|
|
34546
35227
|
const borderColor = error ? colors.red : active ? colors.primary : colors.grey600;
|
|
34547
35228
|
return /* @__PURE__ */ jsx(
|
|
@@ -34566,15 +35247,15 @@ var VerificationCodeInput = forwardRef(function VerificationCodeInput2({
|
|
|
34566
35247
|
onSubmitEditing: () => onSubmit?.(currentCode),
|
|
34567
35248
|
selectTextOnFocus: true,
|
|
34568
35249
|
style: [
|
|
34569
|
-
|
|
35250
|
+
styles31.cell,
|
|
34570
35251
|
{
|
|
34571
35252
|
width: cellWidth,
|
|
34572
35253
|
height: cellHeight,
|
|
34573
35254
|
borderColor,
|
|
34574
35255
|
color: error ? colors.red : colors.white
|
|
34575
35256
|
},
|
|
34576
|
-
Platform.OS === "web" ?
|
|
34577
|
-
Platform.OS === "android" ?
|
|
35257
|
+
Platform.OS === "web" ? styles31.cellWeb : null,
|
|
35258
|
+
Platform.OS === "android" ? styles31.cellAndroid : null,
|
|
34578
35259
|
inputStyle
|
|
34579
35260
|
],
|
|
34580
35261
|
value: currentCode[index] ?? ""
|
|
@@ -34582,10 +35263,10 @@ var VerificationCodeInput = forwardRef(function VerificationCodeInput2({
|
|
|
34582
35263
|
index
|
|
34583
35264
|
);
|
|
34584
35265
|
}) }),
|
|
34585
|
-
showErrorMessage ? /* @__PURE__ */ jsx(Text, { accessibilityLiveRegion: "assertive", style:
|
|
35266
|
+
showErrorMessage ? /* @__PURE__ */ jsx(Text, { accessibilityLiveRegion: "assertive", style: styles31.errorMessage, children: errorMessage }) : null
|
|
34586
35267
|
] });
|
|
34587
35268
|
});
|
|
34588
|
-
var
|
|
35269
|
+
var styles31 = StyleSheet.create({
|
|
34589
35270
|
wrapper: {
|
|
34590
35271
|
minWidth: 0,
|
|
34591
35272
|
alignSelf: "center",
|
|
@@ -34636,7 +35317,7 @@ var TRIGGER_RADIUS2 = 60;
|
|
|
34636
35317
|
var MENU_RADIUS3 = 24;
|
|
34637
35318
|
var MENU_MAX_LIST_HEIGHT = 248;
|
|
34638
35319
|
var ITEM_RADIUS2 = 12;
|
|
34639
|
-
var
|
|
35320
|
+
var ICON_SIZE13 = 20;
|
|
34640
35321
|
var CHIP_GAP = 6;
|
|
34641
35322
|
var FALLBACK_ELLIPSIS_WIDTH = 20;
|
|
34642
35323
|
function itemBackground(state) {
|
|
@@ -34709,25 +35390,25 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
34709
35390
|
const next = Math.ceil(event.nativeEvent.layout.width);
|
|
34710
35391
|
setEllipsisWidth((current) => current === next ? current : next);
|
|
34711
35392
|
};
|
|
34712
|
-
return /* @__PURE__ */ jsxs(View, { style:
|
|
34713
|
-
/* @__PURE__ */ jsxs(View, { pointerEvents: "none", style:
|
|
35393
|
+
return /* @__PURE__ */ jsxs(View, { style: styles32.multiValueRoot, children: [
|
|
35394
|
+
/* @__PURE__ */ jsxs(View, { pointerEvents: "none", style: styles32.measureRow, children: [
|
|
34714
35395
|
options.map((option) => /* @__PURE__ */ jsxs(
|
|
34715
35396
|
View,
|
|
34716
35397
|
{
|
|
34717
|
-
style:
|
|
35398
|
+
style: styles32.chip,
|
|
34718
35399
|
onLayout: (event) => handleChipLayout(option.value, event),
|
|
34719
35400
|
children: [
|
|
34720
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
34721
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
35401
|
+
/* @__PURE__ */ jsx(Text, { style: styles32.chipLabel, numberOfLines: 1, children: option.label }),
|
|
35402
|
+
/* @__PURE__ */ jsx(Text, { style: styles32.chipRemove, children: "\xD7" })
|
|
34722
35403
|
]
|
|
34723
35404
|
},
|
|
34724
35405
|
`measure-${option.value}`
|
|
34725
35406
|
)),
|
|
34726
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
35407
|
+
/* @__PURE__ */ jsx(View, { style: styles32.ellipsis, onLayout: handleEllipsisLayout, children: /* @__PURE__ */ jsx(Text, { style: styles32.ellipsisText, children: "..." }) })
|
|
34727
35408
|
] }),
|
|
34728
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
34729
|
-
visible.map((option) => /* @__PURE__ */ jsxs(View, { style:
|
|
34730
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
35409
|
+
/* @__PURE__ */ jsxs(View, { style: styles32.chipsRow, onLayout: handleContainerLayout, children: [
|
|
35410
|
+
visible.map((option) => /* @__PURE__ */ jsxs(View, { style: styles32.chip, children: [
|
|
35411
|
+
/* @__PURE__ */ jsx(Text, { style: styles32.chipLabel, numberOfLines: 1, children: option.label }),
|
|
34731
35412
|
/* @__PURE__ */ jsx(
|
|
34732
35413
|
Pressable,
|
|
34733
35414
|
{
|
|
@@ -34739,11 +35420,11 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
34739
35420
|
hitSlop: 6,
|
|
34740
35421
|
accessibilityRole: "button",
|
|
34741
35422
|
accessibilityLabel: `Remove ${option.label}`,
|
|
34742
|
-
children: /* @__PURE__ */ jsx(Text, { style:
|
|
35423
|
+
children: /* @__PURE__ */ jsx(Text, { style: styles32.chipRemove, children: "\xD7" })
|
|
34743
35424
|
}
|
|
34744
35425
|
)
|
|
34745
35426
|
] }, option.value)),
|
|
34746
|
-
hasOverflow ? /* @__PURE__ */ jsx(View, { style:
|
|
35427
|
+
hasOverflow ? /* @__PURE__ */ jsx(View, { style: styles32.ellipsis, children: /* @__PURE__ */ jsx(Text, { style: styles32.ellipsisText, children: "..." }) }) : null
|
|
34747
35428
|
] })
|
|
34748
35429
|
] });
|
|
34749
35430
|
}
|
|
@@ -34999,7 +35680,7 @@ var Select = forwardRef(
|
|
|
34999
35680
|
setOpen
|
|
35000
35681
|
]);
|
|
35001
35682
|
const leftIconNode = renderStatefulIcon(leftIcon, UserIcon, {
|
|
35002
|
-
size:
|
|
35683
|
+
size: ICON_SIZE13,
|
|
35003
35684
|
color: error ? colors.red : colors.primary
|
|
35004
35685
|
});
|
|
35005
35686
|
const hasLeftIcon = showLeftIcon || leftIcon != null;
|
|
@@ -35014,11 +35695,11 @@ var Select = forwardRef(
|
|
|
35014
35695
|
{
|
|
35015
35696
|
...rest,
|
|
35016
35697
|
ref: setRootRef,
|
|
35017
|
-
style: [
|
|
35698
|
+
style: [styles32.root, isOpen && styles32.rootOpen, disabled && styles32.disabled, style],
|
|
35018
35699
|
accessibilityState: { disabled, expanded: isOpen },
|
|
35019
35700
|
children: [
|
|
35020
|
-
showLabel && label ? /* @__PURE__ */ jsx(Text, { style: [
|
|
35021
|
-
/* @__PURE__ */ jsxs(View, { style: [
|
|
35701
|
+
showLabel && label ? /* @__PURE__ */ jsx(Text, { style: [styles32.label, { color: labelColor }], children: label }) : null,
|
|
35702
|
+
/* @__PURE__ */ jsxs(View, { style: [styles32.triggerWrap, isOpen && styles32.triggerWrapOpen], children: [
|
|
35022
35703
|
/* @__PURE__ */ jsxs(
|
|
35023
35704
|
Pressable,
|
|
35024
35705
|
{
|
|
@@ -35029,23 +35710,23 @@ var Select = forwardRef(
|
|
|
35029
35710
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35030
35711
|
accessibilityState: { disabled, expanded: isOpen },
|
|
35031
35712
|
style: [
|
|
35032
|
-
|
|
35713
|
+
styles32.trigger,
|
|
35033
35714
|
{
|
|
35034
35715
|
borderColor: triggerBorderColor,
|
|
35035
35716
|
backgroundColor: colors.grey700
|
|
35036
35717
|
}
|
|
35037
35718
|
],
|
|
35038
35719
|
children: [
|
|
35039
|
-
hasLeftIcon ? /* @__PURE__ */ jsx(View, { style:
|
|
35040
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
35720
|
+
hasLeftIcon ? /* @__PURE__ */ jsx(View, { style: styles32.iconSlot, children: leftIconNode }) : null,
|
|
35721
|
+
/* @__PURE__ */ jsx(View, { style: styles32.triggerContent, children: multiple && hasValue ? /* @__PURE__ */ jsx(
|
|
35041
35722
|
MultiValueChips,
|
|
35042
35723
|
{
|
|
35043
35724
|
options: selectedOptions,
|
|
35044
35725
|
disabled,
|
|
35045
35726
|
onRemove: handleRemoveChip
|
|
35046
35727
|
}
|
|
35047
|
-
) : /* @__PURE__ */ jsx(Text, { style: [
|
|
35048
|
-
/* @__PURE__ */ jsx(View, { style: [
|
|
35728
|
+
) : /* @__PURE__ */ jsx(Text, { style: [styles32.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: multiple ? placeholder : singleLabel }) }),
|
|
35729
|
+
/* @__PURE__ */ jsx(View, { style: [styles32.iconSlot, isOpen && styles32.chevronOpen], children: /* @__PURE__ */ jsx(ChevronDownIcon, { size: ICON_SIZE13, color: isOpen ? colors.primary : colors.grey100 }) })
|
|
35049
35730
|
]
|
|
35050
35731
|
}
|
|
35051
35732
|
),
|
|
@@ -35053,14 +35734,14 @@ var Select = forwardRef(
|
|
|
35053
35734
|
View,
|
|
35054
35735
|
{
|
|
35055
35736
|
style: [
|
|
35056
|
-
|
|
35057
|
-
menuAlignEnd ?
|
|
35058
|
-
menuPlaceAbove ?
|
|
35737
|
+
styles32.menu,
|
|
35738
|
+
menuAlignEnd ? styles32.menuAlignEnd : styles32.menuAlignStart,
|
|
35739
|
+
menuPlaceAbove ? styles32.menuAbove : styles32.menuBelow,
|
|
35059
35740
|
menuStyle
|
|
35060
35741
|
],
|
|
35061
35742
|
children: [
|
|
35062
|
-
showSearch ? /* @__PURE__ */ jsxs(View, { style:
|
|
35063
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
35743
|
+
showSearch ? /* @__PURE__ */ jsxs(View, { style: styles32.searchField, children: [
|
|
35744
|
+
/* @__PURE__ */ jsx(View, { style: styles32.iconSlot, children: /* @__PURE__ */ jsx(SearchIcon, { size: ICON_SIZE13, color: colors.grey100 }) }),
|
|
35064
35745
|
/* @__PURE__ */ jsx(
|
|
35065
35746
|
TextInput,
|
|
35066
35747
|
{
|
|
@@ -35071,9 +35752,9 @@ var Select = forwardRef(
|
|
|
35071
35752
|
placeholder: searchPlaceholder,
|
|
35072
35753
|
placeholderTextColor: colors.grey100,
|
|
35073
35754
|
style: [
|
|
35074
|
-
|
|
35075
|
-
Platform.OS === "web" ?
|
|
35076
|
-
Platform.OS === "android" ?
|
|
35755
|
+
styles32.searchInput,
|
|
35756
|
+
Platform.OS === "web" ? styles32.searchInputWeb : null,
|
|
35757
|
+
Platform.OS === "android" ? styles32.searchInputAndroid : null
|
|
35077
35758
|
],
|
|
35078
35759
|
accessibilityLabel: searchPlaceholder
|
|
35079
35760
|
}
|
|
@@ -35082,12 +35763,12 @@ var Select = forwardRef(
|
|
|
35082
35763
|
/* @__PURE__ */ jsxs(
|
|
35083
35764
|
ScrollView,
|
|
35084
35765
|
{
|
|
35085
|
-
style:
|
|
35086
|
-
contentContainerStyle:
|
|
35766
|
+
style: styles32.optionList,
|
|
35767
|
+
contentContainerStyle: styles32.optionListContent,
|
|
35087
35768
|
keyboardShouldPersistTaps: "handled",
|
|
35088
35769
|
showsVerticalScrollIndicator: false,
|
|
35089
35770
|
children: [
|
|
35090
|
-
loading ? /* @__PURE__ */ jsx(View, { style:
|
|
35771
|
+
loading ? /* @__PURE__ */ jsx(View, { style: styles32.statusRow, children: /* @__PURE__ */ jsx(Text, { style: styles32.statusText, children: "Loading..." }) }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx(View, { style: styles32.statusRow, children: /* @__PURE__ */ jsx(Text, { style: styles32.statusText, children: emptyText }) }) : null,
|
|
35091
35772
|
!loading && filteredOptions.map((option) => {
|
|
35092
35773
|
const isSelected = selectedValues.includes(option.value);
|
|
35093
35774
|
const isHovered = hoveredValue === option.value;
|
|
@@ -35104,14 +35785,14 @@ var Select = forwardRef(
|
|
|
35104
35785
|
accessibilityRole: multiple ? "checkbox" : "button",
|
|
35105
35786
|
accessibilityState: { selected: isSelected, checked: isSelected, disabled },
|
|
35106
35787
|
style: [
|
|
35107
|
-
|
|
35788
|
+
styles32.item,
|
|
35108
35789
|
{
|
|
35109
35790
|
backgroundColor: itemBackground(visualState)
|
|
35110
35791
|
}
|
|
35111
35792
|
],
|
|
35112
35793
|
children: [
|
|
35113
|
-
multiple ? /* @__PURE__ */ jsx(View, { pointerEvents: "none", style:
|
|
35114
|
-
/* @__PURE__ */ jsx(Text, { style:
|
|
35794
|
+
multiple ? /* @__PURE__ */ jsx(View, { pointerEvents: "none", style: styles32.itemCheckbox, children: /* @__PURE__ */ jsx(Checkbox, { value: isSelected, variant: "light" }) }) : null,
|
|
35795
|
+
/* @__PURE__ */ jsx(Text, { style: styles32.itemLabel, numberOfLines: 1, children: option.label })
|
|
35115
35796
|
]
|
|
35116
35797
|
},
|
|
35117
35798
|
option.value
|
|
@@ -35124,13 +35805,13 @@ var Select = forwardRef(
|
|
|
35124
35805
|
}
|
|
35125
35806
|
) : null
|
|
35126
35807
|
] }),
|
|
35127
|
-
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [
|
|
35808
|
+
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [styles32.hint, { color: hintColor }], children: hint }) : null
|
|
35128
35809
|
]
|
|
35129
35810
|
}
|
|
35130
35811
|
);
|
|
35131
35812
|
}
|
|
35132
35813
|
);
|
|
35133
|
-
var
|
|
35814
|
+
var styles32 = StyleSheet.create({
|
|
35134
35815
|
root: {
|
|
35135
35816
|
width: DEFAULT_WIDTH3,
|
|
35136
35817
|
gap: 8,
|
|
@@ -35220,8 +35901,8 @@ var styles27 = StyleSheet.create({
|
|
|
35220
35901
|
lineHeight: 16
|
|
35221
35902
|
},
|
|
35222
35903
|
iconSlot: {
|
|
35223
|
-
width:
|
|
35224
|
-
height:
|
|
35904
|
+
width: ICON_SIZE13,
|
|
35905
|
+
height: ICON_SIZE13,
|
|
35225
35906
|
alignItems: "center",
|
|
35226
35907
|
justifyContent: "center",
|
|
35227
35908
|
flexShrink: 0
|
|
@@ -35415,8 +36096,8 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
35415
36096
|
};
|
|
35416
36097
|
useApplyWebClassName(rootRef, className);
|
|
35417
36098
|
useApplyWebClassName(inputRef, inputClassName);
|
|
35418
|
-
return /* @__PURE__ */ jsxs(View, { ref: rootRef, style: [
|
|
35419
|
-
showLabel && label ? /* @__PURE__ */ jsx(Pressable, { disabled, onPress: focusInput, style:
|
|
36099
|
+
return /* @__PURE__ */ jsxs(View, { ref: rootRef, style: [styles33.root, disabled && styles33.disabled, style], children: [
|
|
36100
|
+
showLabel && label ? /* @__PURE__ */ jsx(Pressable, { disabled, onPress: focusInput, style: styles33.labelPressable, children: /* @__PURE__ */ jsx(Text, { style: [styles33.label, { color: chrome.labelColor }], children: label }) }) : null,
|
|
35420
36101
|
/* @__PURE__ */ jsx(
|
|
35421
36102
|
Pressable,
|
|
35422
36103
|
{
|
|
@@ -35424,12 +36105,12 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
35424
36105
|
disabled,
|
|
35425
36106
|
onPress: focusInput,
|
|
35426
36107
|
style: [
|
|
35427
|
-
|
|
36108
|
+
styles33.field,
|
|
35428
36109
|
{
|
|
35429
36110
|
borderColor: chrome.borderColor,
|
|
35430
36111
|
backgroundColor: chrome.backgroundColor
|
|
35431
36112
|
},
|
|
35432
|
-
Platform.OS === "web" ?
|
|
36113
|
+
Platform.OS === "web" ? styles33.fieldWeb : null,
|
|
35433
36114
|
fieldStyle
|
|
35434
36115
|
],
|
|
35435
36116
|
children: /* @__PURE__ */ jsx(
|
|
@@ -35458,11 +36139,11 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
35458
36139
|
onBlur?.(event);
|
|
35459
36140
|
},
|
|
35460
36141
|
style: [
|
|
35461
|
-
|
|
36142
|
+
styles33.input,
|
|
35462
36143
|
textareaTypography.field,
|
|
35463
36144
|
{ color: chrome.textColor },
|
|
35464
|
-
Platform.OS === "web" ?
|
|
35465
|
-
Platform.OS === "android" ?
|
|
36145
|
+
Platform.OS === "web" ? styles33.inputWeb : null,
|
|
36146
|
+
Platform.OS === "android" ? styles33.inputAndroid : null,
|
|
35466
36147
|
inputStyle
|
|
35467
36148
|
],
|
|
35468
36149
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -35471,10 +36152,10 @@ var Textarea = forwardRef(function Textarea2({
|
|
|
35471
36152
|
)
|
|
35472
36153
|
}
|
|
35473
36154
|
),
|
|
35474
|
-
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [
|
|
36155
|
+
showHint && hint ? /* @__PURE__ */ jsx(Text, { style: [styles33.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
35475
36156
|
] });
|
|
35476
36157
|
});
|
|
35477
|
-
var
|
|
36158
|
+
var styles33 = StyleSheet.create({
|
|
35478
36159
|
root: {
|
|
35479
36160
|
width: DEFAULT_WIDTH4,
|
|
35480
36161
|
gap: 8,
|
|
@@ -35584,13 +36265,13 @@ var Toggle = forwardRef(function Toggle2({
|
|
|
35584
36265
|
accessibilityRole: "switch",
|
|
35585
36266
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35586
36267
|
accessibilityState: { checked: isActive, disabled },
|
|
35587
|
-
style: [
|
|
36268
|
+
style: [styles34.pressable, disabled && styles34.disabled, style],
|
|
35588
36269
|
children: [
|
|
35589
36270
|
/* @__PURE__ */ jsx(
|
|
35590
36271
|
Animated.View,
|
|
35591
36272
|
{
|
|
35592
36273
|
style: [
|
|
35593
|
-
|
|
36274
|
+
styles34.track,
|
|
35594
36275
|
{
|
|
35595
36276
|
backgroundColor: trackBackgroundColor
|
|
35596
36277
|
}
|
|
@@ -35599,7 +36280,7 @@ var Toggle = forwardRef(function Toggle2({
|
|
|
35599
36280
|
Animated.View,
|
|
35600
36281
|
{
|
|
35601
36282
|
style: [
|
|
35602
|
-
|
|
36283
|
+
styles34.thumb,
|
|
35603
36284
|
{
|
|
35604
36285
|
transform: [{ translateX: thumbTranslateX }]
|
|
35605
36286
|
}
|
|
@@ -35608,12 +36289,12 @@ var Toggle = forwardRef(function Toggle2({
|
|
|
35608
36289
|
)
|
|
35609
36290
|
}
|
|
35610
36291
|
),
|
|
35611
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsx(Text, { style: [
|
|
36292
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsx(Text, { style: [styles34.label, labelStyle], children: labelContent }) : labelContent : null
|
|
35612
36293
|
]
|
|
35613
36294
|
}
|
|
35614
36295
|
);
|
|
35615
36296
|
});
|
|
35616
|
-
var
|
|
36297
|
+
var styles34 = StyleSheet.create({
|
|
35617
36298
|
pressable: {
|
|
35618
36299
|
flexDirection: "row",
|
|
35619
36300
|
alignItems: "center",
|
|
@@ -35641,7 +36322,7 @@ var styles29 = StyleSheet.create({
|
|
|
35641
36322
|
color: colors.white
|
|
35642
36323
|
}
|
|
35643
36324
|
});
|
|
35644
|
-
var
|
|
36325
|
+
var DESKTOP_MIN_WIDTH4 = 1024;
|
|
35645
36326
|
var ToggleRow = forwardRef(function ToggleRow2({
|
|
35646
36327
|
label,
|
|
35647
36328
|
value,
|
|
@@ -35657,7 +36338,7 @@ var ToggleRow = forwardRef(function ToggleRow2({
|
|
|
35657
36338
|
const containerRef = useRef(null);
|
|
35658
36339
|
const setContainerRef = useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
35659
36340
|
const { width: viewportWidth } = useWindowDimensions();
|
|
35660
|
-
const isDesktop = viewportWidth >=
|
|
36341
|
+
const isDesktop = viewportWidth >= DESKTOP_MIN_WIDTH4;
|
|
35661
36342
|
const labelSize = isDesktop ? 14 : 12;
|
|
35662
36343
|
useApplyWebClassName(containerRef, className);
|
|
35663
36344
|
return /* @__PURE__ */ jsxs(
|
|
@@ -35666,13 +36347,13 @@ var ToggleRow = forwardRef(function ToggleRow2({
|
|
|
35666
36347
|
...rest,
|
|
35667
36348
|
ref: setContainerRef,
|
|
35668
36349
|
style: [
|
|
35669
|
-
|
|
36350
|
+
styles35.root,
|
|
35670
36351
|
{
|
|
35671
36352
|
minHeight: isDesktop ? 65 : 57,
|
|
35672
36353
|
paddingTop: isDesktop ? 20 : 16,
|
|
35673
36354
|
paddingBottom: isDesktop ? 20 : 16
|
|
35674
36355
|
},
|
|
35675
|
-
!showBorder &&
|
|
36356
|
+
!showBorder && styles35.noBorder,
|
|
35676
36357
|
style
|
|
35677
36358
|
],
|
|
35678
36359
|
children: [
|
|
@@ -35680,7 +36361,7 @@ var ToggleRow = forwardRef(function ToggleRow2({
|
|
|
35680
36361
|
Text,
|
|
35681
36362
|
{
|
|
35682
36363
|
style: [
|
|
35683
|
-
|
|
36364
|
+
styles35.label,
|
|
35684
36365
|
{
|
|
35685
36366
|
fontSize: labelSize,
|
|
35686
36367
|
lineHeight: isDesktop ? 20 : 18,
|
|
@@ -35705,7 +36386,7 @@ var ToggleRow = forwardRef(function ToggleRow2({
|
|
|
35705
36386
|
}
|
|
35706
36387
|
);
|
|
35707
36388
|
});
|
|
35708
|
-
var
|
|
36389
|
+
var styles35 = StyleSheet.create({
|
|
35709
36390
|
root: {
|
|
35710
36391
|
width: "100%",
|
|
35711
36392
|
flexDirection: "row",
|
|
@@ -35777,21 +36458,21 @@ var RatingInput = forwardRef(
|
|
|
35777
36458
|
{
|
|
35778
36459
|
...rest,
|
|
35779
36460
|
ref: setContainerRef,
|
|
35780
|
-
style: [
|
|
36461
|
+
style: [styles36.root, disabled && styles36.disabled, style],
|
|
35781
36462
|
children: [
|
|
35782
|
-
showValue ? /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [
|
|
36463
|
+
showValue ? /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles36.value, valueStyle], children: selectedValue.toFixed(precision) }) : null,
|
|
35783
36464
|
/* @__PURE__ */ jsx(
|
|
35784
36465
|
View,
|
|
35785
36466
|
{
|
|
35786
36467
|
accessibilityRole: readOnly ? "image" : "radiogroup",
|
|
35787
36468
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35788
36469
|
accessibilityState: { disabled },
|
|
35789
|
-
style: [
|
|
36470
|
+
style: [styles36.stars, { gap: resolvedStarGap }],
|
|
35790
36471
|
children: Array.from({ length: STAR_COUNT }, (_, index) => {
|
|
35791
36472
|
const starValue = index + 1;
|
|
35792
36473
|
const isSelected = starValue <= selectedStarCount;
|
|
35793
36474
|
const icon = isSelected ? /* @__PURE__ */ jsx(StarFilledIcon, { size: iconWidth, height: iconHeight }) : /* @__PURE__ */ jsx(StarIcon, { size: iconWidth, height: iconHeight });
|
|
35794
|
-
const itemStyle = [
|
|
36475
|
+
const itemStyle = [styles36.starItem, { width: size, height: size }];
|
|
35795
36476
|
if (readOnly) {
|
|
35796
36477
|
return /* @__PURE__ */ jsx(View, { style: itemStyle, children: icon }, starValue);
|
|
35797
36478
|
}
|
|
@@ -35817,7 +36498,7 @@ var RatingInput = forwardRef(
|
|
|
35817
36498
|
);
|
|
35818
36499
|
}
|
|
35819
36500
|
);
|
|
35820
|
-
var
|
|
36501
|
+
var styles36 = StyleSheet.create({
|
|
35821
36502
|
root: {
|
|
35822
36503
|
flexDirection: "row",
|
|
35823
36504
|
alignItems: "center",
|
|
@@ -35881,19 +36562,19 @@ var CommentCard = forwardRef(
|
|
|
35881
36562
|
setExpanded(next);
|
|
35882
36563
|
onExpandedChange?.(next);
|
|
35883
36564
|
};
|
|
35884
|
-
return /* @__PURE__ */ jsxs(View, { ...rest, ref: setContainerRef, style: [
|
|
35885
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
35886
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
36565
|
+
return /* @__PURE__ */ jsxs(View, { ...rest, ref: setContainerRef, style: [styles37.root, style], children: [
|
|
36566
|
+
/* @__PURE__ */ jsxs(View, { style: styles37.header, children: [
|
|
36567
|
+
/* @__PURE__ */ jsx(View, { style: styles37.avatar, children: hasImage ? /* @__PURE__ */ jsx(
|
|
35887
36568
|
Image,
|
|
35888
36569
|
{
|
|
35889
36570
|
source: { uri: imageUrl ?? void 0 },
|
|
35890
|
-
style:
|
|
36571
|
+
style: styles37.avatarImage,
|
|
35891
36572
|
onError: () => setImageFailed(true)
|
|
35892
36573
|
}
|
|
35893
36574
|
) : /* @__PURE__ */ jsx(UserIcon, { size: 20, color: colors.primary }) }),
|
|
35894
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
35895
|
-
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style:
|
|
35896
|
-
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style:
|
|
36575
|
+
/* @__PURE__ */ jsxs(View, { style: styles37.identity, children: [
|
|
36576
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles37.name, children: userName }),
|
|
36577
|
+
/* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: styles37.date, children: date })
|
|
35897
36578
|
] }),
|
|
35898
36579
|
/* @__PURE__ */ jsx(RatingInput, { value: rating, readOnly: true, showValue: false, size: 16 })
|
|
35899
36580
|
] }),
|
|
@@ -35901,7 +36582,7 @@ var CommentCard = forwardRef(
|
|
|
35901
36582
|
Text,
|
|
35902
36583
|
{
|
|
35903
36584
|
numberOfLines: expanded ? void 0 : maxCommentLines,
|
|
35904
|
-
style: [
|
|
36585
|
+
style: [styles37.comment, commentStyle],
|
|
35905
36586
|
children: commentText
|
|
35906
36587
|
}
|
|
35907
36588
|
),
|
|
@@ -35914,14 +36595,14 @@ var CommentCard = forwardRef(
|
|
|
35914
36595
|
hitSlop: 6,
|
|
35915
36596
|
onHoverIn: () => setActionHovered(true),
|
|
35916
36597
|
onHoverOut: () => setActionHovered(false),
|
|
35917
|
-
style:
|
|
36598
|
+
style: styles37.action,
|
|
35918
36599
|
children: /* @__PURE__ */ jsx(
|
|
35919
36600
|
Text,
|
|
35920
36601
|
{
|
|
35921
36602
|
style: [
|
|
35922
|
-
|
|
35923
|
-
expanded &&
|
|
35924
|
-
actionHovered && (expanded ?
|
|
36603
|
+
styles37.actionText,
|
|
36604
|
+
expanded && styles37.closeActionText,
|
|
36605
|
+
actionHovered && (expanded ? styles37.closeActionTextHovered : styles37.openActionTextHovered)
|
|
35925
36606
|
],
|
|
35926
36607
|
children: expanded ? readLessLabel : readMoreLabel
|
|
35927
36608
|
}
|
|
@@ -35931,7 +36612,7 @@ var CommentCard = forwardRef(
|
|
|
35931
36612
|
] });
|
|
35932
36613
|
}
|
|
35933
36614
|
);
|
|
35934
|
-
var
|
|
36615
|
+
var styles37 = StyleSheet.create({
|
|
35935
36616
|
root: {
|
|
35936
36617
|
width: CARD_WIDTH2,
|
|
35937
36618
|
minHeight: CARD_MIN_HEIGHT,
|
|
@@ -36370,7 +37051,7 @@ var Range = forwardRef(function Range2({
|
|
|
36370
37051
|
...rest,
|
|
36371
37052
|
ref: setRootRef,
|
|
36372
37053
|
onLayout,
|
|
36373
|
-
style: [
|
|
37054
|
+
style: [styles38.root, disabled && styles38.disabled, style],
|
|
36374
37055
|
children: [
|
|
36375
37056
|
/* @__PURE__ */ jsxs(
|
|
36376
37057
|
Pressable,
|
|
@@ -36384,16 +37065,16 @@ var Range = forwardRef(function Range2({
|
|
|
36384
37065
|
updateNearestFromTrack(event.nativeEvent.offsetX);
|
|
36385
37066
|
} : void 0,
|
|
36386
37067
|
onPress: Platform.OS === "web" ? void 0 : handleTrackPress,
|
|
36387
|
-
style:
|
|
37068
|
+
style: styles38.sliderPlane,
|
|
36388
37069
|
tabIndex: -1,
|
|
36389
37070
|
children: [
|
|
36390
|
-
/* @__PURE__ */ jsx(View, { pointerEvents: "none", style:
|
|
37071
|
+
/* @__PURE__ */ jsx(View, { pointerEvents: "none", style: styles38.track }),
|
|
36391
37072
|
/* @__PURE__ */ jsx(
|
|
36392
37073
|
View,
|
|
36393
37074
|
{
|
|
36394
37075
|
pointerEvents: "none",
|
|
36395
37076
|
style: [
|
|
36396
|
-
|
|
37077
|
+
styles38.activeTrack,
|
|
36397
37078
|
{
|
|
36398
37079
|
left: TRACK_HORIZONTAL_INSET + fromOffset,
|
|
36399
37080
|
width: toOffset - fromOffset + THUMB_SIZE2
|
|
@@ -36435,9 +37116,9 @@ var Range = forwardRef(function Range2({
|
|
|
36435
37116
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveFrom, updateFromInput),
|
|
36436
37117
|
pointerEvents: disabled ? "none" : "auto",
|
|
36437
37118
|
style: [
|
|
36438
|
-
|
|
36439
|
-
Platform.OS === "web" &&
|
|
36440
|
-
focusedThumb === "from" && Platform.OS === "web" &&
|
|
37119
|
+
styles38.thumb,
|
|
37120
|
+
Platform.OS === "web" && styles38.thumbWeb,
|
|
37121
|
+
focusedThumb === "from" && Platform.OS === "web" && styles38.thumbFocusedWeb,
|
|
36441
37122
|
{ left: TRACK_HORIZONTAL_INSET + fromOffset }
|
|
36442
37123
|
],
|
|
36443
37124
|
tabIndex: disabled ? -1 : 0
|
|
@@ -36477,9 +37158,9 @@ var Range = forwardRef(function Range2({
|
|
|
36477
37158
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveTo, updateToInput),
|
|
36478
37159
|
pointerEvents: disabled ? "none" : "auto",
|
|
36479
37160
|
style: [
|
|
36480
|
-
|
|
36481
|
-
Platform.OS === "web" &&
|
|
36482
|
-
focusedThumb === "to" && Platform.OS === "web" &&
|
|
37161
|
+
styles38.thumb,
|
|
37162
|
+
Platform.OS === "web" && styles38.thumbWeb,
|
|
37163
|
+
focusedThumb === "to" && Platform.OS === "web" && styles38.thumbFocusedWeb,
|
|
36483
37164
|
{ left: TRACK_HORIZONTAL_INSET + toOffset }
|
|
36484
37165
|
],
|
|
36485
37166
|
tabIndex: disabled ? -1 : 0
|
|
@@ -36488,7 +37169,7 @@ var Range = forwardRef(function Range2({
|
|
|
36488
37169
|
]
|
|
36489
37170
|
}
|
|
36490
37171
|
),
|
|
36491
|
-
/* @__PURE__ */ jsxs(View, { style:
|
|
37172
|
+
/* @__PURE__ */ jsxs(View, { style: styles38.inputs, children: [
|
|
36492
37173
|
/* @__PURE__ */ jsx(
|
|
36493
37174
|
RangeInput,
|
|
36494
37175
|
{
|
|
@@ -36539,7 +37220,7 @@ function RangeInput({
|
|
|
36539
37220
|
placeholder,
|
|
36540
37221
|
value
|
|
36541
37222
|
}) {
|
|
36542
|
-
return /* @__PURE__ */ jsxs(View, { style: [
|
|
37223
|
+
return /* @__PURE__ */ jsxs(View, { style: [styles38.inputField, focused && styles38.inputFieldFocused], children: [
|
|
36543
37224
|
/* @__PURE__ */ jsx(
|
|
36544
37225
|
TextInput,
|
|
36545
37226
|
{
|
|
@@ -36555,15 +37236,15 @@ function RangeInput({
|
|
|
36555
37236
|
placeholder,
|
|
36556
37237
|
placeholderTextColor: colors.grey150,
|
|
36557
37238
|
returnKeyType: "done",
|
|
36558
|
-
style: [
|
|
37239
|
+
style: [styles38.input, Platform.OS === "web" && styles38.inputWeb],
|
|
36559
37240
|
tabIndex: disabled ? -1 : void 0,
|
|
36560
37241
|
value
|
|
36561
37242
|
}
|
|
36562
37243
|
),
|
|
36563
|
-
/* @__PURE__ */ jsx(View, { style:
|
|
37244
|
+
/* @__PURE__ */ jsx(View, { style: styles38.currencySlot, children: /* @__PURE__ */ jsx(Text, { style: styles38.currency, children: currency }) })
|
|
36564
37245
|
] });
|
|
36565
37246
|
}
|
|
36566
|
-
var
|
|
37247
|
+
var styles38 = StyleSheet.create({
|
|
36567
37248
|
root: {
|
|
36568
37249
|
width: DEFAULT_WIDTH5,
|
|
36569
37250
|
gap: 15,
|
|
@@ -36772,6 +37453,6 @@ react-dom/cjs/react-dom.development.js:
|
|
|
36772
37453
|
*)
|
|
36773
37454
|
*/
|
|
36774
37455
|
|
|
36775
|
-
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, InfoTile, Input, InstagramIcon, KeyIcon, LanguageSwitcher, LayoutGridIcon, LinkedInIcon, ListViewIcon, LocationPinIcon, LocationUserIcon, LockIcon, LogOutIcon, MailIcon, MapCollapseIcon, MapExpandIcon, MapViewIcon, MenuIcon, MenuItem, MenuLinesIcon, MinusIcon, Modal, 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, 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 };
|
|
37456
|
+
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, CalendarOutlineIcon, CameraFilledIcon, CameraIcon, CardLocationIcon, CheckBadgeIcon, CheckIcon, CheckSuccessIcon, Checkbox, ChevronDownIcon, ChevronLeftIcon, ClockFilledIcon, ClockIcon, CloseIcon, CommentCard, ContactInfoCard, CopyIcon, Counter, CurrentLocationIcon, 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, 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 };
|
|
36776
37457
|
//# sourceMappingURL=index.js.map
|
|
36777
37458
|
//# sourceMappingURL=index.js.map
|