@landtrustinc/design-system 1.1.6 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +90 -8
- package/dist/index.js +459 -300
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
var src_exports = {};
|
|
32
32
|
__export(src_exports, {
|
|
33
33
|
AIResponse: () => AIResponse_default,
|
|
34
|
-
|
|
34
|
+
AvailabilityBadge: () => AvailabilityBadge_default,
|
|
35
35
|
Avatar: () => Avatar_default,
|
|
36
36
|
Box: () => Box_default,
|
|
37
37
|
Button: () => Button_default,
|
|
@@ -39,6 +39,7 @@ __export(src_exports, {
|
|
|
39
39
|
Column: () => Column_default,
|
|
40
40
|
Container: () => Container_default,
|
|
41
41
|
Divider: () => Divider_default,
|
|
42
|
+
FeatureList: () => FeatureList_default,
|
|
42
43
|
FieldNoteCard: () => FieldNoteCard_default,
|
|
43
44
|
FormField: () => FormField,
|
|
44
45
|
GlobalStyle: () => GlobalStyle,
|
|
@@ -48,6 +49,7 @@ __export(src_exports, {
|
|
|
48
49
|
HuntCard: () => HuntCard_default,
|
|
49
50
|
Icon: () => Icon_default,
|
|
50
51
|
IconLabel: () => IconLabel_default,
|
|
52
|
+
InfoBox: () => InfoBox_default,
|
|
51
53
|
Input: () => Input,
|
|
52
54
|
LayoutTokens: () => LayoutTokens,
|
|
53
55
|
ListingChat: () => ListingChat_default,
|
|
@@ -55,6 +57,7 @@ __export(src_exports, {
|
|
|
55
57
|
MessageBubble: () => MessageBubble_default,
|
|
56
58
|
Navigation: () => Navigation_default,
|
|
57
59
|
PackageCard: () => PackageCard_default,
|
|
60
|
+
PackageHeader: () => PackageHeader_default,
|
|
58
61
|
ReviewCard: () => ReviewCard_default,
|
|
59
62
|
Reviews: () => Reviews_default,
|
|
60
63
|
ReviewsShowcase: () => ReviewsShowcase_default,
|
|
@@ -908,7 +911,13 @@ var Bear_default = SvgBear;
|
|
|
908
911
|
|
|
909
912
|
// src/Icon/components/BedSolid.tsx
|
|
910
913
|
var import_jsx_runtime22 = require("@emotion/react/jsx-runtime");
|
|
911
|
-
var SvgBedSolid = (props) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0
|
|
914
|
+
var SvgBedSolid = (props) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 26 26", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
915
|
+
"path",
|
|
916
|
+
{
|
|
917
|
+
fill: "currentColor",
|
|
918
|
+
d: "M4 6c.553 0 1 .447 1 1v8h7v-5c0-.553.447-1 1-1h7a3 3 0 0 1 3 3v7a.999.999 0 1 1-2 0v-1H5v1a.999.999 0 1 1-2 0V7c0-.553.447-1 1-1m4.5 3a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5"
|
|
919
|
+
}
|
|
920
|
+
) });
|
|
912
921
|
var BedSolid_default = SvgBedSolid;
|
|
913
922
|
|
|
914
923
|
// src/Icon/components/Bell.tsx
|
|
@@ -1528,7 +1537,13 @@ var GameFeeder_default = SvgGameFeeder;
|
|
|
1528
1537
|
|
|
1529
1538
|
// src/Icon/components/GridSolid.tsx
|
|
1530
1539
|
var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
|
|
1531
|
-
var SvgGridSolid = (props) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0
|
|
1540
|
+
var SvgGridSolid = (props) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 26 26", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
|
|
1541
|
+
"path",
|
|
1542
|
+
{
|
|
1543
|
+
fill: "currentColor",
|
|
1544
|
+
d: "M5 6.429C5 5.639 5.64 5 6.429 5h1.714c.79 0 1.428.64 1.428 1.429v1.714c0 .79-.639 1.428-1.428 1.428H6.429C5.639 9.571 5 8.932 5 8.143zm0 5.714c0-.79.64-1.429 1.429-1.429h1.714c.79 0 1.428.64 1.428 1.429v1.714c0 .79-.639 1.429-1.428 1.429H6.429c-.79 0-1.429-.64-1.429-1.429zm4.571 5.714v1.714c0 .79-.639 1.429-1.428 1.429H6.429C5.639 21 5 20.36 5 19.571v-1.714c0-.79.64-1.428 1.429-1.428h1.714c.79 0 1.428.639 1.428 1.428M10.714 6.43c0-.79.64-1.429 1.429-1.429h1.714c.79 0 1.429.64 1.429 1.429v1.714c0 .79-.64 1.428-1.429 1.428h-1.714c-.79 0-1.429-.639-1.429-1.428zm4.572 5.714v1.714c0 .79-.64 1.429-1.429 1.429h-1.714c-.79 0-1.429-.64-1.429-1.429v-1.714c0-.79.64-1.429 1.429-1.429h1.714c.79 0 1.429.64 1.429 1.429m-4.572 5.714c0-.79.64-1.428 1.429-1.428h1.714c.79 0 1.429.639 1.429 1.428v1.714c0 .79-.64 1.429-1.429 1.429h-1.714c-.79 0-1.429-.64-1.429-1.429zM21 6.43v1.714c0 .79-.64 1.428-1.429 1.428h-1.714c-.79 0-1.428-.639-1.428-1.428V6.429c0-.79.639-1.429 1.428-1.429h1.714C20.361 5 21 5.64 21 6.429m-4.571 5.714c0-.79.639-1.429 1.428-1.429h1.714c.79 0 1.429.64 1.429 1.429v1.714c0 .79-.64 1.429-1.429 1.429h-1.714c-.79 0-1.428-.64-1.428-1.429zM21 17.857v1.714c0 .79-.64 1.429-1.429 1.429h-1.714c-.79 0-1.428-.64-1.428-1.429v-1.714c0-.79.639-1.428 1.428-1.428h1.714c.79 0 1.429.639 1.429 1.428"
|
|
1545
|
+
}
|
|
1546
|
+
) });
|
|
1532
1547
|
var GridSolid_default = SvgGridSolid;
|
|
1533
1548
|
|
|
1534
1549
|
// src/Icon/components/GrillHotSolid.tsx
|
|
@@ -1538,16 +1553,13 @@ var GrillHotSolid_default = SvgGrillHotSolid;
|
|
|
1538
1553
|
|
|
1539
1554
|
// src/Icon/components/GroundBlind.tsx
|
|
1540
1555
|
var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
|
|
1541
|
-
var SvgGroundBlind = (props) => /* @__PURE__ */ (0, import_jsx_runtime75.
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
"
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
}
|
|
1549
|
-
)
|
|
1550
|
-
] });
|
|
1556
|
+
var SvgGroundBlind = (props) => /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 26 26", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
|
|
1557
|
+
"path",
|
|
1558
|
+
{
|
|
1559
|
+
fill: "currentColor",
|
|
1560
|
+
d: "M21.615 6.77V22H5V6.77L13.308 4zM7.077 15.077h4.846L7.077 9.538zm7.615 0h4.846V9.538zM9.154 9.538l4.154 4.154 4.154-4.154z"
|
|
1561
|
+
}
|
|
1562
|
+
) });
|
|
1551
1563
|
var GroundBlind_default = SvgGroundBlind;
|
|
1552
1564
|
|
|
1553
1565
|
// src/Icon/components/HandsUsd.tsx
|
|
@@ -1985,7 +1997,15 @@ var LocationCircle_default = SvgLocationCircle;
|
|
|
1985
1997
|
|
|
1986
1998
|
// src/Icon/components/LocationDotSolid.tsx
|
|
1987
1999
|
var import_jsx_runtime119 = require("@emotion/react/jsx-runtime");
|
|
1988
|
-
var SvgLocationDotSolid = (props) => /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0
|
|
2000
|
+
var SvgLocationDotSolid = (props) => /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 26 26", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
|
|
2001
|
+
"path",
|
|
2002
|
+
{
|
|
2003
|
+
fill: "currentColor",
|
|
2004
|
+
fillRule: "evenodd",
|
|
2005
|
+
d: "M14.025 22.573c1.909-2.389 6.262-8.178 6.262-11.43C20.287 7.2 17.087 4 13.144 4A7.145 7.145 0 0 0 6 11.143c0 3.252 4.353 9.042 6.262 11.43.457.57 1.306.57 1.763 0m-.882-13.81a2.381 2.381 0 1 1 0 4.762 2.381 2.381 0 0 1 0-4.763",
|
|
2006
|
+
clipRule: "evenodd"
|
|
2007
|
+
}
|
|
2008
|
+
) });
|
|
1989
2009
|
var LocationDotSolid_default = SvgLocationDotSolid;
|
|
1990
2010
|
|
|
1991
2011
|
// src/Icon/components/MagnifyingGlass.tsx
|
|
@@ -2696,7 +2716,13 @@ var Users_default = SvgUsers;
|
|
|
2696
2716
|
|
|
2697
2717
|
// src/Icon/components/UserSolid.tsx
|
|
2698
2718
|
var import_jsx_runtime187 = require("@emotion/react/jsx-runtime");
|
|
2699
|
-
var SvgUserSolid = (props) => /* @__PURE__ */ (0, import_jsx_runtime187.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0
|
|
2719
|
+
var SvgUserSolid = (props) => /* @__PURE__ */ (0, import_jsx_runtime187.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 26 26", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime187.jsx)(
|
|
2720
|
+
"path",
|
|
2721
|
+
{
|
|
2722
|
+
fill: "currentColor",
|
|
2723
|
+
d: "M13.5 12.571a4.36 4.36 0 0 0 3.06-1.255 4.251 4.251 0 0 0 0-6.06 4.363 4.363 0 0 0-6.12 0 4.25 4.25 0 0 0 0 6.06c.402.398.88.714 1.404.93a4.4 4.4 0 0 0 1.656.325m-1.07 2c-3.553 0-6.43 2.85-6.43 6.368C6 21.525 6.48 22 7.07 22h12.86c.59 0 1.07-.475 1.07-1.06 0-3.519-2.877-6.369-6.43-6.369z"
|
|
2724
|
+
}
|
|
2725
|
+
) });
|
|
2700
2726
|
var UserSolid_default = SvgUserSolid;
|
|
2701
2727
|
|
|
2702
2728
|
// src/Icon/components/UsFlag.tsx
|
|
@@ -3781,9 +3807,9 @@ var AIResponse = ({
|
|
|
3781
3807
|
};
|
|
3782
3808
|
var AIResponse_default = AIResponse;
|
|
3783
3809
|
|
|
3784
|
-
// src/
|
|
3810
|
+
// src/AvailabilityBadge/AvailabilityBadge.styles.ts
|
|
3785
3811
|
var import_react12 = require("@emotion/react");
|
|
3786
|
-
var
|
|
3812
|
+
var availabilityBadgeVariantStyles = {
|
|
3787
3813
|
primary: import_react12.css`
|
|
3788
3814
|
background-color: var(--color-primary-100);
|
|
3789
3815
|
color: var(--text-primary);
|
|
@@ -3806,9 +3832,9 @@ var availabilityChipVariantStyles = {
|
|
|
3806
3832
|
`
|
|
3807
3833
|
};
|
|
3808
3834
|
|
|
3809
|
-
// src/
|
|
3835
|
+
// src/AvailabilityBadge/AvailabilityBadge.tsx
|
|
3810
3836
|
var import_jsx_runtime203 = require("@emotion/react/jsx-runtime");
|
|
3811
|
-
var
|
|
3837
|
+
var AvailabilityBadge = ({
|
|
3812
3838
|
children,
|
|
3813
3839
|
variant,
|
|
3814
3840
|
className
|
|
@@ -3821,13 +3847,13 @@ var AvailabilityChip = ({
|
|
|
3821
3847
|
px: "var(--spacing-4)",
|
|
3822
3848
|
py: "var(--spacing-1)",
|
|
3823
3849
|
borderRadius: "var(--spacing-2)",
|
|
3824
|
-
css:
|
|
3850
|
+
css: availabilityBadgeVariantStyles[variant],
|
|
3825
3851
|
className,
|
|
3826
3852
|
children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Text_default, { size: "xs", fontWeight: "bold", children })
|
|
3827
3853
|
}
|
|
3828
3854
|
);
|
|
3829
3855
|
};
|
|
3830
|
-
var
|
|
3856
|
+
var AvailabilityBadge_default = AvailabilityBadge;
|
|
3831
3857
|
|
|
3832
3858
|
// src/Avatar/Avatar.tsx
|
|
3833
3859
|
var import_react14 = require("react");
|
|
@@ -4650,9 +4676,74 @@ var ChatWidget = ({
|
|
|
4650
4676
|
};
|
|
4651
4677
|
var ChatWidget_default = ChatWidget;
|
|
4652
4678
|
|
|
4653
|
-
// src/
|
|
4679
|
+
// src/FeatureList/components/FeatureListItem.tsx
|
|
4654
4680
|
var import_react24 = require("@emotion/react");
|
|
4655
|
-
var
|
|
4681
|
+
var import_jsx_runtime210 = require("@emotion/react/jsx-runtime");
|
|
4682
|
+
var FeatureListItem = ({
|
|
4683
|
+
iconVariant,
|
|
4684
|
+
label,
|
|
4685
|
+
subtitle,
|
|
4686
|
+
iconSize = 6,
|
|
4687
|
+
iconColor,
|
|
4688
|
+
className,
|
|
4689
|
+
...rest
|
|
4690
|
+
}) => {
|
|
4691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(Box_default, { display: "flex", flexDirection: "column", color: "var(--text-primary)", children: [
|
|
4692
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(
|
|
4693
|
+
Box_default,
|
|
4694
|
+
{
|
|
4695
|
+
display: "flex",
|
|
4696
|
+
alignItems: "center",
|
|
4697
|
+
gap: "var(--spacing-2)",
|
|
4698
|
+
className,
|
|
4699
|
+
...rest,
|
|
4700
|
+
children: [
|
|
4701
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
|
|
4702
|
+
Icon_default,
|
|
4703
|
+
{
|
|
4704
|
+
variant: iconVariant,
|
|
4705
|
+
size: iconSize,
|
|
4706
|
+
fill: iconColor,
|
|
4707
|
+
css: import_react24.css`
|
|
4708
|
+
width: 26px;
|
|
4709
|
+
height: 26px;
|
|
4710
|
+
`
|
|
4711
|
+
}
|
|
4712
|
+
),
|
|
4713
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Text_default, { fontWeight: "semibold", children: label })
|
|
4714
|
+
]
|
|
4715
|
+
}
|
|
4716
|
+
),
|
|
4717
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-3)", children: [
|
|
4718
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Box_default, { width: "var(--spacing-6)", children: "\xA0" }),
|
|
4719
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Text_default, { size: "sm", children: subtitle })
|
|
4720
|
+
] })
|
|
4721
|
+
] });
|
|
4722
|
+
};
|
|
4723
|
+
var FeatureListItem_default = FeatureListItem;
|
|
4724
|
+
|
|
4725
|
+
// src/FeatureList/FeatureList.tsx
|
|
4726
|
+
var import_jsx_runtime211 = require("@emotion/react/jsx-runtime");
|
|
4727
|
+
var FeatureList = ({ heading, items, className }) => {
|
|
4728
|
+
return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(
|
|
4729
|
+
Box_default,
|
|
4730
|
+
{
|
|
4731
|
+
display: "flex",
|
|
4732
|
+
flexDirection: "column",
|
|
4733
|
+
gap: "var(--spacing-2)",
|
|
4734
|
+
className,
|
|
4735
|
+
children: [
|
|
4736
|
+
heading && /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Text_default, { fontWeight: "bold", children: heading }),
|
|
4737
|
+
/* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(FeatureListItem_default, { ...item }, `${item.iconVariant}-${index}`)) })
|
|
4738
|
+
]
|
|
4739
|
+
}
|
|
4740
|
+
);
|
|
4741
|
+
};
|
|
4742
|
+
var FeatureList_default = FeatureList;
|
|
4743
|
+
|
|
4744
|
+
// src/FieldNoteCard/FieldNoteCard.styles.ts
|
|
4745
|
+
var import_react25 = require("@emotion/react");
|
|
4746
|
+
var cardContainerStyles = import_react25.css`
|
|
4656
4747
|
position: relative;
|
|
4657
4748
|
height: 335px;
|
|
4658
4749
|
|
|
@@ -4660,12 +4751,12 @@ var cardContainerStyles = import_react24.css`
|
|
|
4660
4751
|
height: 480px;
|
|
4661
4752
|
}
|
|
4662
4753
|
`;
|
|
4663
|
-
var cardContentStyles =
|
|
4754
|
+
var cardContentStyles = import_react25.css`
|
|
4664
4755
|
position: relative;
|
|
4665
4756
|
border-radius: var(--spacing-4);
|
|
4666
4757
|
overflow: hidden;
|
|
4667
4758
|
`;
|
|
4668
|
-
var getBackgroundWithGradient = (imageUrl) =>
|
|
4759
|
+
var getBackgroundWithGradient = (imageUrl) => import_react25.css`
|
|
4669
4760
|
background-image: linear-gradient(
|
|
4670
4761
|
180deg,
|
|
4671
4762
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -4679,7 +4770,7 @@ var getBackgroundWithGradient = (imageUrl) => import_react24.css`
|
|
|
4679
4770
|
`;
|
|
4680
4771
|
|
|
4681
4772
|
// src/FieldNoteCard/FieldNoteCard.tsx
|
|
4682
|
-
var
|
|
4773
|
+
var import_jsx_runtime212 = require("@emotion/react/jsx-runtime");
|
|
4683
4774
|
var FieldNoteCard = ({
|
|
4684
4775
|
backgroundImage,
|
|
4685
4776
|
title,
|
|
@@ -4688,14 +4779,14 @@ var FieldNoteCard = ({
|
|
|
4688
4779
|
className,
|
|
4689
4780
|
...rest
|
|
4690
4781
|
}) => {
|
|
4691
|
-
return /* @__PURE__ */ (0,
|
|
4782
|
+
return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
|
|
4692
4783
|
Box_default,
|
|
4693
4784
|
{
|
|
4694
4785
|
display: "flex",
|
|
4695
4786
|
css: cardContainerStyles,
|
|
4696
4787
|
className,
|
|
4697
4788
|
...rest,
|
|
4698
|
-
children: /* @__PURE__ */ (0,
|
|
4789
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
|
|
4699
4790
|
Box_default,
|
|
4700
4791
|
{
|
|
4701
4792
|
display: "flex",
|
|
@@ -4703,9 +4794,9 @@ var FieldNoteCard = ({
|
|
|
4703
4794
|
justifyContent: "flex-end",
|
|
4704
4795
|
p: 6,
|
|
4705
4796
|
css: [cardContentStyles, getBackgroundWithGradient(backgroundImage)],
|
|
4706
|
-
children: /* @__PURE__ */ (0,
|
|
4707
|
-
/* @__PURE__ */ (0,
|
|
4708
|
-
/* @__PURE__ */ (0,
|
|
4797
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: 6, children: [
|
|
4798
|
+
/* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Heading_default, { size: "sm", color: "white", textAlign: "left", children: title }),
|
|
4799
|
+
/* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Button_default, { variant: "primary", onClick, children: buttonLabel })
|
|
4709
4800
|
] })
|
|
4710
4801
|
}
|
|
4711
4802
|
)
|
|
@@ -4715,14 +4806,14 @@ var FieldNoteCard = ({
|
|
|
4715
4806
|
var FieldNoteCard_default = FieldNoteCard;
|
|
4716
4807
|
|
|
4717
4808
|
// src/Form/FormField.tsx
|
|
4718
|
-
var
|
|
4719
|
-
var
|
|
4720
|
-
var fieldContainerStyles =
|
|
4809
|
+
var import_react26 = require("@emotion/react");
|
|
4810
|
+
var import_jsx_runtime213 = require("@emotion/react/jsx-runtime");
|
|
4811
|
+
var fieldContainerStyles = import_react26.css`
|
|
4721
4812
|
display: flex;
|
|
4722
4813
|
flex-direction: column;
|
|
4723
4814
|
gap: ${space["2"]};
|
|
4724
4815
|
`;
|
|
4725
|
-
var labelStyles2 =
|
|
4816
|
+
var labelStyles2 = import_react26.css`
|
|
4726
4817
|
font-family: ${fonts.base};
|
|
4727
4818
|
font-size: ${fontSizes.sm};
|
|
4728
4819
|
font-weight: ${fontWeights.medium};
|
|
@@ -4730,17 +4821,17 @@ var labelStyles2 = import_react25.css`
|
|
|
4730
4821
|
color: ${colors.gray["900"]};
|
|
4731
4822
|
margin-bottom: ${space["1"]};
|
|
4732
4823
|
`;
|
|
4733
|
-
var requiredIndicatorStyles =
|
|
4824
|
+
var requiredIndicatorStyles = import_react26.css`
|
|
4734
4825
|
color: ${colors.red["500"]};
|
|
4735
4826
|
margin-left: ${space["1"]};
|
|
4736
4827
|
`;
|
|
4737
|
-
var helpTextStyles =
|
|
4828
|
+
var helpTextStyles = import_react26.css`
|
|
4738
4829
|
font-family: ${fonts.base};
|
|
4739
4830
|
font-size: ${fontSizes.sm};
|
|
4740
4831
|
line-height: ${lineHeights.tight};
|
|
4741
4832
|
color: ${colors.gray["600"]};
|
|
4742
4833
|
`;
|
|
4743
|
-
var errorTextStyles =
|
|
4834
|
+
var errorTextStyles = import_react26.css`
|
|
4744
4835
|
font-family: ${fonts.base};
|
|
4745
4836
|
font-size: ${fontSizes.sm};
|
|
4746
4837
|
line-height: ${lineHeights.tight};
|
|
@@ -4749,7 +4840,7 @@ var errorTextStyles = import_react25.css`
|
|
|
4749
4840
|
align-items: center;
|
|
4750
4841
|
gap: ${space["1"]};
|
|
4751
4842
|
`;
|
|
4752
|
-
var successTextStyles =
|
|
4843
|
+
var successTextStyles = import_react26.css`
|
|
4753
4844
|
font-family: ${fonts.base};
|
|
4754
4845
|
font-size: ${fontSizes.sm};
|
|
4755
4846
|
line-height: ${lineHeights.tight};
|
|
@@ -4758,7 +4849,7 @@ var successTextStyles = import_react25.css`
|
|
|
4758
4849
|
align-items: center;
|
|
4759
4850
|
gap: ${space["1"]};
|
|
4760
4851
|
`;
|
|
4761
|
-
var visuallyHiddenStyles =
|
|
4852
|
+
var visuallyHiddenStyles = import_react26.css`
|
|
4762
4853
|
position: absolute;
|
|
4763
4854
|
width: 1px;
|
|
4764
4855
|
height: 1px;
|
|
@@ -4783,21 +4874,21 @@ var FormField = ({
|
|
|
4783
4874
|
const hasError = !!error;
|
|
4784
4875
|
const hasSuccess = !!success && !hasError;
|
|
4785
4876
|
const hasHelpText = !!helpText && !hasError && !hasSuccess;
|
|
4786
|
-
return /* @__PURE__ */ (0,
|
|
4787
|
-
label && /* @__PURE__ */ (0,
|
|
4877
|
+
return /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { css: fieldContainerStyles, className, children: [
|
|
4878
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(
|
|
4788
4879
|
"label",
|
|
4789
4880
|
{
|
|
4790
4881
|
htmlFor,
|
|
4791
4882
|
css: [labelStyles2, hideLabel && visuallyHiddenStyles],
|
|
4792
4883
|
children: [
|
|
4793
4884
|
label,
|
|
4794
|
-
required && /* @__PURE__ */ (0,
|
|
4885
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("span", { css: requiredIndicatorStyles, "aria-label": "required", children: "*" })
|
|
4795
4886
|
]
|
|
4796
4887
|
}
|
|
4797
4888
|
),
|
|
4798
4889
|
children,
|
|
4799
|
-
hasError && /* @__PURE__ */ (0,
|
|
4800
|
-
/* @__PURE__ */ (0,
|
|
4890
|
+
hasError && /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { css: errorTextStyles, role: "alert", children: [
|
|
4891
|
+
/* @__PURE__ */ (0, import_jsx_runtime213.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
|
|
4801
4892
|
"path",
|
|
4802
4893
|
{
|
|
4803
4894
|
fillRule: "evenodd",
|
|
@@ -4807,8 +4898,8 @@ var FormField = ({
|
|
|
4807
4898
|
) }),
|
|
4808
4899
|
error
|
|
4809
4900
|
] }),
|
|
4810
|
-
hasSuccess && /* @__PURE__ */ (0,
|
|
4811
|
-
/* @__PURE__ */ (0,
|
|
4901
|
+
hasSuccess && /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { css: successTextStyles, children: [
|
|
4902
|
+
/* @__PURE__ */ (0, import_jsx_runtime213.jsx)("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "currentColor", children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(
|
|
4812
4903
|
"path",
|
|
4813
4904
|
{
|
|
4814
4905
|
fillRule: "evenodd",
|
|
@@ -4818,15 +4909,15 @@ var FormField = ({
|
|
|
4818
4909
|
) }),
|
|
4819
4910
|
success
|
|
4820
4911
|
] }),
|
|
4821
|
-
hasHelpText && /* @__PURE__ */ (0,
|
|
4912
|
+
hasHelpText && /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("div", { css: helpTextStyles, children: helpText })
|
|
4822
4913
|
] });
|
|
4823
4914
|
};
|
|
4824
4915
|
|
|
4825
4916
|
// src/Form/Input.tsx
|
|
4826
|
-
var
|
|
4827
|
-
var
|
|
4828
|
-
var
|
|
4829
|
-
var inputStyles =
|
|
4917
|
+
var import_react27 = require("@emotion/react");
|
|
4918
|
+
var import_react28 = require("react");
|
|
4919
|
+
var import_jsx_runtime214 = require("@emotion/react/jsx-runtime");
|
|
4920
|
+
var inputStyles = import_react27.css`
|
|
4830
4921
|
position: relative;
|
|
4831
4922
|
width: 100%;
|
|
4832
4923
|
font-family: ${fonts.base};
|
|
@@ -4863,19 +4954,19 @@ var inputStyles = import_react26.css`
|
|
|
4863
4954
|
}
|
|
4864
4955
|
`;
|
|
4865
4956
|
var sizeStyles = {
|
|
4866
|
-
sm:
|
|
4957
|
+
sm: import_react27.css`
|
|
4867
4958
|
padding: ${space["2"]} ${space["3"]};
|
|
4868
4959
|
font-size: ${fontSizes.sm};
|
|
4869
4960
|
line-height: ${lineHeights.tight};
|
|
4870
4961
|
height: ${space["8"]};
|
|
4871
4962
|
`,
|
|
4872
|
-
md:
|
|
4963
|
+
md: import_react27.css`
|
|
4873
4964
|
padding: ${space["3"]} ${space["4"]};
|
|
4874
4965
|
font-size: ${fontSizes.base};
|
|
4875
4966
|
line-height: ${lineHeights.normal};
|
|
4876
4967
|
height: ${space["10"]};
|
|
4877
4968
|
`,
|
|
4878
|
-
lg:
|
|
4969
|
+
lg: import_react27.css`
|
|
4879
4970
|
padding: ${space["4"]} ${space["5"]};
|
|
4880
4971
|
font-size: ${fontSizes.lg};
|
|
4881
4972
|
line-height: ${lineHeights.normal};
|
|
@@ -4883,8 +4974,8 @@ var sizeStyles = {
|
|
|
4883
4974
|
`
|
|
4884
4975
|
};
|
|
4885
4976
|
var variantStyles = {
|
|
4886
|
-
default:
|
|
4887
|
-
error:
|
|
4977
|
+
default: import_react27.css``,
|
|
4978
|
+
error: import_react27.css`
|
|
4888
4979
|
border-color: ${colors.red["500"]};
|
|
4889
4980
|
|
|
4890
4981
|
&:focus {
|
|
@@ -4892,7 +4983,7 @@ var variantStyles = {
|
|
|
4892
4983
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
4893
4984
|
}
|
|
4894
4985
|
`,
|
|
4895
|
-
success:
|
|
4986
|
+
success: import_react27.css`
|
|
4896
4987
|
border-color: ${colors.accent.green};
|
|
4897
4988
|
|
|
4898
4989
|
&:focus {
|
|
@@ -4901,7 +4992,7 @@ var variantStyles = {
|
|
|
4901
4992
|
}
|
|
4902
4993
|
`
|
|
4903
4994
|
};
|
|
4904
|
-
var inputWithIconStyles =
|
|
4995
|
+
var inputWithIconStyles = import_react27.css`
|
|
4905
4996
|
padding-left: ${space["10"]};
|
|
4906
4997
|
|
|
4907
4998
|
&.has-end-icon {
|
|
@@ -4912,7 +5003,7 @@ var inputWithIconStyles = import_react26.css`
|
|
|
4912
5003
|
padding-left: ${space["10"]};
|
|
4913
5004
|
}
|
|
4914
5005
|
`;
|
|
4915
|
-
var iconContainerStyles =
|
|
5006
|
+
var iconContainerStyles = import_react27.css`
|
|
4916
5007
|
position: absolute;
|
|
4917
5008
|
top: 50%;
|
|
4918
5009
|
transform: translateY(-50%);
|
|
@@ -4923,20 +5014,20 @@ var iconContainerStyles = import_react26.css`
|
|
|
4923
5014
|
pointer-events: none;
|
|
4924
5015
|
z-index: 1;
|
|
4925
5016
|
`;
|
|
4926
|
-
var startIconStyles =
|
|
5017
|
+
var startIconStyles = import_react27.css`
|
|
4927
5018
|
${iconContainerStyles}
|
|
4928
5019
|
left: ${space["3"]};
|
|
4929
5020
|
`;
|
|
4930
|
-
var endIconStyles =
|
|
5021
|
+
var endIconStyles = import_react27.css`
|
|
4931
5022
|
${iconContainerStyles}
|
|
4932
5023
|
right: ${space["3"]};
|
|
4933
5024
|
`;
|
|
4934
|
-
var inputWrapperStyles =
|
|
5025
|
+
var inputWrapperStyles = import_react27.css`
|
|
4935
5026
|
position: relative;
|
|
4936
5027
|
display: inline-block;
|
|
4937
5028
|
width: 100%;
|
|
4938
5029
|
`;
|
|
4939
|
-
var Input = (0,
|
|
5030
|
+
var Input = (0, import_react28.forwardRef)(
|
|
4940
5031
|
({
|
|
4941
5032
|
size = "md",
|
|
4942
5033
|
variant = "default",
|
|
@@ -4955,9 +5046,9 @@ var Input = (0, import_react27.forwardRef)(
|
|
|
4955
5046
|
hasEndIcon && "has-end-icon",
|
|
4956
5047
|
className
|
|
4957
5048
|
].filter(Boolean).join(" ");
|
|
4958
|
-
return /* @__PURE__ */ (0,
|
|
4959
|
-
hasStartIcon && /* @__PURE__ */ (0,
|
|
4960
|
-
/* @__PURE__ */ (0,
|
|
5049
|
+
return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { css: inputWrapperStyles, children: [
|
|
5050
|
+
hasStartIcon && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { css: startIconStyles, children: startIcon }),
|
|
5051
|
+
/* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
4961
5052
|
"input",
|
|
4962
5053
|
{
|
|
4963
5054
|
ref,
|
|
@@ -4974,17 +5065,17 @@ var Input = (0, import_react27.forwardRef)(
|
|
|
4974
5065
|
...props
|
|
4975
5066
|
}
|
|
4976
5067
|
),
|
|
4977
|
-
hasEndIcon && /* @__PURE__ */ (0,
|
|
5068
|
+
hasEndIcon && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { css: endIconStyles, children: endIcon })
|
|
4978
5069
|
] });
|
|
4979
5070
|
}
|
|
4980
5071
|
);
|
|
4981
5072
|
Input.displayName = "Input";
|
|
4982
5073
|
|
|
4983
5074
|
// src/Form/Select.tsx
|
|
4984
|
-
var
|
|
4985
|
-
var
|
|
4986
|
-
var
|
|
4987
|
-
var selectStyles =
|
|
5075
|
+
var import_react29 = require("@emotion/react");
|
|
5076
|
+
var import_react30 = require("react");
|
|
5077
|
+
var import_jsx_runtime215 = require("@emotion/react/jsx-runtime");
|
|
5078
|
+
var selectStyles = import_react29.css`
|
|
4988
5079
|
position: relative;
|
|
4989
5080
|
width: 100%;
|
|
4990
5081
|
font-family: ${fonts.base};
|
|
@@ -5023,19 +5114,19 @@ var selectStyles = import_react28.css`
|
|
|
5023
5114
|
}
|
|
5024
5115
|
`;
|
|
5025
5116
|
var sizeStyles2 = {
|
|
5026
|
-
sm:
|
|
5117
|
+
sm: import_react29.css`
|
|
5027
5118
|
padding: ${space["2"]} ${space["3"]};
|
|
5028
5119
|
font-size: ${fontSizes.sm};
|
|
5029
5120
|
line-height: ${lineHeights.tight};
|
|
5030
5121
|
height: ${space["8"]};
|
|
5031
5122
|
`,
|
|
5032
|
-
md:
|
|
5123
|
+
md: import_react29.css`
|
|
5033
5124
|
padding: ${space["3"]} ${space["4"]};
|
|
5034
5125
|
font-size: ${fontSizes.base};
|
|
5035
5126
|
line-height: ${lineHeights.normal};
|
|
5036
5127
|
height: ${space["10"]};
|
|
5037
5128
|
`,
|
|
5038
|
-
lg:
|
|
5129
|
+
lg: import_react29.css`
|
|
5039
5130
|
padding: ${space["4"]} ${space["5"]};
|
|
5040
5131
|
font-size: ${fontSizes.lg};
|
|
5041
5132
|
line-height: ${lineHeights.normal};
|
|
@@ -5043,8 +5134,8 @@ var sizeStyles2 = {
|
|
|
5043
5134
|
`
|
|
5044
5135
|
};
|
|
5045
5136
|
var variantStyles2 = {
|
|
5046
|
-
default:
|
|
5047
|
-
error:
|
|
5137
|
+
default: import_react29.css``,
|
|
5138
|
+
error: import_react29.css`
|
|
5048
5139
|
border-color: ${colors.red["500"]};
|
|
5049
5140
|
|
|
5050
5141
|
&:focus {
|
|
@@ -5052,7 +5143,7 @@ var variantStyles2 = {
|
|
|
5052
5143
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
5053
5144
|
}
|
|
5054
5145
|
`,
|
|
5055
|
-
success:
|
|
5146
|
+
success: import_react29.css`
|
|
5056
5147
|
border-color: ${colors.accent.green};
|
|
5057
5148
|
|
|
5058
5149
|
&:focus {
|
|
@@ -5061,7 +5152,7 @@ var variantStyles2 = {
|
|
|
5061
5152
|
}
|
|
5062
5153
|
`
|
|
5063
5154
|
};
|
|
5064
|
-
var optionStyles =
|
|
5155
|
+
var optionStyles = import_react29.css`
|
|
5065
5156
|
background-color: ${colors.light["100"]};
|
|
5066
5157
|
color: ${colors.gray["900"]};
|
|
5067
5158
|
|
|
@@ -5070,7 +5161,7 @@ var optionStyles = import_react28.css`
|
|
|
5070
5161
|
background-color: ${colors.gray["100"]};
|
|
5071
5162
|
}
|
|
5072
5163
|
`;
|
|
5073
|
-
var Select = (0,
|
|
5164
|
+
var Select = (0, import_react30.forwardRef)(
|
|
5074
5165
|
({
|
|
5075
5166
|
size = "md",
|
|
5076
5167
|
variant = "default",
|
|
@@ -5080,7 +5171,7 @@ var Select = (0, import_react29.forwardRef)(
|
|
|
5080
5171
|
className = "",
|
|
5081
5172
|
...props
|
|
5082
5173
|
}, ref) => {
|
|
5083
|
-
return /* @__PURE__ */ (0,
|
|
5174
|
+
return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(
|
|
5084
5175
|
"select",
|
|
5085
5176
|
{
|
|
5086
5177
|
ref,
|
|
@@ -5089,8 +5180,8 @@ var Select = (0, import_react29.forwardRef)(
|
|
|
5089
5180
|
className,
|
|
5090
5181
|
...props,
|
|
5091
5182
|
children: [
|
|
5092
|
-
placeholderOption && /* @__PURE__ */ (0,
|
|
5093
|
-
options.map((option) => /* @__PURE__ */ (0,
|
|
5183
|
+
placeholderOption && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("option", { value: "", disabled: true, css: optionStyles, children: placeholderOption }),
|
|
5184
|
+
options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
|
|
5094
5185
|
"option",
|
|
5095
5186
|
{
|
|
5096
5187
|
value: option.value,
|
|
@@ -5108,10 +5199,10 @@ var Select = (0, import_react29.forwardRef)(
|
|
|
5108
5199
|
Select.displayName = "Select";
|
|
5109
5200
|
|
|
5110
5201
|
// src/Grid/Column.tsx
|
|
5111
|
-
var
|
|
5202
|
+
var import_react32 = require("@emotion/react");
|
|
5112
5203
|
|
|
5113
5204
|
// src/Grid/utils.ts
|
|
5114
|
-
var
|
|
5205
|
+
var import_react31 = require("@emotion/react");
|
|
5115
5206
|
var LayoutTokens = {
|
|
5116
5207
|
containers: {
|
|
5117
5208
|
sm: screens.sm,
|
|
@@ -5151,11 +5242,11 @@ var getResponsiveValue = (value) => {
|
|
|
5151
5242
|
var generateGridColumns = (columns) => {
|
|
5152
5243
|
const baseColumns = getResponsiveValue(columns);
|
|
5153
5244
|
if (typeof columns === "number") {
|
|
5154
|
-
return
|
|
5245
|
+
return import_react31.css`
|
|
5155
5246
|
grid-template-columns: repeat(${columns}, 1fr);
|
|
5156
5247
|
`;
|
|
5157
5248
|
}
|
|
5158
|
-
return
|
|
5249
|
+
return import_react31.css`
|
|
5159
5250
|
grid-template-columns: repeat(${baseColumns}, 1fr);
|
|
5160
5251
|
|
|
5161
5252
|
${media.sm} {
|
|
@@ -5187,11 +5278,11 @@ var generateGridColumns = (columns) => {
|
|
|
5187
5278
|
var generateGapStyles = (gap2) => {
|
|
5188
5279
|
const baseGap = getResponsiveValue(gap2);
|
|
5189
5280
|
if (typeof gap2 === "string" || typeof gap2 === "number") {
|
|
5190
|
-
return
|
|
5281
|
+
return import_react31.css`
|
|
5191
5282
|
gap: ${space[gap2]};
|
|
5192
5283
|
`;
|
|
5193
5284
|
}
|
|
5194
|
-
return
|
|
5285
|
+
return import_react31.css`
|
|
5195
5286
|
gap: ${space[baseGap]};
|
|
5196
5287
|
|
|
5197
5288
|
${media.sm} {
|
|
@@ -5214,11 +5305,11 @@ var generateGapStyles = (gap2) => {
|
|
|
5214
5305
|
var generateRowGapStyles = (rowGap) => {
|
|
5215
5306
|
const baseRowGap = getResponsiveValue(rowGap);
|
|
5216
5307
|
if (typeof rowGap === "string" || typeof rowGap === "number") {
|
|
5217
|
-
return
|
|
5308
|
+
return import_react31.css`
|
|
5218
5309
|
row-gap: ${space[rowGap]};
|
|
5219
5310
|
`;
|
|
5220
5311
|
}
|
|
5221
|
-
return
|
|
5312
|
+
return import_react31.css`
|
|
5222
5313
|
row-gap: ${space[baseRowGap]};
|
|
5223
5314
|
|
|
5224
5315
|
${media.sm} {
|
|
@@ -5241,11 +5332,11 @@ var generateRowGapStyles = (rowGap) => {
|
|
|
5241
5332
|
var generateColumnGapStyles = (columnGap) => {
|
|
5242
5333
|
const baseColumnGap = getResponsiveValue(columnGap);
|
|
5243
5334
|
if (typeof columnGap === "string" || typeof columnGap === "number") {
|
|
5244
|
-
return
|
|
5335
|
+
return import_react31.css`
|
|
5245
5336
|
column-gap: ${space[columnGap]};
|
|
5246
5337
|
`;
|
|
5247
5338
|
}
|
|
5248
|
-
return
|
|
5339
|
+
return import_react31.css`
|
|
5249
5340
|
column-gap: ${space[baseColumnGap]};
|
|
5250
5341
|
|
|
5251
5342
|
${media.sm} {
|
|
@@ -5268,11 +5359,11 @@ var generateColumnGapStyles = (columnGap) => {
|
|
|
5268
5359
|
var generateColumnSpan = (span) => {
|
|
5269
5360
|
const baseSpan = getResponsiveValue(span);
|
|
5270
5361
|
if (typeof span === "string" || typeof span === "number") {
|
|
5271
|
-
return
|
|
5362
|
+
return import_react31.css`
|
|
5272
5363
|
grid-column: ${span === "auto" ? "auto" : `span ${span}`};
|
|
5273
5364
|
`;
|
|
5274
5365
|
}
|
|
5275
|
-
return
|
|
5366
|
+
return import_react31.css`
|
|
5276
5367
|
grid-column: ${baseSpan === "auto" ? "auto" : `span ${baseSpan}`};
|
|
5277
5368
|
|
|
5278
5369
|
${media.sm} {
|
|
@@ -5295,11 +5386,11 @@ var generateColumnSpan = (span) => {
|
|
|
5295
5386
|
var generateAlignItems = (alignItems) => {
|
|
5296
5387
|
const baseAlign = getResponsiveValue(alignItems);
|
|
5297
5388
|
if (typeof alignItems === "string") {
|
|
5298
|
-
return
|
|
5389
|
+
return import_react31.css`
|
|
5299
5390
|
align-items: ${alignItems};
|
|
5300
5391
|
`;
|
|
5301
5392
|
}
|
|
5302
|
-
return
|
|
5393
|
+
return import_react31.css`
|
|
5303
5394
|
align-items: ${baseAlign};
|
|
5304
5395
|
|
|
5305
5396
|
${media.sm} {
|
|
@@ -5322,11 +5413,11 @@ var generateAlignItems = (alignItems) => {
|
|
|
5322
5413
|
var generateJustifyItems = (justifyItems) => {
|
|
5323
5414
|
const baseJustify = getResponsiveValue(justifyItems);
|
|
5324
5415
|
if (typeof justifyItems === "string") {
|
|
5325
|
-
return
|
|
5416
|
+
return import_react31.css`
|
|
5326
5417
|
justify-items: ${justifyItems};
|
|
5327
5418
|
`;
|
|
5328
5419
|
}
|
|
5329
|
-
return
|
|
5420
|
+
return import_react31.css`
|
|
5330
5421
|
justify-items: ${baseJustify};
|
|
5331
5422
|
|
|
5332
5423
|
${media.sm} {
|
|
@@ -5348,7 +5439,7 @@ var generateJustifyItems = (justifyItems) => {
|
|
|
5348
5439
|
};
|
|
5349
5440
|
|
|
5350
5441
|
// src/Grid/Column.tsx
|
|
5351
|
-
var
|
|
5442
|
+
var import_jsx_runtime216 = require("@emotion/react/jsx-runtime");
|
|
5352
5443
|
var Column = ({
|
|
5353
5444
|
span,
|
|
5354
5445
|
start,
|
|
@@ -5361,30 +5452,30 @@ var Column = ({
|
|
|
5361
5452
|
}) => {
|
|
5362
5453
|
const columnStyles = [
|
|
5363
5454
|
span && generateColumnSpan(span),
|
|
5364
|
-
start &&
|
|
5455
|
+
start && import_react32.css`
|
|
5365
5456
|
grid-column-start: ${start};
|
|
5366
5457
|
`,
|
|
5367
|
-
end &&
|
|
5458
|
+
end && import_react32.css`
|
|
5368
5459
|
grid-column-end: ${end};
|
|
5369
5460
|
`,
|
|
5370
|
-
row &&
|
|
5461
|
+
row && import_react32.css`
|
|
5371
5462
|
grid-row: ${row};
|
|
5372
5463
|
`,
|
|
5373
|
-
rowSpan &&
|
|
5464
|
+
rowSpan && import_react32.css`
|
|
5374
5465
|
grid-row: span ${rowSpan};
|
|
5375
5466
|
`,
|
|
5376
|
-
area &&
|
|
5467
|
+
area && import_react32.css`
|
|
5377
5468
|
grid-area: ${area};
|
|
5378
5469
|
`
|
|
5379
5470
|
].filter(Boolean);
|
|
5380
|
-
return /* @__PURE__ */ (0,
|
|
5471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Box_default, { css: columnStyles, ...props, children });
|
|
5381
5472
|
};
|
|
5382
5473
|
var Column_default = Column;
|
|
5383
5474
|
|
|
5384
5475
|
// src/Grid/Grid.tsx
|
|
5385
|
-
var
|
|
5386
|
-
var
|
|
5387
|
-
var baseGridStyles =
|
|
5476
|
+
var import_react33 = require("@emotion/react");
|
|
5477
|
+
var import_jsx_runtime217 = require("@emotion/react/jsx-runtime");
|
|
5478
|
+
var baseGridStyles = import_react33.css`
|
|
5388
5479
|
display: grid;
|
|
5389
5480
|
`;
|
|
5390
5481
|
var Grid = ({
|
|
@@ -5409,27 +5500,27 @@ var Grid = ({
|
|
|
5409
5500
|
columnGap && generateColumnGapStyles(columnGap),
|
|
5410
5501
|
alignItems && generateAlignItems(alignItems),
|
|
5411
5502
|
justifyItems && generateJustifyItems(justifyItems),
|
|
5412
|
-
autoRows &&
|
|
5503
|
+
autoRows && import_react33.css`
|
|
5413
5504
|
grid-auto-rows: ${autoRows};
|
|
5414
5505
|
`,
|
|
5415
|
-
autoColumns &&
|
|
5506
|
+
autoColumns && import_react33.css`
|
|
5416
5507
|
grid-auto-columns: ${autoColumns};
|
|
5417
5508
|
`,
|
|
5418
|
-
templateAreas &&
|
|
5509
|
+
templateAreas && import_react33.css`
|
|
5419
5510
|
grid-template-areas: ${typeof templateAreas === "string" ? templateAreas : templateAreas._};
|
|
5420
5511
|
`,
|
|
5421
|
-
justifyContent &&
|
|
5512
|
+
justifyContent && import_react33.css`
|
|
5422
5513
|
justify-content: ${typeof justifyContent === "string" ? justifyContent : justifyContent._};
|
|
5423
5514
|
`
|
|
5424
5515
|
].filter(Boolean);
|
|
5425
|
-
return /* @__PURE__ */ (0,
|
|
5516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { css: gridStyles, ...props, children });
|
|
5426
5517
|
};
|
|
5427
5518
|
var Grid_default = Grid;
|
|
5428
5519
|
|
|
5429
5520
|
// src/Grid/GridContainer.tsx
|
|
5430
|
-
var
|
|
5431
|
-
var
|
|
5432
|
-
var baseContainerStyles =
|
|
5521
|
+
var import_react34 = require("@emotion/react");
|
|
5522
|
+
var import_jsx_runtime218 = require("@emotion/react/jsx-runtime");
|
|
5523
|
+
var baseContainerStyles = import_react34.css`
|
|
5433
5524
|
width: 100%;
|
|
5434
5525
|
margin: 0 auto;
|
|
5435
5526
|
padding-left: 1rem;
|
|
@@ -5437,14 +5528,14 @@ var baseContainerStyles = import_react33.css`
|
|
|
5437
5528
|
`;
|
|
5438
5529
|
var generateMaxWidthStyles = (maxWidth) => {
|
|
5439
5530
|
if (maxWidth === "full") {
|
|
5440
|
-
return
|
|
5531
|
+
return import_react34.css`
|
|
5441
5532
|
max-width: 100%;
|
|
5442
5533
|
padding-left: 0;
|
|
5443
5534
|
padding-right: 0;
|
|
5444
5535
|
`;
|
|
5445
5536
|
}
|
|
5446
5537
|
const width2 = LayoutTokens.containers[maxWidth] || maxWidth;
|
|
5447
|
-
return
|
|
5538
|
+
return import_react34.css`
|
|
5448
5539
|
max-width: ${width2};
|
|
5449
5540
|
|
|
5450
5541
|
${media.sm} {
|
|
@@ -5473,13 +5564,13 @@ var GridContainer = ({
|
|
|
5473
5564
|
baseContainerStyles,
|
|
5474
5565
|
generateMaxWidthStyles(maxWidth)
|
|
5475
5566
|
];
|
|
5476
|
-
return /* @__PURE__ */ (0,
|
|
5567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Box_default, { css: containerStyles4, className, ...props, children });
|
|
5477
5568
|
};
|
|
5478
5569
|
var GridContainer_default = GridContainer;
|
|
5479
5570
|
|
|
5480
5571
|
// src/HuntCard/HuntCard.styles.ts
|
|
5481
|
-
var
|
|
5482
|
-
var cardContainerStyles2 =
|
|
5572
|
+
var import_react35 = require("@emotion/react");
|
|
5573
|
+
var cardContainerStyles2 = import_react35.css`
|
|
5483
5574
|
position: relative;
|
|
5484
5575
|
height: 335px;
|
|
5485
5576
|
|
|
@@ -5487,12 +5578,12 @@ var cardContainerStyles2 = import_react34.css`
|
|
|
5487
5578
|
height: 480px;
|
|
5488
5579
|
}
|
|
5489
5580
|
`;
|
|
5490
|
-
var cardContentStyles2 =
|
|
5581
|
+
var cardContentStyles2 = import_react35.css`
|
|
5491
5582
|
position: relative;
|
|
5492
5583
|
border-radius: var(--spacing-4);
|
|
5493
5584
|
overflow: hidden;
|
|
5494
5585
|
`;
|
|
5495
|
-
var getBackgroundWithGradient2 = (imageUrl) =>
|
|
5586
|
+
var getBackgroundWithGradient2 = (imageUrl) => import_react35.css`
|
|
5496
5587
|
background-image: linear-gradient(
|
|
5497
5588
|
180deg,
|
|
5498
5589
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -5506,7 +5597,7 @@ var getBackgroundWithGradient2 = (imageUrl) => import_react34.css`
|
|
|
5506
5597
|
`;
|
|
5507
5598
|
|
|
5508
5599
|
// src/HuntCard/HuntCard.tsx
|
|
5509
|
-
var
|
|
5600
|
+
var import_jsx_runtime219 = require("@emotion/react/jsx-runtime");
|
|
5510
5601
|
var HuntCard = ({
|
|
5511
5602
|
backgroundImage,
|
|
5512
5603
|
title,
|
|
@@ -5515,14 +5606,14 @@ var HuntCard = ({
|
|
|
5515
5606
|
className,
|
|
5516
5607
|
...rest
|
|
5517
5608
|
}) => {
|
|
5518
|
-
return /* @__PURE__ */ (0,
|
|
5609
|
+
return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
|
|
5519
5610
|
Box_default,
|
|
5520
5611
|
{
|
|
5521
5612
|
display: "flex",
|
|
5522
5613
|
css: cardContainerStyles2,
|
|
5523
5614
|
className,
|
|
5524
5615
|
...rest,
|
|
5525
|
-
children: /* @__PURE__ */ (0,
|
|
5616
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
|
|
5526
5617
|
Box_default,
|
|
5527
5618
|
{
|
|
5528
5619
|
display: "flex",
|
|
@@ -5530,9 +5621,9 @@ var HuntCard = ({
|
|
|
5530
5621
|
justifyContent: "flex-end",
|
|
5531
5622
|
p: 6,
|
|
5532
5623
|
css: [cardContentStyles2, getBackgroundWithGradient2(backgroundImage)],
|
|
5533
|
-
children: /* @__PURE__ */ (0,
|
|
5534
|
-
/* @__PURE__ */ (0,
|
|
5535
|
-
/* @__PURE__ */ (0,
|
|
5624
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: 6, children: [
|
|
5625
|
+
/* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Heading_default, { size: "sm", color: "white", textAlign: "left", children: title }),
|
|
5626
|
+
/* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Button_default, { variant: "primary", onClick, children: buttonLabel })
|
|
5536
5627
|
] })
|
|
5537
5628
|
}
|
|
5538
5629
|
)
|
|
@@ -5541,28 +5632,67 @@ var HuntCard = ({
|
|
|
5541
5632
|
};
|
|
5542
5633
|
var HuntCard_default = HuntCard;
|
|
5543
5634
|
|
|
5635
|
+
// src/InfoBox/InfoBox.tsx
|
|
5636
|
+
var import_jsx_runtime220 = require("@emotion/react/jsx-runtime");
|
|
5637
|
+
var InfoBox = ({ heading, features, className }) => {
|
|
5638
|
+
return /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
|
|
5639
|
+
Box_default,
|
|
5640
|
+
{
|
|
5641
|
+
display: "flex",
|
|
5642
|
+
flexDirection: "column",
|
|
5643
|
+
gap: "var(--spacing-3)",
|
|
5644
|
+
className,
|
|
5645
|
+
color: "var(--text-primary)",
|
|
5646
|
+
children: [
|
|
5647
|
+
/* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: heading }),
|
|
5648
|
+
/* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
5649
|
+
Box_default,
|
|
5650
|
+
{
|
|
5651
|
+
display: "flex",
|
|
5652
|
+
flexDirection: "column",
|
|
5653
|
+
gap: "var(--spacing-5)",
|
|
5654
|
+
p: "var(--spacing-4)",
|
|
5655
|
+
borderRadius: "var(--radius-lg)",
|
|
5656
|
+
bg: "var(--surface-neutral)",
|
|
5657
|
+
className,
|
|
5658
|
+
children: features.map((section, index) => /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
5659
|
+
FeatureList_default,
|
|
5660
|
+
{
|
|
5661
|
+
heading: section.heading,
|
|
5662
|
+
items: section.items
|
|
5663
|
+
},
|
|
5664
|
+
`${section.heading || "section"}-${index}`
|
|
5665
|
+
))
|
|
5666
|
+
}
|
|
5667
|
+
)
|
|
5668
|
+
]
|
|
5669
|
+
}
|
|
5670
|
+
);
|
|
5671
|
+
};
|
|
5672
|
+
var InfoBox_default = InfoBox;
|
|
5673
|
+
|
|
5544
5674
|
// src/ListingChat/ListingChat.tsx
|
|
5545
|
-
var
|
|
5675
|
+
var import_react38 = require("react");
|
|
5546
5676
|
|
|
5547
5677
|
// src/TagChip/TagChip.styles.ts
|
|
5548
|
-
var
|
|
5678
|
+
var import_react36 = require("@emotion/react");
|
|
5549
5679
|
var tagChipVariantStyles = {
|
|
5550
|
-
primary:
|
|
5680
|
+
primary: import_react36.css`
|
|
5551
5681
|
background-color: var(--surface-disabled);
|
|
5552
5682
|
border: 1px solid var(--surface-disabled);
|
|
5553
5683
|
color: var(--text-primary);
|
|
5554
5684
|
`,
|
|
5555
|
-
error:
|
|
5685
|
+
error: import_react36.css`
|
|
5556
5686
|
background-color: var(--surface-error);
|
|
5557
5687
|
border: 1px solid var(--color-red-300);
|
|
5558
5688
|
color: var(--text-error);
|
|
5559
5689
|
`,
|
|
5560
|
-
success:
|
|
5690
|
+
success: import_react36.css`
|
|
5561
5691
|
background-color: var(--surface-success);
|
|
5562
5692
|
border: 1px solid var(--color-green-300);
|
|
5563
5693
|
color: var(--text-success);
|
|
5564
5694
|
`,
|
|
5565
|
-
warning:
|
|
5695
|
+
warning: import_react36.css`
|
|
5566
5696
|
background-color: var(--surface-subtle);
|
|
5567
5697
|
border: 1px solid var(--color-brown-200);
|
|
5568
5698
|
color: var(--text-primary);
|
|
@@ -5570,14 +5700,14 @@ var tagChipVariantStyles = {
|
|
|
5570
5700
|
};
|
|
5571
5701
|
|
|
5572
5702
|
// src/TagChip/TagChip.tsx
|
|
5573
|
-
var
|
|
5703
|
+
var import_jsx_runtime221 = require("@emotion/react/jsx-runtime");
|
|
5574
5704
|
var TagChip = ({
|
|
5575
5705
|
variant = "primary",
|
|
5576
5706
|
className,
|
|
5577
5707
|
children,
|
|
5578
5708
|
...rest
|
|
5579
5709
|
}) => {
|
|
5580
|
-
return /* @__PURE__ */ (0,
|
|
5710
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
5581
5711
|
Box_default,
|
|
5582
5712
|
{
|
|
5583
5713
|
display: "inline-flex",
|
|
@@ -5588,15 +5718,15 @@ var TagChip = ({
|
|
|
5588
5718
|
css: tagChipVariantStyles[variant],
|
|
5589
5719
|
className,
|
|
5590
5720
|
...rest,
|
|
5591
|
-
children: /* @__PURE__ */ (0,
|
|
5721
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Text_default, { as: "span", size: "sm", fontWeight: "normal", children })
|
|
5592
5722
|
}
|
|
5593
5723
|
);
|
|
5594
5724
|
};
|
|
5595
5725
|
var TagChip_default = TagChip;
|
|
5596
5726
|
|
|
5597
5727
|
// src/ListingChat/ListingChat.styles.ts
|
|
5598
|
-
var
|
|
5599
|
-
var containerStyles2 =
|
|
5728
|
+
var import_react37 = require("@emotion/react");
|
|
5729
|
+
var containerStyles2 = import_react37.css`
|
|
5600
5730
|
display: flex;
|
|
5601
5731
|
flex-direction: column;
|
|
5602
5732
|
gap: var(--spacing-4);
|
|
@@ -5604,13 +5734,13 @@ var containerStyles2 = import_react36.css`
|
|
|
5604
5734
|
border-radius: var(--radius-lg);
|
|
5605
5735
|
background: var(--surface-success);
|
|
5606
5736
|
`;
|
|
5607
|
-
var headerStyles =
|
|
5737
|
+
var headerStyles = import_react37.css`
|
|
5608
5738
|
display: flex;
|
|
5609
5739
|
align-items: flex-start;
|
|
5610
5740
|
justify-content: space-between;
|
|
5611
5741
|
gap: var(--spacing-2);
|
|
5612
5742
|
`;
|
|
5613
|
-
var chipsContainerStyles =
|
|
5743
|
+
var chipsContainerStyles = import_react37.css`
|
|
5614
5744
|
display: flex;
|
|
5615
5745
|
flex-wrap: wrap;
|
|
5616
5746
|
gap: var(--spacing-4);
|
|
@@ -5623,15 +5753,15 @@ var chipsContainerStyles = import_react36.css`
|
|
|
5623
5753
|
cursor: pointer;
|
|
5624
5754
|
}
|
|
5625
5755
|
`;
|
|
5626
|
-
var textAreaStyles =
|
|
5756
|
+
var textAreaStyles = import_react37.css`
|
|
5627
5757
|
min-height: 62px;
|
|
5628
5758
|
`;
|
|
5629
|
-
var inputWrapperStyles2 =
|
|
5759
|
+
var inputWrapperStyles2 = import_react37.css`
|
|
5630
5760
|
position: relative;
|
|
5631
5761
|
`;
|
|
5632
5762
|
|
|
5633
5763
|
// src/ListingChat/ListingChat.tsx
|
|
5634
|
-
var
|
|
5764
|
+
var import_jsx_runtime222 = require("@emotion/react/jsx-runtime");
|
|
5635
5765
|
var ListingChat = ({
|
|
5636
5766
|
onSubmit,
|
|
5637
5767
|
placeholder = "Ask anything about this listing\u2026",
|
|
@@ -5641,15 +5771,15 @@ var ListingChat = ({
|
|
|
5641
5771
|
disabled = false,
|
|
5642
5772
|
...rest
|
|
5643
5773
|
}) => {
|
|
5644
|
-
const [value, setValue] = (0,
|
|
5645
|
-
const handleSubmit = (0,
|
|
5774
|
+
const [value, setValue] = (0, import_react38.useState)("");
|
|
5775
|
+
const handleSubmit = (0, import_react38.useCallback)(() => {
|
|
5646
5776
|
const trimmed = value.trim();
|
|
5647
5777
|
if (!trimmed)
|
|
5648
5778
|
return;
|
|
5649
5779
|
onSubmit(trimmed);
|
|
5650
5780
|
setValue("");
|
|
5651
5781
|
}, [onSubmit, value]);
|
|
5652
|
-
const handleTagClick = (0,
|
|
5782
|
+
const handleTagClick = (0, import_react38.useCallback)(
|
|
5653
5783
|
(tag) => () => {
|
|
5654
5784
|
const trimmed = tag.trim();
|
|
5655
5785
|
if (!trimmed)
|
|
@@ -5658,18 +5788,18 @@ var ListingChat = ({
|
|
|
5658
5788
|
},
|
|
5659
5789
|
[onSubmit]
|
|
5660
5790
|
);
|
|
5661
|
-
return /* @__PURE__ */ (0,
|
|
5662
|
-
/* @__PURE__ */ (0,
|
|
5663
|
-
/* @__PURE__ */ (0,
|
|
5664
|
-
/* @__PURE__ */ (0,
|
|
5665
|
-
/* @__PURE__ */ (0,
|
|
5791
|
+
return /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Box_default, { css: containerStyles2, className, ...rest, children: [
|
|
5792
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Box_default, { css: headerStyles, children: [
|
|
5793
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Box_default, { children: [
|
|
5794
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Box_default, { mb: "var(--spacing-2)", children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: title }) }),
|
|
5795
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Text_default, { size: "md", children: "Get instant answers with Buck, our AI powered assistant." })
|
|
5666
5796
|
] }),
|
|
5667
|
-
/* @__PURE__ */ (0,
|
|
5668
|
-
/* @__PURE__ */ (0,
|
|
5669
|
-
/* @__PURE__ */ (0,
|
|
5797
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-1)", children: [
|
|
5798
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Icon_default, { variant: "AiMagic", size: 5 }),
|
|
5799
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Text_default, { size: "sm", children: "Beta" })
|
|
5670
5800
|
] })
|
|
5671
5801
|
] }),
|
|
5672
|
-
/* @__PURE__ */ (0,
|
|
5802
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Box_default, { css: inputWrapperStyles2, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
5673
5803
|
TextArea,
|
|
5674
5804
|
{
|
|
5675
5805
|
rows: 1,
|
|
@@ -5684,14 +5814,14 @@ var ListingChat = ({
|
|
|
5684
5814
|
css: textAreaStyles
|
|
5685
5815
|
}
|
|
5686
5816
|
) }),
|
|
5687
|
-
tags.length > 0 && /* @__PURE__ */ (0,
|
|
5688
|
-
/* @__PURE__ */ (0,
|
|
5689
|
-
/* @__PURE__ */ (0,
|
|
5817
|
+
tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(import_jsx_runtime222.Fragment, { children: [
|
|
5818
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Text_default, { as: "div", size: "sm", fontWeight: "bold", children: "Try one of these" }),
|
|
5819
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Box_default, { css: chipsContainerStyles, children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
5690
5820
|
"button",
|
|
5691
5821
|
{
|
|
5692
5822
|
onClick: handleTagClick(tag),
|
|
5693
5823
|
disabled,
|
|
5694
|
-
children: /* @__PURE__ */ (0,
|
|
5824
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(TagChip_default, { children: tag })
|
|
5695
5825
|
},
|
|
5696
5826
|
tag
|
|
5697
5827
|
)) })
|
|
@@ -5701,11 +5831,11 @@ var ListingChat = ({
|
|
|
5701
5831
|
var ListingChat_default = ListingChat;
|
|
5702
5832
|
|
|
5703
5833
|
// src/Logo/Logo.tsx
|
|
5704
|
-
var
|
|
5834
|
+
var import_react39 = require("@emotion/react");
|
|
5705
5835
|
|
|
5706
5836
|
// src/Logo/components/LandtrustPlusDark.tsx
|
|
5707
|
-
var
|
|
5708
|
-
var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0,
|
|
5837
|
+
var import_jsx_runtime223 = require("@emotion/react/jsx-runtime");
|
|
5838
|
+
var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(
|
|
5709
5839
|
"svg",
|
|
5710
5840
|
{
|
|
5711
5841
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5713,14 +5843,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5713
5843
|
fill: "none",
|
|
5714
5844
|
...props,
|
|
5715
5845
|
children: [
|
|
5716
|
-
/* @__PURE__ */ (0,
|
|
5846
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("g", { filter: "url(#landtrust-plus-dark_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5717
5847
|
"path",
|
|
5718
5848
|
{
|
|
5719
5849
|
fill: "#000",
|
|
5720
5850
|
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
5721
5851
|
}
|
|
5722
5852
|
) }),
|
|
5723
|
-
/* @__PURE__ */ (0,
|
|
5853
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5724
5854
|
"path",
|
|
5725
5855
|
{
|
|
5726
5856
|
fill: "#FAD44E",
|
|
@@ -5729,14 +5859,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5729
5859
|
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
5730
5860
|
}
|
|
5731
5861
|
),
|
|
5732
|
-
/* @__PURE__ */ (0,
|
|
5862
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5733
5863
|
"path",
|
|
5734
5864
|
{
|
|
5735
5865
|
fill: "#fff",
|
|
5736
5866
|
d: "M376.053 15.765h-9.487V49.36h-11.149V15.876h-9.56V6.608h30.196zM204.29 15.782h-9.487v33.6h-11.149V15.895h-9.56V6.633h30.196zM93.047 6.652l12.637 23.357V6.608h10.179v42.775h-10.488L92.982 25.96v23.402H82.878V6.651zM242.366 35.996l5.154 13.364h-10.781a8334 8334 0 0 0-5.254-13.389h-4.683v13.398h-10.921V6.64h4.836c7.307 0 14.616-.037 21.922.017 2.864.02 4.677 1.613 4.742 4.448q.225 10.12 0 20.244c-.052 2.927-2.075 4.29-5.015 4.648m-15.525-20.1v11.248h8.609a.912.912 0 0 0 .909-.911v-9.428a.905.905 0 0 0-.909-.91zM71.772 49.392H61.244l-1.831-9.098H48.34c-.628 2.995-1.262 6.004-1.91 9.09H36.147c3.07-14.297 6.11-28.505 9.179-42.774h17.268c3.047 14.207 6.101 28.436 9.179 42.782M57.939 30.786 55 15.744h-2.134c-1.012 4.987-2.02 9.974-3.054 15.042zM10.818 40.21H24.46v9.173H0V6.608h10.818zM282.264 6.608v32.466a.92.92 0 0 1-.268.648.9.9 0 0 1-.645.267h-7.445a.9.9 0 0 1-.645-.267.92.92 0 0 1-.267-.648V6.608h-11.025V44.94c0 2.443 1.971 4.424 4.403 4.424h22.506c2.432 0 4.404-1.982 4.404-4.426V6.608zM131.337 49.383V6.657h22.522c5.154 0 8.955 3.645 8.989 8.81q.088 12.542 0 25.086c-.046 5.18-3.85 8.824-8.999 8.824h-22.512zm11.036-33.503v24.2c2.346 0 4.623.092 6.889-.031 1.554-.084 2.589-1.274 2.6-2.912q.067-9.16 0-18.32c-.013-1.644-1.046-2.828-2.596-2.912-2.27-.123-4.549-.03-6.893-.03zM306.214 36.48c0 1.9-.115 3.747.022 5.577.31 4.136 3.799 7.47 7.924 7.539q7.022.116 14.047 0c3.879-.06 7.534-3.112 7.826-6.906.268-3.905.275-7.825.02-11.731-.176-3.002-2.574-5.277-5.55-5.806a766 766 0 0 0-13.834-2.343c-.901-.142-1.186-.527-1.176-1.342.017-1.404 0-2.807.013-4.21 0-.96.462-1.414 1.457-1.405 2.875.027 5.752.021 8.627 0 .992 0 1.425.466 1.412 1.433v2.183h9.117c0-2.078.17-4.067-.036-6.017-.406-3.818-3.896-6.992-7.718-7.057a423 423 0 0 0-14.416 0c-3.784.07-7.434 3.38-7.651 7.124a108 108 0 0 0-.01 11.375c.147 3.103 2.539 5.547 5.567 6.082q6.97 1.233 13.954 2.367c.775.127 1.058.435 1.041 1.195-.031 1.485-.01 2.971-.01 4.458 0 .857-.414 1.298-1.283 1.298h-8.875c-.859 0-1.286-.458-1.304-1.3-.017-.842 0-1.63 0-2.509z"
|
|
5737
5867
|
}
|
|
5738
5868
|
),
|
|
5739
|
-
/* @__PURE__ */ (0,
|
|
5869
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(
|
|
5740
5870
|
"filter",
|
|
5741
5871
|
{
|
|
5742
5872
|
id: "landtrust-plus-dark_svg__a",
|
|
@@ -5747,8 +5877,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5747
5877
|
colorInterpolationFilters: "sRGB",
|
|
5748
5878
|
filterUnits: "userSpaceOnUse",
|
|
5749
5879
|
children: [
|
|
5750
|
-
/* @__PURE__ */ (0,
|
|
5751
|
-
/* @__PURE__ */ (0,
|
|
5880
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
5881
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5752
5882
|
"feColorMatrix",
|
|
5753
5883
|
{
|
|
5754
5884
|
in: "SourceAlpha",
|
|
@@ -5756,18 +5886,18 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5756
5886
|
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
5757
5887
|
}
|
|
5758
5888
|
),
|
|
5759
|
-
/* @__PURE__ */ (0,
|
|
5760
|
-
/* @__PURE__ */ (0,
|
|
5761
|
-
/* @__PURE__ */ (0,
|
|
5762
|
-
/* @__PURE__ */ (0,
|
|
5763
|
-
/* @__PURE__ */ (0,
|
|
5889
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feOffset", { dy: 1 }),
|
|
5890
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
5891
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
5892
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
5893
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5764
5894
|
"feBlend",
|
|
5765
5895
|
{
|
|
5766
5896
|
in2: "BackgroundImageFix",
|
|
5767
5897
|
result: "effect1_dropShadow_257_2540"
|
|
5768
5898
|
}
|
|
5769
5899
|
),
|
|
5770
|
-
/* @__PURE__ */ (0,
|
|
5900
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5771
5901
|
"feBlend",
|
|
5772
5902
|
{
|
|
5773
5903
|
in: "SourceGraphic",
|
|
@@ -5784,8 +5914,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5784
5914
|
var LandtrustPlusDark_default = SvgLandtrustPlusDark;
|
|
5785
5915
|
|
|
5786
5916
|
// src/Logo/components/LandtrustPlusLight.tsx
|
|
5787
|
-
var
|
|
5788
|
-
var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0,
|
|
5917
|
+
var import_jsx_runtime224 = require("@emotion/react/jsx-runtime");
|
|
5918
|
+
var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
|
|
5789
5919
|
"svg",
|
|
5790
5920
|
{
|
|
5791
5921
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5793,14 +5923,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5793
5923
|
fill: "none",
|
|
5794
5924
|
...props,
|
|
5795
5925
|
children: [
|
|
5796
|
-
/* @__PURE__ */ (0,
|
|
5926
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("g", { filter: "url(#landtrust-plus-light_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5797
5927
|
"path",
|
|
5798
5928
|
{
|
|
5799
5929
|
fill: "#000",
|
|
5800
5930
|
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
5801
5931
|
}
|
|
5802
5932
|
) }),
|
|
5803
|
-
/* @__PURE__ */ (0,
|
|
5933
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5804
5934
|
"path",
|
|
5805
5935
|
{
|
|
5806
5936
|
fill: "#FAD44E",
|
|
@@ -5809,14 +5939,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5809
5939
|
d: "M397.611 44.707a1.357 1.357 0 0 1-1.347-1.367V12.481c0-.755.603-1.367 1.347-1.367h3.893c.744 0 1.348.612 1.348 1.367V43.34c0 .755-.604 1.367-1.348 1.367zM384.364 31.24a1.357 1.357 0 0 1-1.347-1.367v-3.95c0-.755.603-1.367 1.347-1.367h30.414c.741 0 1.345.612 1.345 1.367v3.95c0 .755-.604 1.367-1.345 1.367z"
|
|
5810
5940
|
}
|
|
5811
5941
|
),
|
|
5812
|
-
/* @__PURE__ */ (0,
|
|
5942
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5813
5943
|
"path",
|
|
5814
5944
|
{
|
|
5815
5945
|
fill: "#1A202C",
|
|
5816
5946
|
d: "M376.053 15.765h-9.487V49.36h-11.149V15.876h-9.56V6.608h30.196zM204.29 15.782h-9.487v33.6h-11.149V15.895h-9.56V6.633h30.196zM93.047 6.652l12.637 23.357V6.608h10.179v42.775h-10.488L92.982 25.96v23.402H82.878V6.651zM242.366 35.996l5.154 13.364h-10.781a8334 8334 0 0 0-5.254-13.389h-4.683v13.398h-10.921V6.64h4.836c7.307 0 14.616-.037 21.922.017 2.864.02 4.677 1.613 4.742 4.448q.225 10.12 0 20.244c-.052 2.927-2.075 4.29-5.015 4.648m-15.525-20.1v11.248h8.609a.912.912 0 0 0 .909-.911v-9.428a.905.905 0 0 0-.909-.91zM71.772 49.392H61.244l-1.831-9.098H48.34c-.628 2.995-1.262 6.004-1.91 9.09H36.147c3.07-14.297 6.11-28.505 9.179-42.774h17.268c3.047 14.207 6.101 28.436 9.179 42.782M57.939 30.786 55 15.744h-2.134c-1.012 4.987-2.02 9.974-3.054 15.042zM10.818 40.21H24.46v9.173H0V6.608h10.818zM282.264 6.608v32.466a.92.92 0 0 1-.268.648.9.9 0 0 1-.645.267h-7.445a.9.9 0 0 1-.645-.267.92.92 0 0 1-.267-.648V6.608h-11.025V44.94c0 2.443 1.971 4.424 4.403 4.424h22.506c2.432 0 4.404-1.982 4.404-4.426V6.608zM131.337 49.383V6.657h22.522c5.154 0 8.955 3.645 8.989 8.81q.088 12.542 0 25.086c-.046 5.18-3.85 8.824-8.999 8.824h-22.512zm11.036-33.503v24.2c2.346 0 4.623.092 6.889-.031 1.554-.084 2.589-1.274 2.6-2.912q.067-9.16 0-18.32c-.013-1.644-1.046-2.828-2.596-2.912-2.27-.123-4.549-.03-6.893-.03zM306.214 36.48c0 1.9-.115 3.747.022 5.577.31 4.136 3.799 7.47 7.924 7.539q7.022.116 14.047 0c3.879-.06 7.534-3.112 7.826-6.906.268-3.905.275-7.825.02-11.731-.176-3.002-2.574-5.277-5.55-5.806a766 766 0 0 0-13.834-2.343c-.901-.142-1.186-.527-1.176-1.342.017-1.404 0-2.807.013-4.21 0-.96.462-1.414 1.457-1.405 2.875.027 5.752.021 8.627 0 .992 0 1.425.466 1.412 1.433v2.183h9.117c0-2.078.17-4.067-.036-6.017-.406-3.818-3.896-6.992-7.718-7.057a423 423 0 0 0-14.416 0c-3.784.07-7.434 3.38-7.651 7.124a108 108 0 0 0-.01 11.375c.147 3.103 2.539 5.547 5.567 6.082q6.97 1.233 13.954 2.367c.775.127 1.058.435 1.041 1.195-.031 1.485-.01 2.971-.01 4.458 0 .857-.414 1.298-1.283 1.298h-8.875c-.859 0-1.286-.458-1.304-1.3-.017-.842 0-1.63 0-2.509z"
|
|
5817
5947
|
}
|
|
5818
5948
|
),
|
|
5819
|
-
/* @__PURE__ */ (0,
|
|
5949
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
|
|
5820
5950
|
"filter",
|
|
5821
5951
|
{
|
|
5822
5952
|
id: "landtrust-plus-light_svg__a",
|
|
@@ -5827,8 +5957,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5827
5957
|
colorInterpolationFilters: "sRGB",
|
|
5828
5958
|
filterUnits: "userSpaceOnUse",
|
|
5829
5959
|
children: [
|
|
5830
|
-
/* @__PURE__ */ (0,
|
|
5831
|
-
/* @__PURE__ */ (0,
|
|
5960
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
5961
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5832
5962
|
"feColorMatrix",
|
|
5833
5963
|
{
|
|
5834
5964
|
in: "SourceAlpha",
|
|
@@ -5836,18 +5966,18 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5836
5966
|
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
5837
5967
|
}
|
|
5838
5968
|
),
|
|
5839
|
-
/* @__PURE__ */ (0,
|
|
5840
|
-
/* @__PURE__ */ (0,
|
|
5841
|
-
/* @__PURE__ */ (0,
|
|
5842
|
-
/* @__PURE__ */ (0,
|
|
5843
|
-
/* @__PURE__ */ (0,
|
|
5969
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feOffset", { dy: 1 }),
|
|
5970
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
5971
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
5972
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feColorMatrix", { values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0" }),
|
|
5973
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5844
5974
|
"feBlend",
|
|
5845
5975
|
{
|
|
5846
5976
|
in2: "BackgroundImageFix",
|
|
5847
5977
|
result: "effect1_dropShadow_257_2538"
|
|
5848
5978
|
}
|
|
5849
5979
|
),
|
|
5850
|
-
/* @__PURE__ */ (0,
|
|
5980
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5851
5981
|
"feBlend",
|
|
5852
5982
|
{
|
|
5853
5983
|
in: "SourceGraphic",
|
|
@@ -5864,8 +5994,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5864
5994
|
var LandtrustPlusLight_default = SvgLandtrustPlusLight;
|
|
5865
5995
|
|
|
5866
5996
|
// src/Logo/components/LandtrustStandardDark.tsx
|
|
5867
|
-
var
|
|
5868
|
-
var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0,
|
|
5997
|
+
var import_jsx_runtime225 = require("@emotion/react/jsx-runtime");
|
|
5998
|
+
var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)(
|
|
5869
5999
|
"svg",
|
|
5870
6000
|
{
|
|
5871
6001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5873,14 +6003,14 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
5873
6003
|
fill: "none",
|
|
5874
6004
|
...props,
|
|
5875
6005
|
children: [
|
|
5876
|
-
/* @__PURE__ */ (0,
|
|
6006
|
+
/* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
|
|
5877
6007
|
"path",
|
|
5878
6008
|
{
|
|
5879
6009
|
fill: "#E2430C",
|
|
5880
6010
|
d: "m0 0 .037 47.582q-.003 1.401.186 2.79a15.6 15.6 0 0 0 1.223 4.315c1.787 3.934 3.9 6.263 5.914 8.25 4.047 4 8.07 6.023 10.83 7.383A50 50 0 0 0 28.29 74a50 50 0 0 0 10.103-3.68c2.76-1.36 6.783-3.384 10.83-7.383 2.014-1.987 4.126-4.316 5.921-8.25a15.7 15.7 0 0 0 1.223-4.316q.189-1.387.186-2.79L56.59 0zm51.397 5.141-.01 14.061H5.197l-.011-14.06zm-.023 31.322a30 30 0 0 0-3.911-.876c-.822-.126-4.159-.603-8.867-.05-2.086.248-3.97.712-7.736 1.64a197 197 0 0 0-6.62 1.774c-3.427 1.195-9.065 2.541-15.502 1.125a26 26 0 0 1-3.526-1.051L5.2 24.337h46.183zM36.542 65.57a41 41 0 0 1-8.252 3.009 41 41 0 0 1-8.249-3.009 69 69 0 0 1-1.53-.773l9.768-5.588 9.778 5.608c-.55.277-1.054.525-1.515.753m14.823-18.4q.001.736-.072 1.467a13.2 13.2 0 0 1-1.076 4.17c-1.46 3.213-3.182 5.114-4.83 6.739a28 28 0 0 1-2.348 2.074l-.235-.133-14.525-8.327-14.544 8.324-.203.115a28 28 0 0 1-2.328-2.057c-1.642-1.624-3.369-3.526-4.829-6.74A13.2 13.2 0 0 1 5.3 48.636a15 15 0 0 1-.073-1.467v-2.774q1.9.561 3.86.86c.82.127 4.16.603 8.87.05 2.083-.246 3.967-.712 7.732-1.639a184 184 0 0 0 6.62-1.766c3.428-1.197 9.064-2.541 15.503-1.125q1.823.399 3.569 1.051z"
|
|
5881
6011
|
}
|
|
5882
6012
|
),
|
|
5883
|
-
/* @__PURE__ */ (0,
|
|
6013
|
+
/* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
|
|
5884
6014
|
"path",
|
|
5885
6015
|
{
|
|
5886
6016
|
fill: "#fff",
|
|
@@ -5893,8 +6023,8 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
5893
6023
|
var LandtrustStandardDark_default = SvgLandtrustStandardDark;
|
|
5894
6024
|
|
|
5895
6025
|
// src/Logo/components/LandtrustStandardLight.tsx
|
|
5896
|
-
var
|
|
5897
|
-
var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0,
|
|
6026
|
+
var import_jsx_runtime226 = require("@emotion/react/jsx-runtime");
|
|
6027
|
+
var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
|
|
5898
6028
|
"svg",
|
|
5899
6029
|
{
|
|
5900
6030
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5902,14 +6032,14 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
5902
6032
|
fill: "none",
|
|
5903
6033
|
...props,
|
|
5904
6034
|
children: [
|
|
5905
|
-
/* @__PURE__ */ (0,
|
|
6035
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
5906
6036
|
"path",
|
|
5907
6037
|
{
|
|
5908
6038
|
fill: "#E2430C",
|
|
5909
6039
|
d: "m0 0 .037 47.582q-.003 1.401.186 2.79a15.6 15.6 0 0 0 1.223 4.315c1.787 3.934 3.9 6.263 5.914 8.25 4.047 4 8.07 6.023 10.83 7.383A50 50 0 0 0 28.29 74a50 50 0 0 0 10.103-3.68c2.76-1.36 6.783-3.384 10.83-7.383 2.014-1.987 4.126-4.316 5.921-8.25a15.7 15.7 0 0 0 1.223-4.316q.189-1.387.186-2.79L56.59 0zm51.397 5.141-.01 14.061H5.197l-.011-14.06zm-.023 31.322a30 30 0 0 0-3.911-.876c-.822-.126-4.159-.603-8.867-.05-2.086.248-3.97.712-7.736 1.64a197 197 0 0 0-6.62 1.774c-3.427 1.195-9.065 2.541-15.502 1.125a26 26 0 0 1-3.526-1.051L5.2 24.337h46.183zM36.542 65.57a41 41 0 0 1-8.252 3.009 41 41 0 0 1-8.249-3.009 69 69 0 0 1-1.53-.773l9.768-5.588 9.778 5.608c-.55.277-1.054.525-1.515.753m14.823-18.4q.001.736-.072 1.467a13.2 13.2 0 0 1-1.076 4.17c-1.46 3.213-3.182 5.114-4.83 6.739a28 28 0 0 1-2.348 2.074l-.235-.133-14.525-8.327-14.544 8.324-.203.115a28 28 0 0 1-2.328-2.057c-1.642-1.624-3.369-3.526-4.829-6.74A13.2 13.2 0 0 1 5.3 48.636a15 15 0 0 1-.073-1.467v-2.774q1.9.561 3.86.86c.82.127 4.16.603 8.87.05 2.083-.246 3.967-.712 7.732-1.639a184 184 0 0 0 6.62-1.766c3.428-1.197 9.064-2.541 15.503-1.125q1.823.399 3.569 1.051z"
|
|
5910
6040
|
}
|
|
5911
6041
|
),
|
|
5912
|
-
/* @__PURE__ */ (0,
|
|
6042
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
5913
6043
|
"path",
|
|
5914
6044
|
{
|
|
5915
6045
|
fill: "#000",
|
|
@@ -5922,8 +6052,8 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
5922
6052
|
var LandtrustStandardLight_default = SvgLandtrustStandardLight;
|
|
5923
6053
|
|
|
5924
6054
|
// src/Logo/Logo.tsx
|
|
5925
|
-
var
|
|
5926
|
-
var logoStyles = (size) =>
|
|
6055
|
+
var import_jsx_runtime227 = require("@emotion/react/jsx-runtime");
|
|
6056
|
+
var logoStyles = (size) => import_react39.css`
|
|
5927
6057
|
width: ${space[size]};
|
|
5928
6058
|
height: auto;
|
|
5929
6059
|
display: block;
|
|
@@ -5951,18 +6081,18 @@ var Logo = ({
|
|
|
5951
6081
|
return LandtrustStandardLight_default;
|
|
5952
6082
|
};
|
|
5953
6083
|
const LogoComponent = getLogoComponent();
|
|
5954
|
-
return /* @__PURE__ */ (0,
|
|
6084
|
+
return /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(LogoComponent, { css: logoStyles(size), className, ...rest });
|
|
5955
6085
|
};
|
|
5956
6086
|
var Logo_default = Logo;
|
|
5957
6087
|
|
|
5958
6088
|
// src/Navigation/Navigation.styles.ts
|
|
5959
|
-
var
|
|
5960
|
-
var navigationStyles =
|
|
6089
|
+
var import_react40 = require("@emotion/react");
|
|
6090
|
+
var navigationStyles = import_react40.css`
|
|
5961
6091
|
width: 100%;
|
|
5962
6092
|
background-color: white;
|
|
5963
6093
|
border-bottom: 1px solid #e5e5e5;
|
|
5964
6094
|
`;
|
|
5965
|
-
var hamburgerButtonStyles =
|
|
6095
|
+
var hamburgerButtonStyles = import_react40.css`
|
|
5966
6096
|
cursor: pointer;
|
|
5967
6097
|
&:focus {
|
|
5968
6098
|
outline: 2px solid #4f46e5;
|
|
@@ -5973,7 +6103,7 @@ var hamburgerButtonStyles = import_react39.css`
|
|
|
5973
6103
|
display: none;
|
|
5974
6104
|
}
|
|
5975
6105
|
`;
|
|
5976
|
-
var centeredLogoStyles =
|
|
6106
|
+
var centeredLogoStyles = import_react40.css`
|
|
5977
6107
|
transform: translate(-50%, -50%);
|
|
5978
6108
|
max-width: 150px;
|
|
5979
6109
|
|
|
@@ -5981,27 +6111,27 @@ var centeredLogoStyles = import_react39.css`
|
|
|
5981
6111
|
display: none;
|
|
5982
6112
|
}
|
|
5983
6113
|
`;
|
|
5984
|
-
var desktopLogoStyles =
|
|
6114
|
+
var desktopLogoStyles = import_react40.css`
|
|
5985
6115
|
display: none;
|
|
5986
6116
|
|
|
5987
6117
|
@media (min-width: 768px) {
|
|
5988
6118
|
display: block;
|
|
5989
6119
|
}
|
|
5990
6120
|
`;
|
|
5991
|
-
var containerStyles3 =
|
|
6121
|
+
var containerStyles3 = import_react40.css`
|
|
5992
6122
|
@media (min-width: 768px) {
|
|
5993
6123
|
justify-content: space-between;
|
|
5994
6124
|
position: static;
|
|
5995
6125
|
}
|
|
5996
6126
|
`;
|
|
5997
|
-
var logoStyles2 =
|
|
6127
|
+
var logoStyles2 = import_react40.css`
|
|
5998
6128
|
width: 100%;
|
|
5999
6129
|
|
|
6000
6130
|
@media (min-width: 768px) {
|
|
6001
6131
|
width: initial;
|
|
6002
6132
|
}
|
|
6003
6133
|
`;
|
|
6004
|
-
var desktopNavStyles =
|
|
6134
|
+
var desktopNavStyles = import_react40.css`
|
|
6005
6135
|
display: none;
|
|
6006
6136
|
|
|
6007
6137
|
@media (min-width: 768px) {
|
|
@@ -6010,7 +6140,7 @@ var desktopNavStyles = import_react39.css`
|
|
|
6010
6140
|
gap: 32px;
|
|
6011
6141
|
}
|
|
6012
6142
|
`;
|
|
6013
|
-
var navLinksStyles =
|
|
6143
|
+
var navLinksStyles = import_react40.css`
|
|
6014
6144
|
display: flex;
|
|
6015
6145
|
align-items: center;
|
|
6016
6146
|
gap: 24px;
|
|
@@ -6018,7 +6148,7 @@ var navLinksStyles = import_react39.css`
|
|
|
6018
6148
|
margin: 0;
|
|
6019
6149
|
padding: 0;
|
|
6020
6150
|
`;
|
|
6021
|
-
var navLinkStyles =
|
|
6151
|
+
var navLinkStyles = import_react40.css`
|
|
6022
6152
|
text-decoration: none;
|
|
6023
6153
|
color: #374151;
|
|
6024
6154
|
font-weight: 500;
|
|
@@ -6034,7 +6164,7 @@ var navLinkStyles = import_react39.css`
|
|
|
6034
6164
|
outline-offset: 2px;
|
|
6035
6165
|
}
|
|
6036
6166
|
`;
|
|
6037
|
-
var avatarPlaceholderStyles =
|
|
6167
|
+
var avatarPlaceholderStyles = import_react40.css`
|
|
6038
6168
|
width: 32px;
|
|
6039
6169
|
height: 32px;
|
|
6040
6170
|
border-radius: 50%;
|
|
@@ -6059,7 +6189,7 @@ var avatarPlaceholderStyles = import_react39.css`
|
|
|
6059
6189
|
`;
|
|
6060
6190
|
|
|
6061
6191
|
// src/Navigation/Navigation.tsx
|
|
6062
|
-
var
|
|
6192
|
+
var import_jsx_runtime228 = require("@emotion/react/jsx-runtime");
|
|
6063
6193
|
var Navigation = ({
|
|
6064
6194
|
onMenuToggle,
|
|
6065
6195
|
className,
|
|
@@ -6073,7 +6203,7 @@ var Navigation = ({
|
|
|
6073
6203
|
onAvatarClick,
|
|
6074
6204
|
...rest
|
|
6075
6205
|
}) => {
|
|
6076
|
-
return /* @__PURE__ */ (0,
|
|
6206
|
+
return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { css: navigationStyles, className, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)(
|
|
6077
6207
|
Box_default,
|
|
6078
6208
|
{
|
|
6079
6209
|
display: "flex",
|
|
@@ -6082,7 +6212,7 @@ var Navigation = ({
|
|
|
6082
6212
|
position: "relative",
|
|
6083
6213
|
css: containerStyles3,
|
|
6084
6214
|
children: [
|
|
6085
|
-
/* @__PURE__ */ (0,
|
|
6215
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
6086
6216
|
Box_default,
|
|
6087
6217
|
{
|
|
6088
6218
|
as: "button",
|
|
@@ -6094,11 +6224,11 @@ var Navigation = ({
|
|
|
6094
6224
|
border: "none",
|
|
6095
6225
|
padding: space[2],
|
|
6096
6226
|
css: hamburgerButtonStyles,
|
|
6097
|
-
children: /* @__PURE__ */ (0,
|
|
6227
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Icon_default, { variant: "Bars", size: 6 })
|
|
6098
6228
|
}
|
|
6099
6229
|
),
|
|
6100
|
-
/* @__PURE__ */ (0,
|
|
6101
|
-
/* @__PURE__ */ (0,
|
|
6230
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { css: desktopLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Logo_default, { variant: logoVariant, theme: logoTheme }) }),
|
|
6231
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { position: "absolute", left: "50%", top: "50%", css: centeredLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
6102
6232
|
Logo_default,
|
|
6103
6233
|
{
|
|
6104
6234
|
variant: logoVariant,
|
|
@@ -6107,8 +6237,8 @@ var Navigation = ({
|
|
|
6107
6237
|
css: logoStyles2
|
|
6108
6238
|
}
|
|
6109
6239
|
) }),
|
|
6110
|
-
/* @__PURE__ */ (0,
|
|
6111
|
-
/* @__PURE__ */ (0,
|
|
6240
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsxs)(Box_default, { css: desktopNavStyles, children: [
|
|
6241
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { as: "nav", children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { as: "ul", css: navLinksStyles, children: navLinks.map((link) => /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { as: "li", children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
6112
6242
|
"a",
|
|
6113
6243
|
{
|
|
6114
6244
|
href: link.href,
|
|
@@ -6117,7 +6247,7 @@ var Navigation = ({
|
|
|
6117
6247
|
children: link.label
|
|
6118
6248
|
}
|
|
6119
6249
|
) }, link.href)) }) }),
|
|
6120
|
-
/* @__PURE__ */ (0,
|
|
6250
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
6121
6251
|
Box_default,
|
|
6122
6252
|
{
|
|
6123
6253
|
as: "button",
|
|
@@ -6136,8 +6266,8 @@ var Navigation = ({
|
|
|
6136
6266
|
var Navigation_default = Navigation;
|
|
6137
6267
|
|
|
6138
6268
|
// src/PackageCard/PackageCard.styles.ts
|
|
6139
|
-
var
|
|
6140
|
-
var cardContainerStyles3 =
|
|
6269
|
+
var import_react41 = require("@emotion/react");
|
|
6270
|
+
var cardContainerStyles3 = import_react41.css`
|
|
6141
6271
|
color: var(--text-primary);
|
|
6142
6272
|
position: relative;
|
|
6143
6273
|
width: 100%;
|
|
@@ -6154,14 +6284,14 @@ var cardContainerStyles3 = import_react40.css`
|
|
|
6154
6284
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
6155
6285
|
}
|
|
6156
6286
|
`;
|
|
6157
|
-
var imageContainerStyles =
|
|
6287
|
+
var imageContainerStyles = import_react41.css`
|
|
6158
6288
|
position: relative;
|
|
6159
6289
|
width: 100%;
|
|
6160
6290
|
height: 200px;
|
|
6161
6291
|
overflow: hidden;
|
|
6162
6292
|
border-radius: var(--spacing-4);
|
|
6163
6293
|
`;
|
|
6164
|
-
var imageStyles =
|
|
6294
|
+
var imageStyles = import_react41.css`
|
|
6165
6295
|
width: 100%;
|
|
6166
6296
|
height: 100%;
|
|
6167
6297
|
background-size: cover;
|
|
@@ -6169,13 +6299,13 @@ var imageStyles = import_react40.css`
|
|
|
6169
6299
|
background-repeat: no-repeat;
|
|
6170
6300
|
border-radius: var(--spacing-4) var(--spacing-4) 0 0;
|
|
6171
6301
|
`;
|
|
6172
|
-
var badgeStyles =
|
|
6302
|
+
var badgeStyles = import_react41.css`
|
|
6173
6303
|
position: absolute;
|
|
6174
6304
|
top: var(--spacing-3);
|
|
6175
6305
|
left: var(--spacing-3);
|
|
6176
6306
|
z-index: 2;
|
|
6177
6307
|
`;
|
|
6178
|
-
var heartIconStyles =
|
|
6308
|
+
var heartIconStyles = import_react41.css`
|
|
6179
6309
|
position: absolute;
|
|
6180
6310
|
top: var(--spacing-3);
|
|
6181
6311
|
right: var(--spacing-3);
|
|
@@ -6197,12 +6327,12 @@ var heartIconStyles = import_react40.css`
|
|
|
6197
6327
|
transform: scale(1.1);
|
|
6198
6328
|
}
|
|
6199
6329
|
`;
|
|
6200
|
-
var contentStyles2 =
|
|
6330
|
+
var contentStyles2 = import_react41.css`
|
|
6201
6331
|
padding: var(--spacing-3);
|
|
6202
6332
|
`;
|
|
6203
6333
|
|
|
6204
6334
|
// src/PackageCard/PackageCard.tsx
|
|
6205
|
-
var
|
|
6335
|
+
var import_jsx_runtime229 = require("@emotion/react/jsx-runtime");
|
|
6206
6336
|
var PackageCard = ({
|
|
6207
6337
|
images,
|
|
6208
6338
|
title,
|
|
@@ -6219,13 +6349,13 @@ var PackageCard = ({
|
|
|
6219
6349
|
...rest
|
|
6220
6350
|
}) => {
|
|
6221
6351
|
const mainImage = images[0] || "";
|
|
6222
|
-
return /* @__PURE__ */ (0,
|
|
6223
|
-
/* @__PURE__ */ (0,
|
|
6224
|
-
tripsLeft && /* @__PURE__ */ (0,
|
|
6352
|
+
return /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { css: cardContainerStyles3, className, ...rest, children: [
|
|
6353
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Box_default, { css: imageContainerStyles, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { css: [imageStyles, { backgroundImage: `url(${mainImage})` }], children: [
|
|
6354
|
+
tripsLeft && /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(AvailabilityBadge_default, { variant: "warning", css: badgeStyles, children: [
|
|
6225
6355
|
tripsLeft,
|
|
6226
6356
|
" Trips Left"
|
|
6227
6357
|
] }),
|
|
6228
|
-
/* @__PURE__ */ (0,
|
|
6358
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6229
6359
|
Box_default,
|
|
6230
6360
|
{
|
|
6231
6361
|
css: heartIconStyles,
|
|
@@ -6233,12 +6363,12 @@ var PackageCard = ({
|
|
|
6233
6363
|
e.stopPropagation();
|
|
6234
6364
|
onFavoriteClick == null ? void 0 : onFavoriteClick();
|
|
6235
6365
|
},
|
|
6236
|
-
children: /* @__PURE__ */ (0,
|
|
6366
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Icon_default, { variant: isFavorited ? "HeartSolid" : "Heart", size: 5 })
|
|
6237
6367
|
}
|
|
6238
6368
|
)
|
|
6239
6369
|
] }) }),
|
|
6240
|
-
/* @__PURE__ */ (0,
|
|
6241
|
-
/* @__PURE__ */ (0,
|
|
6370
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { css: contentStyles2, children: [
|
|
6371
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(
|
|
6242
6372
|
Box_default,
|
|
6243
6373
|
{
|
|
6244
6374
|
onClick,
|
|
@@ -6247,9 +6377,9 @@ var PackageCard = ({
|
|
|
6247
6377
|
gap: "var(--spacing-1)",
|
|
6248
6378
|
mb: "var(--spacing-4)",
|
|
6249
6379
|
children: [
|
|
6250
|
-
/* @__PURE__ */ (0,
|
|
6251
|
-
/* @__PURE__ */ (0,
|
|
6252
|
-
/* @__PURE__ */ (0,
|
|
6380
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }) }),
|
|
6381
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Text_default, { size: "xs", fontWeight: "bold", children: subtitle }) }),
|
|
6382
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Text_default, { size: "xs", fontWeight: "normal", children: [
|
|
6253
6383
|
"Starting Price ",
|
|
6254
6384
|
startingPrice,
|
|
6255
6385
|
" / Guest"
|
|
@@ -6257,30 +6387,56 @@ var PackageCard = ({
|
|
|
6257
6387
|
]
|
|
6258
6388
|
}
|
|
6259
6389
|
),
|
|
6260
|
-
/* @__PURE__ */ (0,
|
|
6261
|
-
days && /* @__PURE__ */ (0,
|
|
6390
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { display: "flex", gap: "var(--spacing-3)", alignItems: "center", children: [
|
|
6391
|
+
days && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6262
6392
|
IconLabel_default,
|
|
6263
6393
|
{
|
|
6264
6394
|
variant: "Calendar",
|
|
6265
6395
|
label: `${days} Day${days !== 1 ? "s" : ""}`
|
|
6266
6396
|
}
|
|
6267
6397
|
),
|
|
6268
|
-
guests && /* @__PURE__ */ (0,
|
|
6398
|
+
guests && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6269
6399
|
IconLabel_default,
|
|
6270
6400
|
{
|
|
6271
6401
|
variant: "User",
|
|
6272
6402
|
label: `${guests} Guest${guests !== 1 ? "s" : ""}`
|
|
6273
6403
|
}
|
|
6274
6404
|
),
|
|
6275
|
-
hasLodging && /* @__PURE__ */ (0,
|
|
6405
|
+
hasLodging && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(IconLabel_default, { variant: "House", label: "Lodging" })
|
|
6276
6406
|
] })
|
|
6277
6407
|
] })
|
|
6278
6408
|
] });
|
|
6279
6409
|
};
|
|
6280
6410
|
var PackageCard_default = PackageCard;
|
|
6281
6411
|
|
|
6412
|
+
// src/PackageHeader/PackageHeader.tsx
|
|
6413
|
+
var import_jsx_runtime230 = require("@emotion/react/jsx-runtime");
|
|
6414
|
+
var PackageHeader = ({
|
|
6415
|
+
header,
|
|
6416
|
+
subheader,
|
|
6417
|
+
features,
|
|
6418
|
+
className
|
|
6419
|
+
}) => {
|
|
6420
|
+
return /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)(
|
|
6421
|
+
Box_default,
|
|
6422
|
+
{
|
|
6423
|
+
display: "flex",
|
|
6424
|
+
flexDirection: "column",
|
|
6425
|
+
gap: "var(--spacing-2)",
|
|
6426
|
+
color: "var(--text-primary)",
|
|
6427
|
+
className,
|
|
6428
|
+
children: [
|
|
6429
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Heading_default, { size: "xs", fontWeight: "bold", children: header }),
|
|
6430
|
+
subheader && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Text_default, { children: subheader }),
|
|
6431
|
+
features && /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(FeatureList_default, { items: features })
|
|
6432
|
+
]
|
|
6433
|
+
}
|
|
6434
|
+
);
|
|
6435
|
+
};
|
|
6436
|
+
var PackageHeader_default = PackageHeader;
|
|
6437
|
+
|
|
6282
6438
|
// src/StarRating/StarRating.tsx
|
|
6283
|
-
var
|
|
6439
|
+
var import_jsx_runtime231 = require("@emotion/react/jsx-runtime");
|
|
6284
6440
|
var starSize = {
|
|
6285
6441
|
sm: {
|
|
6286
6442
|
size: 5,
|
|
@@ -6299,7 +6455,7 @@ var StarRating = ({
|
|
|
6299
6455
|
const stars = [];
|
|
6300
6456
|
for (let i = 1; i <= 5; i++) {
|
|
6301
6457
|
stars.push(
|
|
6302
|
-
/* @__PURE__ */ (0,
|
|
6458
|
+
/* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
|
|
6303
6459
|
Icon_default,
|
|
6304
6460
|
{
|
|
6305
6461
|
variant: "StarSolid",
|
|
@@ -6310,7 +6466,7 @@ var StarRating = ({
|
|
|
6310
6466
|
)
|
|
6311
6467
|
);
|
|
6312
6468
|
}
|
|
6313
|
-
return /* @__PURE__ */ (0,
|
|
6469
|
+
return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
|
|
6314
6470
|
Box_default,
|
|
6315
6471
|
{
|
|
6316
6472
|
className,
|
|
@@ -6324,7 +6480,7 @@ var StarRating = ({
|
|
|
6324
6480
|
var StarRating_default = StarRating;
|
|
6325
6481
|
|
|
6326
6482
|
// src/UserCard/UserCard.tsx
|
|
6327
|
-
var
|
|
6483
|
+
var import_jsx_runtime232 = require("@emotion/react/jsx-runtime");
|
|
6328
6484
|
var UserCard = ({
|
|
6329
6485
|
avatarSrc,
|
|
6330
6486
|
title,
|
|
@@ -6333,7 +6489,7 @@ var UserCard = ({
|
|
|
6333
6489
|
showRating = true,
|
|
6334
6490
|
className
|
|
6335
6491
|
}) => {
|
|
6336
|
-
return /* @__PURE__ */ (0,
|
|
6492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)(
|
|
6337
6493
|
Box_default,
|
|
6338
6494
|
{
|
|
6339
6495
|
display: "flex",
|
|
@@ -6341,11 +6497,11 @@ var UserCard = ({
|
|
|
6341
6497
|
gap: "var(--spacing-4)",
|
|
6342
6498
|
className,
|
|
6343
6499
|
children: [
|
|
6344
|
-
/* @__PURE__ */ (0,
|
|
6345
|
-
/* @__PURE__ */ (0,
|
|
6346
|
-
/* @__PURE__ */ (0,
|
|
6347
|
-
subtitle && /* @__PURE__ */ (0,
|
|
6348
|
-
showRating && rating !== void 0 && /* @__PURE__ */ (0,
|
|
6500
|
+
/* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Avatar_default, { type: "image", src: avatarSrc, alt: `${title}'s avatar` }),
|
|
6501
|
+
/* @__PURE__ */ (0, import_jsx_runtime232.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "2px", children: [
|
|
6502
|
+
/* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }),
|
|
6503
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Text_default, { size: "sm", color: "text-secondary", children: subtitle }),
|
|
6504
|
+
showRating && rating !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(StarRating_default, { rating, size: "sm" })
|
|
6349
6505
|
] })
|
|
6350
6506
|
]
|
|
6351
6507
|
}
|
|
@@ -6354,8 +6510,8 @@ var UserCard = ({
|
|
|
6354
6510
|
var UserCard_default = UserCard;
|
|
6355
6511
|
|
|
6356
6512
|
// src/ReviewCard/components/ReviewImages.styles.ts
|
|
6357
|
-
var
|
|
6358
|
-
var imageStyles2 =
|
|
6513
|
+
var import_react42 = require("@emotion/react");
|
|
6514
|
+
var imageStyles2 = import_react42.css`
|
|
6359
6515
|
flex: 1;
|
|
6360
6516
|
min-width: 0;
|
|
6361
6517
|
aspect-ratio: 1;
|
|
@@ -6365,13 +6521,13 @@ var imageStyles2 = import_react41.css`
|
|
|
6365
6521
|
`;
|
|
6366
6522
|
|
|
6367
6523
|
// src/ReviewCard/components/ReviewImages.tsx
|
|
6368
|
-
var
|
|
6524
|
+
var import_jsx_runtime233 = require("@emotion/react/jsx-runtime");
|
|
6369
6525
|
var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
6370
6526
|
const displayImages = images.slice(0, maxImages);
|
|
6371
6527
|
if (displayImages.length === 0) {
|
|
6372
6528
|
return null;
|
|
6373
6529
|
}
|
|
6374
|
-
return /* @__PURE__ */ (0,
|
|
6530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Box_default, { display: "flex", gap: "var(--spacing-2)", flexWrap: "wrap", children: displayImages.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
6375
6531
|
"img",
|
|
6376
6532
|
{
|
|
6377
6533
|
src: image,
|
|
@@ -6384,7 +6540,7 @@ var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
|
6384
6540
|
var ReviewImages_default = ReviewImages;
|
|
6385
6541
|
|
|
6386
6542
|
// src/ReviewCard/components/ReviewReply.tsx
|
|
6387
|
-
var
|
|
6543
|
+
var import_jsx_runtime234 = require("@emotion/react/jsx-runtime");
|
|
6388
6544
|
var ReviewReply = ({
|
|
6389
6545
|
avatarSrc,
|
|
6390
6546
|
name,
|
|
@@ -6393,7 +6549,7 @@ var ReviewReply = ({
|
|
|
6393
6549
|
label,
|
|
6394
6550
|
rating
|
|
6395
6551
|
}) => {
|
|
6396
|
-
return /* @__PURE__ */ (0,
|
|
6552
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
6397
6553
|
Box_default,
|
|
6398
6554
|
{
|
|
6399
6555
|
backgroundColor: "var(--surface-neutral)",
|
|
@@ -6403,7 +6559,7 @@ var ReviewReply = ({
|
|
|
6403
6559
|
flexDirection: "column",
|
|
6404
6560
|
gap: "var(--spacing-3)",
|
|
6405
6561
|
children: [
|
|
6406
|
-
/* @__PURE__ */ (0,
|
|
6562
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
6407
6563
|
Box_default,
|
|
6408
6564
|
{
|
|
6409
6565
|
display: "flex",
|
|
@@ -6411,7 +6567,7 @@ var ReviewReply = ({
|
|
|
6411
6567
|
justifyContent: "space-between",
|
|
6412
6568
|
gap: "var(--spacing-2)",
|
|
6413
6569
|
children: [
|
|
6414
|
-
/* @__PURE__ */ (0,
|
|
6570
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
6415
6571
|
UserCard_default,
|
|
6416
6572
|
{
|
|
6417
6573
|
avatarSrc,
|
|
@@ -6420,11 +6576,11 @@ var ReviewReply = ({
|
|
|
6420
6576
|
rating
|
|
6421
6577
|
}
|
|
6422
6578
|
),
|
|
6423
|
-
/* @__PURE__ */ (0,
|
|
6579
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(AvailabilityBadge_default, { variant: "neutral", children: label })
|
|
6424
6580
|
]
|
|
6425
6581
|
}
|
|
6426
6582
|
),
|
|
6427
|
-
/* @__PURE__ */ (0,
|
|
6583
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Text_default, { children: content })
|
|
6428
6584
|
]
|
|
6429
6585
|
}
|
|
6430
6586
|
);
|
|
@@ -6432,19 +6588,19 @@ var ReviewReply = ({
|
|
|
6432
6588
|
var ReviewReply_default = ReviewReply;
|
|
6433
6589
|
|
|
6434
6590
|
// src/ReviewCard/ReviewCard.tsx
|
|
6435
|
-
var
|
|
6591
|
+
var import_jsx_runtime235 = require("@emotion/react/jsx-runtime");
|
|
6436
6592
|
var ReviewCard = ({
|
|
6437
6593
|
avatarSrc,
|
|
6438
6594
|
name,
|
|
6439
6595
|
date,
|
|
6440
6596
|
rating,
|
|
6441
|
-
|
|
6597
|
+
availabilityBadge,
|
|
6442
6598
|
content,
|
|
6443
6599
|
images = [],
|
|
6444
6600
|
replies = [],
|
|
6445
6601
|
className
|
|
6446
6602
|
}) => {
|
|
6447
|
-
return /* @__PURE__ */ (0,
|
|
6603
|
+
return /* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
|
|
6448
6604
|
Box_default,
|
|
6449
6605
|
{
|
|
6450
6606
|
backgroundColor: "white",
|
|
@@ -6456,7 +6612,7 @@ var ReviewCard = ({
|
|
|
6456
6612
|
border: "1px solid var(--color-neutral-200)",
|
|
6457
6613
|
className,
|
|
6458
6614
|
children: [
|
|
6459
|
-
/* @__PURE__ */ (0,
|
|
6615
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
|
|
6460
6616
|
UserCard_default,
|
|
6461
6617
|
{
|
|
6462
6618
|
avatarSrc,
|
|
@@ -6465,10 +6621,10 @@ var ReviewCard = ({
|
|
|
6465
6621
|
rating
|
|
6466
6622
|
}
|
|
6467
6623
|
),
|
|
6468
|
-
|
|
6469
|
-
/* @__PURE__ */ (0,
|
|
6470
|
-
images.length > 0 && /* @__PURE__ */ (0,
|
|
6471
|
-
replies.length > 0 && /* @__PURE__ */ (0,
|
|
6624
|
+
availabilityBadge && /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(AvailabilityBadge_default, { variant: availabilityBadge.variant, children: availabilityBadge.text }) }),
|
|
6625
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Text_default, { size: "md", children: content }),
|
|
6626
|
+
images.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(ReviewImages_default, { images }),
|
|
6627
|
+
replies.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-3)", children: replies.map((reply, index) => /* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
|
|
6472
6628
|
ReviewReply_default,
|
|
6473
6629
|
{
|
|
6474
6630
|
avatarSrc: reply.avatarSrc,
|
|
@@ -6487,9 +6643,9 @@ var ReviewCard = ({
|
|
|
6487
6643
|
var ReviewCard_default = ReviewCard;
|
|
6488
6644
|
|
|
6489
6645
|
// src/Reviews/components/ReviewItem.tsx
|
|
6490
|
-
var
|
|
6646
|
+
var import_jsx_runtime236 = require("@emotion/react/jsx-runtime");
|
|
6491
6647
|
var ReviewItem = ({ label, rating }) => {
|
|
6492
|
-
return /* @__PURE__ */ (0,
|
|
6648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
|
|
6493
6649
|
Box_default,
|
|
6494
6650
|
{
|
|
6495
6651
|
display: "flex",
|
|
@@ -6497,10 +6653,10 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
6497
6653
|
alignItems: "center",
|
|
6498
6654
|
width: "100%",
|
|
6499
6655
|
children: [
|
|
6500
|
-
/* @__PURE__ */ (0,
|
|
6501
|
-
/* @__PURE__ */ (0,
|
|
6502
|
-
/* @__PURE__ */ (0,
|
|
6503
|
-
/* @__PURE__ */ (0,
|
|
6656
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Text_default, { fontWeight: "semibold", children: label }),
|
|
6657
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-2)", children: [
|
|
6658
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Icon_default, { variant: "StarSolid", size: 5, fill: "var(--surface-action-2)" }),
|
|
6659
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Text_default, { fontWeight: "semibold", children: [
|
|
6504
6660
|
rating,
|
|
6505
6661
|
"/5"
|
|
6506
6662
|
] })
|
|
@@ -6512,14 +6668,14 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
6512
6668
|
var ReviewItem_default = ReviewItem;
|
|
6513
6669
|
|
|
6514
6670
|
// src/Reviews/Reviews.tsx
|
|
6515
|
-
var
|
|
6671
|
+
var import_jsx_runtime237 = require("@emotion/react/jsx-runtime");
|
|
6516
6672
|
var Reviews = ({
|
|
6517
6673
|
averageRating,
|
|
6518
6674
|
totalReviews,
|
|
6519
6675
|
items,
|
|
6520
6676
|
className
|
|
6521
6677
|
}) => {
|
|
6522
|
-
return /* @__PURE__ */ (0,
|
|
6678
|
+
return /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
|
|
6523
6679
|
Box_default,
|
|
6524
6680
|
{
|
|
6525
6681
|
width: "100%",
|
|
@@ -6532,7 +6688,7 @@ var Reviews = ({
|
|
|
6532
6688
|
p: "var(--spacing-4)",
|
|
6533
6689
|
className,
|
|
6534
6690
|
children: [
|
|
6535
|
-
/* @__PURE__ */ (0,
|
|
6691
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
|
|
6536
6692
|
Box_default,
|
|
6537
6693
|
{
|
|
6538
6694
|
display: "flex",
|
|
@@ -6540,9 +6696,9 @@ var Reviews = ({
|
|
|
6540
6696
|
alignItems: "center",
|
|
6541
6697
|
gap: "var(--spacing-2)",
|
|
6542
6698
|
children: [
|
|
6543
|
-
/* @__PURE__ */ (0,
|
|
6544
|
-
/* @__PURE__ */ (0,
|
|
6545
|
-
/* @__PURE__ */ (0,
|
|
6699
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Heading_default, { size: "sm", fontWeight: "bold", color: "text-primary", children: averageRating.toFixed(1) }),
|
|
6700
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(StarRating_default, { rating: Math.floor(averageRating) }),
|
|
6701
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(Text_default, { size: "sm", color: "text-secondary", children: [
|
|
6546
6702
|
"Overall Rating \u2022 ",
|
|
6547
6703
|
totalReviews,
|
|
6548
6704
|
" Review",
|
|
@@ -6551,14 +6707,14 @@ var Reviews = ({
|
|
|
6551
6707
|
]
|
|
6552
6708
|
}
|
|
6553
6709
|
),
|
|
6554
|
-
/* @__PURE__ */ (0,
|
|
6710
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
|
|
6555
6711
|
Box_default,
|
|
6556
6712
|
{
|
|
6557
6713
|
display: "flex",
|
|
6558
6714
|
flexDirection: "column",
|
|
6559
6715
|
gap: "var(--spacing-2)",
|
|
6560
6716
|
width: "100%",
|
|
6561
|
-
children: items.map((item, index) => /* @__PURE__ */ (0,
|
|
6717
|
+
children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(ReviewItem_default, { label: item.label, rating: item.rating }, index))
|
|
6562
6718
|
}
|
|
6563
6719
|
)
|
|
6564
6720
|
]
|
|
@@ -6568,7 +6724,7 @@ var Reviews = ({
|
|
|
6568
6724
|
var Reviews_default = Reviews;
|
|
6569
6725
|
|
|
6570
6726
|
// src/Reviews/ReviewsShowcase.tsx
|
|
6571
|
-
var
|
|
6727
|
+
var import_jsx_runtime238 = require("@emotion/react/jsx-runtime");
|
|
6572
6728
|
var ReviewsShowcase = () => {
|
|
6573
6729
|
const sampleData = {
|
|
6574
6730
|
averageRating: 4,
|
|
@@ -6590,7 +6746,7 @@ var ReviewsShowcase = () => {
|
|
|
6590
6746
|
{ label: "Game Abundance", rating: 5 }
|
|
6591
6747
|
]
|
|
6592
6748
|
};
|
|
6593
|
-
return /* @__PURE__ */ (0,
|
|
6749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(
|
|
6594
6750
|
Box_default,
|
|
6595
6751
|
{
|
|
6596
6752
|
display: "flex",
|
|
@@ -6598,24 +6754,24 @@ var ReviewsShowcase = () => {
|
|
|
6598
6754
|
gap: "var(--spacing-8)",
|
|
6599
6755
|
p: "var(--spacing-6)",
|
|
6600
6756
|
children: [
|
|
6601
|
-
/* @__PURE__ */ (0,
|
|
6602
|
-
/* @__PURE__ */ (0,
|
|
6603
|
-
/* @__PURE__ */ (0,
|
|
6604
|
-
/* @__PURE__ */ (0,
|
|
6757
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Heading_default, { size: "lg", children: "Reviews Component Showcase" }),
|
|
6758
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
6759
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Heading_default, { size: "md", children: "Default Reviews" }),
|
|
6760
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Box_default, { maxWidth: "400px", children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Reviews_default, { ...sampleData }) })
|
|
6605
6761
|
] }),
|
|
6606
|
-
/* @__PURE__ */ (0,
|
|
6607
|
-
/* @__PURE__ */ (0,
|
|
6608
|
-
/* @__PURE__ */ (0,
|
|
6762
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
6763
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Heading_default, { size: "md", children: "High Rating Reviews" }),
|
|
6764
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Box_default, { maxWidth: "400px", children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Reviews_default, { ...highRatingData }) })
|
|
6609
6765
|
] }),
|
|
6610
|
-
/* @__PURE__ */ (0,
|
|
6611
|
-
/* @__PURE__ */ (0,
|
|
6612
|
-
/* @__PURE__ */ (0,
|
|
6766
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
6767
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Heading_default, { size: "md", children: "Mobile Layout (320px width)" }),
|
|
6768
|
+
/* @__PURE__ */ (0, import_jsx_runtime238.jsx)(
|
|
6613
6769
|
Box_default,
|
|
6614
6770
|
{
|
|
6615
6771
|
maxWidth: "320px",
|
|
6616
6772
|
border: "1px solid var(--color-neutral-200)",
|
|
6617
6773
|
p: "var(--spacing-4)",
|
|
6618
|
-
children: /* @__PURE__ */ (0,
|
|
6774
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Reviews_default, { ...sampleData })
|
|
6619
6775
|
}
|
|
6620
6776
|
)
|
|
6621
6777
|
] })
|
|
@@ -6627,7 +6783,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6627
6783
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6628
6784
|
0 && (module.exports = {
|
|
6629
6785
|
AIResponse,
|
|
6630
|
-
|
|
6786
|
+
AvailabilityBadge,
|
|
6631
6787
|
Avatar,
|
|
6632
6788
|
Box,
|
|
6633
6789
|
Button,
|
|
@@ -6635,6 +6791,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6635
6791
|
Column,
|
|
6636
6792
|
Container,
|
|
6637
6793
|
Divider,
|
|
6794
|
+
FeatureList,
|
|
6638
6795
|
FieldNoteCard,
|
|
6639
6796
|
FormField,
|
|
6640
6797
|
GlobalStyle,
|
|
@@ -6644,6 +6801,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6644
6801
|
HuntCard,
|
|
6645
6802
|
Icon,
|
|
6646
6803
|
IconLabel,
|
|
6804
|
+
InfoBox,
|
|
6647
6805
|
Input,
|
|
6648
6806
|
LayoutTokens,
|
|
6649
6807
|
ListingChat,
|
|
@@ -6651,6 +6809,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6651
6809
|
MessageBubble,
|
|
6652
6810
|
Navigation,
|
|
6653
6811
|
PackageCard,
|
|
6812
|
+
PackageHeader,
|
|
6654
6813
|
ReviewCard,
|
|
6655
6814
|
Reviews,
|
|
6656
6815
|
ReviewsShowcase,
|