@landtrustinc/design-system 1.1.7 → 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 +39 -15
- package/dist/index.js +259 -194
- 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,
|
|
@@ -57,6 +57,7 @@ __export(src_exports, {
|
|
|
57
57
|
MessageBubble: () => MessageBubble_default,
|
|
58
58
|
Navigation: () => Navigation_default,
|
|
59
59
|
PackageCard: () => PackageCard_default,
|
|
60
|
+
PackageHeader: () => PackageHeader_default,
|
|
60
61
|
ReviewCard: () => ReviewCard_default,
|
|
61
62
|
Reviews: () => Reviews_default,
|
|
62
63
|
ReviewsShowcase: () => ReviewsShowcase_default,
|
|
@@ -910,7 +911,13 @@ var Bear_default = SvgBear;
|
|
|
910
911
|
|
|
911
912
|
// src/Icon/components/BedSolid.tsx
|
|
912
913
|
var import_jsx_runtime22 = require("@emotion/react/jsx-runtime");
|
|
913
|
-
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
|
+
) });
|
|
914
921
|
var BedSolid_default = SvgBedSolid;
|
|
915
922
|
|
|
916
923
|
// src/Icon/components/Bell.tsx
|
|
@@ -1530,7 +1537,13 @@ var GameFeeder_default = SvgGameFeeder;
|
|
|
1530
1537
|
|
|
1531
1538
|
// src/Icon/components/GridSolid.tsx
|
|
1532
1539
|
var import_jsx_runtime73 = require("@emotion/react/jsx-runtime");
|
|
1533
|
-
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
|
+
) });
|
|
1534
1547
|
var GridSolid_default = SvgGridSolid;
|
|
1535
1548
|
|
|
1536
1549
|
// src/Icon/components/GrillHotSolid.tsx
|
|
@@ -1540,16 +1553,13 @@ var GrillHotSolid_default = SvgGrillHotSolid;
|
|
|
1540
1553
|
|
|
1541
1554
|
// src/Icon/components/GroundBlind.tsx
|
|
1542
1555
|
var import_jsx_runtime75 = require("@emotion/react/jsx-runtime");
|
|
1543
|
-
var SvgGroundBlind = (props) => /* @__PURE__ */ (0, import_jsx_runtime75.
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
"
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
}
|
|
1551
|
-
)
|
|
1552
|
-
] });
|
|
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
|
+
) });
|
|
1553
1563
|
var GroundBlind_default = SvgGroundBlind;
|
|
1554
1564
|
|
|
1555
1565
|
// src/Icon/components/HandsUsd.tsx
|
|
@@ -1987,7 +1997,15 @@ var LocationCircle_default = SvgLocationCircle;
|
|
|
1987
1997
|
|
|
1988
1998
|
// src/Icon/components/LocationDotSolid.tsx
|
|
1989
1999
|
var import_jsx_runtime119 = require("@emotion/react/jsx-runtime");
|
|
1990
|
-
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
|
+
) });
|
|
1991
2009
|
var LocationDotSolid_default = SvgLocationDotSolid;
|
|
1992
2010
|
|
|
1993
2011
|
// src/Icon/components/MagnifyingGlass.tsx
|
|
@@ -2698,7 +2716,13 @@ var Users_default = SvgUsers;
|
|
|
2698
2716
|
|
|
2699
2717
|
// src/Icon/components/UserSolid.tsx
|
|
2700
2718
|
var import_jsx_runtime187 = require("@emotion/react/jsx-runtime");
|
|
2701
|
-
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
|
+
) });
|
|
2702
2726
|
var UserSolid_default = SvgUserSolid;
|
|
2703
2727
|
|
|
2704
2728
|
// src/Icon/components/UsFlag.tsx
|
|
@@ -3783,9 +3807,9 @@ var AIResponse = ({
|
|
|
3783
3807
|
};
|
|
3784
3808
|
var AIResponse_default = AIResponse;
|
|
3785
3809
|
|
|
3786
|
-
// src/
|
|
3810
|
+
// src/AvailabilityBadge/AvailabilityBadge.styles.ts
|
|
3787
3811
|
var import_react12 = require("@emotion/react");
|
|
3788
|
-
var
|
|
3812
|
+
var availabilityBadgeVariantStyles = {
|
|
3789
3813
|
primary: import_react12.css`
|
|
3790
3814
|
background-color: var(--color-primary-100);
|
|
3791
3815
|
color: var(--text-primary);
|
|
@@ -3808,9 +3832,9 @@ var availabilityChipVariantStyles = {
|
|
|
3808
3832
|
`
|
|
3809
3833
|
};
|
|
3810
3834
|
|
|
3811
|
-
// src/
|
|
3835
|
+
// src/AvailabilityBadge/AvailabilityBadge.tsx
|
|
3812
3836
|
var import_jsx_runtime203 = require("@emotion/react/jsx-runtime");
|
|
3813
|
-
var
|
|
3837
|
+
var AvailabilityBadge = ({
|
|
3814
3838
|
children,
|
|
3815
3839
|
variant,
|
|
3816
3840
|
className
|
|
@@ -3823,13 +3847,13 @@ var AvailabilityChip = ({
|
|
|
3823
3847
|
px: "var(--spacing-4)",
|
|
3824
3848
|
py: "var(--spacing-1)",
|
|
3825
3849
|
borderRadius: "var(--spacing-2)",
|
|
3826
|
-
css:
|
|
3850
|
+
css: availabilityBadgeVariantStyles[variant],
|
|
3827
3851
|
className,
|
|
3828
3852
|
children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Text_default, { size: "xs", fontWeight: "bold", children })
|
|
3829
3853
|
}
|
|
3830
3854
|
);
|
|
3831
3855
|
};
|
|
3832
|
-
var
|
|
3856
|
+
var AvailabilityBadge_default = AvailabilityBadge;
|
|
3833
3857
|
|
|
3834
3858
|
// src/Avatar/Avatar.tsx
|
|
3835
3859
|
var import_react14 = require("react");
|
|
@@ -4653,12 +4677,14 @@ var ChatWidget = ({
|
|
|
4653
4677
|
var ChatWidget_default = ChatWidget;
|
|
4654
4678
|
|
|
4655
4679
|
// src/FeatureList/components/FeatureListItem.tsx
|
|
4680
|
+
var import_react24 = require("@emotion/react");
|
|
4656
4681
|
var import_jsx_runtime210 = require("@emotion/react/jsx-runtime");
|
|
4657
4682
|
var FeatureListItem = ({
|
|
4658
|
-
|
|
4683
|
+
iconVariant,
|
|
4659
4684
|
label,
|
|
4660
4685
|
subtitle,
|
|
4661
|
-
iconSize =
|
|
4686
|
+
iconSize = 6,
|
|
4687
|
+
iconColor,
|
|
4662
4688
|
className,
|
|
4663
4689
|
...rest
|
|
4664
4690
|
}) => {
|
|
@@ -4668,17 +4694,28 @@ var FeatureListItem = ({
|
|
|
4668
4694
|
{
|
|
4669
4695
|
display: "flex",
|
|
4670
4696
|
alignItems: "center",
|
|
4671
|
-
gap: "var(--spacing-
|
|
4697
|
+
gap: "var(--spacing-2)",
|
|
4672
4698
|
className,
|
|
4673
4699
|
...rest,
|
|
4674
4700
|
children: [
|
|
4675
|
-
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(
|
|
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
|
+
),
|
|
4676
4713
|
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Text_default, { fontWeight: "semibold", children: label })
|
|
4677
4714
|
]
|
|
4678
4715
|
}
|
|
4679
4716
|
),
|
|
4680
|
-
subtitle && /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-
|
|
4681
|
-
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Box_default, { width: "
|
|
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" }),
|
|
4682
4719
|
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Text_default, { size: "sm", children: subtitle })
|
|
4683
4720
|
] })
|
|
4684
4721
|
] });
|
|
@@ -4697,7 +4734,7 @@ var FeatureList = ({ heading, items, className }) => {
|
|
|
4697
4734
|
className,
|
|
4698
4735
|
children: [
|
|
4699
4736
|
heading && /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Text_default, { fontWeight: "bold", children: heading }),
|
|
4700
|
-
/* @__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.
|
|
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}`)) })
|
|
4701
4738
|
]
|
|
4702
4739
|
}
|
|
4703
4740
|
);
|
|
@@ -4705,8 +4742,8 @@ var FeatureList = ({ heading, items, className }) => {
|
|
|
4705
4742
|
var FeatureList_default = FeatureList;
|
|
4706
4743
|
|
|
4707
4744
|
// src/FieldNoteCard/FieldNoteCard.styles.ts
|
|
4708
|
-
var
|
|
4709
|
-
var cardContainerStyles =
|
|
4745
|
+
var import_react25 = require("@emotion/react");
|
|
4746
|
+
var cardContainerStyles = import_react25.css`
|
|
4710
4747
|
position: relative;
|
|
4711
4748
|
height: 335px;
|
|
4712
4749
|
|
|
@@ -4714,12 +4751,12 @@ var cardContainerStyles = import_react24.css`
|
|
|
4714
4751
|
height: 480px;
|
|
4715
4752
|
}
|
|
4716
4753
|
`;
|
|
4717
|
-
var cardContentStyles =
|
|
4754
|
+
var cardContentStyles = import_react25.css`
|
|
4718
4755
|
position: relative;
|
|
4719
4756
|
border-radius: var(--spacing-4);
|
|
4720
4757
|
overflow: hidden;
|
|
4721
4758
|
`;
|
|
4722
|
-
var getBackgroundWithGradient = (imageUrl) =>
|
|
4759
|
+
var getBackgroundWithGradient = (imageUrl) => import_react25.css`
|
|
4723
4760
|
background-image: linear-gradient(
|
|
4724
4761
|
180deg,
|
|
4725
4762
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -4769,14 +4806,14 @@ var FieldNoteCard = ({
|
|
|
4769
4806
|
var FieldNoteCard_default = FieldNoteCard;
|
|
4770
4807
|
|
|
4771
4808
|
// src/Form/FormField.tsx
|
|
4772
|
-
var
|
|
4809
|
+
var import_react26 = require("@emotion/react");
|
|
4773
4810
|
var import_jsx_runtime213 = require("@emotion/react/jsx-runtime");
|
|
4774
|
-
var fieldContainerStyles =
|
|
4811
|
+
var fieldContainerStyles = import_react26.css`
|
|
4775
4812
|
display: flex;
|
|
4776
4813
|
flex-direction: column;
|
|
4777
4814
|
gap: ${space["2"]};
|
|
4778
4815
|
`;
|
|
4779
|
-
var labelStyles2 =
|
|
4816
|
+
var labelStyles2 = import_react26.css`
|
|
4780
4817
|
font-family: ${fonts.base};
|
|
4781
4818
|
font-size: ${fontSizes.sm};
|
|
4782
4819
|
font-weight: ${fontWeights.medium};
|
|
@@ -4784,17 +4821,17 @@ var labelStyles2 = import_react25.css`
|
|
|
4784
4821
|
color: ${colors.gray["900"]};
|
|
4785
4822
|
margin-bottom: ${space["1"]};
|
|
4786
4823
|
`;
|
|
4787
|
-
var requiredIndicatorStyles =
|
|
4824
|
+
var requiredIndicatorStyles = import_react26.css`
|
|
4788
4825
|
color: ${colors.red["500"]};
|
|
4789
4826
|
margin-left: ${space["1"]};
|
|
4790
4827
|
`;
|
|
4791
|
-
var helpTextStyles =
|
|
4828
|
+
var helpTextStyles = import_react26.css`
|
|
4792
4829
|
font-family: ${fonts.base};
|
|
4793
4830
|
font-size: ${fontSizes.sm};
|
|
4794
4831
|
line-height: ${lineHeights.tight};
|
|
4795
4832
|
color: ${colors.gray["600"]};
|
|
4796
4833
|
`;
|
|
4797
|
-
var errorTextStyles =
|
|
4834
|
+
var errorTextStyles = import_react26.css`
|
|
4798
4835
|
font-family: ${fonts.base};
|
|
4799
4836
|
font-size: ${fontSizes.sm};
|
|
4800
4837
|
line-height: ${lineHeights.tight};
|
|
@@ -4803,7 +4840,7 @@ var errorTextStyles = import_react25.css`
|
|
|
4803
4840
|
align-items: center;
|
|
4804
4841
|
gap: ${space["1"]};
|
|
4805
4842
|
`;
|
|
4806
|
-
var successTextStyles =
|
|
4843
|
+
var successTextStyles = import_react26.css`
|
|
4807
4844
|
font-family: ${fonts.base};
|
|
4808
4845
|
font-size: ${fontSizes.sm};
|
|
4809
4846
|
line-height: ${lineHeights.tight};
|
|
@@ -4812,7 +4849,7 @@ var successTextStyles = import_react25.css`
|
|
|
4812
4849
|
align-items: center;
|
|
4813
4850
|
gap: ${space["1"]};
|
|
4814
4851
|
`;
|
|
4815
|
-
var visuallyHiddenStyles =
|
|
4852
|
+
var visuallyHiddenStyles = import_react26.css`
|
|
4816
4853
|
position: absolute;
|
|
4817
4854
|
width: 1px;
|
|
4818
4855
|
height: 1px;
|
|
@@ -4877,10 +4914,10 @@ var FormField = ({
|
|
|
4877
4914
|
};
|
|
4878
4915
|
|
|
4879
4916
|
// src/Form/Input.tsx
|
|
4880
|
-
var
|
|
4881
|
-
var
|
|
4917
|
+
var import_react27 = require("@emotion/react");
|
|
4918
|
+
var import_react28 = require("react");
|
|
4882
4919
|
var import_jsx_runtime214 = require("@emotion/react/jsx-runtime");
|
|
4883
|
-
var inputStyles =
|
|
4920
|
+
var inputStyles = import_react27.css`
|
|
4884
4921
|
position: relative;
|
|
4885
4922
|
width: 100%;
|
|
4886
4923
|
font-family: ${fonts.base};
|
|
@@ -4917,19 +4954,19 @@ var inputStyles = import_react26.css`
|
|
|
4917
4954
|
}
|
|
4918
4955
|
`;
|
|
4919
4956
|
var sizeStyles = {
|
|
4920
|
-
sm:
|
|
4957
|
+
sm: import_react27.css`
|
|
4921
4958
|
padding: ${space["2"]} ${space["3"]};
|
|
4922
4959
|
font-size: ${fontSizes.sm};
|
|
4923
4960
|
line-height: ${lineHeights.tight};
|
|
4924
4961
|
height: ${space["8"]};
|
|
4925
4962
|
`,
|
|
4926
|
-
md:
|
|
4963
|
+
md: import_react27.css`
|
|
4927
4964
|
padding: ${space["3"]} ${space["4"]};
|
|
4928
4965
|
font-size: ${fontSizes.base};
|
|
4929
4966
|
line-height: ${lineHeights.normal};
|
|
4930
4967
|
height: ${space["10"]};
|
|
4931
4968
|
`,
|
|
4932
|
-
lg:
|
|
4969
|
+
lg: import_react27.css`
|
|
4933
4970
|
padding: ${space["4"]} ${space["5"]};
|
|
4934
4971
|
font-size: ${fontSizes.lg};
|
|
4935
4972
|
line-height: ${lineHeights.normal};
|
|
@@ -4937,8 +4974,8 @@ var sizeStyles = {
|
|
|
4937
4974
|
`
|
|
4938
4975
|
};
|
|
4939
4976
|
var variantStyles = {
|
|
4940
|
-
default:
|
|
4941
|
-
error:
|
|
4977
|
+
default: import_react27.css``,
|
|
4978
|
+
error: import_react27.css`
|
|
4942
4979
|
border-color: ${colors.red["500"]};
|
|
4943
4980
|
|
|
4944
4981
|
&:focus {
|
|
@@ -4946,7 +4983,7 @@ var variantStyles = {
|
|
|
4946
4983
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
4947
4984
|
}
|
|
4948
4985
|
`,
|
|
4949
|
-
success:
|
|
4986
|
+
success: import_react27.css`
|
|
4950
4987
|
border-color: ${colors.accent.green};
|
|
4951
4988
|
|
|
4952
4989
|
&:focus {
|
|
@@ -4955,7 +4992,7 @@ var variantStyles = {
|
|
|
4955
4992
|
}
|
|
4956
4993
|
`
|
|
4957
4994
|
};
|
|
4958
|
-
var inputWithIconStyles =
|
|
4995
|
+
var inputWithIconStyles = import_react27.css`
|
|
4959
4996
|
padding-left: ${space["10"]};
|
|
4960
4997
|
|
|
4961
4998
|
&.has-end-icon {
|
|
@@ -4966,7 +5003,7 @@ var inputWithIconStyles = import_react26.css`
|
|
|
4966
5003
|
padding-left: ${space["10"]};
|
|
4967
5004
|
}
|
|
4968
5005
|
`;
|
|
4969
|
-
var iconContainerStyles =
|
|
5006
|
+
var iconContainerStyles = import_react27.css`
|
|
4970
5007
|
position: absolute;
|
|
4971
5008
|
top: 50%;
|
|
4972
5009
|
transform: translateY(-50%);
|
|
@@ -4977,20 +5014,20 @@ var iconContainerStyles = import_react26.css`
|
|
|
4977
5014
|
pointer-events: none;
|
|
4978
5015
|
z-index: 1;
|
|
4979
5016
|
`;
|
|
4980
|
-
var startIconStyles =
|
|
5017
|
+
var startIconStyles = import_react27.css`
|
|
4981
5018
|
${iconContainerStyles}
|
|
4982
5019
|
left: ${space["3"]};
|
|
4983
5020
|
`;
|
|
4984
|
-
var endIconStyles =
|
|
5021
|
+
var endIconStyles = import_react27.css`
|
|
4985
5022
|
${iconContainerStyles}
|
|
4986
5023
|
right: ${space["3"]};
|
|
4987
5024
|
`;
|
|
4988
|
-
var inputWrapperStyles =
|
|
5025
|
+
var inputWrapperStyles = import_react27.css`
|
|
4989
5026
|
position: relative;
|
|
4990
5027
|
display: inline-block;
|
|
4991
5028
|
width: 100%;
|
|
4992
5029
|
`;
|
|
4993
|
-
var Input = (0,
|
|
5030
|
+
var Input = (0, import_react28.forwardRef)(
|
|
4994
5031
|
({
|
|
4995
5032
|
size = "md",
|
|
4996
5033
|
variant = "default",
|
|
@@ -5035,10 +5072,10 @@ var Input = (0, import_react27.forwardRef)(
|
|
|
5035
5072
|
Input.displayName = "Input";
|
|
5036
5073
|
|
|
5037
5074
|
// src/Form/Select.tsx
|
|
5038
|
-
var
|
|
5039
|
-
var
|
|
5075
|
+
var import_react29 = require("@emotion/react");
|
|
5076
|
+
var import_react30 = require("react");
|
|
5040
5077
|
var import_jsx_runtime215 = require("@emotion/react/jsx-runtime");
|
|
5041
|
-
var selectStyles =
|
|
5078
|
+
var selectStyles = import_react29.css`
|
|
5042
5079
|
position: relative;
|
|
5043
5080
|
width: 100%;
|
|
5044
5081
|
font-family: ${fonts.base};
|
|
@@ -5077,19 +5114,19 @@ var selectStyles = import_react28.css`
|
|
|
5077
5114
|
}
|
|
5078
5115
|
`;
|
|
5079
5116
|
var sizeStyles2 = {
|
|
5080
|
-
sm:
|
|
5117
|
+
sm: import_react29.css`
|
|
5081
5118
|
padding: ${space["2"]} ${space["3"]};
|
|
5082
5119
|
font-size: ${fontSizes.sm};
|
|
5083
5120
|
line-height: ${lineHeights.tight};
|
|
5084
5121
|
height: ${space["8"]};
|
|
5085
5122
|
`,
|
|
5086
|
-
md:
|
|
5123
|
+
md: import_react29.css`
|
|
5087
5124
|
padding: ${space["3"]} ${space["4"]};
|
|
5088
5125
|
font-size: ${fontSizes.base};
|
|
5089
5126
|
line-height: ${lineHeights.normal};
|
|
5090
5127
|
height: ${space["10"]};
|
|
5091
5128
|
`,
|
|
5092
|
-
lg:
|
|
5129
|
+
lg: import_react29.css`
|
|
5093
5130
|
padding: ${space["4"]} ${space["5"]};
|
|
5094
5131
|
font-size: ${fontSizes.lg};
|
|
5095
5132
|
line-height: ${lineHeights.normal};
|
|
@@ -5097,8 +5134,8 @@ var sizeStyles2 = {
|
|
|
5097
5134
|
`
|
|
5098
5135
|
};
|
|
5099
5136
|
var variantStyles2 = {
|
|
5100
|
-
default:
|
|
5101
|
-
error:
|
|
5137
|
+
default: import_react29.css``,
|
|
5138
|
+
error: import_react29.css`
|
|
5102
5139
|
border-color: ${colors.red["500"]};
|
|
5103
5140
|
|
|
5104
5141
|
&:focus {
|
|
@@ -5106,7 +5143,7 @@ var variantStyles2 = {
|
|
|
5106
5143
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
5107
5144
|
}
|
|
5108
5145
|
`,
|
|
5109
|
-
success:
|
|
5146
|
+
success: import_react29.css`
|
|
5110
5147
|
border-color: ${colors.accent.green};
|
|
5111
5148
|
|
|
5112
5149
|
&:focus {
|
|
@@ -5115,7 +5152,7 @@ var variantStyles2 = {
|
|
|
5115
5152
|
}
|
|
5116
5153
|
`
|
|
5117
5154
|
};
|
|
5118
|
-
var optionStyles =
|
|
5155
|
+
var optionStyles = import_react29.css`
|
|
5119
5156
|
background-color: ${colors.light["100"]};
|
|
5120
5157
|
color: ${colors.gray["900"]};
|
|
5121
5158
|
|
|
@@ -5124,7 +5161,7 @@ var optionStyles = import_react28.css`
|
|
|
5124
5161
|
background-color: ${colors.gray["100"]};
|
|
5125
5162
|
}
|
|
5126
5163
|
`;
|
|
5127
|
-
var Select = (0,
|
|
5164
|
+
var Select = (0, import_react30.forwardRef)(
|
|
5128
5165
|
({
|
|
5129
5166
|
size = "md",
|
|
5130
5167
|
variant = "default",
|
|
@@ -5162,10 +5199,10 @@ var Select = (0, import_react29.forwardRef)(
|
|
|
5162
5199
|
Select.displayName = "Select";
|
|
5163
5200
|
|
|
5164
5201
|
// src/Grid/Column.tsx
|
|
5165
|
-
var
|
|
5202
|
+
var import_react32 = require("@emotion/react");
|
|
5166
5203
|
|
|
5167
5204
|
// src/Grid/utils.ts
|
|
5168
|
-
var
|
|
5205
|
+
var import_react31 = require("@emotion/react");
|
|
5169
5206
|
var LayoutTokens = {
|
|
5170
5207
|
containers: {
|
|
5171
5208
|
sm: screens.sm,
|
|
@@ -5205,11 +5242,11 @@ var getResponsiveValue = (value) => {
|
|
|
5205
5242
|
var generateGridColumns = (columns) => {
|
|
5206
5243
|
const baseColumns = getResponsiveValue(columns);
|
|
5207
5244
|
if (typeof columns === "number") {
|
|
5208
|
-
return
|
|
5245
|
+
return import_react31.css`
|
|
5209
5246
|
grid-template-columns: repeat(${columns}, 1fr);
|
|
5210
5247
|
`;
|
|
5211
5248
|
}
|
|
5212
|
-
return
|
|
5249
|
+
return import_react31.css`
|
|
5213
5250
|
grid-template-columns: repeat(${baseColumns}, 1fr);
|
|
5214
5251
|
|
|
5215
5252
|
${media.sm} {
|
|
@@ -5241,11 +5278,11 @@ var generateGridColumns = (columns) => {
|
|
|
5241
5278
|
var generateGapStyles = (gap2) => {
|
|
5242
5279
|
const baseGap = getResponsiveValue(gap2);
|
|
5243
5280
|
if (typeof gap2 === "string" || typeof gap2 === "number") {
|
|
5244
|
-
return
|
|
5281
|
+
return import_react31.css`
|
|
5245
5282
|
gap: ${space[gap2]};
|
|
5246
5283
|
`;
|
|
5247
5284
|
}
|
|
5248
|
-
return
|
|
5285
|
+
return import_react31.css`
|
|
5249
5286
|
gap: ${space[baseGap]};
|
|
5250
5287
|
|
|
5251
5288
|
${media.sm} {
|
|
@@ -5268,11 +5305,11 @@ var generateGapStyles = (gap2) => {
|
|
|
5268
5305
|
var generateRowGapStyles = (rowGap) => {
|
|
5269
5306
|
const baseRowGap = getResponsiveValue(rowGap);
|
|
5270
5307
|
if (typeof rowGap === "string" || typeof rowGap === "number") {
|
|
5271
|
-
return
|
|
5308
|
+
return import_react31.css`
|
|
5272
5309
|
row-gap: ${space[rowGap]};
|
|
5273
5310
|
`;
|
|
5274
5311
|
}
|
|
5275
|
-
return
|
|
5312
|
+
return import_react31.css`
|
|
5276
5313
|
row-gap: ${space[baseRowGap]};
|
|
5277
5314
|
|
|
5278
5315
|
${media.sm} {
|
|
@@ -5295,11 +5332,11 @@ var generateRowGapStyles = (rowGap) => {
|
|
|
5295
5332
|
var generateColumnGapStyles = (columnGap) => {
|
|
5296
5333
|
const baseColumnGap = getResponsiveValue(columnGap);
|
|
5297
5334
|
if (typeof columnGap === "string" || typeof columnGap === "number") {
|
|
5298
|
-
return
|
|
5335
|
+
return import_react31.css`
|
|
5299
5336
|
column-gap: ${space[columnGap]};
|
|
5300
5337
|
`;
|
|
5301
5338
|
}
|
|
5302
|
-
return
|
|
5339
|
+
return import_react31.css`
|
|
5303
5340
|
column-gap: ${space[baseColumnGap]};
|
|
5304
5341
|
|
|
5305
5342
|
${media.sm} {
|
|
@@ -5322,11 +5359,11 @@ var generateColumnGapStyles = (columnGap) => {
|
|
|
5322
5359
|
var generateColumnSpan = (span) => {
|
|
5323
5360
|
const baseSpan = getResponsiveValue(span);
|
|
5324
5361
|
if (typeof span === "string" || typeof span === "number") {
|
|
5325
|
-
return
|
|
5362
|
+
return import_react31.css`
|
|
5326
5363
|
grid-column: ${span === "auto" ? "auto" : `span ${span}`};
|
|
5327
5364
|
`;
|
|
5328
5365
|
}
|
|
5329
|
-
return
|
|
5366
|
+
return import_react31.css`
|
|
5330
5367
|
grid-column: ${baseSpan === "auto" ? "auto" : `span ${baseSpan}`};
|
|
5331
5368
|
|
|
5332
5369
|
${media.sm} {
|
|
@@ -5349,11 +5386,11 @@ var generateColumnSpan = (span) => {
|
|
|
5349
5386
|
var generateAlignItems = (alignItems) => {
|
|
5350
5387
|
const baseAlign = getResponsiveValue(alignItems);
|
|
5351
5388
|
if (typeof alignItems === "string") {
|
|
5352
|
-
return
|
|
5389
|
+
return import_react31.css`
|
|
5353
5390
|
align-items: ${alignItems};
|
|
5354
5391
|
`;
|
|
5355
5392
|
}
|
|
5356
|
-
return
|
|
5393
|
+
return import_react31.css`
|
|
5357
5394
|
align-items: ${baseAlign};
|
|
5358
5395
|
|
|
5359
5396
|
${media.sm} {
|
|
@@ -5376,11 +5413,11 @@ var generateAlignItems = (alignItems) => {
|
|
|
5376
5413
|
var generateJustifyItems = (justifyItems) => {
|
|
5377
5414
|
const baseJustify = getResponsiveValue(justifyItems);
|
|
5378
5415
|
if (typeof justifyItems === "string") {
|
|
5379
|
-
return
|
|
5416
|
+
return import_react31.css`
|
|
5380
5417
|
justify-items: ${justifyItems};
|
|
5381
5418
|
`;
|
|
5382
5419
|
}
|
|
5383
|
-
return
|
|
5420
|
+
return import_react31.css`
|
|
5384
5421
|
justify-items: ${baseJustify};
|
|
5385
5422
|
|
|
5386
5423
|
${media.sm} {
|
|
@@ -5415,19 +5452,19 @@ var Column = ({
|
|
|
5415
5452
|
}) => {
|
|
5416
5453
|
const columnStyles = [
|
|
5417
5454
|
span && generateColumnSpan(span),
|
|
5418
|
-
start &&
|
|
5455
|
+
start && import_react32.css`
|
|
5419
5456
|
grid-column-start: ${start};
|
|
5420
5457
|
`,
|
|
5421
|
-
end &&
|
|
5458
|
+
end && import_react32.css`
|
|
5422
5459
|
grid-column-end: ${end};
|
|
5423
5460
|
`,
|
|
5424
|
-
row &&
|
|
5461
|
+
row && import_react32.css`
|
|
5425
5462
|
grid-row: ${row};
|
|
5426
5463
|
`,
|
|
5427
|
-
rowSpan &&
|
|
5464
|
+
rowSpan && import_react32.css`
|
|
5428
5465
|
grid-row: span ${rowSpan};
|
|
5429
5466
|
`,
|
|
5430
|
-
area &&
|
|
5467
|
+
area && import_react32.css`
|
|
5431
5468
|
grid-area: ${area};
|
|
5432
5469
|
`
|
|
5433
5470
|
].filter(Boolean);
|
|
@@ -5436,9 +5473,9 @@ var Column = ({
|
|
|
5436
5473
|
var Column_default = Column;
|
|
5437
5474
|
|
|
5438
5475
|
// src/Grid/Grid.tsx
|
|
5439
|
-
var
|
|
5476
|
+
var import_react33 = require("@emotion/react");
|
|
5440
5477
|
var import_jsx_runtime217 = require("@emotion/react/jsx-runtime");
|
|
5441
|
-
var baseGridStyles =
|
|
5478
|
+
var baseGridStyles = import_react33.css`
|
|
5442
5479
|
display: grid;
|
|
5443
5480
|
`;
|
|
5444
5481
|
var Grid = ({
|
|
@@ -5463,16 +5500,16 @@ var Grid = ({
|
|
|
5463
5500
|
columnGap && generateColumnGapStyles(columnGap),
|
|
5464
5501
|
alignItems && generateAlignItems(alignItems),
|
|
5465
5502
|
justifyItems && generateJustifyItems(justifyItems),
|
|
5466
|
-
autoRows &&
|
|
5503
|
+
autoRows && import_react33.css`
|
|
5467
5504
|
grid-auto-rows: ${autoRows};
|
|
5468
5505
|
`,
|
|
5469
|
-
autoColumns &&
|
|
5506
|
+
autoColumns && import_react33.css`
|
|
5470
5507
|
grid-auto-columns: ${autoColumns};
|
|
5471
5508
|
`,
|
|
5472
|
-
templateAreas &&
|
|
5509
|
+
templateAreas && import_react33.css`
|
|
5473
5510
|
grid-template-areas: ${typeof templateAreas === "string" ? templateAreas : templateAreas._};
|
|
5474
5511
|
`,
|
|
5475
|
-
justifyContent &&
|
|
5512
|
+
justifyContent && import_react33.css`
|
|
5476
5513
|
justify-content: ${typeof justifyContent === "string" ? justifyContent : justifyContent._};
|
|
5477
5514
|
`
|
|
5478
5515
|
].filter(Boolean);
|
|
@@ -5481,9 +5518,9 @@ var Grid = ({
|
|
|
5481
5518
|
var Grid_default = Grid;
|
|
5482
5519
|
|
|
5483
5520
|
// src/Grid/GridContainer.tsx
|
|
5484
|
-
var
|
|
5521
|
+
var import_react34 = require("@emotion/react");
|
|
5485
5522
|
var import_jsx_runtime218 = require("@emotion/react/jsx-runtime");
|
|
5486
|
-
var baseContainerStyles =
|
|
5523
|
+
var baseContainerStyles = import_react34.css`
|
|
5487
5524
|
width: 100%;
|
|
5488
5525
|
margin: 0 auto;
|
|
5489
5526
|
padding-left: 1rem;
|
|
@@ -5491,14 +5528,14 @@ var baseContainerStyles = import_react33.css`
|
|
|
5491
5528
|
`;
|
|
5492
5529
|
var generateMaxWidthStyles = (maxWidth) => {
|
|
5493
5530
|
if (maxWidth === "full") {
|
|
5494
|
-
return
|
|
5531
|
+
return import_react34.css`
|
|
5495
5532
|
max-width: 100%;
|
|
5496
5533
|
padding-left: 0;
|
|
5497
5534
|
padding-right: 0;
|
|
5498
5535
|
`;
|
|
5499
5536
|
}
|
|
5500
5537
|
const width2 = LayoutTokens.containers[maxWidth] || maxWidth;
|
|
5501
|
-
return
|
|
5538
|
+
return import_react34.css`
|
|
5502
5539
|
max-width: ${width2};
|
|
5503
5540
|
|
|
5504
5541
|
${media.sm} {
|
|
@@ -5532,8 +5569,8 @@ var GridContainer = ({
|
|
|
5532
5569
|
var GridContainer_default = GridContainer;
|
|
5533
5570
|
|
|
5534
5571
|
// src/HuntCard/HuntCard.styles.ts
|
|
5535
|
-
var
|
|
5536
|
-
var cardContainerStyles2 =
|
|
5572
|
+
var import_react35 = require("@emotion/react");
|
|
5573
|
+
var cardContainerStyles2 = import_react35.css`
|
|
5537
5574
|
position: relative;
|
|
5538
5575
|
height: 335px;
|
|
5539
5576
|
|
|
@@ -5541,12 +5578,12 @@ var cardContainerStyles2 = import_react34.css`
|
|
|
5541
5578
|
height: 480px;
|
|
5542
5579
|
}
|
|
5543
5580
|
`;
|
|
5544
|
-
var cardContentStyles2 =
|
|
5581
|
+
var cardContentStyles2 = import_react35.css`
|
|
5545
5582
|
position: relative;
|
|
5546
5583
|
border-radius: var(--spacing-4);
|
|
5547
5584
|
overflow: hidden;
|
|
5548
5585
|
`;
|
|
5549
|
-
var getBackgroundWithGradient2 = (imageUrl) =>
|
|
5586
|
+
var getBackgroundWithGradient2 = (imageUrl) => import_react35.css`
|
|
5550
5587
|
background-image: linear-gradient(
|
|
5551
5588
|
180deg,
|
|
5552
5589
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -5605,8 +5642,9 @@ var InfoBox = ({ heading, features, className }) => {
|
|
|
5605
5642
|
flexDirection: "column",
|
|
5606
5643
|
gap: "var(--spacing-3)",
|
|
5607
5644
|
className,
|
|
5645
|
+
color: "var(--text-primary)",
|
|
5608
5646
|
children: [
|
|
5609
|
-
/* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
5647
|
+
/* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Heading_default, { size: "2xs", fontWeight: "bold", children: heading }),
|
|
5610
5648
|
/* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
5611
5649
|
Box_default,
|
|
5612
5650
|
{
|
|
@@ -5634,27 +5672,27 @@ var InfoBox = ({ heading, features, className }) => {
|
|
|
5634
5672
|
var InfoBox_default = InfoBox;
|
|
5635
5673
|
|
|
5636
5674
|
// src/ListingChat/ListingChat.tsx
|
|
5637
|
-
var
|
|
5675
|
+
var import_react38 = require("react");
|
|
5638
5676
|
|
|
5639
5677
|
// src/TagChip/TagChip.styles.ts
|
|
5640
|
-
var
|
|
5678
|
+
var import_react36 = require("@emotion/react");
|
|
5641
5679
|
var tagChipVariantStyles = {
|
|
5642
|
-
primary:
|
|
5680
|
+
primary: import_react36.css`
|
|
5643
5681
|
background-color: var(--surface-disabled);
|
|
5644
5682
|
border: 1px solid var(--surface-disabled);
|
|
5645
5683
|
color: var(--text-primary);
|
|
5646
5684
|
`,
|
|
5647
|
-
error:
|
|
5685
|
+
error: import_react36.css`
|
|
5648
5686
|
background-color: var(--surface-error);
|
|
5649
5687
|
border: 1px solid var(--color-red-300);
|
|
5650
5688
|
color: var(--text-error);
|
|
5651
5689
|
`,
|
|
5652
|
-
success:
|
|
5690
|
+
success: import_react36.css`
|
|
5653
5691
|
background-color: var(--surface-success);
|
|
5654
5692
|
border: 1px solid var(--color-green-300);
|
|
5655
5693
|
color: var(--text-success);
|
|
5656
5694
|
`,
|
|
5657
|
-
warning:
|
|
5695
|
+
warning: import_react36.css`
|
|
5658
5696
|
background-color: var(--surface-subtle);
|
|
5659
5697
|
border: 1px solid var(--color-brown-200);
|
|
5660
5698
|
color: var(--text-primary);
|
|
@@ -5687,8 +5725,8 @@ var TagChip = ({
|
|
|
5687
5725
|
var TagChip_default = TagChip;
|
|
5688
5726
|
|
|
5689
5727
|
// src/ListingChat/ListingChat.styles.ts
|
|
5690
|
-
var
|
|
5691
|
-
var containerStyles2 =
|
|
5728
|
+
var import_react37 = require("@emotion/react");
|
|
5729
|
+
var containerStyles2 = import_react37.css`
|
|
5692
5730
|
display: flex;
|
|
5693
5731
|
flex-direction: column;
|
|
5694
5732
|
gap: var(--spacing-4);
|
|
@@ -5696,13 +5734,13 @@ var containerStyles2 = import_react36.css`
|
|
|
5696
5734
|
border-radius: var(--radius-lg);
|
|
5697
5735
|
background: var(--surface-success);
|
|
5698
5736
|
`;
|
|
5699
|
-
var headerStyles =
|
|
5737
|
+
var headerStyles = import_react37.css`
|
|
5700
5738
|
display: flex;
|
|
5701
5739
|
align-items: flex-start;
|
|
5702
5740
|
justify-content: space-between;
|
|
5703
5741
|
gap: var(--spacing-2);
|
|
5704
5742
|
`;
|
|
5705
|
-
var chipsContainerStyles =
|
|
5743
|
+
var chipsContainerStyles = import_react37.css`
|
|
5706
5744
|
display: flex;
|
|
5707
5745
|
flex-wrap: wrap;
|
|
5708
5746
|
gap: var(--spacing-4);
|
|
@@ -5715,10 +5753,10 @@ var chipsContainerStyles = import_react36.css`
|
|
|
5715
5753
|
cursor: pointer;
|
|
5716
5754
|
}
|
|
5717
5755
|
`;
|
|
5718
|
-
var textAreaStyles =
|
|
5756
|
+
var textAreaStyles = import_react37.css`
|
|
5719
5757
|
min-height: 62px;
|
|
5720
5758
|
`;
|
|
5721
|
-
var inputWrapperStyles2 =
|
|
5759
|
+
var inputWrapperStyles2 = import_react37.css`
|
|
5722
5760
|
position: relative;
|
|
5723
5761
|
`;
|
|
5724
5762
|
|
|
@@ -5733,15 +5771,15 @@ var ListingChat = ({
|
|
|
5733
5771
|
disabled = false,
|
|
5734
5772
|
...rest
|
|
5735
5773
|
}) => {
|
|
5736
|
-
const [value, setValue] = (0,
|
|
5737
|
-
const handleSubmit = (0,
|
|
5774
|
+
const [value, setValue] = (0, import_react38.useState)("");
|
|
5775
|
+
const handleSubmit = (0, import_react38.useCallback)(() => {
|
|
5738
5776
|
const trimmed = value.trim();
|
|
5739
5777
|
if (!trimmed)
|
|
5740
5778
|
return;
|
|
5741
5779
|
onSubmit(trimmed);
|
|
5742
5780
|
setValue("");
|
|
5743
5781
|
}, [onSubmit, value]);
|
|
5744
|
-
const handleTagClick = (0,
|
|
5782
|
+
const handleTagClick = (0, import_react38.useCallback)(
|
|
5745
5783
|
(tag) => () => {
|
|
5746
5784
|
const trimmed = tag.trim();
|
|
5747
5785
|
if (!trimmed)
|
|
@@ -5793,7 +5831,7 @@ var ListingChat = ({
|
|
|
5793
5831
|
var ListingChat_default = ListingChat;
|
|
5794
5832
|
|
|
5795
5833
|
// src/Logo/Logo.tsx
|
|
5796
|
-
var
|
|
5834
|
+
var import_react39 = require("@emotion/react");
|
|
5797
5835
|
|
|
5798
5836
|
// src/Logo/components/LandtrustPlusDark.tsx
|
|
5799
5837
|
var import_jsx_runtime223 = require("@emotion/react/jsx-runtime");
|
|
@@ -6015,7 +6053,7 @@ var LandtrustStandardLight_default = SvgLandtrustStandardLight;
|
|
|
6015
6053
|
|
|
6016
6054
|
// src/Logo/Logo.tsx
|
|
6017
6055
|
var import_jsx_runtime227 = require("@emotion/react/jsx-runtime");
|
|
6018
|
-
var logoStyles = (size) =>
|
|
6056
|
+
var logoStyles = (size) => import_react39.css`
|
|
6019
6057
|
width: ${space[size]};
|
|
6020
6058
|
height: auto;
|
|
6021
6059
|
display: block;
|
|
@@ -6048,13 +6086,13 @@ var Logo = ({
|
|
|
6048
6086
|
var Logo_default = Logo;
|
|
6049
6087
|
|
|
6050
6088
|
// src/Navigation/Navigation.styles.ts
|
|
6051
|
-
var
|
|
6052
|
-
var navigationStyles =
|
|
6089
|
+
var import_react40 = require("@emotion/react");
|
|
6090
|
+
var navigationStyles = import_react40.css`
|
|
6053
6091
|
width: 100%;
|
|
6054
6092
|
background-color: white;
|
|
6055
6093
|
border-bottom: 1px solid #e5e5e5;
|
|
6056
6094
|
`;
|
|
6057
|
-
var hamburgerButtonStyles =
|
|
6095
|
+
var hamburgerButtonStyles = import_react40.css`
|
|
6058
6096
|
cursor: pointer;
|
|
6059
6097
|
&:focus {
|
|
6060
6098
|
outline: 2px solid #4f46e5;
|
|
@@ -6065,7 +6103,7 @@ var hamburgerButtonStyles = import_react39.css`
|
|
|
6065
6103
|
display: none;
|
|
6066
6104
|
}
|
|
6067
6105
|
`;
|
|
6068
|
-
var centeredLogoStyles =
|
|
6106
|
+
var centeredLogoStyles = import_react40.css`
|
|
6069
6107
|
transform: translate(-50%, -50%);
|
|
6070
6108
|
max-width: 150px;
|
|
6071
6109
|
|
|
@@ -6073,27 +6111,27 @@ var centeredLogoStyles = import_react39.css`
|
|
|
6073
6111
|
display: none;
|
|
6074
6112
|
}
|
|
6075
6113
|
`;
|
|
6076
|
-
var desktopLogoStyles =
|
|
6114
|
+
var desktopLogoStyles = import_react40.css`
|
|
6077
6115
|
display: none;
|
|
6078
6116
|
|
|
6079
6117
|
@media (min-width: 768px) {
|
|
6080
6118
|
display: block;
|
|
6081
6119
|
}
|
|
6082
6120
|
`;
|
|
6083
|
-
var containerStyles3 =
|
|
6121
|
+
var containerStyles3 = import_react40.css`
|
|
6084
6122
|
@media (min-width: 768px) {
|
|
6085
6123
|
justify-content: space-between;
|
|
6086
6124
|
position: static;
|
|
6087
6125
|
}
|
|
6088
6126
|
`;
|
|
6089
|
-
var logoStyles2 =
|
|
6127
|
+
var logoStyles2 = import_react40.css`
|
|
6090
6128
|
width: 100%;
|
|
6091
6129
|
|
|
6092
6130
|
@media (min-width: 768px) {
|
|
6093
6131
|
width: initial;
|
|
6094
6132
|
}
|
|
6095
6133
|
`;
|
|
6096
|
-
var desktopNavStyles =
|
|
6134
|
+
var desktopNavStyles = import_react40.css`
|
|
6097
6135
|
display: none;
|
|
6098
6136
|
|
|
6099
6137
|
@media (min-width: 768px) {
|
|
@@ -6102,7 +6140,7 @@ var desktopNavStyles = import_react39.css`
|
|
|
6102
6140
|
gap: 32px;
|
|
6103
6141
|
}
|
|
6104
6142
|
`;
|
|
6105
|
-
var navLinksStyles =
|
|
6143
|
+
var navLinksStyles = import_react40.css`
|
|
6106
6144
|
display: flex;
|
|
6107
6145
|
align-items: center;
|
|
6108
6146
|
gap: 24px;
|
|
@@ -6110,7 +6148,7 @@ var navLinksStyles = import_react39.css`
|
|
|
6110
6148
|
margin: 0;
|
|
6111
6149
|
padding: 0;
|
|
6112
6150
|
`;
|
|
6113
|
-
var navLinkStyles =
|
|
6151
|
+
var navLinkStyles = import_react40.css`
|
|
6114
6152
|
text-decoration: none;
|
|
6115
6153
|
color: #374151;
|
|
6116
6154
|
font-weight: 500;
|
|
@@ -6126,7 +6164,7 @@ var navLinkStyles = import_react39.css`
|
|
|
6126
6164
|
outline-offset: 2px;
|
|
6127
6165
|
}
|
|
6128
6166
|
`;
|
|
6129
|
-
var avatarPlaceholderStyles =
|
|
6167
|
+
var avatarPlaceholderStyles = import_react40.css`
|
|
6130
6168
|
width: 32px;
|
|
6131
6169
|
height: 32px;
|
|
6132
6170
|
border-radius: 50%;
|
|
@@ -6228,8 +6266,8 @@ var Navigation = ({
|
|
|
6228
6266
|
var Navigation_default = Navigation;
|
|
6229
6267
|
|
|
6230
6268
|
// src/PackageCard/PackageCard.styles.ts
|
|
6231
|
-
var
|
|
6232
|
-
var cardContainerStyles3 =
|
|
6269
|
+
var import_react41 = require("@emotion/react");
|
|
6270
|
+
var cardContainerStyles3 = import_react41.css`
|
|
6233
6271
|
color: var(--text-primary);
|
|
6234
6272
|
position: relative;
|
|
6235
6273
|
width: 100%;
|
|
@@ -6246,14 +6284,14 @@ var cardContainerStyles3 = import_react40.css`
|
|
|
6246
6284
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
6247
6285
|
}
|
|
6248
6286
|
`;
|
|
6249
|
-
var imageContainerStyles =
|
|
6287
|
+
var imageContainerStyles = import_react41.css`
|
|
6250
6288
|
position: relative;
|
|
6251
6289
|
width: 100%;
|
|
6252
6290
|
height: 200px;
|
|
6253
6291
|
overflow: hidden;
|
|
6254
6292
|
border-radius: var(--spacing-4);
|
|
6255
6293
|
`;
|
|
6256
|
-
var imageStyles =
|
|
6294
|
+
var imageStyles = import_react41.css`
|
|
6257
6295
|
width: 100%;
|
|
6258
6296
|
height: 100%;
|
|
6259
6297
|
background-size: cover;
|
|
@@ -6261,13 +6299,13 @@ var imageStyles = import_react40.css`
|
|
|
6261
6299
|
background-repeat: no-repeat;
|
|
6262
6300
|
border-radius: var(--spacing-4) var(--spacing-4) 0 0;
|
|
6263
6301
|
`;
|
|
6264
|
-
var badgeStyles =
|
|
6302
|
+
var badgeStyles = import_react41.css`
|
|
6265
6303
|
position: absolute;
|
|
6266
6304
|
top: var(--spacing-3);
|
|
6267
6305
|
left: var(--spacing-3);
|
|
6268
6306
|
z-index: 2;
|
|
6269
6307
|
`;
|
|
6270
|
-
var heartIconStyles =
|
|
6308
|
+
var heartIconStyles = import_react41.css`
|
|
6271
6309
|
position: absolute;
|
|
6272
6310
|
top: var(--spacing-3);
|
|
6273
6311
|
right: var(--spacing-3);
|
|
@@ -6289,7 +6327,7 @@ var heartIconStyles = import_react40.css`
|
|
|
6289
6327
|
transform: scale(1.1);
|
|
6290
6328
|
}
|
|
6291
6329
|
`;
|
|
6292
|
-
var contentStyles2 =
|
|
6330
|
+
var contentStyles2 = import_react41.css`
|
|
6293
6331
|
padding: var(--spacing-3);
|
|
6294
6332
|
`;
|
|
6295
6333
|
|
|
@@ -6313,7 +6351,7 @@ var PackageCard = ({
|
|
|
6313
6351
|
const mainImage = images[0] || "";
|
|
6314
6352
|
return /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { css: cardContainerStyles3, className, ...rest, children: [
|
|
6315
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: [
|
|
6316
|
-
tripsLeft && /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(
|
|
6354
|
+
tripsLeft && /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(AvailabilityBadge_default, { variant: "warning", css: badgeStyles, children: [
|
|
6317
6355
|
tripsLeft,
|
|
6318
6356
|
" Trips Left"
|
|
6319
6357
|
] }),
|
|
@@ -6371,8 +6409,34 @@ var PackageCard = ({
|
|
|
6371
6409
|
};
|
|
6372
6410
|
var PackageCard_default = PackageCard;
|
|
6373
6411
|
|
|
6374
|
-
// src/
|
|
6412
|
+
// src/PackageHeader/PackageHeader.tsx
|
|
6375
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
|
+
|
|
6438
|
+
// src/StarRating/StarRating.tsx
|
|
6439
|
+
var import_jsx_runtime231 = require("@emotion/react/jsx-runtime");
|
|
6376
6440
|
var starSize = {
|
|
6377
6441
|
sm: {
|
|
6378
6442
|
size: 5,
|
|
@@ -6391,7 +6455,7 @@ var StarRating = ({
|
|
|
6391
6455
|
const stars = [];
|
|
6392
6456
|
for (let i = 1; i <= 5; i++) {
|
|
6393
6457
|
stars.push(
|
|
6394
|
-
/* @__PURE__ */ (0,
|
|
6458
|
+
/* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
|
|
6395
6459
|
Icon_default,
|
|
6396
6460
|
{
|
|
6397
6461
|
variant: "StarSolid",
|
|
@@ -6402,7 +6466,7 @@ var StarRating = ({
|
|
|
6402
6466
|
)
|
|
6403
6467
|
);
|
|
6404
6468
|
}
|
|
6405
|
-
return /* @__PURE__ */ (0,
|
|
6469
|
+
return /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(
|
|
6406
6470
|
Box_default,
|
|
6407
6471
|
{
|
|
6408
6472
|
className,
|
|
@@ -6416,7 +6480,7 @@ var StarRating = ({
|
|
|
6416
6480
|
var StarRating_default = StarRating;
|
|
6417
6481
|
|
|
6418
6482
|
// src/UserCard/UserCard.tsx
|
|
6419
|
-
var
|
|
6483
|
+
var import_jsx_runtime232 = require("@emotion/react/jsx-runtime");
|
|
6420
6484
|
var UserCard = ({
|
|
6421
6485
|
avatarSrc,
|
|
6422
6486
|
title,
|
|
@@ -6425,7 +6489,7 @@ var UserCard = ({
|
|
|
6425
6489
|
showRating = true,
|
|
6426
6490
|
className
|
|
6427
6491
|
}) => {
|
|
6428
|
-
return /* @__PURE__ */ (0,
|
|
6492
|
+
return /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)(
|
|
6429
6493
|
Box_default,
|
|
6430
6494
|
{
|
|
6431
6495
|
display: "flex",
|
|
@@ -6433,11 +6497,11 @@ var UserCard = ({
|
|
|
6433
6497
|
gap: "var(--spacing-4)",
|
|
6434
6498
|
className,
|
|
6435
6499
|
children: [
|
|
6436
|
-
/* @__PURE__ */ (0,
|
|
6437
|
-
/* @__PURE__ */ (0,
|
|
6438
|
-
/* @__PURE__ */ (0,
|
|
6439
|
-
subtitle && /* @__PURE__ */ (0,
|
|
6440
|
-
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" })
|
|
6441
6505
|
] })
|
|
6442
6506
|
]
|
|
6443
6507
|
}
|
|
@@ -6446,8 +6510,8 @@ var UserCard = ({
|
|
|
6446
6510
|
var UserCard_default = UserCard;
|
|
6447
6511
|
|
|
6448
6512
|
// src/ReviewCard/components/ReviewImages.styles.ts
|
|
6449
|
-
var
|
|
6450
|
-
var imageStyles2 =
|
|
6513
|
+
var import_react42 = require("@emotion/react");
|
|
6514
|
+
var imageStyles2 = import_react42.css`
|
|
6451
6515
|
flex: 1;
|
|
6452
6516
|
min-width: 0;
|
|
6453
6517
|
aspect-ratio: 1;
|
|
@@ -6457,13 +6521,13 @@ var imageStyles2 = import_react41.css`
|
|
|
6457
6521
|
`;
|
|
6458
6522
|
|
|
6459
6523
|
// src/ReviewCard/components/ReviewImages.tsx
|
|
6460
|
-
var
|
|
6524
|
+
var import_jsx_runtime233 = require("@emotion/react/jsx-runtime");
|
|
6461
6525
|
var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
6462
6526
|
const displayImages = images.slice(0, maxImages);
|
|
6463
6527
|
if (displayImages.length === 0) {
|
|
6464
6528
|
return null;
|
|
6465
6529
|
}
|
|
6466
|
-
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)(
|
|
6467
6531
|
"img",
|
|
6468
6532
|
{
|
|
6469
6533
|
src: image,
|
|
@@ -6476,7 +6540,7 @@ var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
|
6476
6540
|
var ReviewImages_default = ReviewImages;
|
|
6477
6541
|
|
|
6478
6542
|
// src/ReviewCard/components/ReviewReply.tsx
|
|
6479
|
-
var
|
|
6543
|
+
var import_jsx_runtime234 = require("@emotion/react/jsx-runtime");
|
|
6480
6544
|
var ReviewReply = ({
|
|
6481
6545
|
avatarSrc,
|
|
6482
6546
|
name,
|
|
@@ -6485,7 +6549,7 @@ var ReviewReply = ({
|
|
|
6485
6549
|
label,
|
|
6486
6550
|
rating
|
|
6487
6551
|
}) => {
|
|
6488
|
-
return /* @__PURE__ */ (0,
|
|
6552
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
6489
6553
|
Box_default,
|
|
6490
6554
|
{
|
|
6491
6555
|
backgroundColor: "var(--surface-neutral)",
|
|
@@ -6495,7 +6559,7 @@ var ReviewReply = ({
|
|
|
6495
6559
|
flexDirection: "column",
|
|
6496
6560
|
gap: "var(--spacing-3)",
|
|
6497
6561
|
children: [
|
|
6498
|
-
/* @__PURE__ */ (0,
|
|
6562
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
6499
6563
|
Box_default,
|
|
6500
6564
|
{
|
|
6501
6565
|
display: "flex",
|
|
@@ -6503,7 +6567,7 @@ var ReviewReply = ({
|
|
|
6503
6567
|
justifyContent: "space-between",
|
|
6504
6568
|
gap: "var(--spacing-2)",
|
|
6505
6569
|
children: [
|
|
6506
|
-
/* @__PURE__ */ (0,
|
|
6570
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
6507
6571
|
UserCard_default,
|
|
6508
6572
|
{
|
|
6509
6573
|
avatarSrc,
|
|
@@ -6512,11 +6576,11 @@ var ReviewReply = ({
|
|
|
6512
6576
|
rating
|
|
6513
6577
|
}
|
|
6514
6578
|
),
|
|
6515
|
-
/* @__PURE__ */ (0,
|
|
6579
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(AvailabilityBadge_default, { variant: "neutral", children: label })
|
|
6516
6580
|
]
|
|
6517
6581
|
}
|
|
6518
6582
|
),
|
|
6519
|
-
/* @__PURE__ */ (0,
|
|
6583
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Text_default, { children: content })
|
|
6520
6584
|
]
|
|
6521
6585
|
}
|
|
6522
6586
|
);
|
|
@@ -6524,19 +6588,19 @@ var ReviewReply = ({
|
|
|
6524
6588
|
var ReviewReply_default = ReviewReply;
|
|
6525
6589
|
|
|
6526
6590
|
// src/ReviewCard/ReviewCard.tsx
|
|
6527
|
-
var
|
|
6591
|
+
var import_jsx_runtime235 = require("@emotion/react/jsx-runtime");
|
|
6528
6592
|
var ReviewCard = ({
|
|
6529
6593
|
avatarSrc,
|
|
6530
6594
|
name,
|
|
6531
6595
|
date,
|
|
6532
6596
|
rating,
|
|
6533
|
-
|
|
6597
|
+
availabilityBadge,
|
|
6534
6598
|
content,
|
|
6535
6599
|
images = [],
|
|
6536
6600
|
replies = [],
|
|
6537
6601
|
className
|
|
6538
6602
|
}) => {
|
|
6539
|
-
return /* @__PURE__ */ (0,
|
|
6603
|
+
return /* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
|
|
6540
6604
|
Box_default,
|
|
6541
6605
|
{
|
|
6542
6606
|
backgroundColor: "white",
|
|
@@ -6548,7 +6612,7 @@ var ReviewCard = ({
|
|
|
6548
6612
|
border: "1px solid var(--color-neutral-200)",
|
|
6549
6613
|
className,
|
|
6550
6614
|
children: [
|
|
6551
|
-
/* @__PURE__ */ (0,
|
|
6615
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsx)(
|
|
6552
6616
|
UserCard_default,
|
|
6553
6617
|
{
|
|
6554
6618
|
avatarSrc,
|
|
@@ -6557,10 +6621,10 @@ var ReviewCard = ({
|
|
|
6557
6621
|
rating
|
|
6558
6622
|
}
|
|
6559
6623
|
),
|
|
6560
|
-
|
|
6561
|
-
/* @__PURE__ */ (0,
|
|
6562
|
-
images.length > 0 && /* @__PURE__ */ (0,
|
|
6563
|
-
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)(
|
|
6564
6628
|
ReviewReply_default,
|
|
6565
6629
|
{
|
|
6566
6630
|
avatarSrc: reply.avatarSrc,
|
|
@@ -6579,9 +6643,9 @@ var ReviewCard = ({
|
|
|
6579
6643
|
var ReviewCard_default = ReviewCard;
|
|
6580
6644
|
|
|
6581
6645
|
// src/Reviews/components/ReviewItem.tsx
|
|
6582
|
-
var
|
|
6646
|
+
var import_jsx_runtime236 = require("@emotion/react/jsx-runtime");
|
|
6583
6647
|
var ReviewItem = ({ label, rating }) => {
|
|
6584
|
-
return /* @__PURE__ */ (0,
|
|
6648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
|
|
6585
6649
|
Box_default,
|
|
6586
6650
|
{
|
|
6587
6651
|
display: "flex",
|
|
@@ -6589,10 +6653,10 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
6589
6653
|
alignItems: "center",
|
|
6590
6654
|
width: "100%",
|
|
6591
6655
|
children: [
|
|
6592
|
-
/* @__PURE__ */ (0,
|
|
6593
|
-
/* @__PURE__ */ (0,
|
|
6594
|
-
/* @__PURE__ */ (0,
|
|
6595
|
-
/* @__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: [
|
|
6596
6660
|
rating,
|
|
6597
6661
|
"/5"
|
|
6598
6662
|
] })
|
|
@@ -6604,14 +6668,14 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
6604
6668
|
var ReviewItem_default = ReviewItem;
|
|
6605
6669
|
|
|
6606
6670
|
// src/Reviews/Reviews.tsx
|
|
6607
|
-
var
|
|
6671
|
+
var import_jsx_runtime237 = require("@emotion/react/jsx-runtime");
|
|
6608
6672
|
var Reviews = ({
|
|
6609
6673
|
averageRating,
|
|
6610
6674
|
totalReviews,
|
|
6611
6675
|
items,
|
|
6612
6676
|
className
|
|
6613
6677
|
}) => {
|
|
6614
|
-
return /* @__PURE__ */ (0,
|
|
6678
|
+
return /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
|
|
6615
6679
|
Box_default,
|
|
6616
6680
|
{
|
|
6617
6681
|
width: "100%",
|
|
@@ -6624,7 +6688,7 @@ var Reviews = ({
|
|
|
6624
6688
|
p: "var(--spacing-4)",
|
|
6625
6689
|
className,
|
|
6626
6690
|
children: [
|
|
6627
|
-
/* @__PURE__ */ (0,
|
|
6691
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
|
|
6628
6692
|
Box_default,
|
|
6629
6693
|
{
|
|
6630
6694
|
display: "flex",
|
|
@@ -6632,9 +6696,9 @@ var Reviews = ({
|
|
|
6632
6696
|
alignItems: "center",
|
|
6633
6697
|
gap: "var(--spacing-2)",
|
|
6634
6698
|
children: [
|
|
6635
|
-
/* @__PURE__ */ (0,
|
|
6636
|
-
/* @__PURE__ */ (0,
|
|
6637
|
-
/* @__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: [
|
|
6638
6702
|
"Overall Rating \u2022 ",
|
|
6639
6703
|
totalReviews,
|
|
6640
6704
|
" Review",
|
|
@@ -6643,14 +6707,14 @@ var Reviews = ({
|
|
|
6643
6707
|
]
|
|
6644
6708
|
}
|
|
6645
6709
|
),
|
|
6646
|
-
/* @__PURE__ */ (0,
|
|
6710
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
|
|
6647
6711
|
Box_default,
|
|
6648
6712
|
{
|
|
6649
6713
|
display: "flex",
|
|
6650
6714
|
flexDirection: "column",
|
|
6651
6715
|
gap: "var(--spacing-2)",
|
|
6652
6716
|
width: "100%",
|
|
6653
|
-
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))
|
|
6654
6718
|
}
|
|
6655
6719
|
)
|
|
6656
6720
|
]
|
|
@@ -6660,7 +6724,7 @@ var Reviews = ({
|
|
|
6660
6724
|
var Reviews_default = Reviews;
|
|
6661
6725
|
|
|
6662
6726
|
// src/Reviews/ReviewsShowcase.tsx
|
|
6663
|
-
var
|
|
6727
|
+
var import_jsx_runtime238 = require("@emotion/react/jsx-runtime");
|
|
6664
6728
|
var ReviewsShowcase = () => {
|
|
6665
6729
|
const sampleData = {
|
|
6666
6730
|
averageRating: 4,
|
|
@@ -6682,7 +6746,7 @@ var ReviewsShowcase = () => {
|
|
|
6682
6746
|
{ label: "Game Abundance", rating: 5 }
|
|
6683
6747
|
]
|
|
6684
6748
|
};
|
|
6685
|
-
return /* @__PURE__ */ (0,
|
|
6749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime238.jsxs)(
|
|
6686
6750
|
Box_default,
|
|
6687
6751
|
{
|
|
6688
6752
|
display: "flex",
|
|
@@ -6690,24 +6754,24 @@ var ReviewsShowcase = () => {
|
|
|
6690
6754
|
gap: "var(--spacing-8)",
|
|
6691
6755
|
p: "var(--spacing-6)",
|
|
6692
6756
|
children: [
|
|
6693
|
-
/* @__PURE__ */ (0,
|
|
6694
|
-
/* @__PURE__ */ (0,
|
|
6695
|
-
/* @__PURE__ */ (0,
|
|
6696
|
-
/* @__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 }) })
|
|
6697
6761
|
] }),
|
|
6698
|
-
/* @__PURE__ */ (0,
|
|
6699
|
-
/* @__PURE__ */ (0,
|
|
6700
|
-
/* @__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 }) })
|
|
6701
6765
|
] }),
|
|
6702
|
-
/* @__PURE__ */ (0,
|
|
6703
|
-
/* @__PURE__ */ (0,
|
|
6704
|
-
/* @__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)(
|
|
6705
6769
|
Box_default,
|
|
6706
6770
|
{
|
|
6707
6771
|
maxWidth: "320px",
|
|
6708
6772
|
border: "1px solid var(--color-neutral-200)",
|
|
6709
6773
|
p: "var(--spacing-4)",
|
|
6710
|
-
children: /* @__PURE__ */ (0,
|
|
6774
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime238.jsx)(Reviews_default, { ...sampleData })
|
|
6711
6775
|
}
|
|
6712
6776
|
)
|
|
6713
6777
|
] })
|
|
@@ -6719,7 +6783,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6719
6783
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6720
6784
|
0 && (module.exports = {
|
|
6721
6785
|
AIResponse,
|
|
6722
|
-
|
|
6786
|
+
AvailabilityBadge,
|
|
6723
6787
|
Avatar,
|
|
6724
6788
|
Box,
|
|
6725
6789
|
Button,
|
|
@@ -6745,6 +6809,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6745
6809
|
MessageBubble,
|
|
6746
6810
|
Navigation,
|
|
6747
6811
|
PackageCard,
|
|
6812
|
+
PackageHeader,
|
|
6748
6813
|
ReviewCard,
|
|
6749
6814
|
Reviews,
|
|
6750
6815
|
ReviewsShowcase,
|