@ecohouse/ui 0.1.36 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.cjs +1169 -428
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +101 -2
- package/dist/index.d.ts +101 -2
- package/dist/index.js +1092 -358
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/src/components/Accordion/Accordion.stories.tsx +47 -0
- package/src/components/Accordion/Accordion.tsx +165 -0
- package/src/components/Accordion/index.ts +2 -0
- package/src/components/AutocompleteInput/AutocompleteInput.stories.tsx +80 -0
- package/src/components/AutocompleteInput/AutocompleteInput.tsx +313 -0
- package/src/components/AutocompleteInput/index.ts +2 -0
- package/src/components/Counter/Counter.tsx +61 -26
- package/src/components/Drawer/Drawer.stories.tsx +79 -0
- package/src/components/Drawer/Drawer.tsx +239 -0
- package/src/components/Drawer/index.ts +2 -0
- package/src/components/QuantityInput/QuantityInput.stories.tsx +45 -0
- package/src/components/QuantityInput/QuantityInput.tsx +153 -0
- package/src/components/QuantityInput/index.ts +2 -0
- package/src/components/StatusBadge/StatusBadge.tsx +1 -1
- package/src/components/index.ts +12 -0
- package/src/icons/ArrowLeft/ArrowLeftIcon.test.ts +10 -0
- package/src/icons/ArrowLeft/ArrowLeftIcon.tsx +21 -0
- package/src/icons/ArrowLeft/ArrowLeftIcon.web.tsx +26 -0
- package/src/icons/ArrowLeft/arrowLeftPath.ts +3 -0
- package/src/icons/ArrowLeft/index.ts +1 -0
- package/src/icons/CalendarMinus/CalendarMinusIcon.tsx +25 -0
- package/src/icons/CalendarMinus/CalendarMinusIcon.web.tsx +31 -0
- package/src/icons/CalendarMinus/calendarMinusPath.ts +3 -0
- package/src/icons/CalendarMinus/index.ts +1 -0
- package/src/icons/CurrentLocation/CurrentLocationIcon.test.ts +10 -0
- package/src/icons/CurrentLocation/CurrentLocationIcon.tsx +25 -0
- package/src/icons/CurrentLocation/CurrentLocationIcon.web.tsx +30 -0
- package/src/icons/CurrentLocation/currentLocationPath.ts +3 -0
- package/src/icons/CurrentLocation/index.ts +1 -0
- package/src/icons/index.ts +3 -0
- package/src/icons/registry.ts +3 -0
- package/src/index.ts +12 -0
- package/src/theme/colors.test.ts +1 -0
- package/src/theme/colors.ts +2 -0
- package/src/web/styles/account-header.css +22 -0
package/dist/index.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
var react = require('react');
|
|
4
4
|
var reactNative = require('react-native');
|
|
5
|
-
var
|
|
5
|
+
var Svg21 = require('react-native-svg');
|
|
6
6
|
var jsxRuntime = require('react/jsx-runtime');
|
|
7
7
|
|
|
8
8
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var Svg21__default = /*#__PURE__*/_interopDefault(Svg21);
|
|
11
11
|
|
|
12
12
|
var __create = Object.create;
|
|
13
13
|
var __defProp = Object.defineProperty;
|
|
@@ -7403,7 +7403,7 @@ var require_react_dom_development = __commonJS({
|
|
|
7403
7403
|
var HostPortal = 4;
|
|
7404
7404
|
var HostComponent = 5;
|
|
7405
7405
|
var HostText = 6;
|
|
7406
|
-
var
|
|
7406
|
+
var Fragment6 = 7;
|
|
7407
7407
|
var Mode = 8;
|
|
7408
7408
|
var ContextConsumer = 9;
|
|
7409
7409
|
var ContextProvider = 10;
|
|
@@ -8558,7 +8558,7 @@ var require_react_dom_development = __commonJS({
|
|
|
8558
8558
|
return "DehydratedFragment";
|
|
8559
8559
|
case ForwardRef:
|
|
8560
8560
|
return getWrappedName$1(type, type.render, "ForwardRef");
|
|
8561
|
-
case
|
|
8561
|
+
case Fragment6:
|
|
8562
8562
|
return "Fragment";
|
|
8563
8563
|
case HostComponent:
|
|
8564
8564
|
return type;
|
|
@@ -9455,15 +9455,15 @@ var require_react_dom_development = __commonJS({
|
|
|
9455
9455
|
};
|
|
9456
9456
|
}
|
|
9457
9457
|
var warnValidStyle$1 = warnValidStyle;
|
|
9458
|
-
function createDangerousStringForStyles(
|
|
9458
|
+
function createDangerousStringForStyles(styles40) {
|
|
9459
9459
|
{
|
|
9460
9460
|
var serialized = "";
|
|
9461
9461
|
var delimiter = "";
|
|
9462
|
-
for (var styleName in
|
|
9463
|
-
if (!
|
|
9462
|
+
for (var styleName in styles40) {
|
|
9463
|
+
if (!styles40.hasOwnProperty(styleName)) {
|
|
9464
9464
|
continue;
|
|
9465
9465
|
}
|
|
9466
|
-
var styleValue =
|
|
9466
|
+
var styleValue = styles40[styleName];
|
|
9467
9467
|
if (styleValue != null) {
|
|
9468
9468
|
var isCustomProperty = styleName.indexOf("--") === 0;
|
|
9469
9469
|
serialized += delimiter + (isCustomProperty ? styleName : hyphenateStyleName(styleName)) + ":";
|
|
@@ -9474,19 +9474,19 @@ var require_react_dom_development = __commonJS({
|
|
|
9474
9474
|
return serialized || null;
|
|
9475
9475
|
}
|
|
9476
9476
|
}
|
|
9477
|
-
function setValueForStyles(node,
|
|
9477
|
+
function setValueForStyles(node, styles40) {
|
|
9478
9478
|
var style2 = node.style;
|
|
9479
|
-
for (var styleName in
|
|
9480
|
-
if (!
|
|
9479
|
+
for (var styleName in styles40) {
|
|
9480
|
+
if (!styles40.hasOwnProperty(styleName)) {
|
|
9481
9481
|
continue;
|
|
9482
9482
|
}
|
|
9483
9483
|
var isCustomProperty = styleName.indexOf("--") === 0;
|
|
9484
9484
|
{
|
|
9485
9485
|
if (!isCustomProperty) {
|
|
9486
|
-
warnValidStyle$1(styleName,
|
|
9486
|
+
warnValidStyle$1(styleName, styles40[styleName]);
|
|
9487
9487
|
}
|
|
9488
9488
|
}
|
|
9489
|
-
var styleValue = dangerousStyleValue(styleName,
|
|
9489
|
+
var styleValue = dangerousStyleValue(styleName, styles40[styleName], isCustomProperty);
|
|
9490
9490
|
if (styleName === "float") {
|
|
9491
9491
|
styleName = "cssFloat";
|
|
9492
9492
|
}
|
|
@@ -9500,9 +9500,9 @@ var require_react_dom_development = __commonJS({
|
|
|
9500
9500
|
function isValueEmpty(value) {
|
|
9501
9501
|
return value == null || typeof value === "boolean" || value === "";
|
|
9502
9502
|
}
|
|
9503
|
-
function expandShorthandMap(
|
|
9503
|
+
function expandShorthandMap(styles40) {
|
|
9504
9504
|
var expanded = {};
|
|
9505
|
-
for (var key in
|
|
9505
|
+
for (var key in styles40) {
|
|
9506
9506
|
var longhands = shorthandToLonghand[key] || [key];
|
|
9507
9507
|
for (var i = 0; i < longhands.length; i++) {
|
|
9508
9508
|
expanded[longhands[i]] = key;
|
|
@@ -16983,7 +16983,7 @@ var require_react_dom_development = __commonJS({
|
|
|
16983
16983
|
}
|
|
16984
16984
|
}
|
|
16985
16985
|
function updateFragment2(returnFiber, current2, fragment, lanes, key) {
|
|
16986
|
-
if (current2 === null || current2.tag !==
|
|
16986
|
+
if (current2 === null || current2.tag !== Fragment6) {
|
|
16987
16987
|
var created = createFiberFromFragment(fragment, returnFiber.mode, lanes, key);
|
|
16988
16988
|
created.return = returnFiber;
|
|
16989
16989
|
return created;
|
|
@@ -17386,7 +17386,7 @@ var require_react_dom_development = __commonJS({
|
|
|
17386
17386
|
if (child.key === key) {
|
|
17387
17387
|
var elementType = element.type;
|
|
17388
17388
|
if (elementType === REACT_FRAGMENT_TYPE) {
|
|
17389
|
-
if (child.tag ===
|
|
17389
|
+
if (child.tag === Fragment6) {
|
|
17390
17390
|
deleteRemainingChildren(returnFiber, child.sibling);
|
|
17391
17391
|
var existing = useFiber(child, element.props.children);
|
|
17392
17392
|
existing.return = returnFiber;
|
|
@@ -22860,7 +22860,7 @@ var require_react_dom_development = __commonJS({
|
|
|
22860
22860
|
var _resolvedProps2 = workInProgress2.elementType === type ? _unresolvedProps2 : resolveDefaultProps(type, _unresolvedProps2);
|
|
22861
22861
|
return updateForwardRef(current2, workInProgress2, type, _resolvedProps2, renderLanes2);
|
|
22862
22862
|
}
|
|
22863
|
-
case
|
|
22863
|
+
case Fragment6:
|
|
22864
22864
|
return updateFragment(current2, workInProgress2, renderLanes2);
|
|
22865
22865
|
case Mode:
|
|
22866
22866
|
return updateMode(current2, workInProgress2, renderLanes2);
|
|
@@ -23132,7 +23132,7 @@ var require_react_dom_development = __commonJS({
|
|
|
23132
23132
|
case SimpleMemoComponent:
|
|
23133
23133
|
case FunctionComponent:
|
|
23134
23134
|
case ForwardRef:
|
|
23135
|
-
case
|
|
23135
|
+
case Fragment6:
|
|
23136
23136
|
case Mode:
|
|
23137
23137
|
case Profiler:
|
|
23138
23138
|
case ContextConsumer:
|
|
@@ -27384,7 +27384,7 @@ var require_react_dom_development = __commonJS({
|
|
|
27384
27384
|
return fiber;
|
|
27385
27385
|
}
|
|
27386
27386
|
function createFiberFromFragment(elements, mode, lanes, key) {
|
|
27387
|
-
var fiber = createFiber(
|
|
27387
|
+
var fiber = createFiber(Fragment6, elements, key, mode);
|
|
27388
27388
|
fiber.lanes = lanes;
|
|
27389
27389
|
return fiber;
|
|
27390
27390
|
}
|
|
@@ -27561,7 +27561,7 @@ var require_react_dom_development = __commonJS({
|
|
|
27561
27561
|
return root2;
|
|
27562
27562
|
}
|
|
27563
27563
|
var ReactVersion = "18.3.1";
|
|
27564
|
-
function
|
|
27564
|
+
function createPortal3(children, containerInfo, implementation) {
|
|
27565
27565
|
var key = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
|
|
27566
27566
|
{
|
|
27567
27567
|
checkKeyStringCoercion(key);
|
|
@@ -28417,7 +28417,7 @@ var require_react_dom_development = __commonJS({
|
|
|
28417
28417
|
if (!isValidContainer(container)) {
|
|
28418
28418
|
throw new Error("Target container is not a DOM element.");
|
|
28419
28419
|
}
|
|
28420
|
-
return
|
|
28420
|
+
return createPortal3(children, container, null, key);
|
|
28421
28421
|
}
|
|
28422
28422
|
function renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
|
|
28423
28423
|
return unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback);
|
|
@@ -28536,12 +28536,14 @@ var grey = {
|
|
|
28536
28536
|
};
|
|
28537
28537
|
var colors = {
|
|
28538
28538
|
primary: "#B46436",
|
|
28539
|
+
primaryLight: "#E38E5E",
|
|
28539
28540
|
black: "#000000",
|
|
28540
28541
|
white: "#ffffff",
|
|
28541
28542
|
whiteAlpha86: "#FFFFFFDB",
|
|
28542
28543
|
whiteAlpha60: "#FFFFFF99",
|
|
28543
28544
|
whiteAlpha40: "#FFFFFF66",
|
|
28544
28545
|
whiteAlpha20: "#FFFFFF33",
|
|
28546
|
+
whiteAlpha1: "#FFFFFF03",
|
|
28545
28547
|
whiteAlpha6: "#FFFFFF0F",
|
|
28546
28548
|
whiteAlpha10: "#FFFFFF1A",
|
|
28547
28549
|
whiteAlpha5: "#FFFFFF0D",
|
|
@@ -28816,8 +28818,8 @@ function ArrowRightIcon({
|
|
|
28816
28818
|
color = colors.primary,
|
|
28817
28819
|
strokeWidth = 2
|
|
28818
28820
|
}) {
|
|
28819
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28820
|
-
|
|
28821
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28822
|
+
Svg21.Path,
|
|
28821
28823
|
{
|
|
28822
28824
|
d: ARROW_RIGHT_PATH,
|
|
28823
28825
|
stroke: color,
|
|
@@ -28831,8 +28833,8 @@ function ArrowRightIcon({
|
|
|
28831
28833
|
// src/icons/AlertTriangle/alertTrianglePath.ts
|
|
28832
28834
|
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";
|
|
28833
28835
|
function AlertTriangleIcon({ size = 16, color = "#E38E5E", strokeWidth = 1.5 }) {
|
|
28834
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28835
|
-
|
|
28836
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28837
|
+
Svg21.Path,
|
|
28836
28838
|
{
|
|
28837
28839
|
d: ALERT_TRIANGLE_PATH,
|
|
28838
28840
|
stroke: color,
|
|
@@ -28867,17 +28869,17 @@ var GOOGLE_PLAY_PATHS = [
|
|
|
28867
28869
|
}
|
|
28868
28870
|
];
|
|
28869
28871
|
function AppleIcon({ size = 30, color = colors.white }) {
|
|
28870
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28872
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size * 25 / 30, height: size, viewBox: "0 0 25 30", fill: "none", children: APPLE_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: path, fill: color }, path)) });
|
|
28871
28873
|
}
|
|
28872
28874
|
function GooglePlayIcon({ size = 30 }) {
|
|
28873
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28875
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size * 27 / 30, height: size, viewBox: "0 0 27 30", fill: "none", children: GOOGLE_PLAY_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: path.d, fill: path.color }, path.d)) });
|
|
28874
28876
|
}
|
|
28875
28877
|
|
|
28876
28878
|
// src/icons/Bag/bagPath.ts
|
|
28877
28879
|
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";
|
|
28878
28880
|
function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
28879
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28880
|
-
|
|
28881
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28882
|
+
Svg21.Path,
|
|
28881
28883
|
{
|
|
28882
28884
|
d: BAG_PATH,
|
|
28883
28885
|
stroke: color,
|
|
@@ -28891,14 +28893,14 @@ function BagIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28891
28893
|
// src/icons/Ban/banPath.ts
|
|
28892
28894
|
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";
|
|
28893
28895
|
function BanIcon({ size = 28, color = colors.primary }) {
|
|
28894
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28896
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: BAN_PATH, fill: color }) });
|
|
28895
28897
|
}
|
|
28896
28898
|
|
|
28897
28899
|
// src/icons/Bell/bellPath.ts
|
|
28898
28900
|
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";
|
|
28899
28901
|
function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
28900
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28901
|
-
|
|
28902
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28903
|
+
Svg21.Path,
|
|
28902
28904
|
{
|
|
28903
28905
|
d: BELL_PATH,
|
|
28904
28906
|
stroke: color,
|
|
@@ -28912,8 +28914,8 @@ function BellIcon({ size = 16, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
28912
28914
|
// src/icons/Building/buildingPath.ts
|
|
28913
28915
|
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";
|
|
28914
28916
|
function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
28915
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28916
|
-
|
|
28917
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28918
|
+
Svg21.Path,
|
|
28917
28919
|
{
|
|
28918
28920
|
d: BUILDING_PATH,
|
|
28919
28921
|
stroke: color,
|
|
@@ -28927,8 +28929,8 @@ function BuildingIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28927
28929
|
// src/icons/Calendar/calendarPath.ts
|
|
28928
28930
|
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";
|
|
28929
28931
|
function CalendarIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
28930
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28931
|
-
|
|
28932
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28933
|
+
Svg21.Path,
|
|
28932
28934
|
{
|
|
28933
28935
|
d: CALENDAR_PATH,
|
|
28934
28936
|
stroke: color,
|
|
@@ -28939,6 +28941,25 @@ function CalendarIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 })
|
|
|
28939
28941
|
) });
|
|
28940
28942
|
}
|
|
28941
28943
|
|
|
28944
|
+
// src/icons/CalendarMinus/calendarMinusPath.ts
|
|
28945
|
+
var CALENDAR_MINUS_PATH = "M12.5 14.9998H17.5M17.5 9.58317V7.33317C17.5 5.93304 17.5 5.23297 17.2275 4.69819C16.9878 4.22779 16.6054 3.84534 16.135 3.60565C15.6002 3.33317 14.9001 3.33317 13.5 3.33317H6.5C5.09987 3.33317 4.3998 3.33317 3.86502 3.60565C3.39462 3.84534 3.01217 4.22779 2.77248 4.69819C2.5 5.23297 2.5 5.93304 2.5 7.33317V14.3332C2.5 15.7333 2.5 16.4334 2.77248 16.9681C3.01217 17.4386 3.39462 17.821 3.86502 18.0607C4.3998 18.3332 5.09987 18.3332 6.5 18.3332H10.4167M17.5 8.33317H2.5M13.3333 1.6665V4.99984M6.66667 1.6665V4.99984";
|
|
28946
|
+
function CalendarMinusIcon({
|
|
28947
|
+
size = 20,
|
|
28948
|
+
color = colors.grey200,
|
|
28949
|
+
strokeWidth = 2
|
|
28950
|
+
}) {
|
|
28951
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28952
|
+
Svg21.Path,
|
|
28953
|
+
{
|
|
28954
|
+
d: CALENDAR_MINUS_PATH,
|
|
28955
|
+
stroke: color,
|
|
28956
|
+
strokeWidth,
|
|
28957
|
+
strokeLinecap: "round",
|
|
28958
|
+
strokeLinejoin: "round"
|
|
28959
|
+
}
|
|
28960
|
+
) });
|
|
28961
|
+
}
|
|
28962
|
+
|
|
28942
28963
|
// src/icons/CalendarOutline/calendarOutlinePath.ts
|
|
28943
28964
|
var CALENDAR_OUTLINE_PATH = "M10.6667 1.33334V4.00001M5.33333 1.33334V4.00001M2 6.66668H14M5.2 2.66668H10.8C11.9201 2.66668 12.4802 2.66668 12.908 2.88466C13.2843 3.07641 13.5903 3.38237 13.782 3.7587C14 4.18652 14 4.74657 14 5.86668V11.4667C14 12.5868 14 13.1468 13.782 13.5747C13.5903 13.951 13.2843 14.2569 12.908 14.4487C12.4802 14.6667 11.9201 14.6667 10.8 14.6667H5.2C4.0799 14.6667 3.51984 14.6667 3.09202 14.4487C2.71569 14.2569 2.40973 13.951 2.21799 13.5747C2 13.1468 2 12.5868 2 11.4667V5.86668C2 4.74657 2 4.18652 2.21799 3.7587C2.40973 3.38237 2.71569 3.07641 3.09202 2.88466C3.51984 2.66668 4.0799 2.66668 5.2 2.66668Z";
|
|
28944
28965
|
function CalendarOutlineIcon({
|
|
@@ -28946,8 +28967,8 @@ function CalendarOutlineIcon({
|
|
|
28946
28967
|
color = colors.primary,
|
|
28947
28968
|
strokeWidth = 1.5
|
|
28948
28969
|
}) {
|
|
28949
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28950
|
-
|
|
28970
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28971
|
+
Svg21.Path,
|
|
28951
28972
|
{
|
|
28952
28973
|
d: CALENDAR_OUTLINE_PATH,
|
|
28953
28974
|
stroke: color,
|
|
@@ -28961,8 +28982,8 @@ function CalendarOutlineIcon({
|
|
|
28961
28982
|
// src/icons/Camera/cameraPath.ts
|
|
28962
28983
|
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";
|
|
28963
28984
|
function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
28964
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28965
|
-
|
|
28985
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28986
|
+
Svg21.Path,
|
|
28966
28987
|
{
|
|
28967
28988
|
d: CAMERA_PATH,
|
|
28968
28989
|
stroke: color,
|
|
@@ -28976,14 +28997,14 @@ function CameraIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28976
28997
|
// src/icons/CameraFilled/cameraFilledPath.ts
|
|
28977
28998
|
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";
|
|
28978
28999
|
function CameraFilledIcon({ size = 32, color = colors.primary }) {
|
|
28979
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29000
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 32 32", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: CAMERA_FILLED_PATH, fill: color }) });
|
|
28980
29001
|
}
|
|
28981
29002
|
|
|
28982
29003
|
// src/icons/Check/checkPath.ts
|
|
28983
29004
|
var CHECK_PATH = "M4.16669 10.8333L7.50002 14.1667L15.8334 5.83334";
|
|
28984
29005
|
function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
28985
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28986
|
-
|
|
29006
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29007
|
+
Svg21.Path,
|
|
28987
29008
|
{
|
|
28988
29009
|
d: CHECK_PATH,
|
|
28989
29010
|
stroke: color,
|
|
@@ -28997,8 +29018,8 @@ function CheckIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
28997
29018
|
// src/icons/CheckBadge/checkBadgePath.ts
|
|
28998
29019
|
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";
|
|
28999
29020
|
function CheckBadgeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29000
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29001
|
-
|
|
29021
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29022
|
+
Svg21.Path,
|
|
29002
29023
|
{
|
|
29003
29024
|
d: CHECK_BADGE_PATH,
|
|
29004
29025
|
stroke: color,
|
|
@@ -29016,8 +29037,8 @@ function ChevronDownIcon({
|
|
|
29016
29037
|
color = colors.primary,
|
|
29017
29038
|
strokeWidth = 2
|
|
29018
29039
|
}) {
|
|
29019
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29020
|
-
|
|
29040
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29041
|
+
Svg21.Path,
|
|
29021
29042
|
{
|
|
29022
29043
|
d: CHEVRON_DOWN_PATH,
|
|
29023
29044
|
stroke: color,
|
|
@@ -29031,8 +29052,8 @@ function ChevronDownIcon({
|
|
|
29031
29052
|
// src/icons/ChevronLeft/chevronLeftPath.ts
|
|
29032
29053
|
var CHEVRON_LEFT_PATH = "M12.5 15L7.5 10L12.5 5";
|
|
29033
29054
|
function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29034
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29035
|
-
|
|
29055
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29056
|
+
Svg21.Path,
|
|
29036
29057
|
{
|
|
29037
29058
|
d: CHEVRON_LEFT_PATH,
|
|
29038
29059
|
stroke: color,
|
|
@@ -29046,8 +29067,8 @@ function ChevronLeftIcon({ size = 20, color = colors.primary, strokeWidth = 2 })
|
|
|
29046
29067
|
// src/icons/Clock/clockPath.ts
|
|
29047
29068
|
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";
|
|
29048
29069
|
function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29049
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29050
|
-
|
|
29070
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29071
|
+
Svg21.Path,
|
|
29051
29072
|
{
|
|
29052
29073
|
d: CLOCK_PATH,
|
|
29053
29074
|
stroke: color,
|
|
@@ -29061,8 +29082,8 @@ function ClockIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29061
29082
|
// src/icons/Close/closePath.ts
|
|
29062
29083
|
var CLOSE_PATH = "M15 5L5 15M5 5L15 15";
|
|
29063
29084
|
function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29064
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29065
|
-
|
|
29085
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29086
|
+
Svg21.Path,
|
|
29066
29087
|
{
|
|
29067
29088
|
d: CLOSE_PATH,
|
|
29068
29089
|
stroke: color,
|
|
@@ -29076,8 +29097,8 @@ function CloseIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29076
29097
|
// src/icons/Edit/editPath.ts
|
|
29077
29098
|
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";
|
|
29078
29099
|
function EditIcon({ size = 12, color = colors.grey0, strokeWidth = 2 }) {
|
|
29079
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29080
|
-
|
|
29100
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29101
|
+
Svg21.Path,
|
|
29081
29102
|
{
|
|
29082
29103
|
d: EDIT_PATH,
|
|
29083
29104
|
stroke: color,
|
|
@@ -29103,8 +29124,8 @@ function SaveHeartIcon({
|
|
|
29103
29124
|
strokeWidth = 2,
|
|
29104
29125
|
fillOpacity = 0
|
|
29105
29126
|
}) {
|
|
29106
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29107
|
-
|
|
29127
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29128
|
+
Svg21.Path,
|
|
29108
29129
|
{
|
|
29109
29130
|
d: SAVE_HEART_PATH,
|
|
29110
29131
|
fill: color,
|
|
@@ -29117,8 +29138,8 @@ function SaveHeartIcon({
|
|
|
29117
29138
|
) });
|
|
29118
29139
|
}
|
|
29119
29140
|
function RatingStarIcon({ size = 12, color = "#E38E5E", strokeWidth = 2 }) {
|
|
29120
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29121
|
-
|
|
29141
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29142
|
+
Svg21.Path,
|
|
29122
29143
|
{
|
|
29123
29144
|
d: RATING_STAR_PATH,
|
|
29124
29145
|
fill: color,
|
|
@@ -29135,9 +29156,9 @@ function CardLocationIcon({
|
|
|
29135
29156
|
strokeWidth = 1.5,
|
|
29136
29157
|
secondaryColor = colors.grey700
|
|
29137
29158
|
}) {
|
|
29138
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29159
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg21__default.default, { width: size, height: size, viewBox: "0 0 13 13", fill: "none", children: [
|
|
29139
29160
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29140
|
-
|
|
29161
|
+
Svg21.Path,
|
|
29141
29162
|
{
|
|
29142
29163
|
d: CARD_LOCATION_BASE_PATH,
|
|
29143
29164
|
stroke: color,
|
|
@@ -29147,7 +29168,7 @@ function CardLocationIcon({
|
|
|
29147
29168
|
}
|
|
29148
29169
|
),
|
|
29149
29170
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29150
|
-
|
|
29171
|
+
Svg21.Path,
|
|
29151
29172
|
{
|
|
29152
29173
|
d: CARD_LOCATION_PIN_PATH,
|
|
29153
29174
|
fill: color,
|
|
@@ -29157,7 +29178,7 @@ function CardLocationIcon({
|
|
|
29157
29178
|
}
|
|
29158
29179
|
),
|
|
29159
29180
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29160
|
-
|
|
29181
|
+
Svg21.Path,
|
|
29161
29182
|
{
|
|
29162
29183
|
d: CARD_LOCATION_DOT_PATH,
|
|
29163
29184
|
fill: secondaryColor,
|
|
@@ -29174,7 +29195,7 @@ function FilledCardIcon({
|
|
|
29174
29195
|
color,
|
|
29175
29196
|
fillOpacity
|
|
29176
29197
|
}) {
|
|
29177
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29198
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: path, fill: color, fillOpacity }) });
|
|
29178
29199
|
}
|
|
29179
29200
|
function GuestsIcon({ size = 16, color = colors.white, fillOpacity = 0.4 }) {
|
|
29180
29201
|
return /* @__PURE__ */ jsxRuntime.jsx(FilledCardIcon, { path: GUESTS_PATH, size, color, fillOpacity });
|
|
@@ -29202,8 +29223,8 @@ var COPY_PATH = "M6.66699 13.3337V15.667C6.66699 16.6004 6.66699 17.0671 6.84865
|
|
|
29202
29223
|
var CHECK_SUCCESS_PATH = "M16.6663 5L7.49967 14.1667L3.33301 10";
|
|
29203
29224
|
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";
|
|
29204
29225
|
function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29205
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29206
|
-
|
|
29226
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29227
|
+
Svg21.Path,
|
|
29207
29228
|
{
|
|
29208
29229
|
d: SHARE_PATH,
|
|
29209
29230
|
stroke: color,
|
|
@@ -29214,8 +29235,8 @@ function ShareIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29214
29235
|
) });
|
|
29215
29236
|
}
|
|
29216
29237
|
function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29217
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29218
|
-
|
|
29238
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29239
|
+
Svg21.Path,
|
|
29219
29240
|
{
|
|
29220
29241
|
d: DOWNLOAD_PATH,
|
|
29221
29242
|
stroke: color,
|
|
@@ -29226,8 +29247,8 @@ function DownloadIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29226
29247
|
) });
|
|
29227
29248
|
}
|
|
29228
29249
|
function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29229
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29230
|
-
|
|
29250
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: AREA_EXPAND_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
29251
|
+
Svg21.Path,
|
|
29231
29252
|
{
|
|
29232
29253
|
d: path,
|
|
29233
29254
|
stroke: color,
|
|
@@ -29239,17 +29260,17 @@ function AreaExpandIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29239
29260
|
)) });
|
|
29240
29261
|
}
|
|
29241
29262
|
function ClockFilledIcon({ size = 16, color = colors.white }) {
|
|
29242
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29263
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: CLOCK_FILLED_PATH, fill: color }) });
|
|
29243
29264
|
}
|
|
29244
29265
|
function QrCodeIcon({ size = 24, color = colors.primary }) {
|
|
29245
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29266
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: QR_CODE_PATH, fill: color }) });
|
|
29246
29267
|
}
|
|
29247
29268
|
function WhatsAppIcon({ size = 24, color = colors.white }) {
|
|
29248
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29269
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: WHATSAPP_PATH, fill: color }) });
|
|
29249
29270
|
}
|
|
29250
29271
|
function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29251
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29252
|
-
|
|
29272
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29273
|
+
Svg21.Path,
|
|
29253
29274
|
{
|
|
29254
29275
|
d: COPY_PATH,
|
|
29255
29276
|
stroke: color,
|
|
@@ -29260,8 +29281,8 @@ function CopyIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
29260
29281
|
) });
|
|
29261
29282
|
}
|
|
29262
29283
|
function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 }) {
|
|
29263
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29264
|
-
|
|
29284
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29285
|
+
Svg21.Path,
|
|
29265
29286
|
{
|
|
29266
29287
|
d: CHECK_SUCCESS_PATH,
|
|
29267
29288
|
stroke: color,
|
|
@@ -29272,7 +29293,7 @@ function CheckSuccessIcon({ size = 20, color = colors.green, strokeWidth = 2 })
|
|
|
29272
29293
|
) });
|
|
29273
29294
|
}
|
|
29274
29295
|
function TooltipArrowIcon({ size = 10, color = colors.grey600 }) {
|
|
29275
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29296
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size * 8 / 10, viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: TOOLTIP_ARROW_PATH, fill: color }) });
|
|
29276
29297
|
}
|
|
29277
29298
|
|
|
29278
29299
|
// src/icons/HouseRules/houseRulesPaths.ts
|
|
@@ -29292,11 +29313,11 @@ var PAW_PATHS = [
|
|
|
29292
29313
|
];
|
|
29293
29314
|
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";
|
|
29294
29315
|
function QuietHoursIcon({ size = 20, color = colors.white }) {
|
|
29295
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29316
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: QUIET_HOURS_PATH, fill: color }) });
|
|
29296
29317
|
}
|
|
29297
29318
|
function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
29298
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29299
|
-
|
|
29319
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: NO_SMOKING_PATHS.map((d) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
29320
|
+
Svg21.Path,
|
|
29300
29321
|
{
|
|
29301
29322
|
d,
|
|
29302
29323
|
stroke: color,
|
|
@@ -29308,8 +29329,8 @@ function NoSmokingIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
29308
29329
|
)) });
|
|
29309
29330
|
}
|
|
29310
29331
|
function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
29311
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29312
|
-
|
|
29332
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: PAW_PATHS.map((d) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
29333
|
+
Svg21.Path,
|
|
29313
29334
|
{
|
|
29314
29335
|
d,
|
|
29315
29336
|
stroke: color,
|
|
@@ -29321,8 +29342,8 @@ function PawIcon({ size = 20, color = colors.white, strokeWidth = 1.5 }) {
|
|
|
29321
29342
|
)) });
|
|
29322
29343
|
}
|
|
29323
29344
|
function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29324
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29325
|
-
|
|
29345
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29346
|
+
Svg21.Path,
|
|
29326
29347
|
{
|
|
29327
29348
|
d: TRASH_PATH,
|
|
29328
29349
|
stroke: color,
|
|
@@ -29336,14 +29357,14 @@ function TrashIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
|
29336
29357
|
// src/icons/Facebook/facebookPath.ts
|
|
29337
29358
|
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";
|
|
29338
29359
|
function FacebookIcon({ size = 20, color = colors.white }) {
|
|
29339
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29360
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: FACEBOOK_PATH, fill: color }) });
|
|
29340
29361
|
}
|
|
29341
29362
|
|
|
29342
29363
|
// src/icons/Filters/filtersPath.ts
|
|
29343
29364
|
var FILTERS_PATH = "M5 10H15M2.5 5H17.5M7.5 15H12.5";
|
|
29344
29365
|
function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29345
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29346
|
-
|
|
29366
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29367
|
+
Svg21.Path,
|
|
29347
29368
|
{
|
|
29348
29369
|
d: FILTERS_PATH,
|
|
29349
29370
|
stroke: color,
|
|
@@ -29357,8 +29378,8 @@ function FiltersIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
|
29357
29378
|
// src/icons/Fullscreen/fullscreenPath.ts
|
|
29358
29379
|
var FULLSCREEN_PATH = "M16 8L21 3M21 8V3H16M8 8L3 3M8 3L3 3L3 8M8 16L3 21M3 16L3 21H8M16 16L21 21M16 21H21V16";
|
|
29359
29380
|
function FullscreenIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
29360
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29361
|
-
|
|
29381
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29382
|
+
Svg21.Path,
|
|
29362
29383
|
{
|
|
29363
29384
|
d: FULLSCREEN_PATH,
|
|
29364
29385
|
stroke: color,
|
|
@@ -29372,8 +29393,8 @@ function FullscreenIcon({ size = 24, color = colors.white, strokeWidth = 2 }) {
|
|
|
29372
29393
|
// src/icons/Heart/heartPath.ts
|
|
29373
29394
|
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";
|
|
29374
29395
|
function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29375
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29376
|
-
|
|
29396
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29397
|
+
Svg21.Path,
|
|
29377
29398
|
{
|
|
29378
29399
|
d: HEART_PATH,
|
|
29379
29400
|
stroke: color,
|
|
@@ -29390,9 +29411,9 @@ function HeartIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
29390
29411
|
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";
|
|
29391
29412
|
var HEADSET_MIC_PATH = "M21 16V18C21 19.0609 20.5786 20.0783 19.8284 20.8284C19.0783 21.5786 18.0609 22 17 22H12";
|
|
29392
29413
|
function HeadsetIcon({ size = 24, color = "#B76533", strokeWidth = 2 }) {
|
|
29393
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29414
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: [
|
|
29394
29415
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29395
|
-
|
|
29416
|
+
Svg21.Path,
|
|
29396
29417
|
{
|
|
29397
29418
|
d: HEADSET_PATH,
|
|
29398
29419
|
stroke: color,
|
|
@@ -29402,7 +29423,7 @@ function HeadsetIcon({ size = 24, color = "#B76533", strokeWidth = 2 }) {
|
|
|
29402
29423
|
}
|
|
29403
29424
|
),
|
|
29404
29425
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29405
|
-
|
|
29426
|
+
Svg21.Path,
|
|
29406
29427
|
{
|
|
29407
29428
|
d: HEADSET_MIC_PATH,
|
|
29408
29429
|
stroke: color,
|
|
@@ -29417,8 +29438,8 @@ function HeadsetIcon({ size = 24, color = "#B76533", strokeWidth = 2 }) {
|
|
|
29417
29438
|
// src/icons/Globe/globePath.ts
|
|
29418
29439
|
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";
|
|
29419
29440
|
function GlobeIcon({ size = 16, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29420
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29421
|
-
|
|
29441
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29442
|
+
Svg21.Path,
|
|
29422
29443
|
{
|
|
29423
29444
|
d: GLOBE_PATH,
|
|
29424
29445
|
stroke: color,
|
|
@@ -29436,8 +29457,8 @@ function HelpCircleIcon({
|
|
|
29436
29457
|
color = colors.primary,
|
|
29437
29458
|
strokeWidth = 1.5
|
|
29438
29459
|
}) {
|
|
29439
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29440
|
-
|
|
29460
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29461
|
+
Svg21.Path,
|
|
29441
29462
|
{
|
|
29442
29463
|
d: HELP_CIRCLE_PATH,
|
|
29443
29464
|
stroke: color,
|
|
@@ -29451,8 +29472,8 @@ function HelpCircleIcon({
|
|
|
29451
29472
|
// src/icons/Hide/hidePath.ts
|
|
29452
29473
|
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";
|
|
29453
29474
|
function HideIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
29454
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29455
|
-
|
|
29475
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29476
|
+
Svg21.Path,
|
|
29456
29477
|
{
|
|
29457
29478
|
d: HIDE_PATH,
|
|
29458
29479
|
stroke: color,
|
|
@@ -29466,8 +29487,8 @@ function HideIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29466
29487
|
// src/icons/Home/homePath.ts
|
|
29467
29488
|
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";
|
|
29468
29489
|
function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29469
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29470
|
-
|
|
29490
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29491
|
+
Svg21.Path,
|
|
29471
29492
|
{
|
|
29472
29493
|
d: HOME_PATH,
|
|
29473
29494
|
stroke: color,
|
|
@@ -29481,14 +29502,14 @@ function HomeIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29481
29502
|
// src/icons/Instagram/instagramPath.ts
|
|
29482
29503
|
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";
|
|
29483
29504
|
function InstagramIcon({ size = 20, color = colors.white }) {
|
|
29484
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29505
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: INSTAGRAM_PATH, fill: color }) });
|
|
29485
29506
|
}
|
|
29486
29507
|
|
|
29487
29508
|
// src/icons/Key/keyPath.ts
|
|
29488
29509
|
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";
|
|
29489
29510
|
function KeyIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29490
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29491
|
-
|
|
29511
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29512
|
+
Svg21.Path,
|
|
29492
29513
|
{
|
|
29493
29514
|
d: KEY_PATH,
|
|
29494
29515
|
stroke: color,
|
|
@@ -29506,8 +29527,8 @@ function LayoutGridIcon({
|
|
|
29506
29527
|
color = colors.primary,
|
|
29507
29528
|
strokeWidth = 1.5
|
|
29508
29529
|
}) {
|
|
29509
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29510
|
-
|
|
29530
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29531
|
+
Svg21.Path,
|
|
29511
29532
|
{
|
|
29512
29533
|
d: LAYOUT_GRID_PATH,
|
|
29513
29534
|
stroke: color,
|
|
@@ -29521,14 +29542,14 @@ function LayoutGridIcon({
|
|
|
29521
29542
|
// src/icons/LinkedIn/linkedinPath.ts
|
|
29522
29543
|
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";
|
|
29523
29544
|
function LinkedInIcon({ size = 20, color = colors.white }) {
|
|
29524
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29545
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: LINKEDIN_PATH, fill: color }) });
|
|
29525
29546
|
}
|
|
29526
29547
|
|
|
29527
29548
|
// src/icons/ListView/listViewPath.ts
|
|
29528
29549
|
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";
|
|
29529
29550
|
function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29530
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29531
|
-
|
|
29551
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29552
|
+
Svg21.Path,
|
|
29532
29553
|
{
|
|
29533
29554
|
d: LIST_VIEW_PATH,
|
|
29534
29555
|
stroke: color,
|
|
@@ -29542,8 +29563,8 @@ function ListViewIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29542
29563
|
// src/icons/LocationPin/locationPinPath.ts
|
|
29543
29564
|
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";
|
|
29544
29565
|
function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 }) {
|
|
29545
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29546
|
-
|
|
29566
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29567
|
+
Svg21.Path,
|
|
29547
29568
|
{
|
|
29548
29569
|
d: LOCATION_PIN_PATH,
|
|
29549
29570
|
stroke: color,
|
|
@@ -29557,14 +29578,14 @@ function LocationPinIcon({ size = 20, color = colors.grey200, strokeWidth = 2 })
|
|
|
29557
29578
|
// src/icons/LocationUser/locationUserPath.ts
|
|
29558
29579
|
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";
|
|
29559
29580
|
function LocationUserIcon({ size = 16, color = colors.grey0 }) {
|
|
29560
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29581
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: LOCATION_USER_PATH, fill: color }) });
|
|
29561
29582
|
}
|
|
29562
29583
|
|
|
29563
29584
|
// src/icons/Lock/lockPath.ts
|
|
29564
29585
|
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";
|
|
29565
29586
|
function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
29566
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29567
|
-
|
|
29587
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 32 32", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29588
|
+
Svg21.Path,
|
|
29568
29589
|
{
|
|
29569
29590
|
d: LOCK_PATH,
|
|
29570
29591
|
stroke: color,
|
|
@@ -29578,8 +29599,8 @@ function LockIcon({ size = 32, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29578
29599
|
// src/icons/LogOut/logOutPath.ts
|
|
29579
29600
|
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";
|
|
29580
29601
|
function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
29581
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29582
|
-
|
|
29602
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29603
|
+
Svg21.Path,
|
|
29583
29604
|
{
|
|
29584
29605
|
d: LOG_OUT_PATH,
|
|
29585
29606
|
stroke: color,
|
|
@@ -29593,8 +29614,8 @@ function LogOutIcon({ size = 20, color = colors.red, strokeWidth = 1.5 }) {
|
|
|
29593
29614
|
// src/icons/Mail/mailPath.ts
|
|
29594
29615
|
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";
|
|
29595
29616
|
function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29596
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29597
|
-
|
|
29617
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29618
|
+
Svg21.Path,
|
|
29598
29619
|
{
|
|
29599
29620
|
d: MAIL_PATH,
|
|
29600
29621
|
stroke: color,
|
|
@@ -29608,8 +29629,8 @@ function MailIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29608
29629
|
// src/icons/MapView/mapViewPath.ts
|
|
29609
29630
|
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";
|
|
29610
29631
|
function MapViewIcon({ size = 20, color = colors.grey400, strokeWidth = 2 }) {
|
|
29611
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29612
|
-
|
|
29632
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29633
|
+
Svg21.Path,
|
|
29613
29634
|
{
|
|
29614
29635
|
d: MAP_VIEW_PATH,
|
|
29615
29636
|
stroke: color,
|
|
@@ -29629,8 +29650,8 @@ function MapControlIcon({
|
|
|
29629
29650
|
color = colors.white,
|
|
29630
29651
|
strokeWidth = 2
|
|
29631
29652
|
}) {
|
|
29632
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29633
|
-
|
|
29653
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29654
|
+
Svg21.Path,
|
|
29634
29655
|
{
|
|
29635
29656
|
d: path,
|
|
29636
29657
|
stroke: color,
|
|
@@ -29656,8 +29677,8 @@ function MenuIcon({
|
|
|
29656
29677
|
strokeWidth = 2,
|
|
29657
29678
|
open = false
|
|
29658
29679
|
}) {
|
|
29659
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29660
|
-
|
|
29680
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 19 19", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29681
|
+
Svg21.Path,
|
|
29661
29682
|
{
|
|
29662
29683
|
d: open ? MENU_CLOSE_PATH : MENU_PATH,
|
|
29663
29684
|
stroke: color,
|
|
@@ -29672,8 +29693,8 @@ function MenuIcon({
|
|
|
29672
29693
|
// src/icons/MenuLines/menuLinesPath.ts
|
|
29673
29694
|
var MENU_LINES_PATH = "M5.83398 19.8337H15.1673M5.83398 14.0003H22.1673M5.83398 8.16699H15.1673";
|
|
29674
29695
|
function MenuLinesIcon({ size = 28, color = colors.white, strokeWidth = 2 }) {
|
|
29675
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29676
|
-
|
|
29696
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29697
|
+
Svg21.Path,
|
|
29677
29698
|
{
|
|
29678
29699
|
d: MENU_LINES_PATH,
|
|
29679
29700
|
stroke: color,
|
|
@@ -29687,8 +29708,8 @@ function MenuLinesIcon({ size = 28, color = colors.white, strokeWidth = 2 }) {
|
|
|
29687
29708
|
// src/icons/Minus/minusPath.ts
|
|
29688
29709
|
var MINUS_PATH = "M3.33337 8H12.6667";
|
|
29689
29710
|
function MinusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
29690
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29691
|
-
|
|
29711
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29712
|
+
Svg21.Path,
|
|
29692
29713
|
{
|
|
29693
29714
|
d: MINUS_PATH,
|
|
29694
29715
|
stroke: color,
|
|
@@ -29707,8 +29728,8 @@ function MoreHorizontalIcon({
|
|
|
29707
29728
|
color = colors.white,
|
|
29708
29729
|
strokeWidth = 2
|
|
29709
29730
|
}) {
|
|
29710
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29711
|
-
|
|
29731
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size * ASPECT_RATIO, viewBox: "0 0 13 4", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29732
|
+
Svg21.Path,
|
|
29712
29733
|
{
|
|
29713
29734
|
d: MORE_HORIZONTAL_PATH,
|
|
29714
29735
|
stroke: color,
|
|
@@ -29722,8 +29743,8 @@ function MoreHorizontalIcon({
|
|
|
29722
29743
|
// src/icons/Navigate/navigatePath.ts
|
|
29723
29744
|
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";
|
|
29724
29745
|
function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29725
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29726
|
-
|
|
29746
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29747
|
+
Svg21.Path,
|
|
29727
29748
|
{
|
|
29728
29749
|
d: NAVIGATE_PATH,
|
|
29729
29750
|
stroke: color,
|
|
@@ -29737,8 +29758,8 @@ function NavigateIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29737
29758
|
// src/icons/Phone/phonePath.ts
|
|
29738
29759
|
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";
|
|
29739
29760
|
function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29740
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29741
|
-
|
|
29761
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29762
|
+
Svg21.Path,
|
|
29742
29763
|
{
|
|
29743
29764
|
d: PHONE_PATH,
|
|
29744
29765
|
stroke: color,
|
|
@@ -29752,8 +29773,8 @@ function PhoneIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29752
29773
|
// src/icons/Plus/plusPath.ts
|
|
29753
29774
|
var PLUS_PATH = "M8.00004 3.33325V12.6666M3.33337 7.99992H12.6667";
|
|
29754
29775
|
function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
29755
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29756
|
-
|
|
29776
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29777
|
+
Svg21.Path,
|
|
29757
29778
|
{
|
|
29758
29779
|
d: PLUS_PATH,
|
|
29759
29780
|
stroke: color,
|
|
@@ -29767,8 +29788,8 @@ function PlusIcon({ size = 16, color = colors.white, strokeWidth = 2 }) {
|
|
|
29767
29788
|
// src/icons/Refresh/refreshPath.ts
|
|
29768
29789
|
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";
|
|
29769
29790
|
function RefreshIcon({ size = 20, color = colors.white, strokeWidth = 2 }) {
|
|
29770
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29771
|
-
|
|
29791
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29792
|
+
Svg21.Path,
|
|
29772
29793
|
{
|
|
29773
29794
|
d: REFRESH_PATH,
|
|
29774
29795
|
stroke: color,
|
|
@@ -29786,8 +29807,8 @@ function RefundStatusIcon({
|
|
|
29786
29807
|
color = colors.primary,
|
|
29787
29808
|
strokeWidth = 2
|
|
29788
29809
|
}) {
|
|
29789
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29790
|
-
|
|
29810
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29811
|
+
Svg21.Path,
|
|
29791
29812
|
{
|
|
29792
29813
|
d: REFUND_STATUS_PATH,
|
|
29793
29814
|
stroke: color,
|
|
@@ -29806,9 +29827,9 @@ function SearchIcon({
|
|
|
29806
29827
|
color = colors.primary,
|
|
29807
29828
|
strokeWidth = 2
|
|
29808
29829
|
}) {
|
|
29809
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29830
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
29810
29831
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29811
|
-
|
|
29832
|
+
Svg21.Path,
|
|
29812
29833
|
{
|
|
29813
29834
|
d: SEARCH_CIRCLE_PATH,
|
|
29814
29835
|
stroke: color,
|
|
@@ -29818,7 +29839,7 @@ function SearchIcon({
|
|
|
29818
29839
|
}
|
|
29819
29840
|
),
|
|
29820
29841
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29821
|
-
|
|
29842
|
+
Svg21.Path,
|
|
29822
29843
|
{
|
|
29823
29844
|
d: SEARCH_HANDLE_PATH,
|
|
29824
29845
|
stroke: color,
|
|
@@ -29833,8 +29854,8 @@ function SearchIcon({
|
|
|
29833
29854
|
// src/icons/Settings/settingsPath.ts
|
|
29834
29855
|
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";
|
|
29835
29856
|
function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29836
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29837
|
-
|
|
29857
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29858
|
+
Svg21.Path,
|
|
29838
29859
|
{
|
|
29839
29860
|
d: SETTINGS_PATH,
|
|
29840
29861
|
stroke: color,
|
|
@@ -29849,9 +29870,9 @@ function SettingsIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 })
|
|
|
29849
29870
|
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";
|
|
29850
29871
|
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";
|
|
29851
29872
|
function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29852
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29873
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: [
|
|
29853
29874
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29854
|
-
|
|
29875
|
+
Svg21.Path,
|
|
29855
29876
|
{
|
|
29856
29877
|
d: SHOW_PATH,
|
|
29857
29878
|
stroke: color,
|
|
@@ -29861,7 +29882,7 @@ function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29861
29882
|
}
|
|
29862
29883
|
),
|
|
29863
29884
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29864
|
-
|
|
29885
|
+
Svg21.Path,
|
|
29865
29886
|
{
|
|
29866
29887
|
d: SHOW_PUPIL_PATH,
|
|
29867
29888
|
stroke: color,
|
|
@@ -29876,8 +29897,8 @@ function ShowIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29876
29897
|
// src/icons/Sidebar/sidebarPath.ts
|
|
29877
29898
|
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";
|
|
29878
29899
|
function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29879
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29880
|
-
|
|
29900
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29901
|
+
Svg21.Path,
|
|
29881
29902
|
{
|
|
29882
29903
|
d: SIDEBAR_PATH,
|
|
29883
29904
|
stroke: color,
|
|
@@ -29891,8 +29912,8 @@ function SidebarIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29891
29912
|
// src/icons/Sort/sortPath.ts
|
|
29892
29913
|
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";
|
|
29893
29914
|
function SortIcon({ size = 20, color = colors.grey300, strokeWidth = 2 }) {
|
|
29894
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29895
|
-
|
|
29915
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29916
|
+
Svg21.Path,
|
|
29896
29917
|
{
|
|
29897
29918
|
d: SORT_PATH,
|
|
29898
29919
|
stroke: color,
|
|
@@ -29913,8 +29934,8 @@ function StarIcon({
|
|
|
29913
29934
|
strokeWidth = 2
|
|
29914
29935
|
}) {
|
|
29915
29936
|
const resolvedColor = color ?? (active ? "#E38E5E" : colors.grey150);
|
|
29916
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29917
|
-
|
|
29937
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29938
|
+
Svg21.Path,
|
|
29918
29939
|
{
|
|
29919
29940
|
d: STAR_PATH,
|
|
29920
29941
|
fill: active ? resolvedColor : "none",
|
|
@@ -29931,8 +29952,8 @@ function StarFilledIcon({
|
|
|
29931
29952
|
color = "#E38E5E",
|
|
29932
29953
|
strokeWidth = 2
|
|
29933
29954
|
}) {
|
|
29934
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29935
|
-
|
|
29955
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: height ?? size * 26 / 28, viewBox: "0 0 28 26", fill: color, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29956
|
+
Svg21.Path,
|
|
29936
29957
|
{
|
|
29937
29958
|
d: STAR_PATH,
|
|
29938
29959
|
fill: color,
|
|
@@ -29947,8 +29968,8 @@ function StarFilledIcon({
|
|
|
29947
29968
|
// src/icons/TableView/tableViewPath.ts
|
|
29948
29969
|
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";
|
|
29949
29970
|
function TableViewIcon({ size = 17, color = colors.grey400, strokeWidth = 2 }) {
|
|
29950
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29951
|
-
|
|
29971
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 17 17", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29972
|
+
Svg21.Path,
|
|
29952
29973
|
{
|
|
29953
29974
|
d: TABLE_VIEW_PATH,
|
|
29954
29975
|
stroke: color,
|
|
@@ -29962,8 +29983,8 @@ function TableViewIcon({ size = 17, color = colors.grey400, strokeWidth = 2 }) {
|
|
|
29962
29983
|
// src/icons/User/userPath.ts
|
|
29963
29984
|
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";
|
|
29964
29985
|
function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
29965
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29966
|
-
|
|
29986
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29987
|
+
Svg21.Path,
|
|
29967
29988
|
{
|
|
29968
29989
|
d: USER_PATH,
|
|
29969
29990
|
stroke: color,
|
|
@@ -29977,7 +29998,7 @@ function UserIcon({ size = 20, color = colors.primary, strokeWidth = 2 }) {
|
|
|
29977
29998
|
// src/icons/UsersAlt/usersAltPath.ts
|
|
29978
29999
|
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";
|
|
29979
30000
|
function UsersAltIcon({ size = 28, color = colors.white }) {
|
|
29980
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30001
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 28 28", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: USERS_ALT_PATH, fill: color }) });
|
|
29981
30002
|
}
|
|
29982
30003
|
|
|
29983
30004
|
// src/icons/Video/videoPath.ts
|
|
@@ -29986,8 +30007,8 @@ var VIDEO_PATHS = [
|
|
|
29986
30007
|
"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"
|
|
29987
30008
|
];
|
|
29988
30009
|
function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
29989
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29990
|
-
|
|
30010
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 16 16", fill: "none", children: VIDEO_PATHS.map((path) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
30011
|
+
Svg21.Path,
|
|
29991
30012
|
{
|
|
29992
30013
|
d: path,
|
|
29993
30014
|
stroke: color,
|
|
@@ -30002,8 +30023,8 @@ function VideoIcon({ size = 20, color = colors.primary, strokeWidth = 1.5 }) {
|
|
|
30002
30023
|
// src/icons/VideoOff/videoOffPath.ts
|
|
30003
30024
|
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";
|
|
30004
30025
|
function VideoOffIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
30005
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30006
|
-
|
|
30026
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30027
|
+
Svg21.Path,
|
|
30007
30028
|
{
|
|
30008
30029
|
d: VIDEO_OFF_PATH,
|
|
30009
30030
|
stroke: color,
|
|
@@ -30017,8 +30038,8 @@ function VideoOffIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
|
30017
30038
|
// src/icons/ZoomOut/zoomOutPath.ts
|
|
30018
30039
|
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";
|
|
30019
30040
|
function ZoomOutIcon({ size = 24, color = colors.primary, strokeWidth = 2 }) {
|
|
30020
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30021
|
-
|
|
30041
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30042
|
+
Svg21.Path,
|
|
30022
30043
|
{
|
|
30023
30044
|
d: ZOOM_OUT_PATH,
|
|
30024
30045
|
stroke: color,
|
|
@@ -30040,6 +30061,7 @@ var icons = {
|
|
|
30040
30061
|
bell: BellIcon,
|
|
30041
30062
|
building: BuildingIcon,
|
|
30042
30063
|
calendar: CalendarIcon,
|
|
30064
|
+
calendarMinus: CalendarMinusIcon,
|
|
30043
30065
|
calendarOutline: CalendarOutlineIcon,
|
|
30044
30066
|
camera: CameraIcon,
|
|
30045
30067
|
cameraFilled: CameraFilledIcon,
|
|
@@ -30147,6 +30169,7 @@ var iconGroups = {
|
|
|
30147
30169
|
"download",
|
|
30148
30170
|
"search",
|
|
30149
30171
|
"calendar",
|
|
30172
|
+
"calendarMinus",
|
|
30150
30173
|
"calendarOutline",
|
|
30151
30174
|
"close",
|
|
30152
30175
|
"edit",
|
|
@@ -30269,8 +30292,8 @@ var AMENITY_PATHS = {
|
|
|
30269
30292
|
]
|
|
30270
30293
|
};
|
|
30271
30294
|
function AmenityIcon({ name, size = 20, color = colors.primary }) {
|
|
30272
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30273
|
-
|
|
30295
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 20 20", fill: "none", children: AMENITY_PATHS[name].map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
30296
|
+
Svg21.Path,
|
|
30274
30297
|
{
|
|
30275
30298
|
d: path.d,
|
|
30276
30299
|
fill: path.fill ? color : "none",
|
|
@@ -30283,6 +30306,40 @@ function AmenityIcon({ name, size = 20, color = colors.primary }) {
|
|
|
30283
30306
|
)) });
|
|
30284
30307
|
}
|
|
30285
30308
|
|
|
30309
|
+
// src/icons/ArrowLeft/arrowLeftPath.ts
|
|
30310
|
+
var ARROW_LEFT_PATH = "M10.1972 6.59961L4.80078 11.9994L10.1972 17.3996M4.80078 11.9965H19.202";
|
|
30311
|
+
function ArrowLeftIcon({ size = 24, color = colors.white, strokeWidth = 1.35 }) {
|
|
30312
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30313
|
+
Svg21.Path,
|
|
30314
|
+
{
|
|
30315
|
+
d: ARROW_LEFT_PATH,
|
|
30316
|
+
stroke: color,
|
|
30317
|
+
strokeWidth,
|
|
30318
|
+
strokeLinecap: "round",
|
|
30319
|
+
strokeLinejoin: "round"
|
|
30320
|
+
}
|
|
30321
|
+
) });
|
|
30322
|
+
}
|
|
30323
|
+
|
|
30324
|
+
// src/icons/CurrentLocation/currentLocationPath.ts
|
|
30325
|
+
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";
|
|
30326
|
+
function CurrentLocationIcon({
|
|
30327
|
+
size = 19,
|
|
30328
|
+
color = colors.primary,
|
|
30329
|
+
strokeWidth = 1.5
|
|
30330
|
+
}) {
|
|
30331
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Svg21__default.default, { width: size, height: size, viewBox: "0 0 19 19", fill: "none", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30332
|
+
Svg21.Path,
|
|
30333
|
+
{
|
|
30334
|
+
d: CURRENT_LOCATION_PATH,
|
|
30335
|
+
stroke: color,
|
|
30336
|
+
strokeWidth,
|
|
30337
|
+
strokeLinecap: "round",
|
|
30338
|
+
strokeLinejoin: "round"
|
|
30339
|
+
}
|
|
30340
|
+
) });
|
|
30341
|
+
}
|
|
30342
|
+
|
|
30286
30343
|
// src/utils/mergeRefs.ts
|
|
30287
30344
|
function mergeRefs(internalRef, forwardedRef) {
|
|
30288
30345
|
return (node) => {
|
|
@@ -30811,7 +30868,7 @@ function BrandLogo({
|
|
|
30811
30868
|
const size = resolveBrandLogoSize(width, height);
|
|
30812
30869
|
const fill = BRAND_LOGO_COLORS[variant];
|
|
30813
30870
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
30814
|
-
|
|
30871
|
+
Svg21__default.default,
|
|
30815
30872
|
{
|
|
30816
30873
|
width: size.width,
|
|
30817
30874
|
height: size.height,
|
|
@@ -30821,7 +30878,7 @@ function BrandLogo({
|
|
|
30821
30878
|
accessible: true,
|
|
30822
30879
|
accessibilityRole: "image",
|
|
30823
30880
|
accessibilityLabel,
|
|
30824
|
-
children: BRAND_LOGO_PATHS.map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
30881
|
+
children: BRAND_LOGO_PATHS.map((path, index) => /* @__PURE__ */ jsxRuntime.jsx(Svg21.Path, { d: path, fill }, index))
|
|
30825
30882
|
}
|
|
30826
30883
|
);
|
|
30827
30884
|
}
|
|
@@ -31521,7 +31578,7 @@ var styles10 = reactNative.StyleSheet.create({
|
|
|
31521
31578
|
label: {
|
|
31522
31579
|
fontFamily: fonts.sans,
|
|
31523
31580
|
fontSize: 12,
|
|
31524
|
-
fontWeight: "
|
|
31581
|
+
fontWeight: "700",
|
|
31525
31582
|
lineHeight: 12,
|
|
31526
31583
|
letterSpacing: 0
|
|
31527
31584
|
},
|
|
@@ -32056,6 +32113,123 @@ var styles15 = reactNative.StyleSheet.create({
|
|
|
32056
32113
|
color: colors.lightGrey
|
|
32057
32114
|
}
|
|
32058
32115
|
});
|
|
32116
|
+
var DESKTOP_MIN_WIDTH3 = 1024;
|
|
32117
|
+
var CHEVRON_SIZE3 = 24;
|
|
32118
|
+
var Accordion = react.forwardRef(function Accordion2({
|
|
32119
|
+
title,
|
|
32120
|
+
children,
|
|
32121
|
+
open: openProp,
|
|
32122
|
+
defaultOpen = false,
|
|
32123
|
+
onOpenChange,
|
|
32124
|
+
disabled = false,
|
|
32125
|
+
error = false,
|
|
32126
|
+
style,
|
|
32127
|
+
contentStyle,
|
|
32128
|
+
className,
|
|
32129
|
+
accessibilityLabel,
|
|
32130
|
+
...rest
|
|
32131
|
+
}, forwardedRef) {
|
|
32132
|
+
const rootRef = react.useRef(null);
|
|
32133
|
+
const setRootRef = react.useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
32134
|
+
const controlled = openProp !== void 0;
|
|
32135
|
+
const [uncontrolledOpen, setUncontrolledOpen] = react.useState(defaultOpen);
|
|
32136
|
+
const open = controlled ? Boolean(openProp) : uncontrolledOpen;
|
|
32137
|
+
const { width } = reactNative.useWindowDimensions();
|
|
32138
|
+
const desktop = width >= DESKTOP_MIN_WIDTH3;
|
|
32139
|
+
const horizontalPadding = desktop ? 24 : 16;
|
|
32140
|
+
useApplyWebClassName(rootRef, className?.trim() || void 0);
|
|
32141
|
+
const toggle = react.useCallback(() => {
|
|
32142
|
+
if (disabled) return;
|
|
32143
|
+
const next = !open;
|
|
32144
|
+
if (!controlled) setUncontrolledOpen(next);
|
|
32145
|
+
onOpenChange?.(next);
|
|
32146
|
+
}, [controlled, disabled, onOpenChange, open]);
|
|
32147
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32148
|
+
reactNative.View,
|
|
32149
|
+
{
|
|
32150
|
+
...rest,
|
|
32151
|
+
ref: setRootRef,
|
|
32152
|
+
style: [
|
|
32153
|
+
styles16.root,
|
|
32154
|
+
{ borderRadius: desktop ? 24 : 20 },
|
|
32155
|
+
error && styles16.error,
|
|
32156
|
+
disabled && styles16.disabled,
|
|
32157
|
+
style
|
|
32158
|
+
],
|
|
32159
|
+
children: [
|
|
32160
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
32161
|
+
reactNative.Pressable,
|
|
32162
|
+
{
|
|
32163
|
+
accessibilityLabel: accessibilityLabel ?? title,
|
|
32164
|
+
accessibilityRole: "button",
|
|
32165
|
+
accessibilityState: { disabled, expanded: open },
|
|
32166
|
+
disabled,
|
|
32167
|
+
onPress: toggle,
|
|
32168
|
+
style: [styles16.header, { paddingHorizontal: horizontalPadding }],
|
|
32169
|
+
children: [
|
|
32170
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.title, desktop ? styles16.titleDesktop : styles16.titleMobile], children: title }),
|
|
32171
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.chevron, open && styles16.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { color: open ? colors.primary : colors.grey400, size: CHEVRON_SIZE3 }) })
|
|
32172
|
+
]
|
|
32173
|
+
}
|
|
32174
|
+
),
|
|
32175
|
+
open ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.content, { paddingHorizontal: horizontalPadding }, contentStyle], children }) : null
|
|
32176
|
+
]
|
|
32177
|
+
}
|
|
32178
|
+
);
|
|
32179
|
+
});
|
|
32180
|
+
var styles16 = reactNative.StyleSheet.create({
|
|
32181
|
+
root: {
|
|
32182
|
+
alignSelf: "stretch",
|
|
32183
|
+
backgroundColor: colors.whiteAlpha1,
|
|
32184
|
+
borderColor: "transparent",
|
|
32185
|
+
borderWidth: 1,
|
|
32186
|
+
overflow: "hidden",
|
|
32187
|
+
width: "100%"
|
|
32188
|
+
},
|
|
32189
|
+
header: {
|
|
32190
|
+
alignItems: "center",
|
|
32191
|
+
flexDirection: "row",
|
|
32192
|
+
gap: 16,
|
|
32193
|
+
minHeight: 64,
|
|
32194
|
+
paddingVertical: 16,
|
|
32195
|
+
width: "100%"
|
|
32196
|
+
},
|
|
32197
|
+
title: {
|
|
32198
|
+
color: colors.white,
|
|
32199
|
+
flex: 1,
|
|
32200
|
+
fontFamily: fonts.sans,
|
|
32201
|
+
fontSize: 14,
|
|
32202
|
+
letterSpacing: 0,
|
|
32203
|
+
lineHeight: 18,
|
|
32204
|
+
minWidth: 0
|
|
32205
|
+
},
|
|
32206
|
+
titleMobile: {
|
|
32207
|
+
fontWeight: "500"
|
|
32208
|
+
},
|
|
32209
|
+
titleDesktop: {
|
|
32210
|
+
fontWeight: "600"
|
|
32211
|
+
},
|
|
32212
|
+
chevron: {
|
|
32213
|
+
alignItems: "center",
|
|
32214
|
+
flexShrink: 0,
|
|
32215
|
+
height: CHEVRON_SIZE3,
|
|
32216
|
+
justifyContent: "center",
|
|
32217
|
+
transform: [{ rotate: "0deg" }],
|
|
32218
|
+
width: CHEVRON_SIZE3
|
|
32219
|
+
},
|
|
32220
|
+
chevronOpen: {
|
|
32221
|
+
transform: [{ rotate: "180deg" }]
|
|
32222
|
+
},
|
|
32223
|
+
content: {
|
|
32224
|
+
paddingBottom: 16
|
|
32225
|
+
},
|
|
32226
|
+
error: {
|
|
32227
|
+
borderColor: colors.redMuted
|
|
32228
|
+
},
|
|
32229
|
+
disabled: {
|
|
32230
|
+
opacity: 0.6
|
|
32231
|
+
}
|
|
32232
|
+
});
|
|
32059
32233
|
var BADGE_SIZE = 42;
|
|
32060
32234
|
var ROW_GAP = 12;
|
|
32061
32235
|
var CONNECTOR_WIDTH = 2;
|
|
@@ -32079,18 +32253,18 @@ var StepList = react.forwardRef(function StepList2({ steps, style, className, ac
|
|
|
32079
32253
|
ref: setContainerRef,
|
|
32080
32254
|
accessibilityRole: "summary",
|
|
32081
32255
|
accessibilityLabel,
|
|
32082
|
-
style: [
|
|
32256
|
+
style: [styles17.root, style],
|
|
32083
32257
|
children: steps.map((description, index) => {
|
|
32084
32258
|
const isLast = index === steps.length - 1;
|
|
32085
32259
|
const number = index + 1;
|
|
32086
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
32087
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
32088
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
32260
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.stepBlock, children: [
|
|
32261
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.row, children: [
|
|
32262
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles17.badge, webBlurStyle6], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32089
32263
|
reactNative.Text,
|
|
32090
32264
|
{
|
|
32091
32265
|
style: [
|
|
32092
|
-
|
|
32093
|
-
reactNative.Platform.OS === "android" ?
|
|
32266
|
+
styles17.badgeLabel,
|
|
32267
|
+
reactNative.Platform.OS === "android" ? styles17.labelAndroid : null
|
|
32094
32268
|
],
|
|
32095
32269
|
children: String(number)
|
|
32096
32270
|
}
|
|
@@ -32098,18 +32272,18 @@ var StepList = react.forwardRef(function StepList2({ steps, style, className, ac
|
|
|
32098
32272
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32099
32273
|
reactNative.Text,
|
|
32100
32274
|
{
|
|
32101
|
-
style: [
|
|
32275
|
+
style: [styles17.description, reactNative.Platform.OS === "android" ? styles17.labelAndroid : null],
|
|
32102
32276
|
children: description
|
|
32103
32277
|
}
|
|
32104
32278
|
)
|
|
32105
32279
|
] }),
|
|
32106
|
-
!isLast ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
32280
|
+
!isLast ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles17.connectorSlot, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles17.connector }) }) : null
|
|
32107
32281
|
] }, `${number}-${description}`);
|
|
32108
32282
|
})
|
|
32109
32283
|
}
|
|
32110
32284
|
);
|
|
32111
32285
|
});
|
|
32112
|
-
var
|
|
32286
|
+
var styles17 = reactNative.StyleSheet.create({
|
|
32113
32287
|
root: {
|
|
32114
32288
|
width: "100%"
|
|
32115
32289
|
},
|
|
@@ -32182,6 +32356,7 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
32182
32356
|
max,
|
|
32183
32357
|
step = 1,
|
|
32184
32358
|
disabled = false,
|
|
32359
|
+
layout = "controls-around",
|
|
32185
32360
|
style,
|
|
32186
32361
|
className,
|
|
32187
32362
|
hitSlop,
|
|
@@ -32204,43 +32379,63 @@ var Counter = react.forwardRef(function Counter2({
|
|
|
32204
32379
|
if (!isControlled) setUncontrolledValue(next);
|
|
32205
32380
|
onValueChange?.(next);
|
|
32206
32381
|
};
|
|
32207
|
-
|
|
32208
|
-
|
|
32209
|
-
|
|
32210
|
-
|
|
32211
|
-
|
|
32212
|
-
|
|
32213
|
-
|
|
32214
|
-
|
|
32215
|
-
|
|
32216
|
-
|
|
32217
|
-
|
|
32218
|
-
|
|
32219
|
-
|
|
32220
|
-
|
|
32221
|
-
|
|
32222
|
-
|
|
32223
|
-
|
|
32224
|
-
|
|
32225
|
-
|
|
32226
|
-
|
|
32227
|
-
|
|
32228
|
-
|
|
32229
|
-
|
|
32230
|
-
|
|
32231
|
-
|
|
32232
|
-
|
|
32233
|
-
|
|
32234
|
-
|
|
32235
|
-
|
|
32382
|
+
const decrement = /* @__PURE__ */ jsxRuntime.jsx(
|
|
32383
|
+
reactNative.Pressable,
|
|
32384
|
+
{
|
|
32385
|
+
disabled: decrementDisabled,
|
|
32386
|
+
hitSlop,
|
|
32387
|
+
onPress: () => updateValue(resolvedValue - step),
|
|
32388
|
+
accessibilityRole: "button",
|
|
32389
|
+
accessibilityLabel: "Decrease value",
|
|
32390
|
+
accessibilityState: { disabled: decrementDisabled },
|
|
32391
|
+
style: [styles18.button, webBlurStyle7, decrementDisabled && styles18.buttonDisabled],
|
|
32392
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(MinusIcon, {})
|
|
32393
|
+
}
|
|
32394
|
+
);
|
|
32395
|
+
const increment = /* @__PURE__ */ jsxRuntime.jsx(
|
|
32396
|
+
reactNative.Pressable,
|
|
32397
|
+
{
|
|
32398
|
+
disabled: incrementDisabled,
|
|
32399
|
+
hitSlop,
|
|
32400
|
+
onPress: () => updateValue(resolvedValue + step),
|
|
32401
|
+
accessibilityRole: "button",
|
|
32402
|
+
accessibilityLabel: "Increase value",
|
|
32403
|
+
accessibilityState: { disabled: incrementDisabled },
|
|
32404
|
+
style: [styles18.button, webBlurStyle7, incrementDisabled && styles18.buttonDisabled],
|
|
32405
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, {})
|
|
32406
|
+
}
|
|
32407
|
+
);
|
|
32408
|
+
const valueNode = /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles18.value, layout === "value-first" && styles18.leadingValue], children: resolvedValue });
|
|
32409
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
32410
|
+
reactNative.View,
|
|
32411
|
+
{
|
|
32412
|
+
...rest,
|
|
32413
|
+
ref: setContainerRef,
|
|
32414
|
+
style: [styles18.base, layout === "value-first" && styles18.valueFirst, style],
|
|
32415
|
+
children: layout === "value-first" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
32416
|
+
valueNode,
|
|
32417
|
+
decrement,
|
|
32418
|
+
increment
|
|
32419
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
32420
|
+
decrement,
|
|
32421
|
+
valueNode,
|
|
32422
|
+
increment
|
|
32423
|
+
] })
|
|
32424
|
+
}
|
|
32425
|
+
);
|
|
32236
32426
|
});
|
|
32237
|
-
var
|
|
32427
|
+
var styles18 = reactNative.StyleSheet.create({
|
|
32238
32428
|
base: {
|
|
32239
32429
|
flexDirection: "row",
|
|
32240
32430
|
alignItems: "center",
|
|
32241
32431
|
alignSelf: "flex-start",
|
|
32242
32432
|
gap: 17
|
|
32243
32433
|
},
|
|
32434
|
+
valueFirst: {
|
|
32435
|
+
alignSelf: "stretch",
|
|
32436
|
+
flex: 1,
|
|
32437
|
+
gap: 6
|
|
32438
|
+
},
|
|
32244
32439
|
button: {
|
|
32245
32440
|
width: BUTTON_SIZE,
|
|
32246
32441
|
height: BUTTON_SIZE,
|
|
@@ -32256,6 +32451,125 @@ var styles17 = reactNative.StyleSheet.create({
|
|
|
32256
32451
|
value: {
|
|
32257
32452
|
...counterTypography,
|
|
32258
32453
|
color: colors.white
|
|
32454
|
+
},
|
|
32455
|
+
leadingValue: {
|
|
32456
|
+
flex: 1
|
|
32457
|
+
}
|
|
32458
|
+
});
|
|
32459
|
+
var QuantityInput = react.forwardRef(
|
|
32460
|
+
function QuantityInput2({
|
|
32461
|
+
label,
|
|
32462
|
+
icon: Icon2,
|
|
32463
|
+
iconProps,
|
|
32464
|
+
iconSize = 20,
|
|
32465
|
+
value,
|
|
32466
|
+
defaultValue,
|
|
32467
|
+
onValueChange,
|
|
32468
|
+
min = 1,
|
|
32469
|
+
max,
|
|
32470
|
+
step = 1,
|
|
32471
|
+
disabled = false,
|
|
32472
|
+
error = false,
|
|
32473
|
+
hint,
|
|
32474
|
+
showHint = true,
|
|
32475
|
+
style,
|
|
32476
|
+
className,
|
|
32477
|
+
accessibilityLabel,
|
|
32478
|
+
...rest
|
|
32479
|
+
}, forwardedRef) {
|
|
32480
|
+
const rootRef = react.useRef(null);
|
|
32481
|
+
const setRootRef = react.useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
32482
|
+
useApplyWebClassName(rootRef, className?.trim() || void 0);
|
|
32483
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
32484
|
+
reactNative.View,
|
|
32485
|
+
{
|
|
32486
|
+
...rest,
|
|
32487
|
+
ref: setRootRef,
|
|
32488
|
+
accessibilityLabel: accessibilityLabel ?? label,
|
|
32489
|
+
accessibilityState: { disabled },
|
|
32490
|
+
style: [styles19.root, disabled && styles19.disabled, style],
|
|
32491
|
+
children: [
|
|
32492
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles19.label, error && styles19.errorText], children: label }),
|
|
32493
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles19.field, error && styles19.errorField], children: [
|
|
32494
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32495
|
+
Icon2,
|
|
32496
|
+
{
|
|
32497
|
+
...iconProps,
|
|
32498
|
+
color: iconProps?.color ?? (error ? colors.red : colors.grey150),
|
|
32499
|
+
size: iconSize
|
|
32500
|
+
}
|
|
32501
|
+
) }),
|
|
32502
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
32503
|
+
Counter,
|
|
32504
|
+
{
|
|
32505
|
+
defaultValue,
|
|
32506
|
+
disabled,
|
|
32507
|
+
layout: "value-first",
|
|
32508
|
+
max,
|
|
32509
|
+
min,
|
|
32510
|
+
onValueChange,
|
|
32511
|
+
step,
|
|
32512
|
+
value
|
|
32513
|
+
}
|
|
32514
|
+
)
|
|
32515
|
+
] }),
|
|
32516
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles19.hint, error && styles19.errorText], children: hint }) : null
|
|
32517
|
+
]
|
|
32518
|
+
}
|
|
32519
|
+
);
|
|
32520
|
+
}
|
|
32521
|
+
);
|
|
32522
|
+
var styles19 = reactNative.StyleSheet.create({
|
|
32523
|
+
root: {
|
|
32524
|
+
alignSelf: "stretch",
|
|
32525
|
+
flexDirection: "column",
|
|
32526
|
+
gap: 8,
|
|
32527
|
+
minWidth: 0
|
|
32528
|
+
},
|
|
32529
|
+
label: {
|
|
32530
|
+
color: colors.white,
|
|
32531
|
+
fontFamily: fonts.sans,
|
|
32532
|
+
fontSize: 12,
|
|
32533
|
+
fontWeight: "500",
|
|
32534
|
+
letterSpacing: -0.24,
|
|
32535
|
+
lineHeight: 12
|
|
32536
|
+
},
|
|
32537
|
+
field: {
|
|
32538
|
+
alignItems: "center",
|
|
32539
|
+
alignSelf: "stretch",
|
|
32540
|
+
backgroundColor: colors.grey700,
|
|
32541
|
+
borderColor: colors.grey700,
|
|
32542
|
+
borderRadius: 60,
|
|
32543
|
+
borderWidth: 1,
|
|
32544
|
+
flexDirection: "row",
|
|
32545
|
+
gap: 10,
|
|
32546
|
+
height: 44,
|
|
32547
|
+
paddingLeft: 16,
|
|
32548
|
+
paddingRight: 6,
|
|
32549
|
+
paddingVertical: 5
|
|
32550
|
+
},
|
|
32551
|
+
iconSlot: {
|
|
32552
|
+
alignItems: "center",
|
|
32553
|
+
flexShrink: 0,
|
|
32554
|
+
height: 20,
|
|
32555
|
+
justifyContent: "center",
|
|
32556
|
+
width: 20
|
|
32557
|
+
},
|
|
32558
|
+
hint: {
|
|
32559
|
+
color: colors.grey100,
|
|
32560
|
+
fontFamily: fonts.sans,
|
|
32561
|
+
fontSize: 12,
|
|
32562
|
+
fontWeight: "400",
|
|
32563
|
+
lineHeight: 12
|
|
32564
|
+
},
|
|
32565
|
+
errorField: {
|
|
32566
|
+
borderColor: colors.redMuted
|
|
32567
|
+
},
|
|
32568
|
+
errorText: {
|
|
32569
|
+
color: colors.red
|
|
32570
|
+
},
|
|
32571
|
+
disabled: {
|
|
32572
|
+
opacity: 0.6
|
|
32259
32573
|
}
|
|
32260
32574
|
});
|
|
32261
32575
|
var ICON_SIZE8 = 20;
|
|
@@ -32354,9 +32668,9 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32354
32668
|
onLayout?.(event);
|
|
32355
32669
|
},
|
|
32356
32670
|
style: [
|
|
32357
|
-
|
|
32358
|
-
fullWidth ?
|
|
32359
|
-
disabled &&
|
|
32671
|
+
styles20.base,
|
|
32672
|
+
fullWidth ? styles20.fullWidth : styles20.contentWidth,
|
|
32673
|
+
disabled && styles20.disabled,
|
|
32360
32674
|
style
|
|
32361
32675
|
],
|
|
32362
32676
|
accessibilityRole: "radiogroup",
|
|
@@ -32377,10 +32691,10 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32377
32691
|
return nextWidths;
|
|
32378
32692
|
});
|
|
32379
32693
|
},
|
|
32380
|
-
style:
|
|
32694
|
+
style: styles20.optionMeasurement,
|
|
32381
32695
|
children: [
|
|
32382
32696
|
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE8 }) : null,
|
|
32383
|
-
showLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
32697
|
+
showLabel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles20.label, styles20.contentWidthLabel], children: label }) : null
|
|
32384
32698
|
]
|
|
32385
32699
|
},
|
|
32386
32700
|
`${optionValue}-measurement`
|
|
@@ -32390,7 +32704,7 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32390
32704
|
{
|
|
32391
32705
|
pointerEvents: "none",
|
|
32392
32706
|
style: [
|
|
32393
|
-
|
|
32707
|
+
styles20.activeIndicator,
|
|
32394
32708
|
{ width: selectedOptionWidth, transform: [{ translateX: indicatorTranslateX }] }
|
|
32395
32709
|
]
|
|
32396
32710
|
}
|
|
@@ -32410,18 +32724,18 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32410
32724
|
accessibilityLabel: label,
|
|
32411
32725
|
accessibilityState: { selected, disabled },
|
|
32412
32726
|
style: [
|
|
32413
|
-
|
|
32414
|
-
fullWidth ?
|
|
32727
|
+
styles20.option,
|
|
32728
|
+
fullWidth ? styles20.optionFullWidth : [styles20.optionContentWidth, optionWidth > 0 && { width: optionWidth }]
|
|
32415
32729
|
],
|
|
32416
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
32730
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.optionContent, children: [
|
|
32417
32731
|
Icon2 ? /* @__PURE__ */ jsxRuntime.jsx(Icon2, { size: ICON_SIZE8, color: iconColor }) : null,
|
|
32418
32732
|
showLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
32419
32733
|
reactNative.Text,
|
|
32420
32734
|
{
|
|
32421
32735
|
numberOfLines: fullWidth ? 1 : void 0,
|
|
32422
32736
|
style: [
|
|
32423
|
-
|
|
32424
|
-
!fullWidth &&
|
|
32737
|
+
styles20.label,
|
|
32738
|
+
!fullWidth && styles20.contentWidthLabel,
|
|
32425
32739
|
{ color: labelColor }
|
|
32426
32740
|
],
|
|
32427
32741
|
children: label
|
|
@@ -32437,7 +32751,7 @@ var SegmentedToggle = react.forwardRef(
|
|
|
32437
32751
|
);
|
|
32438
32752
|
}
|
|
32439
32753
|
);
|
|
32440
|
-
var
|
|
32754
|
+
var styles20 = reactNative.StyleSheet.create({
|
|
32441
32755
|
base: {
|
|
32442
32756
|
height: 44,
|
|
32443
32757
|
flexDirection: "row",
|
|
@@ -32565,16 +32879,16 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32565
32879
|
{
|
|
32566
32880
|
...rest,
|
|
32567
32881
|
ref: setContainerRef,
|
|
32568
|
-
style: [
|
|
32882
|
+
style: [styles21.root, { width: widthAnim }, style],
|
|
32569
32883
|
accessibilityRole: "menu",
|
|
32570
32884
|
children: [
|
|
32571
32885
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
32572
32886
|
reactNative.View,
|
|
32573
32887
|
{
|
|
32574
32888
|
style: [
|
|
32575
|
-
|
|
32576
|
-
collapsed ?
|
|
32577
|
-
!showCollapseToggle && !onClose ?
|
|
32889
|
+
styles21.header,
|
|
32890
|
+
collapsed ? styles21.headerCollapsed : styles21.headerExpanded,
|
|
32891
|
+
!showCollapseToggle && !onClose ? styles21.headerNoToggle : null
|
|
32578
32892
|
],
|
|
32579
32893
|
children: [
|
|
32580
32894
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32582,7 +32896,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32582
32896
|
{
|
|
32583
32897
|
pointerEvents: collapsed ? "none" : "auto",
|
|
32584
32898
|
style: [
|
|
32585
|
-
|
|
32899
|
+
styles21.logoSlot,
|
|
32586
32900
|
{
|
|
32587
32901
|
opacity: labelOpacity,
|
|
32588
32902
|
maxWidth: collapsed ? 0 : LOGO_WIDTH
|
|
@@ -32608,7 +32922,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32608
32922
|
accessibilityLabel: closeAccessibilityLabel,
|
|
32609
32923
|
hitSlop: 8,
|
|
32610
32924
|
onPress: onClose,
|
|
32611
|
-
style:
|
|
32925
|
+
style: styles21.toggleButton,
|
|
32612
32926
|
children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
32613
32927
|
}
|
|
32614
32928
|
) : showCollapseToggle ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -32619,7 +32933,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32619
32933
|
accessibilityState: { expanded: !collapsed },
|
|
32620
32934
|
hitSlop: 8,
|
|
32621
32935
|
onPress: () => setCollapsed(!collapsed),
|
|
32622
|
-
style:
|
|
32936
|
+
style: styles21.toggleButton,
|
|
32623
32937
|
children: /* @__PURE__ */ jsxRuntime.jsx(SidebarIcon, { color: colors.grey100, size: TOGGLE_SIZE, strokeWidth: 2 })
|
|
32624
32938
|
}
|
|
32625
32939
|
) : null
|
|
@@ -32631,7 +32945,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32631
32945
|
{
|
|
32632
32946
|
accessibilityLabel: navigationAccessibilityLabel,
|
|
32633
32947
|
accessibilityRole: "menu",
|
|
32634
|
-
style:
|
|
32948
|
+
style: styles21.nav,
|
|
32635
32949
|
children: items.map((item) => {
|
|
32636
32950
|
const isActive = Boolean(item.active);
|
|
32637
32951
|
const iconColor = isActive ? colors.primary : colors.grey300;
|
|
@@ -32647,18 +32961,18 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32647
32961
|
hoverColor: colors.grey700,
|
|
32648
32962
|
onPress: item.onPress,
|
|
32649
32963
|
labelStyle: [
|
|
32650
|
-
|
|
32964
|
+
styles21.menuLabel,
|
|
32651
32965
|
{ color: isActive ? colors.white : colors.grey200 },
|
|
32652
|
-
collapsed ?
|
|
32966
|
+
collapsed ? styles21.menuLabelCollapsed : styles21.menuLabelExpanded
|
|
32653
32967
|
],
|
|
32654
|
-
style: [
|
|
32968
|
+
style: [styles21.menuItem, collapsed ? styles21.menuItemCollapsed : null]
|
|
32655
32969
|
},
|
|
32656
32970
|
item.key
|
|
32657
32971
|
);
|
|
32658
32972
|
})
|
|
32659
32973
|
}
|
|
32660
32974
|
),
|
|
32661
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
32975
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles21.footer, collapsed ? styles21.footerCollapsed : styles21.footerExpanded], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32662
32976
|
AvatarSimple,
|
|
32663
32977
|
{
|
|
32664
32978
|
name: user.name,
|
|
@@ -32673,7 +32987,7 @@ var Sidebar = react.forwardRef(function Sidebar2({
|
|
|
32673
32987
|
}
|
|
32674
32988
|
);
|
|
32675
32989
|
});
|
|
32676
|
-
var
|
|
32990
|
+
var styles21 = reactNative.StyleSheet.create({
|
|
32677
32991
|
root: {
|
|
32678
32992
|
flexDirection: "column",
|
|
32679
32993
|
alignSelf: "stretch",
|
|
@@ -32867,11 +33181,11 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32867
33181
|
...rest,
|
|
32868
33182
|
ref: setWrapperRef,
|
|
32869
33183
|
style: [
|
|
32870
|
-
|
|
32871
|
-
isIconVariant ?
|
|
32872
|
-
isOpen &&
|
|
32873
|
-
isOpen && isIconVariant &&
|
|
32874
|
-
disabled &&
|
|
33184
|
+
styles22.wrapper,
|
|
33185
|
+
isIconVariant ? styles22.wrapperIcon : styles22.wrapperDefault,
|
|
33186
|
+
isOpen && styles22.wrapperOpen,
|
|
33187
|
+
isOpen && isIconVariant && styles22.wrapperOpenIcon,
|
|
33188
|
+
disabled && styles22.disabled,
|
|
32875
33189
|
style
|
|
32876
33190
|
],
|
|
32877
33191
|
children: [
|
|
@@ -32888,14 +33202,14 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32888
33202
|
onHoverIn: () => setTriggerHovered(true),
|
|
32889
33203
|
onHoverOut: () => setTriggerHovered(false),
|
|
32890
33204
|
style: ({ pressed }) => [
|
|
32891
|
-
isIconVariant ?
|
|
32892
|
-
!isIconVariant && (triggerHovered || pressed || isOpen) &&
|
|
33205
|
+
isIconVariant ? styles22.triggerIcon : styles22.trigger,
|
|
33206
|
+
!isIconVariant && (triggerHovered || pressed || isOpen) && styles22.triggerActive
|
|
32893
33207
|
],
|
|
32894
33208
|
children: [
|
|
32895
33209
|
/* @__PURE__ */ jsxRuntime.jsx(GlobeIcon, { size: ICON_SIZE9, color: colors.white, strokeWidth: isIconVariant ? 1.5 : 2 }),
|
|
32896
33210
|
!isIconVariant ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
32897
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
32898
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
33211
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles22.triggerLabel, numberOfLines: 1, children: selectedOption?.label ?? "" }),
|
|
33212
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles22.chevron, isOpen && styles22.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: ICON_SIZE9, color: colors.white, strokeWidth: 2 }) })
|
|
32899
33213
|
] }) : null
|
|
32900
33214
|
]
|
|
32901
33215
|
}
|
|
@@ -32903,7 +33217,7 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32903
33217
|
isOpen && options.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
32904
33218
|
reactNative.View,
|
|
32905
33219
|
{
|
|
32906
|
-
style: [
|
|
33220
|
+
style: [styles22.menu, isIconVariant ? styles22.menuIcon : styles22.menuDefault],
|
|
32907
33221
|
accessibilityRole: "menu",
|
|
32908
33222
|
children: options.map((option) => {
|
|
32909
33223
|
const selected = option.value === selectedValue;
|
|
@@ -32917,16 +33231,16 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32917
33231
|
onHoverIn: () => setHoveredValue(option.value),
|
|
32918
33232
|
onHoverOut: () => setHoveredValue(null),
|
|
32919
33233
|
style: ({ pressed }) => [
|
|
32920
|
-
|
|
32921
|
-
isIconVariant ?
|
|
32922
|
-
selected ? isIconVariant ?
|
|
33234
|
+
styles22.item,
|
|
33235
|
+
isIconVariant ? styles22.itemIcon : null,
|
|
33236
|
+
selected ? isIconVariant ? styles22.itemSelectedIcon : styles22.itemSelected : (hoveredValue === option.value || pressed) && styles22.itemHovered
|
|
32923
33237
|
],
|
|
32924
33238
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
32925
33239
|
reactNative.Text,
|
|
32926
33240
|
{
|
|
32927
33241
|
style: [
|
|
32928
|
-
|
|
32929
|
-
selected && (isIconVariant ?
|
|
33242
|
+
styles22.itemLabel,
|
|
33243
|
+
selected && (isIconVariant ? styles22.itemLabelSelectedIcon : styles22.itemLabelSelected)
|
|
32930
33244
|
],
|
|
32931
33245
|
children: option.label
|
|
32932
33246
|
}
|
|
@@ -32942,7 +33256,7 @@ var LanguageSwitcher = react.forwardRef(
|
|
|
32942
33256
|
);
|
|
32943
33257
|
}
|
|
32944
33258
|
);
|
|
32945
|
-
var
|
|
33259
|
+
var styles22 = reactNative.StyleSheet.create({
|
|
32946
33260
|
wrapper: {
|
|
32947
33261
|
position: "relative",
|
|
32948
33262
|
alignSelf: "flex-start"
|
|
@@ -33083,17 +33397,17 @@ var StatCard = react.forwardRef(function StatCard2({
|
|
|
33083
33397
|
{
|
|
33084
33398
|
...rest,
|
|
33085
33399
|
ref: setContainerRef,
|
|
33086
|
-
style: [
|
|
33400
|
+
style: [styles23.base, style],
|
|
33087
33401
|
accessibilityRole: "text",
|
|
33088
33402
|
accessibilityLabel: accessibilityLabel ?? label,
|
|
33089
33403
|
children: [
|
|
33090
33404
|
/* @__PURE__ */ jsxRuntime.jsx(Icon2, { ...iconProps, size: iconSize, color: iconProps?.color ?? colors.white }),
|
|
33091
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
33405
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles23.label, children: label })
|
|
33092
33406
|
]
|
|
33093
33407
|
}
|
|
33094
33408
|
);
|
|
33095
33409
|
});
|
|
33096
|
-
var
|
|
33410
|
+
var styles23 = reactNative.StyleSheet.create({
|
|
33097
33411
|
base: {
|
|
33098
33412
|
width: 204.5,
|
|
33099
33413
|
minHeight: 114,
|
|
@@ -33205,7 +33519,7 @@ var Button = react.forwardRef(
|
|
|
33205
33519
|
useApplyWebClassName(textRef, textClassName);
|
|
33206
33520
|
const iconNode = customIcon ?? /* @__PURE__ */ jsxRuntime.jsx(ArrowRightIcon, { size: metrics.iconSize, color: preset.iconColor });
|
|
33207
33521
|
const containerStyle = [
|
|
33208
|
-
|
|
33522
|
+
styles24.base,
|
|
33209
33523
|
{
|
|
33210
33524
|
minHeight: metrics.minHeight,
|
|
33211
33525
|
height: variant === "danger" ? 33 : void 0,
|
|
@@ -33217,16 +33531,16 @@ var Button = react.forwardRef(
|
|
|
33217
33531
|
paddingRight: hasIcon ? metrics.paddingRightWithIcon : metrics.paddingRight,
|
|
33218
33532
|
gap: hasIcon ? metrics.gap : 0
|
|
33219
33533
|
},
|
|
33220
|
-
hasIcon ?
|
|
33221
|
-
disabled &&
|
|
33534
|
+
hasIcon ? styles24.contentWithIcon : styles24.contentWithoutIcon,
|
|
33535
|
+
disabled && styles24.disabled,
|
|
33222
33536
|
style
|
|
33223
33537
|
];
|
|
33224
33538
|
const labelStyle = [
|
|
33225
|
-
|
|
33539
|
+
styles24.label,
|
|
33226
33540
|
metrics.text,
|
|
33227
33541
|
{ color: preset.textColor },
|
|
33228
|
-
reactNative.Platform.OS === "android" ?
|
|
33229
|
-
!hasIcon &&
|
|
33542
|
+
reactNative.Platform.OS === "android" ? styles24.labelAndroid : null,
|
|
33543
|
+
!hasIcon && styles24.labelCentered,
|
|
33230
33544
|
textStyle
|
|
33231
33545
|
];
|
|
33232
33546
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -33247,7 +33561,7 @@ var Button = react.forwardRef(
|
|
|
33247
33561
|
reactNative.View,
|
|
33248
33562
|
{
|
|
33249
33563
|
style: [
|
|
33250
|
-
|
|
33564
|
+
styles24.iconContainer,
|
|
33251
33565
|
{
|
|
33252
33566
|
width: metrics.iconContainerSize,
|
|
33253
33567
|
height: metrics.iconContainerSize,
|
|
@@ -33263,7 +33577,7 @@ var Button = react.forwardRef(
|
|
|
33263
33577
|
);
|
|
33264
33578
|
}
|
|
33265
33579
|
);
|
|
33266
|
-
var
|
|
33580
|
+
var styles24 = reactNative.StyleSheet.create({
|
|
33267
33581
|
base: {
|
|
33268
33582
|
flexDirection: "row",
|
|
33269
33583
|
alignItems: "center",
|
|
@@ -33347,13 +33661,13 @@ var Checkbox = react.forwardRef(function Checkbox2({
|
|
|
33347
33661
|
accessibilityRole: "checkbox",
|
|
33348
33662
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
33349
33663
|
accessibilityState: { checked: isActive, disabled },
|
|
33350
|
-
style: [
|
|
33664
|
+
style: [styles25.root, disabled && styles25.disabled, style],
|
|
33351
33665
|
children: [
|
|
33352
33666
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33353
33667
|
reactNative.View,
|
|
33354
33668
|
{
|
|
33355
33669
|
style: [
|
|
33356
|
-
|
|
33670
|
+
styles25.box,
|
|
33357
33671
|
{
|
|
33358
33672
|
backgroundColor: chrome.backgroundColor,
|
|
33359
33673
|
borderColor: chrome.borderColor
|
|
@@ -33362,12 +33676,12 @@ var Checkbox = react.forwardRef(function Checkbox2({
|
|
|
33362
33676
|
children: isActive ? /* @__PURE__ */ jsxRuntime.jsx(CheckIcon, { size: CHECK_SIZE, color: colors.primary, strokeWidth: CHECK_STROKE }) : null
|
|
33363
33677
|
}
|
|
33364
33678
|
),
|
|
33365
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
33679
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.label, labelStyle], children: labelContent }) : labelContent : null
|
|
33366
33680
|
]
|
|
33367
33681
|
}
|
|
33368
33682
|
);
|
|
33369
33683
|
});
|
|
33370
|
-
var
|
|
33684
|
+
var styles25 = reactNative.StyleSheet.create({
|
|
33371
33685
|
root: {
|
|
33372
33686
|
flexDirection: "row",
|
|
33373
33687
|
alignItems: "center",
|
|
@@ -33502,13 +33816,13 @@ function RangeTriggerField({
|
|
|
33502
33816
|
value,
|
|
33503
33817
|
time
|
|
33504
33818
|
}) {
|
|
33505
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
33506
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
33507
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
33508
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
33509
|
-
time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
33819
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles26.rangeField, children: [
|
|
33820
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles26.rangeLabel, children: label }),
|
|
33821
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles26.rangeValueRow, children: [
|
|
33822
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles26.rangeDate, children: value }),
|
|
33823
|
+
time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles26.rangeTimeWrap, children: [
|
|
33510
33824
|
/* @__PURE__ */ jsxRuntime.jsx(ClockFilledIcon, { color: colors.lightGrey, size: 16 }),
|
|
33511
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
33825
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles26.rangeTime, children: time })
|
|
33512
33826
|
] }) : null
|
|
33513
33827
|
] })
|
|
33514
33828
|
] });
|
|
@@ -33698,15 +34012,15 @@ var DatePicker = react.forwardRef(
|
|
|
33698
34012
|
...rest,
|
|
33699
34013
|
ref: setRootRef,
|
|
33700
34014
|
style: [
|
|
33701
|
-
|
|
33702
|
-
usesRangeTrigger &&
|
|
33703
|
-
hideTrigger &&
|
|
33704
|
-
isOpen &&
|
|
33705
|
-
disabled &&
|
|
34015
|
+
styles26.root,
|
|
34016
|
+
usesRangeTrigger && styles26.rangeRoot,
|
|
34017
|
+
hideTrigger && styles26.rootHideTrigger,
|
|
34018
|
+
isOpen && styles26.rootOpen,
|
|
34019
|
+
disabled && styles26.disabled,
|
|
33706
34020
|
style
|
|
33707
34021
|
],
|
|
33708
34022
|
accessibilityState: { disabled, expanded: isOpen },
|
|
33709
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
34023
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles26.triggerWrap, isOpen && styles26.triggerWrapOpen], children: [
|
|
33710
34024
|
hideTrigger ? null : /* @__PURE__ */ jsxRuntime.jsx(
|
|
33711
34025
|
reactNative.Pressable,
|
|
33712
34026
|
{
|
|
@@ -33717,9 +34031,9 @@ var DatePicker = react.forwardRef(
|
|
|
33717
34031
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
33718
34032
|
accessibilityState: { disabled, expanded: isOpen },
|
|
33719
34033
|
style: [
|
|
33720
|
-
|
|
33721
|
-
usesRangeTrigger &&
|
|
33722
|
-
usesRangeTrigger && (usesVerticalRangeTrigger ?
|
|
34034
|
+
styles26.trigger,
|
|
34035
|
+
usesRangeTrigger && styles26.rangeTrigger,
|
|
34036
|
+
usesRangeTrigger && (usesVerticalRangeTrigger ? styles26.rangeTriggerVertical : styles26.rangeTriggerHorizontal),
|
|
33723
34037
|
{
|
|
33724
34038
|
borderColor: triggerBorderColor,
|
|
33725
34039
|
backgroundColor: usesRangeTrigger ? "transparent" : colors.grey700
|
|
@@ -33730,13 +34044,13 @@ var DatePicker = react.forwardRef(
|
|
|
33730
34044
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33731
34045
|
reactNative.View,
|
|
33732
34046
|
{
|
|
33733
|
-
style: usesVerticalRangeTrigger ?
|
|
34047
|
+
style: usesVerticalRangeTrigger ? styles26.rangeDividerVertical : styles26.rangeDividerHorizontal
|
|
33734
34048
|
}
|
|
33735
34049
|
),
|
|
33736
34050
|
/* @__PURE__ */ jsxRuntime.jsx(RangeTriggerField, { label: endLabel, time: endTime, value: endValue })
|
|
33737
34051
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
33738
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
33739
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
34052
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: triggerLabel }),
|
|
34053
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles26.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(CalendarOutlineIcon, { size: ICON_SIZE11, color: colors.grey100 }) })
|
|
33740
34054
|
] })
|
|
33741
34055
|
}
|
|
33742
34056
|
),
|
|
@@ -33744,13 +34058,13 @@ var DatePicker = react.forwardRef(
|
|
|
33744
34058
|
reactNative.View,
|
|
33745
34059
|
{
|
|
33746
34060
|
style: [
|
|
33747
|
-
|
|
33748
|
-
usesRangeTrigger &&
|
|
33749
|
-
hideTrigger ?
|
|
34061
|
+
styles26.menu,
|
|
34062
|
+
usesRangeTrigger && styles26.rangeMenu,
|
|
34063
|
+
hideTrigger ? styles26.menuInline : menuAlignEnd ? styles26.menuAlignEnd : styles26.menuAlignStart,
|
|
33750
34064
|
calendarStyle
|
|
33751
34065
|
],
|
|
33752
34066
|
children: [
|
|
33753
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34067
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles26.calendarHeader, children: [
|
|
33754
34068
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33755
34069
|
reactNative.Pressable,
|
|
33756
34070
|
{
|
|
@@ -33758,11 +34072,11 @@ var DatePicker = react.forwardRef(
|
|
|
33758
34072
|
hitSlop: 8,
|
|
33759
34073
|
accessibilityRole: "button",
|
|
33760
34074
|
accessibilityLabel: "Previous month",
|
|
33761
|
-
style:
|
|
34075
|
+
style: styles26.navButton,
|
|
33762
34076
|
children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white })
|
|
33763
34077
|
}
|
|
33764
34078
|
),
|
|
33765
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style:
|
|
34079
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: styles26.monthHeading, children: [
|
|
33766
34080
|
monthNames[visibleMonth.getMonth()],
|
|
33767
34081
|
" ",
|
|
33768
34082
|
visibleMonth.getFullYear()
|
|
@@ -33774,13 +34088,13 @@ var DatePicker = react.forwardRef(
|
|
|
33774
34088
|
hitSlop: 8,
|
|
33775
34089
|
accessibilityRole: "button",
|
|
33776
34090
|
accessibilityLabel: "Next month",
|
|
33777
|
-
style:
|
|
33778
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
34091
|
+
style: styles26.navButton,
|
|
34092
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles26.navIconMirror, children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, { size: NAV_ICON_SIZE, color: colors.white }) })
|
|
33779
34093
|
}
|
|
33780
34094
|
)
|
|
33781
34095
|
] }),
|
|
33782
34096
|
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { children: [
|
|
33783
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
34097
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles26.weekdayRow, children: weekdayLabels.map((weekdayLabel, index) => /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles26.weekdayCell, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles26.weekdayText, children: weekdayLabel }) }, `${weekdayLabel}-${index}`)) }),
|
|
33784
34098
|
weeks.map((week, weekIndex) => {
|
|
33785
34099
|
let rangeHighlightStyle = null;
|
|
33786
34100
|
if (isRange && rangeValue.start && rangeValue.end) {
|
|
@@ -33817,13 +34131,13 @@ var DatePicker = react.forwardRef(
|
|
|
33817
34131
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33818
34132
|
reactNative.View,
|
|
33819
34133
|
{
|
|
33820
|
-
style: [
|
|
34134
|
+
style: [styles26.weekRow, weekIndex > 0 && styles26.weekRowSpaced],
|
|
33821
34135
|
children: [
|
|
33822
34136
|
rangeHighlightStyle ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
33823
34137
|
reactNative.View,
|
|
33824
34138
|
{
|
|
33825
34139
|
pointerEvents: "none",
|
|
33826
|
-
style: [
|
|
34140
|
+
style: [styles26.rangeHighlight, rangeHighlightStyle]
|
|
33827
34141
|
}
|
|
33828
34142
|
) : null,
|
|
33829
34143
|
week.map((day, dayIndex) => {
|
|
@@ -33846,7 +34160,7 @@ var DatePicker = react.forwardRef(
|
|
|
33846
34160
|
onHoverOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
33847
34161
|
onPressIn: () => setHoveredDayKey(dayKey),
|
|
33848
34162
|
onPressOut: () => setHoveredDayKey((current) => current === dayKey ? null : current),
|
|
33849
|
-
style:
|
|
34163
|
+
style: styles26.dayCellWrap,
|
|
33850
34164
|
accessibilityRole: "button",
|
|
33851
34165
|
accessibilityLabel: formatValue(day),
|
|
33852
34166
|
accessibilityState: {
|
|
@@ -33858,14 +34172,14 @@ var DatePicker = react.forwardRef(
|
|
|
33858
34172
|
reactNative.View,
|
|
33859
34173
|
{
|
|
33860
34174
|
style: [
|
|
33861
|
-
|
|
33862
|
-
isSelectedEndpoint &&
|
|
33863
|
-
isHovered &&
|
|
34175
|
+
styles26.dayCircle,
|
|
34176
|
+
isSelectedEndpoint && styles26.dayCircleSelected,
|
|
34177
|
+
isHovered && styles26.dayCircleHovered
|
|
33864
34178
|
],
|
|
33865
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
34179
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.dayText, { color: dayTextColor }], children: day.getDate() })
|
|
33866
34180
|
}
|
|
33867
34181
|
),
|
|
33868
|
-
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
34182
|
+
isToday && !isSelectedEndpoint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles26.todayDot }) : null
|
|
33869
34183
|
]
|
|
33870
34184
|
},
|
|
33871
34185
|
dayIndex
|
|
@@ -33885,7 +34199,7 @@ var DatePicker = react.forwardRef(
|
|
|
33885
34199
|
);
|
|
33886
34200
|
}
|
|
33887
34201
|
);
|
|
33888
|
-
var
|
|
34202
|
+
var styles26 = reactNative.StyleSheet.create({
|
|
33889
34203
|
root: {
|
|
33890
34204
|
width: DEFAULT_WIDTH,
|
|
33891
34205
|
gap: 8,
|
|
@@ -34154,12 +34468,12 @@ var FloatingActionButton = react.forwardRef(function FloatingActionButton2({ onP
|
|
|
34154
34468
|
accessibilityRole: "button",
|
|
34155
34469
|
accessibilityLabel,
|
|
34156
34470
|
accessibilityState: { disabled },
|
|
34157
|
-
style: [
|
|
34471
|
+
style: [styles27.base, disabled && styles27.disabled, style],
|
|
34158
34472
|
children: icon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon, { color: colors.white, size: ICON_SIZE12, strokeWidth: 2 })
|
|
34159
34473
|
}
|
|
34160
34474
|
);
|
|
34161
34475
|
});
|
|
34162
|
-
var
|
|
34476
|
+
var styles27 = reactNative.StyleSheet.create({
|
|
34163
34477
|
base: {
|
|
34164
34478
|
width: SIZE,
|
|
34165
34479
|
height: SIZE,
|
|
@@ -34234,7 +34548,7 @@ var Modal = react.forwardRef(function Modal2({
|
|
|
34234
34548
|
reactNative.View,
|
|
34235
34549
|
{
|
|
34236
34550
|
ref: setContentRef,
|
|
34237
|
-
style: [
|
|
34551
|
+
style: [styles28.content, contentStyle],
|
|
34238
34552
|
onStartShouldSetResponder: () => true,
|
|
34239
34553
|
children
|
|
34240
34554
|
}
|
|
@@ -34266,7 +34580,7 @@ var Modal = react.forwardRef(function Modal2({
|
|
|
34266
34580
|
animationType: "fade",
|
|
34267
34581
|
onRequestClose: onClose,
|
|
34268
34582
|
statusBarTranslucent: true,
|
|
34269
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34583
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles28.root, accessibilityViewIsModal: true, children: [
|
|
34270
34584
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34271
34585
|
reactNative.Pressable,
|
|
34272
34586
|
{
|
|
@@ -34274,7 +34588,7 @@ var Modal = react.forwardRef(function Modal2({
|
|
|
34274
34588
|
accessibilityLabel: backdropAccessibilityLabel,
|
|
34275
34589
|
disabled: !closeOnBackdropPress,
|
|
34276
34590
|
onPress: closeOnBackdropPress ? onClose : void 0,
|
|
34277
|
-
style:
|
|
34591
|
+
style: styles28.backdrop
|
|
34278
34592
|
}
|
|
34279
34593
|
),
|
|
34280
34594
|
content
|
|
@@ -34282,7 +34596,7 @@ var Modal = react.forwardRef(function Modal2({
|
|
|
34282
34596
|
}
|
|
34283
34597
|
);
|
|
34284
34598
|
});
|
|
34285
|
-
var
|
|
34599
|
+
var styles28 = reactNative.StyleSheet.create({
|
|
34286
34600
|
root: {
|
|
34287
34601
|
flex: 1,
|
|
34288
34602
|
alignItems: "center",
|
|
@@ -34298,6 +34612,198 @@ var styles26 = reactNative.StyleSheet.create({
|
|
|
34298
34612
|
maxHeight: "100%"
|
|
34299
34613
|
}
|
|
34300
34614
|
});
|
|
34615
|
+
|
|
34616
|
+
// src/components/Drawer/Drawer.tsx
|
|
34617
|
+
var import_react_dom2 = __toESM(require_react_dom());
|
|
34618
|
+
var BACKDROP_COLOR2 = "#09090933";
|
|
34619
|
+
var DEFAULT_WIDTH2 = 652;
|
|
34620
|
+
var WEB_Z_INDEX2 = 500;
|
|
34621
|
+
var CLOSE_ICON_SIZE = 24;
|
|
34622
|
+
var webBackdropDomStyle2 = {
|
|
34623
|
+
position: "absolute",
|
|
34624
|
+
top: 0,
|
|
34625
|
+
right: 0,
|
|
34626
|
+
bottom: 0,
|
|
34627
|
+
left: 0,
|
|
34628
|
+
backgroundColor: BACKDROP_COLOR2,
|
|
34629
|
+
backdropFilter: "blur(18px)",
|
|
34630
|
+
WebkitBackdropFilter: "blur(18px)",
|
|
34631
|
+
border: "none",
|
|
34632
|
+
padding: 0,
|
|
34633
|
+
margin: 0,
|
|
34634
|
+
cursor: "pointer"
|
|
34635
|
+
};
|
|
34636
|
+
var webRootDomStyle2 = {
|
|
34637
|
+
position: "fixed",
|
|
34638
|
+
top: 0,
|
|
34639
|
+
right: 0,
|
|
34640
|
+
bottom: 0,
|
|
34641
|
+
left: 0,
|
|
34642
|
+
zIndex: WEB_Z_INDEX2,
|
|
34643
|
+
display: "flex",
|
|
34644
|
+
justifyContent: "flex-end"
|
|
34645
|
+
};
|
|
34646
|
+
var Drawer = react.forwardRef(function Drawer2({
|
|
34647
|
+
open,
|
|
34648
|
+
onClose,
|
|
34649
|
+
children,
|
|
34650
|
+
title,
|
|
34651
|
+
width = DEFAULT_WIDTH2,
|
|
34652
|
+
closeOnBackdropPress = true,
|
|
34653
|
+
backdropAccessibilityLabel = "Close",
|
|
34654
|
+
closeAccessibilityLabel = "Close",
|
|
34655
|
+
style,
|
|
34656
|
+
className
|
|
34657
|
+
}, forwardedRef) {
|
|
34658
|
+
const panelRef = react.useRef(null);
|
|
34659
|
+
const setPanelRef = react.useMemo(() => mergeRefs(panelRef, forwardedRef), [forwardedRef]);
|
|
34660
|
+
const resolvedClassName = className?.trim() || void 0;
|
|
34661
|
+
useApplyWebClassName(panelRef, resolvedClassName, open && reactNative.Platform.OS === "web");
|
|
34662
|
+
react.useEffect(() => {
|
|
34663
|
+
if (!open || reactNative.Platform.OS !== "web") return void 0;
|
|
34664
|
+
const previousOverflow = document.body.style.overflow;
|
|
34665
|
+
document.body.style.overflow = "hidden";
|
|
34666
|
+
const onKeyDown = (event) => {
|
|
34667
|
+
if (event.key === "Escape") onClose();
|
|
34668
|
+
};
|
|
34669
|
+
document.addEventListener("keydown", onKeyDown);
|
|
34670
|
+
return () => {
|
|
34671
|
+
document.body.style.overflow = previousOverflow;
|
|
34672
|
+
document.removeEventListener("keydown", onKeyDown);
|
|
34673
|
+
};
|
|
34674
|
+
}, [open, onClose]);
|
|
34675
|
+
const header = title != null && title !== "" ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.header, children: [
|
|
34676
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles29.title, numberOfLines: 1, children: title }),
|
|
34677
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34678
|
+
reactNative.Pressable,
|
|
34679
|
+
{
|
|
34680
|
+
accessibilityRole: "button",
|
|
34681
|
+
accessibilityLabel: closeAccessibilityLabel,
|
|
34682
|
+
hitSlop: 8,
|
|
34683
|
+
onPress: onClose,
|
|
34684
|
+
style: styles29.closeButton,
|
|
34685
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon, { color: colors.white, size: CLOSE_ICON_SIZE })
|
|
34686
|
+
}
|
|
34687
|
+
)
|
|
34688
|
+
] }) : null;
|
|
34689
|
+
const panel = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34690
|
+
reactNative.View,
|
|
34691
|
+
{
|
|
34692
|
+
ref: setPanelRef,
|
|
34693
|
+
accessibilityViewIsModal: true,
|
|
34694
|
+
style: [styles29.panel, { width }, style],
|
|
34695
|
+
onStartShouldSetResponder: () => true,
|
|
34696
|
+
children: [
|
|
34697
|
+
header,
|
|
34698
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.body, children })
|
|
34699
|
+
]
|
|
34700
|
+
}
|
|
34701
|
+
);
|
|
34702
|
+
if (reactNative.Platform.OS === "web") {
|
|
34703
|
+
if (!open || typeof document === "undefined") return null;
|
|
34704
|
+
return (0, import_react_dom2.createPortal)(
|
|
34705
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: webRootDomStyle2, role: "presentation", children: [
|
|
34706
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34707
|
+
"button",
|
|
34708
|
+
{
|
|
34709
|
+
type: "button",
|
|
34710
|
+
"aria-label": backdropAccessibilityLabel,
|
|
34711
|
+
disabled: !closeOnBackdropPress,
|
|
34712
|
+
onClick: closeOnBackdropPress ? onClose : void 0,
|
|
34713
|
+
style: webBackdropDomStyle2
|
|
34714
|
+
}
|
|
34715
|
+
),
|
|
34716
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34717
|
+
"div",
|
|
34718
|
+
{
|
|
34719
|
+
style: {
|
|
34720
|
+
position: "relative",
|
|
34721
|
+
zIndex: 1,
|
|
34722
|
+
height: "100%",
|
|
34723
|
+
maxWidth: "100%",
|
|
34724
|
+
display: "flex"
|
|
34725
|
+
},
|
|
34726
|
+
children: panel
|
|
34727
|
+
}
|
|
34728
|
+
)
|
|
34729
|
+
] }),
|
|
34730
|
+
document.body
|
|
34731
|
+
);
|
|
34732
|
+
}
|
|
34733
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
34734
|
+
reactNative.Modal,
|
|
34735
|
+
{
|
|
34736
|
+
visible: open,
|
|
34737
|
+
transparent: true,
|
|
34738
|
+
animationType: "slide",
|
|
34739
|
+
onRequestClose: onClose,
|
|
34740
|
+
statusBarTranslucent: true,
|
|
34741
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.root, accessibilityViewIsModal: true, children: [
|
|
34742
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34743
|
+
reactNative.Pressable,
|
|
34744
|
+
{
|
|
34745
|
+
accessibilityRole: "button",
|
|
34746
|
+
accessibilityLabel: backdropAccessibilityLabel,
|
|
34747
|
+
disabled: !closeOnBackdropPress,
|
|
34748
|
+
onPress: closeOnBackdropPress ? onClose : void 0,
|
|
34749
|
+
style: styles29.backdrop
|
|
34750
|
+
}
|
|
34751
|
+
),
|
|
34752
|
+
panel
|
|
34753
|
+
] })
|
|
34754
|
+
}
|
|
34755
|
+
);
|
|
34756
|
+
});
|
|
34757
|
+
var styles29 = reactNative.StyleSheet.create({
|
|
34758
|
+
root: {
|
|
34759
|
+
flex: 1,
|
|
34760
|
+
flexDirection: "row",
|
|
34761
|
+
justifyContent: "flex-end"
|
|
34762
|
+
},
|
|
34763
|
+
backdrop: {
|
|
34764
|
+
...reactNative.StyleSheet.absoluteFillObject,
|
|
34765
|
+
backgroundColor: BACKDROP_COLOR2
|
|
34766
|
+
},
|
|
34767
|
+
panel: {
|
|
34768
|
+
zIndex: 1,
|
|
34769
|
+
height: "100%",
|
|
34770
|
+
maxWidth: "100%",
|
|
34771
|
+
backgroundColor: colors.grey800
|
|
34772
|
+
},
|
|
34773
|
+
header: {
|
|
34774
|
+
height: 65,
|
|
34775
|
+
flexDirection: "row",
|
|
34776
|
+
alignItems: "center",
|
|
34777
|
+
justifyContent: "space-between",
|
|
34778
|
+
paddingTop: 20,
|
|
34779
|
+
paddingRight: 24,
|
|
34780
|
+
paddingBottom: 20,
|
|
34781
|
+
paddingLeft: 24,
|
|
34782
|
+
borderBottomWidth: 1,
|
|
34783
|
+
borderBottomColor: colors.grey650
|
|
34784
|
+
},
|
|
34785
|
+
title: {
|
|
34786
|
+
flex: 1,
|
|
34787
|
+
fontFamily: fonts.sans,
|
|
34788
|
+
fontSize: 16,
|
|
34789
|
+
fontWeight: "600",
|
|
34790
|
+
lineHeight: 16,
|
|
34791
|
+
letterSpacing: 0,
|
|
34792
|
+
color: colors.white,
|
|
34793
|
+
marginRight: 12
|
|
34794
|
+
},
|
|
34795
|
+
closeButton: {
|
|
34796
|
+
width: CLOSE_ICON_SIZE,
|
|
34797
|
+
height: CLOSE_ICON_SIZE,
|
|
34798
|
+
alignItems: "center",
|
|
34799
|
+
justifyContent: "center",
|
|
34800
|
+
flexShrink: 0
|
|
34801
|
+
},
|
|
34802
|
+
body: {
|
|
34803
|
+
flex: 1,
|
|
34804
|
+
minHeight: 0
|
|
34805
|
+
}
|
|
34806
|
+
});
|
|
34301
34807
|
function renderStatefulIcon(icon, FallbackIcon, props) {
|
|
34302
34808
|
if (icon == null) {
|
|
34303
34809
|
return /* @__PURE__ */ jsxRuntime.jsx(FallbackIcon, { ...props });
|
|
@@ -34311,7 +34817,7 @@ function renderStatefulIcon(icon, FallbackIcon, props) {
|
|
|
34311
34817
|
}
|
|
34312
34818
|
return icon;
|
|
34313
34819
|
}
|
|
34314
|
-
var
|
|
34820
|
+
var DEFAULT_WIDTH3 = 308;
|
|
34315
34821
|
var sizeConfig2 = {
|
|
34316
34822
|
lg: {
|
|
34317
34823
|
height: 44,
|
|
@@ -34448,7 +34954,7 @@ var Input = react.forwardRef(function Input2({
|
|
|
34448
34954
|
useApplyWebClassName(rootRef, className);
|
|
34449
34955
|
useApplyWebClassName(inputRef, inputClassName);
|
|
34450
34956
|
const fieldChromeStyle = [
|
|
34451
|
-
|
|
34957
|
+
styles30.field,
|
|
34452
34958
|
{
|
|
34453
34959
|
height: metrics.height,
|
|
34454
34960
|
borderRadius: metrics.borderRadius,
|
|
@@ -34460,11 +34966,11 @@ var Input = react.forwardRef(function Input2({
|
|
|
34460
34966
|
borderColor: chrome.borderColor,
|
|
34461
34967
|
backgroundColor: chrome.backgroundColor
|
|
34462
34968
|
},
|
|
34463
|
-
reactNative.Platform.OS === "web" ?
|
|
34969
|
+
reactNative.Platform.OS === "web" ? styles30.fieldWeb : null,
|
|
34464
34970
|
fieldStyle
|
|
34465
34971
|
];
|
|
34466
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [
|
|
34467
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { disabled, onPress: focusInput, style:
|
|
34972
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [styles30.root, disabled && styles30.disabled, style], children: [
|
|
34973
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { disabled, onPress: focusInput, style: styles30.labelPressable, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.label, { color: chrome.labelColor }], children: label }) }) : null,
|
|
34468
34974
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
34469
34975
|
reactNative.Pressable,
|
|
34470
34976
|
{
|
|
@@ -34473,7 +34979,7 @@ var Input = react.forwardRef(function Input2({
|
|
|
34473
34979
|
onPress: focusInput,
|
|
34474
34980
|
style: fieldChromeStyle,
|
|
34475
34981
|
children: [
|
|
34476
|
-
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
34982
|
+
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles30.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }], children: leftIconNode }) : null,
|
|
34477
34983
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34478
34984
|
reactNative.TextInput,
|
|
34479
34985
|
{
|
|
@@ -34498,11 +35004,11 @@ var Input = react.forwardRef(function Input2({
|
|
|
34498
35004
|
onBlur?.(event);
|
|
34499
35005
|
},
|
|
34500
35006
|
style: [
|
|
34501
|
-
|
|
35007
|
+
styles30.input,
|
|
34502
35008
|
metrics.text,
|
|
34503
35009
|
{ color: chrome.textColor },
|
|
34504
|
-
reactNative.Platform.OS === "web" ?
|
|
34505
|
-
reactNative.Platform.OS === "android" ?
|
|
35010
|
+
reactNative.Platform.OS === "web" ? styles30.inputWeb : null,
|
|
35011
|
+
reactNative.Platform.OS === "android" ? styles30.inputAndroid : null,
|
|
34506
35012
|
inputStyle
|
|
34507
35013
|
],
|
|
34508
35014
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -34514,7 +35020,7 @@ var Input = react.forwardRef(function Input2({
|
|
|
34514
35020
|
{
|
|
34515
35021
|
onPress: onRightIconPress,
|
|
34516
35022
|
disabled,
|
|
34517
|
-
style: [
|
|
35023
|
+
style: [styles30.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
34518
35024
|
accessibilityRole: "button",
|
|
34519
35025
|
accessibilityLabel: rightIconAccessibilityLabel,
|
|
34520
35026
|
hitSlop: 8,
|
|
@@ -34526,19 +35032,19 @@ var Input = react.forwardRef(function Input2({
|
|
|
34526
35032
|
accessibilityRole: "none",
|
|
34527
35033
|
disabled,
|
|
34528
35034
|
onPress: focusInput,
|
|
34529
|
-
style: [
|
|
35035
|
+
style: [styles30.iconSlot, { width: metrics.iconSize, height: metrics.iconSize }],
|
|
34530
35036
|
children: rightIconNode
|
|
34531
35037
|
}
|
|
34532
35038
|
) : null
|
|
34533
35039
|
]
|
|
34534
35040
|
}
|
|
34535
35041
|
),
|
|
34536
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
35042
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles30.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
34537
35043
|
] });
|
|
34538
35044
|
});
|
|
34539
|
-
var
|
|
35045
|
+
var styles30 = reactNative.StyleSheet.create({
|
|
34540
35046
|
root: {
|
|
34541
|
-
width:
|
|
35047
|
+
width: DEFAULT_WIDTH3,
|
|
34542
35048
|
gap: 8,
|
|
34543
35049
|
alignSelf: "flex-start"
|
|
34544
35050
|
},
|
|
@@ -34584,6 +35090,234 @@ var styles27 = reactNative.StyleSheet.create({
|
|
|
34584
35090
|
...inputTypography.hint
|
|
34585
35091
|
}
|
|
34586
35092
|
});
|
|
35093
|
+
var MENU_MAX_HEIGHT = 248;
|
|
35094
|
+
var BLUR_CLOSE_DELAY_MS = 120;
|
|
35095
|
+
var AUTOCOMPLETE_ROOT_Z_INDEX = 1100;
|
|
35096
|
+
var AUTOCOMPLETE_MENU_Z_INDEX = 1101;
|
|
35097
|
+
var AutocompleteInput = react.forwardRef(
|
|
35098
|
+
function AutocompleteInput2({
|
|
35099
|
+
value,
|
|
35100
|
+
options,
|
|
35101
|
+
onChangeText,
|
|
35102
|
+
onOptionSelect,
|
|
35103
|
+
onSubmit,
|
|
35104
|
+
open: openProp,
|
|
35105
|
+
defaultOpen = false,
|
|
35106
|
+
onOpenChange,
|
|
35107
|
+
loading = false,
|
|
35108
|
+
loadingText = "Loading...",
|
|
35109
|
+
emptyText = "No results",
|
|
35110
|
+
showEmpty = true,
|
|
35111
|
+
renderOption,
|
|
35112
|
+
containerStyle,
|
|
35113
|
+
menuStyle,
|
|
35114
|
+
containerClassName,
|
|
35115
|
+
menuClassName,
|
|
35116
|
+
disabled = false,
|
|
35117
|
+
onFocus,
|
|
35118
|
+
onBlur,
|
|
35119
|
+
...inputProps
|
|
35120
|
+
}, forwardedRef) {
|
|
35121
|
+
const rootRef = react.useRef(null);
|
|
35122
|
+
const menuRef = react.useRef(null);
|
|
35123
|
+
const blurTimerRef = react.useRef(null);
|
|
35124
|
+
const setRootRef = react.useMemo(() => mergeRefs(rootRef, forwardedRef), [forwardedRef]);
|
|
35125
|
+
const controlled = typeof openProp === "boolean";
|
|
35126
|
+
const [uncontrolledOpen, setUncontrolledOpen] = react.useState(defaultOpen);
|
|
35127
|
+
const [highlightedIndex, setHighlightedIndex] = react.useState(0);
|
|
35128
|
+
const open = controlled ? openProp : uncontrolledOpen;
|
|
35129
|
+
useApplyWebClassName(rootRef, containerClassName);
|
|
35130
|
+
useApplyWebClassName(menuRef, menuClassName, open);
|
|
35131
|
+
const setOpen = react.useCallback(
|
|
35132
|
+
(nextOpen) => {
|
|
35133
|
+
if (!controlled) setUncontrolledOpen(nextOpen);
|
|
35134
|
+
onOpenChange?.(nextOpen);
|
|
35135
|
+
if (!nextOpen) setHighlightedIndex(0);
|
|
35136
|
+
},
|
|
35137
|
+
[controlled, onOpenChange]
|
|
35138
|
+
);
|
|
35139
|
+
react.useEffect(() => {
|
|
35140
|
+
if (highlightedIndex < options.length) return;
|
|
35141
|
+
setHighlightedIndex(Math.max(0, options.length - 1));
|
|
35142
|
+
}, [highlightedIndex, options.length]);
|
|
35143
|
+
react.useEffect(() => {
|
|
35144
|
+
if (reactNative.Platform.OS !== "web" || !open) return;
|
|
35145
|
+
const closeOnOutsidePress = (event) => {
|
|
35146
|
+
const root = rootRef.current;
|
|
35147
|
+
if (event.target instanceof Node && root?.contains && !root.contains(event.target)) {
|
|
35148
|
+
setOpen(false);
|
|
35149
|
+
}
|
|
35150
|
+
};
|
|
35151
|
+
document.addEventListener("mousedown", closeOnOutsidePress);
|
|
35152
|
+
document.addEventListener("touchstart", closeOnOutsidePress);
|
|
35153
|
+
return () => {
|
|
35154
|
+
document.removeEventListener("mousedown", closeOnOutsidePress);
|
|
35155
|
+
document.removeEventListener("touchstart", closeOnOutsidePress);
|
|
35156
|
+
};
|
|
35157
|
+
}, [open, setOpen]);
|
|
35158
|
+
react.useEffect(
|
|
35159
|
+
() => () => {
|
|
35160
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
35161
|
+
},
|
|
35162
|
+
[]
|
|
35163
|
+
);
|
|
35164
|
+
const selectOption = (option) => {
|
|
35165
|
+
if (disabled) return;
|
|
35166
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
35167
|
+
onOptionSelect(option);
|
|
35168
|
+
setOpen(false);
|
|
35169
|
+
};
|
|
35170
|
+
const submit = () => {
|
|
35171
|
+
const highlighted = options[highlightedIndex] ?? options[0];
|
|
35172
|
+
if (open && highlighted) {
|
|
35173
|
+
selectOption(highlighted);
|
|
35174
|
+
return;
|
|
35175
|
+
}
|
|
35176
|
+
onSubmit?.(options[0]);
|
|
35177
|
+
};
|
|
35178
|
+
const showMenu = open && !disabled && (loading || options.length > 0 || showEmpty);
|
|
35179
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35180
|
+
reactNative.View,
|
|
35181
|
+
{
|
|
35182
|
+
ref: setRootRef,
|
|
35183
|
+
style: [styles31.root, open && styles31.rootOpen, containerStyle],
|
|
35184
|
+
accessibilityState: { disabled, expanded: open },
|
|
35185
|
+
children: [
|
|
35186
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35187
|
+
Input,
|
|
35188
|
+
{
|
|
35189
|
+
...inputProps,
|
|
35190
|
+
disabled,
|
|
35191
|
+
value,
|
|
35192
|
+
onChangeText: (nextValue) => {
|
|
35193
|
+
onChangeText(nextValue);
|
|
35194
|
+
setHighlightedIndex(0);
|
|
35195
|
+
setOpen(true);
|
|
35196
|
+
},
|
|
35197
|
+
onFocus: (event) => {
|
|
35198
|
+
if (blurTimerRef.current) clearTimeout(blurTimerRef.current);
|
|
35199
|
+
setOpen(true);
|
|
35200
|
+
onFocus?.(event);
|
|
35201
|
+
},
|
|
35202
|
+
onBlur: (event) => {
|
|
35203
|
+
blurTimerRef.current = setTimeout(() => setOpen(false), BLUR_CLOSE_DELAY_MS);
|
|
35204
|
+
onBlur?.(event);
|
|
35205
|
+
},
|
|
35206
|
+
onKeyPress: (event) => {
|
|
35207
|
+
const key = event.nativeEvent.key;
|
|
35208
|
+
if (key === "ArrowDown" && options.length > 0) {
|
|
35209
|
+
setHighlightedIndex((current) => Math.min(current + 1, options.length - 1));
|
|
35210
|
+
} else if (key === "ArrowUp" && options.length > 0) {
|
|
35211
|
+
setHighlightedIndex((current) => Math.max(current - 1, 0));
|
|
35212
|
+
} else if (key === "Escape") {
|
|
35213
|
+
setOpen(false);
|
|
35214
|
+
}
|
|
35215
|
+
inputProps.onKeyPress?.(event);
|
|
35216
|
+
},
|
|
35217
|
+
onSubmitEditing: submit
|
|
35218
|
+
}
|
|
35219
|
+
),
|
|
35220
|
+
showMenu ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { ref: menuRef, style: [styles31.menu, menuStyle], children: loading ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.statusRow, children: [
|
|
35221
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { color: colors.primary, size: "small" }),
|
|
35222
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles31.statusText, children: loadingText })
|
|
35223
|
+
] }) : options.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles31.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles31.statusText, children: emptyText }) }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
35224
|
+
reactNative.ScrollView,
|
|
35225
|
+
{
|
|
35226
|
+
keyboardShouldPersistTaps: "handled",
|
|
35227
|
+
nestedScrollEnabled: true,
|
|
35228
|
+
showsVerticalScrollIndicator: true,
|
|
35229
|
+
style: styles31.list,
|
|
35230
|
+
children: options.map((option, index) => {
|
|
35231
|
+
const highlighted = index === highlightedIndex;
|
|
35232
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
35233
|
+
reactNative.Pressable,
|
|
35234
|
+
{
|
|
35235
|
+
accessibilityRole: "button",
|
|
35236
|
+
onHoverIn: () => setHighlightedIndex(index),
|
|
35237
|
+
onPress: () => selectOption(option),
|
|
35238
|
+
style: [styles31.option, highlighted && styles31.optionHighlighted],
|
|
35239
|
+
children: renderOption ? renderOption(option, highlighted) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
35240
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles31.optionLabel, children: option.label }),
|
|
35241
|
+
option.description ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles31.optionDescription, children: option.description }) : null
|
|
35242
|
+
] })
|
|
35243
|
+
},
|
|
35244
|
+
option.value
|
|
35245
|
+
);
|
|
35246
|
+
})
|
|
35247
|
+
}
|
|
35248
|
+
) }) : null
|
|
35249
|
+
]
|
|
35250
|
+
}
|
|
35251
|
+
);
|
|
35252
|
+
}
|
|
35253
|
+
);
|
|
35254
|
+
var styles31 = reactNative.StyleSheet.create({
|
|
35255
|
+
root: {
|
|
35256
|
+
position: "relative",
|
|
35257
|
+
width: 308
|
|
35258
|
+
},
|
|
35259
|
+
rootOpen: {
|
|
35260
|
+
zIndex: AUTOCOMPLETE_ROOT_Z_INDEX
|
|
35261
|
+
},
|
|
35262
|
+
menu: {
|
|
35263
|
+
position: "absolute",
|
|
35264
|
+
top: "100%",
|
|
35265
|
+
left: 0,
|
|
35266
|
+
right: 0,
|
|
35267
|
+
zIndex: AUTOCOMPLETE_MENU_Z_INDEX,
|
|
35268
|
+
marginTop: 4,
|
|
35269
|
+
padding: 4,
|
|
35270
|
+
overflow: "hidden",
|
|
35271
|
+
borderWidth: 1,
|
|
35272
|
+
borderColor: colors.grey700,
|
|
35273
|
+
borderRadius: 16,
|
|
35274
|
+
backgroundColor: colors.grey700,
|
|
35275
|
+
shadowColor: colors.black,
|
|
35276
|
+
shadowOffset: { width: 0, height: 8 },
|
|
35277
|
+
shadowOpacity: 0.4,
|
|
35278
|
+
shadowRadius: 18,
|
|
35279
|
+
elevation: 12
|
|
35280
|
+
},
|
|
35281
|
+
list: {
|
|
35282
|
+
maxHeight: MENU_MAX_HEIGHT
|
|
35283
|
+
},
|
|
35284
|
+
option: {
|
|
35285
|
+
minHeight: 48,
|
|
35286
|
+
justifyContent: "center",
|
|
35287
|
+
gap: 2,
|
|
35288
|
+
paddingHorizontal: 12,
|
|
35289
|
+
paddingVertical: 8,
|
|
35290
|
+
borderRadius: 12
|
|
35291
|
+
},
|
|
35292
|
+
optionHighlighted: {
|
|
35293
|
+
backgroundColor: colors.grey600
|
|
35294
|
+
},
|
|
35295
|
+
optionLabel: {
|
|
35296
|
+
color: colors.white,
|
|
35297
|
+
fontSize: 12,
|
|
35298
|
+
lineHeight: 18,
|
|
35299
|
+
fontWeight: "600"
|
|
35300
|
+
},
|
|
35301
|
+
optionDescription: {
|
|
35302
|
+
color: colors.grey100,
|
|
35303
|
+
fontSize: 11,
|
|
35304
|
+
lineHeight: 16
|
|
35305
|
+
},
|
|
35306
|
+
statusRow: {
|
|
35307
|
+
minHeight: 48,
|
|
35308
|
+
flexDirection: "row",
|
|
35309
|
+
alignItems: "center",
|
|
35310
|
+
justifyContent: "center",
|
|
35311
|
+
gap: 8,
|
|
35312
|
+
paddingHorizontal: 12,
|
|
35313
|
+
paddingVertical: 8
|
|
35314
|
+
},
|
|
35315
|
+
statusText: {
|
|
35316
|
+
color: colors.grey100,
|
|
35317
|
+
fontSize: 12,
|
|
35318
|
+
lineHeight: 18
|
|
35319
|
+
}
|
|
35320
|
+
});
|
|
34587
35321
|
|
|
34588
35322
|
// src/components/VerificationCodeInput/VerificationCodeInput.utils.ts
|
|
34589
35323
|
function normalizeVerificationCode(value, length) {
|
|
@@ -34703,8 +35437,8 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
34703
35437
|
const cellGap = mobile ? MOBILE_GAP : DESKTOP_GAP;
|
|
34704
35438
|
const rowWidth = cellWidth * safeLength + cellGap * Math.max(0, safeLength - 1);
|
|
34705
35439
|
const showErrorMessage = Boolean(error && errorMessage);
|
|
34706
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...viewProps, ref: rootRef, style: [
|
|
34707
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
35440
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...viewProps, ref: rootRef, style: [styles32.wrapper, disabled && styles32.disabled, style], children: [
|
|
35441
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles32.row, { width: rowWidth, maxWidth: "100%", gap: cellGap }], children: Array.from({ length: safeLength }, (_, index) => {
|
|
34708
35442
|
const active = focusedIndex === index;
|
|
34709
35443
|
const borderColor = error ? colors.red : active ? colors.primary : colors.grey600;
|
|
34710
35444
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -34729,15 +35463,15 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
34729
35463
|
onSubmitEditing: () => onSubmit?.(currentCode),
|
|
34730
35464
|
selectTextOnFocus: true,
|
|
34731
35465
|
style: [
|
|
34732
|
-
|
|
35466
|
+
styles32.cell,
|
|
34733
35467
|
{
|
|
34734
35468
|
width: cellWidth,
|
|
34735
35469
|
height: cellHeight,
|
|
34736
35470
|
borderColor,
|
|
34737
35471
|
color: error ? colors.red : colors.white
|
|
34738
35472
|
},
|
|
34739
|
-
reactNative.Platform.OS === "web" ?
|
|
34740
|
-
reactNative.Platform.OS === "android" ?
|
|
35473
|
+
reactNative.Platform.OS === "web" ? styles32.cellWeb : null,
|
|
35474
|
+
reactNative.Platform.OS === "android" ? styles32.cellAndroid : null,
|
|
34741
35475
|
inputStyle
|
|
34742
35476
|
],
|
|
34743
35477
|
value: currentCode[index] ?? ""
|
|
@@ -34745,10 +35479,10 @@ var VerificationCodeInput = react.forwardRef(function VerificationCodeInput2({
|
|
|
34745
35479
|
index
|
|
34746
35480
|
);
|
|
34747
35481
|
}) }),
|
|
34748
|
-
showErrorMessage ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityLiveRegion: "assertive", style:
|
|
35482
|
+
showErrorMessage ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { accessibilityLiveRegion: "assertive", style: styles32.errorMessage, children: errorMessage }) : null
|
|
34749
35483
|
] });
|
|
34750
35484
|
});
|
|
34751
|
-
var
|
|
35485
|
+
var styles32 = reactNative.StyleSheet.create({
|
|
34752
35486
|
wrapper: {
|
|
34753
35487
|
minWidth: 0,
|
|
34754
35488
|
alignSelf: "center",
|
|
@@ -34793,7 +35527,7 @@ var styles28 = reactNative.StyleSheet.create({
|
|
|
34793
35527
|
color: colors.red
|
|
34794
35528
|
}
|
|
34795
35529
|
});
|
|
34796
|
-
var
|
|
35530
|
+
var DEFAULT_WIDTH4 = 308;
|
|
34797
35531
|
var TRIGGER_HEIGHT2 = 44;
|
|
34798
35532
|
var TRIGGER_RADIUS2 = 60;
|
|
34799
35533
|
var MENU_RADIUS3 = 24;
|
|
@@ -34872,25 +35606,25 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
34872
35606
|
const next = Math.ceil(event.nativeEvent.layout.width);
|
|
34873
35607
|
setEllipsisWidth((current) => current === next ? current : next);
|
|
34874
35608
|
};
|
|
34875
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34876
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { pointerEvents: "none", style:
|
|
35609
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.multiValueRoot, children: [
|
|
35610
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { pointerEvents: "none", style: styles33.measureRow, children: [
|
|
34877
35611
|
options.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34878
35612
|
reactNative.View,
|
|
34879
35613
|
{
|
|
34880
|
-
style:
|
|
35614
|
+
style: styles33.chip,
|
|
34881
35615
|
onLayout: (event) => handleChipLayout(option.value, event),
|
|
34882
35616
|
children: [
|
|
34883
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
34884
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
35617
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.chipLabel, numberOfLines: 1, children: option.label }),
|
|
35618
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.chipRemove, children: "\xD7" })
|
|
34885
35619
|
]
|
|
34886
35620
|
},
|
|
34887
35621
|
`measure-${option.value}`
|
|
34888
35622
|
)),
|
|
34889
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35623
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.ellipsis, onLayout: handleEllipsisLayout, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.ellipsisText, children: "..." }) })
|
|
34890
35624
|
] }),
|
|
34891
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34892
|
-
visible.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
34893
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
35625
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.chipsRow, onLayout: handleContainerLayout, children: [
|
|
35626
|
+
visible.map((option) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.chip, children: [
|
|
35627
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.chipLabel, numberOfLines: 1, children: option.label }),
|
|
34894
35628
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34895
35629
|
reactNative.Pressable,
|
|
34896
35630
|
{
|
|
@@ -34902,11 +35636,11 @@ function MultiValueChips({ options, disabled, onRemove }) {
|
|
|
34902
35636
|
hitSlop: 6,
|
|
34903
35637
|
accessibilityRole: "button",
|
|
34904
35638
|
accessibilityLabel: `Remove ${option.label}`,
|
|
34905
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
35639
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.chipRemove, children: "\xD7" })
|
|
34906
35640
|
}
|
|
34907
35641
|
)
|
|
34908
35642
|
] }, option.value)),
|
|
34909
|
-
hasOverflow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35643
|
+
hasOverflow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.ellipsis, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.ellipsisText, children: "..." }) }) : null
|
|
34910
35644
|
] })
|
|
34911
35645
|
] });
|
|
34912
35646
|
}
|
|
@@ -35177,11 +35911,11 @@ var Select = react.forwardRef(
|
|
|
35177
35911
|
{
|
|
35178
35912
|
...rest,
|
|
35179
35913
|
ref: setRootRef,
|
|
35180
|
-
style: [
|
|
35914
|
+
style: [styles33.root, isOpen && styles33.rootOpen, disabled && styles33.disabled, style],
|
|
35181
35915
|
accessibilityState: { disabled, expanded: isOpen },
|
|
35182
35916
|
children: [
|
|
35183
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
35184
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
35917
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles33.label, { color: labelColor }], children: label }) : null,
|
|
35918
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles33.triggerWrap, isOpen && styles33.triggerWrapOpen], children: [
|
|
35185
35919
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35186
35920
|
reactNative.Pressable,
|
|
35187
35921
|
{
|
|
@@ -35192,23 +35926,23 @@ var Select = react.forwardRef(
|
|
|
35192
35926
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35193
35927
|
accessibilityState: { disabled, expanded: isOpen },
|
|
35194
35928
|
style: [
|
|
35195
|
-
|
|
35929
|
+
styles33.trigger,
|
|
35196
35930
|
{
|
|
35197
35931
|
borderColor: triggerBorderColor,
|
|
35198
35932
|
backgroundColor: colors.grey700
|
|
35199
35933
|
}
|
|
35200
35934
|
],
|
|
35201
35935
|
children: [
|
|
35202
|
-
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35203
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35936
|
+
hasLeftIcon ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.iconSlot, children: leftIconNode }) : null,
|
|
35937
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.triggerContent, children: multiple && hasValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
35204
35938
|
MultiValueChips,
|
|
35205
35939
|
{
|
|
35206
35940
|
options: selectedOptions,
|
|
35207
35941
|
disabled,
|
|
35208
35942
|
onRemove: handleRemoveChip
|
|
35209
35943
|
}
|
|
35210
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
35211
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [
|
|
35944
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles33.triggerText, { color: triggerTextColor }], numberOfLines: 1, children: multiple ? placeholder : singleLabel }) }),
|
|
35945
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles33.iconSlot, isOpen && styles33.chevronOpen], children: /* @__PURE__ */ jsxRuntime.jsx(ChevronDownIcon, { size: ICON_SIZE13, color: isOpen ? colors.primary : colors.grey100 }) })
|
|
35212
35946
|
]
|
|
35213
35947
|
}
|
|
35214
35948
|
),
|
|
@@ -35216,14 +35950,14 @@ var Select = react.forwardRef(
|
|
|
35216
35950
|
reactNative.View,
|
|
35217
35951
|
{
|
|
35218
35952
|
style: [
|
|
35219
|
-
|
|
35220
|
-
menuAlignEnd ?
|
|
35221
|
-
menuPlaceAbove ?
|
|
35953
|
+
styles33.menu,
|
|
35954
|
+
menuAlignEnd ? styles33.menuAlignEnd : styles33.menuAlignStart,
|
|
35955
|
+
menuPlaceAbove ? styles33.menuAbove : styles33.menuBelow,
|
|
35222
35956
|
menuStyle
|
|
35223
35957
|
],
|
|
35224
35958
|
children: [
|
|
35225
|
-
showSearch ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
35226
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35959
|
+
showSearch ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.searchField, children: [
|
|
35960
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.iconSlot, children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon, { size: ICON_SIZE13, color: colors.grey100 }) }),
|
|
35227
35961
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35228
35962
|
reactNative.TextInput,
|
|
35229
35963
|
{
|
|
@@ -35234,9 +35968,9 @@ var Select = react.forwardRef(
|
|
|
35234
35968
|
placeholder: searchPlaceholder,
|
|
35235
35969
|
placeholderTextColor: colors.grey100,
|
|
35236
35970
|
style: [
|
|
35237
|
-
|
|
35238
|
-
reactNative.Platform.OS === "web" ?
|
|
35239
|
-
reactNative.Platform.OS === "android" ?
|
|
35971
|
+
styles33.searchInput,
|
|
35972
|
+
reactNative.Platform.OS === "web" ? styles33.searchInputWeb : null,
|
|
35973
|
+
reactNative.Platform.OS === "android" ? styles33.searchInputAndroid : null
|
|
35240
35974
|
],
|
|
35241
35975
|
accessibilityLabel: searchPlaceholder
|
|
35242
35976
|
}
|
|
@@ -35245,12 +35979,12 @@ var Select = react.forwardRef(
|
|
|
35245
35979
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35246
35980
|
reactNative.ScrollView,
|
|
35247
35981
|
{
|
|
35248
|
-
style:
|
|
35249
|
-
contentContainerStyle:
|
|
35982
|
+
style: styles33.optionList,
|
|
35983
|
+
contentContainerStyle: styles33.optionListContent,
|
|
35250
35984
|
keyboardShouldPersistTaps: "handled",
|
|
35251
35985
|
showsVerticalScrollIndicator: false,
|
|
35252
35986
|
children: [
|
|
35253
|
-
loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
35987
|
+
loading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.statusText, children: "Loading..." }) }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.statusRow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.statusText, children: emptyText }) }) : null,
|
|
35254
35988
|
!loading && filteredOptions.map((option) => {
|
|
35255
35989
|
const isSelected = selectedValues.includes(option.value);
|
|
35256
35990
|
const isHovered = hoveredValue === option.value;
|
|
@@ -35267,14 +36001,14 @@ var Select = react.forwardRef(
|
|
|
35267
36001
|
accessibilityRole: multiple ? "checkbox" : "button",
|
|
35268
36002
|
accessibilityState: { selected: isSelected, checked: isSelected, disabled },
|
|
35269
36003
|
style: [
|
|
35270
|
-
|
|
36004
|
+
styles33.item,
|
|
35271
36005
|
{
|
|
35272
36006
|
backgroundColor: itemBackground(visualState)
|
|
35273
36007
|
}
|
|
35274
36008
|
],
|
|
35275
36009
|
children: [
|
|
35276
|
-
multiple ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style:
|
|
35277
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style:
|
|
36010
|
+
multiple ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: styles33.itemCheckbox, children: /* @__PURE__ */ jsxRuntime.jsx(Checkbox, { value: isSelected, variant: "light" }) }) : null,
|
|
36011
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.itemLabel, numberOfLines: 1, children: option.label })
|
|
35278
36012
|
]
|
|
35279
36013
|
},
|
|
35280
36014
|
option.value
|
|
@@ -35287,15 +36021,15 @@ var Select = react.forwardRef(
|
|
|
35287
36021
|
}
|
|
35288
36022
|
) : null
|
|
35289
36023
|
] }),
|
|
35290
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
36024
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles33.hint, { color: hintColor }], children: hint }) : null
|
|
35291
36025
|
]
|
|
35292
36026
|
}
|
|
35293
36027
|
);
|
|
35294
36028
|
}
|
|
35295
36029
|
);
|
|
35296
|
-
var
|
|
36030
|
+
var styles33 = reactNative.StyleSheet.create({
|
|
35297
36031
|
root: {
|
|
35298
|
-
width:
|
|
36032
|
+
width: DEFAULT_WIDTH4,
|
|
35299
36033
|
gap: 8,
|
|
35300
36034
|
alignSelf: "flex-start"
|
|
35301
36035
|
},
|
|
@@ -35486,7 +36220,7 @@ var styles29 = reactNative.StyleSheet.create({
|
|
|
35486
36220
|
...selectTypography.hint
|
|
35487
36221
|
}
|
|
35488
36222
|
});
|
|
35489
|
-
var
|
|
36223
|
+
var DEFAULT_WIDTH5 = 308;
|
|
35490
36224
|
var FIELD_HEIGHT = 100;
|
|
35491
36225
|
var FIELD_RADIUS = 16;
|
|
35492
36226
|
var FIELD_PADDING_VERTICAL = 12;
|
|
@@ -35578,8 +36312,8 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
35578
36312
|
};
|
|
35579
36313
|
useApplyWebClassName(rootRef, className);
|
|
35580
36314
|
useApplyWebClassName(inputRef, inputClassName);
|
|
35581
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [
|
|
35582
|
-
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { disabled, onPress: focusInput, style:
|
|
36315
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ref: rootRef, style: [styles34.root, disabled && styles34.disabled, style], children: [
|
|
36316
|
+
showLabel && label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { disabled, onPress: focusInput, style: styles34.labelPressable, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles34.label, { color: chrome.labelColor }], children: label }) }) : null,
|
|
35583
36317
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35584
36318
|
reactNative.Pressable,
|
|
35585
36319
|
{
|
|
@@ -35587,12 +36321,12 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
35587
36321
|
disabled,
|
|
35588
36322
|
onPress: focusInput,
|
|
35589
36323
|
style: [
|
|
35590
|
-
|
|
36324
|
+
styles34.field,
|
|
35591
36325
|
{
|
|
35592
36326
|
borderColor: chrome.borderColor,
|
|
35593
36327
|
backgroundColor: chrome.backgroundColor
|
|
35594
36328
|
},
|
|
35595
|
-
reactNative.Platform.OS === "web" ?
|
|
36329
|
+
reactNative.Platform.OS === "web" ? styles34.fieldWeb : null,
|
|
35596
36330
|
fieldStyle
|
|
35597
36331
|
],
|
|
35598
36332
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -35621,11 +36355,11 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
35621
36355
|
onBlur?.(event);
|
|
35622
36356
|
},
|
|
35623
36357
|
style: [
|
|
35624
|
-
|
|
36358
|
+
styles34.input,
|
|
35625
36359
|
textareaTypography.field,
|
|
35626
36360
|
{ color: chrome.textColor },
|
|
35627
|
-
reactNative.Platform.OS === "web" ?
|
|
35628
|
-
reactNative.Platform.OS === "android" ?
|
|
36361
|
+
reactNative.Platform.OS === "web" ? styles34.inputWeb : null,
|
|
36362
|
+
reactNative.Platform.OS === "android" ? styles34.inputAndroid : null,
|
|
35629
36363
|
inputStyle
|
|
35630
36364
|
],
|
|
35631
36365
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
@@ -35634,12 +36368,12 @@ var Textarea = react.forwardRef(function Textarea2({
|
|
|
35634
36368
|
)
|
|
35635
36369
|
}
|
|
35636
36370
|
),
|
|
35637
|
-
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
36371
|
+
showHint && hint ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles34.hint, { color: chrome.hintColor }], children: hint }) : null
|
|
35638
36372
|
] });
|
|
35639
36373
|
});
|
|
35640
|
-
var
|
|
36374
|
+
var styles34 = reactNative.StyleSheet.create({
|
|
35641
36375
|
root: {
|
|
35642
|
-
width:
|
|
36376
|
+
width: DEFAULT_WIDTH5,
|
|
35643
36377
|
gap: 8,
|
|
35644
36378
|
alignSelf: "flex-start"
|
|
35645
36379
|
},
|
|
@@ -35747,13 +36481,13 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
35747
36481
|
accessibilityRole: "switch",
|
|
35748
36482
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35749
36483
|
accessibilityState: { checked: isActive, disabled },
|
|
35750
|
-
style: [
|
|
36484
|
+
style: [styles35.pressable, disabled && styles35.disabled, style],
|
|
35751
36485
|
children: [
|
|
35752
36486
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35753
36487
|
reactNative.Animated.View,
|
|
35754
36488
|
{
|
|
35755
36489
|
style: [
|
|
35756
|
-
|
|
36490
|
+
styles35.track,
|
|
35757
36491
|
{
|
|
35758
36492
|
backgroundColor: trackBackgroundColor
|
|
35759
36493
|
}
|
|
@@ -35762,7 +36496,7 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
35762
36496
|
reactNative.Animated.View,
|
|
35763
36497
|
{
|
|
35764
36498
|
style: [
|
|
35765
|
-
|
|
36499
|
+
styles35.thumb,
|
|
35766
36500
|
{
|
|
35767
36501
|
transform: [{ translateX: thumbTranslateX }]
|
|
35768
36502
|
}
|
|
@@ -35771,12 +36505,12 @@ var Toggle = react.forwardRef(function Toggle2({
|
|
|
35771
36505
|
)
|
|
35772
36506
|
}
|
|
35773
36507
|
),
|
|
35774
|
-
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [
|
|
36508
|
+
labelContent != null && labelContent !== false ? typeof labelContent === "string" || typeof labelContent === "number" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles35.label, labelStyle], children: labelContent }) : labelContent : null
|
|
35775
36509
|
]
|
|
35776
36510
|
}
|
|
35777
36511
|
);
|
|
35778
36512
|
});
|
|
35779
|
-
var
|
|
36513
|
+
var styles35 = reactNative.StyleSheet.create({
|
|
35780
36514
|
pressable: {
|
|
35781
36515
|
flexDirection: "row",
|
|
35782
36516
|
alignItems: "center",
|
|
@@ -35804,7 +36538,7 @@ var styles31 = reactNative.StyleSheet.create({
|
|
|
35804
36538
|
color: colors.white
|
|
35805
36539
|
}
|
|
35806
36540
|
});
|
|
35807
|
-
var
|
|
36541
|
+
var DESKTOP_MIN_WIDTH4 = 1024;
|
|
35808
36542
|
var ToggleRow = react.forwardRef(function ToggleRow2({
|
|
35809
36543
|
label,
|
|
35810
36544
|
value,
|
|
@@ -35820,7 +36554,7 @@ var ToggleRow = react.forwardRef(function ToggleRow2({
|
|
|
35820
36554
|
const containerRef = react.useRef(null);
|
|
35821
36555
|
const setContainerRef = react.useMemo(() => mergeRefs(containerRef, forwardedRef), [forwardedRef]);
|
|
35822
36556
|
const { width: viewportWidth } = reactNative.useWindowDimensions();
|
|
35823
|
-
const isDesktop = viewportWidth >=
|
|
36557
|
+
const isDesktop = viewportWidth >= DESKTOP_MIN_WIDTH4;
|
|
35824
36558
|
const labelSize = isDesktop ? 14 : 12;
|
|
35825
36559
|
useApplyWebClassName(containerRef, className);
|
|
35826
36560
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -35829,13 +36563,13 @@ var ToggleRow = react.forwardRef(function ToggleRow2({
|
|
|
35829
36563
|
...rest,
|
|
35830
36564
|
ref: setContainerRef,
|
|
35831
36565
|
style: [
|
|
35832
|
-
|
|
36566
|
+
styles36.root,
|
|
35833
36567
|
{
|
|
35834
36568
|
minHeight: isDesktop ? 65 : 57,
|
|
35835
36569
|
paddingTop: isDesktop ? 20 : 16,
|
|
35836
36570
|
paddingBottom: isDesktop ? 20 : 16
|
|
35837
36571
|
},
|
|
35838
|
-
!showBorder &&
|
|
36572
|
+
!showBorder && styles36.noBorder,
|
|
35839
36573
|
style
|
|
35840
36574
|
],
|
|
35841
36575
|
children: [
|
|
@@ -35843,7 +36577,7 @@ var ToggleRow = react.forwardRef(function ToggleRow2({
|
|
|
35843
36577
|
reactNative.Text,
|
|
35844
36578
|
{
|
|
35845
36579
|
style: [
|
|
35846
|
-
|
|
36580
|
+
styles36.label,
|
|
35847
36581
|
{
|
|
35848
36582
|
fontSize: labelSize,
|
|
35849
36583
|
lineHeight: isDesktop ? 20 : 18,
|
|
@@ -35868,7 +36602,7 @@ var ToggleRow = react.forwardRef(function ToggleRow2({
|
|
|
35868
36602
|
}
|
|
35869
36603
|
);
|
|
35870
36604
|
});
|
|
35871
|
-
var
|
|
36605
|
+
var styles36 = reactNative.StyleSheet.create({
|
|
35872
36606
|
root: {
|
|
35873
36607
|
width: "100%",
|
|
35874
36608
|
flexDirection: "row",
|
|
@@ -35940,21 +36674,21 @@ var RatingInput = react.forwardRef(
|
|
|
35940
36674
|
{
|
|
35941
36675
|
...rest,
|
|
35942
36676
|
ref: setContainerRef,
|
|
35943
|
-
style: [
|
|
36677
|
+
style: [styles37.root, disabled && styles37.disabled, style],
|
|
35944
36678
|
children: [
|
|
35945
|
-
showValue ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [
|
|
36679
|
+
showValue ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: [styles37.value, valueStyle], children: selectedValue.toFixed(precision) }) : null,
|
|
35946
36680
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35947
36681
|
reactNative.View,
|
|
35948
36682
|
{
|
|
35949
36683
|
accessibilityRole: readOnly ? "image" : "radiogroup",
|
|
35950
36684
|
accessibilityLabel: resolvedAccessibilityLabel,
|
|
35951
36685
|
accessibilityState: { disabled },
|
|
35952
|
-
style: [
|
|
36686
|
+
style: [styles37.stars, { gap: resolvedStarGap }],
|
|
35953
36687
|
children: Array.from({ length: STAR_COUNT }, (_, index) => {
|
|
35954
36688
|
const starValue = index + 1;
|
|
35955
36689
|
const isSelected = starValue <= selectedStarCount;
|
|
35956
36690
|
const icon = isSelected ? /* @__PURE__ */ jsxRuntime.jsx(StarFilledIcon, { size: iconWidth, height: iconHeight }) : /* @__PURE__ */ jsxRuntime.jsx(StarIcon, { size: iconWidth, height: iconHeight });
|
|
35957
|
-
const itemStyle = [
|
|
36691
|
+
const itemStyle = [styles37.starItem, { width: size, height: size }];
|
|
35958
36692
|
if (readOnly) {
|
|
35959
36693
|
return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: itemStyle, children: icon }, starValue);
|
|
35960
36694
|
}
|
|
@@ -35980,7 +36714,7 @@ var RatingInput = react.forwardRef(
|
|
|
35980
36714
|
);
|
|
35981
36715
|
}
|
|
35982
36716
|
);
|
|
35983
|
-
var
|
|
36717
|
+
var styles37 = reactNative.StyleSheet.create({
|
|
35984
36718
|
root: {
|
|
35985
36719
|
flexDirection: "row",
|
|
35986
36720
|
alignItems: "center",
|
|
@@ -36044,19 +36778,19 @@ var CommentCard = react.forwardRef(
|
|
|
36044
36778
|
setExpanded(next);
|
|
36045
36779
|
onExpandedChange?.(next);
|
|
36046
36780
|
};
|
|
36047
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [
|
|
36048
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
36049
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
36781
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...rest, ref: setContainerRef, style: [styles38.root, style], children: [
|
|
36782
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles38.header, children: [
|
|
36783
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles38.avatar, children: hasImage ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
36050
36784
|
reactNative.Image,
|
|
36051
36785
|
{
|
|
36052
36786
|
source: { uri: imageUrl ?? void 0 },
|
|
36053
|
-
style:
|
|
36787
|
+
style: styles38.avatarImage,
|
|
36054
36788
|
onError: () => setImageFailed(true)
|
|
36055
36789
|
}
|
|
36056
36790
|
) : /* @__PURE__ */ jsxRuntime.jsx(UserIcon, { size: 20, color: colors.primary }) }),
|
|
36057
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
36058
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
36059
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style:
|
|
36791
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles38.identity, children: [
|
|
36792
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles38.name, children: userName }),
|
|
36793
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles38.date, children: date })
|
|
36060
36794
|
] }),
|
|
36061
36795
|
/* @__PURE__ */ jsxRuntime.jsx(RatingInput, { value: rating, readOnly: true, showValue: false, size: 16 })
|
|
36062
36796
|
] }),
|
|
@@ -36064,7 +36798,7 @@ var CommentCard = react.forwardRef(
|
|
|
36064
36798
|
reactNative.Text,
|
|
36065
36799
|
{
|
|
36066
36800
|
numberOfLines: expanded ? void 0 : maxCommentLines,
|
|
36067
|
-
style: [
|
|
36801
|
+
style: [styles38.comment, commentStyle],
|
|
36068
36802
|
children: commentText
|
|
36069
36803
|
}
|
|
36070
36804
|
),
|
|
@@ -36077,14 +36811,14 @@ var CommentCard = react.forwardRef(
|
|
|
36077
36811
|
hitSlop: 6,
|
|
36078
36812
|
onHoverIn: () => setActionHovered(true),
|
|
36079
36813
|
onHoverOut: () => setActionHovered(false),
|
|
36080
|
-
style:
|
|
36814
|
+
style: styles38.action,
|
|
36081
36815
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
36082
36816
|
reactNative.Text,
|
|
36083
36817
|
{
|
|
36084
36818
|
style: [
|
|
36085
|
-
|
|
36086
|
-
expanded &&
|
|
36087
|
-
actionHovered && (expanded ?
|
|
36819
|
+
styles38.actionText,
|
|
36820
|
+
expanded && styles38.closeActionText,
|
|
36821
|
+
actionHovered && (expanded ? styles38.closeActionTextHovered : styles38.openActionTextHovered)
|
|
36088
36822
|
],
|
|
36089
36823
|
children: expanded ? readLessLabel : readMoreLabel
|
|
36090
36824
|
}
|
|
@@ -36094,7 +36828,7 @@ var CommentCard = react.forwardRef(
|
|
|
36094
36828
|
] });
|
|
36095
36829
|
}
|
|
36096
36830
|
);
|
|
36097
|
-
var
|
|
36831
|
+
var styles38 = reactNative.StyleSheet.create({
|
|
36098
36832
|
root: {
|
|
36099
36833
|
width: CARD_WIDTH2,
|
|
36100
36834
|
minHeight: CARD_MIN_HEIGHT,
|
|
@@ -36194,7 +36928,7 @@ function normalizeRangeValue(value, min, max) {
|
|
|
36194
36928
|
}
|
|
36195
36929
|
return { from, to };
|
|
36196
36930
|
}
|
|
36197
|
-
var
|
|
36931
|
+
var DEFAULT_WIDTH6 = 347;
|
|
36198
36932
|
var TRACK_HEIGHT2 = 4;
|
|
36199
36933
|
var TRACK_HORIZONTAL_INSET = 20;
|
|
36200
36934
|
var THUMB_SIZE2 = 20;
|
|
@@ -36245,7 +36979,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
36245
36979
|
upperBound
|
|
36246
36980
|
);
|
|
36247
36981
|
const latestValueRef = react.useRef(resolvedValue);
|
|
36248
|
-
const [trackWidth, setTrackWidth] = react.useState(
|
|
36982
|
+
const [trackWidth, setTrackWidth] = react.useState(DEFAULT_WIDTH6);
|
|
36249
36983
|
const [fromDraft, setFromDraft] = react.useState(
|
|
36250
36984
|
resolvedValue.from === void 0 ? "" : formatValue(resolvedValue.from)
|
|
36251
36985
|
);
|
|
@@ -36533,7 +37267,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
36533
37267
|
...rest,
|
|
36534
37268
|
ref: setRootRef,
|
|
36535
37269
|
onLayout,
|
|
36536
|
-
style: [
|
|
37270
|
+
style: [styles39.root, disabled && styles39.disabled, style],
|
|
36537
37271
|
children: [
|
|
36538
37272
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
36539
37273
|
reactNative.Pressable,
|
|
@@ -36547,16 +37281,16 @@ var Range = react.forwardRef(function Range2({
|
|
|
36547
37281
|
updateNearestFromTrack(event.nativeEvent.offsetX);
|
|
36548
37282
|
} : void 0,
|
|
36549
37283
|
onPress: reactNative.Platform.OS === "web" ? void 0 : handleTrackPress,
|
|
36550
|
-
style:
|
|
37284
|
+
style: styles39.sliderPlane,
|
|
36551
37285
|
tabIndex: -1,
|
|
36552
37286
|
children: [
|
|
36553
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style:
|
|
37287
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { pointerEvents: "none", style: styles39.track }),
|
|
36554
37288
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36555
37289
|
reactNative.View,
|
|
36556
37290
|
{
|
|
36557
37291
|
pointerEvents: "none",
|
|
36558
37292
|
style: [
|
|
36559
|
-
|
|
37293
|
+
styles39.activeTrack,
|
|
36560
37294
|
{
|
|
36561
37295
|
left: TRACK_HORIZONTAL_INSET + fromOffset,
|
|
36562
37296
|
width: toOffset - fromOffset + THUMB_SIZE2
|
|
@@ -36598,9 +37332,9 @@ var Range = react.forwardRef(function Range2({
|
|
|
36598
37332
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveFrom, updateFromInput),
|
|
36599
37333
|
pointerEvents: disabled ? "none" : "auto",
|
|
36600
37334
|
style: [
|
|
36601
|
-
|
|
36602
|
-
reactNative.Platform.OS === "web" &&
|
|
36603
|
-
focusedThumb === "from" && reactNative.Platform.OS === "web" &&
|
|
37335
|
+
styles39.thumb,
|
|
37336
|
+
reactNative.Platform.OS === "web" && styles39.thumbWeb,
|
|
37337
|
+
focusedThumb === "from" && reactNative.Platform.OS === "web" && styles39.thumbFocusedWeb,
|
|
36604
37338
|
{ left: TRACK_HORIZONTAL_INSET + fromOffset }
|
|
36605
37339
|
],
|
|
36606
37340
|
tabIndex: disabled ? -1 : 0
|
|
@@ -36640,9 +37374,9 @@ var Range = react.forwardRef(function Range2({
|
|
|
36640
37374
|
onAccessibilityAction: (event) => handleAccessibilityAction(event, effectiveTo, updateToInput),
|
|
36641
37375
|
pointerEvents: disabled ? "none" : "auto",
|
|
36642
37376
|
style: [
|
|
36643
|
-
|
|
36644
|
-
reactNative.Platform.OS === "web" &&
|
|
36645
|
-
focusedThumb === "to" && reactNative.Platform.OS === "web" &&
|
|
37377
|
+
styles39.thumb,
|
|
37378
|
+
reactNative.Platform.OS === "web" && styles39.thumbWeb,
|
|
37379
|
+
focusedThumb === "to" && reactNative.Platform.OS === "web" && styles39.thumbFocusedWeb,
|
|
36646
37380
|
{ left: TRACK_HORIZONTAL_INSET + toOffset }
|
|
36647
37381
|
],
|
|
36648
37382
|
tabIndex: disabled ? -1 : 0
|
|
@@ -36651,7 +37385,7 @@ var Range = react.forwardRef(function Range2({
|
|
|
36651
37385
|
]
|
|
36652
37386
|
}
|
|
36653
37387
|
),
|
|
36654
|
-
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style:
|
|
37388
|
+
/* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles39.inputs, children: [
|
|
36655
37389
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36656
37390
|
RangeInput,
|
|
36657
37391
|
{
|
|
@@ -36702,7 +37436,7 @@ function RangeInput({
|
|
|
36702
37436
|
placeholder,
|
|
36703
37437
|
value
|
|
36704
37438
|
}) {
|
|
36705
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [
|
|
37439
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles39.inputField, focused && styles39.inputFieldFocused], children: [
|
|
36706
37440
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36707
37441
|
reactNative.TextInput,
|
|
36708
37442
|
{
|
|
@@ -36718,17 +37452,17 @@ function RangeInput({
|
|
|
36718
37452
|
placeholder,
|
|
36719
37453
|
placeholderTextColor: colors.grey150,
|
|
36720
37454
|
returnKeyType: "done",
|
|
36721
|
-
style: [
|
|
37455
|
+
style: [styles39.input, reactNative.Platform.OS === "web" && styles39.inputWeb],
|
|
36722
37456
|
tabIndex: disabled ? -1 : void 0,
|
|
36723
37457
|
value
|
|
36724
37458
|
}
|
|
36725
37459
|
),
|
|
36726
|
-
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style:
|
|
37460
|
+
/* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles39.currencySlot, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles39.currency, children: currency }) })
|
|
36727
37461
|
] });
|
|
36728
37462
|
}
|
|
36729
|
-
var
|
|
37463
|
+
var styles39 = reactNative.StyleSheet.create({
|
|
36730
37464
|
root: {
|
|
36731
|
-
width:
|
|
37465
|
+
width: DEFAULT_WIDTH6,
|
|
36732
37466
|
gap: 15,
|
|
36733
37467
|
alignSelf: "flex-start"
|
|
36734
37468
|
},
|
|
@@ -36935,6 +37669,7 @@ react-dom/cjs/react-dom.development.js:
|
|
|
36935
37669
|
*)
|
|
36936
37670
|
*/
|
|
36937
37671
|
|
|
37672
|
+
exports.Accordion = Accordion;
|
|
36938
37673
|
exports.AccordionItem = AccordionItem;
|
|
36939
37674
|
exports.AccountHeader = AccountHeader;
|
|
36940
37675
|
exports.AlertTriangleIcon = AlertTriangleIcon;
|
|
@@ -36942,7 +37677,9 @@ exports.Amenity = Amenity;
|
|
|
36942
37677
|
exports.AmenityIcon = AmenityIcon;
|
|
36943
37678
|
exports.AppleIcon = AppleIcon;
|
|
36944
37679
|
exports.AreaExpandIcon = AreaExpandIcon;
|
|
37680
|
+
exports.ArrowLeftIcon = ArrowLeftIcon;
|
|
36945
37681
|
exports.ArrowRightIcon = ArrowRightIcon;
|
|
37682
|
+
exports.AutocompleteInput = AutocompleteInput;
|
|
36946
37683
|
exports.Avatar = Avatar;
|
|
36947
37684
|
exports.AvatarSimple = AvatarSimple;
|
|
36948
37685
|
exports.BRAND_LOGO_COLORS = BRAND_LOGO_COLORS;
|
|
@@ -36958,6 +37695,7 @@ exports.BrandLogo = BrandLogo;
|
|
|
36958
37695
|
exports.BuildingIcon = BuildingIcon;
|
|
36959
37696
|
exports.Button = Button;
|
|
36960
37697
|
exports.CalendarIcon = CalendarIcon;
|
|
37698
|
+
exports.CalendarMinusIcon = CalendarMinusIcon;
|
|
36961
37699
|
exports.CalendarOutlineIcon = CalendarOutlineIcon;
|
|
36962
37700
|
exports.CameraFilledIcon = CameraFilledIcon;
|
|
36963
37701
|
exports.CameraIcon = CameraIcon;
|
|
@@ -36975,8 +37713,10 @@ exports.CommentCard = CommentCard;
|
|
|
36975
37713
|
exports.ContactInfoCard = ContactInfoCard;
|
|
36976
37714
|
exports.CopyIcon = CopyIcon;
|
|
36977
37715
|
exports.Counter = Counter;
|
|
37716
|
+
exports.CurrentLocationIcon = CurrentLocationIcon;
|
|
36978
37717
|
exports.DatePicker = DatePicker;
|
|
36979
37718
|
exports.DownloadIcon = DownloadIcon;
|
|
37719
|
+
exports.Drawer = Drawer;
|
|
36980
37720
|
exports.EditIcon = EditIcon;
|
|
36981
37721
|
exports.FacebookIcon = FacebookIcon;
|
|
36982
37722
|
exports.FavoritesButton = FavoritesButton;
|
|
@@ -37023,6 +37763,7 @@ exports.PawIcon = PawIcon;
|
|
|
37023
37763
|
exports.PhoneIcon = PhoneIcon;
|
|
37024
37764
|
exports.PlusIcon = PlusIcon;
|
|
37025
37765
|
exports.QrCodeIcon = QrCodeIcon;
|
|
37766
|
+
exports.QuantityInput = QuantityInput;
|
|
37026
37767
|
exports.QuietHoursIcon = QuietHoursIcon;
|
|
37027
37768
|
exports.Range = Range;
|
|
37028
37769
|
exports.RatingInput = RatingInput;
|