@landtrustinc/design-system 1.1.6 → 1.1.7
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 +59 -1
- package/dist/index.js +261 -167
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -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,
|
|
@@ -4650,6 +4652,58 @@ var ChatWidget = ({
|
|
|
4650
4652
|
};
|
|
4651
4653
|
var ChatWidget_default = ChatWidget;
|
|
4652
4654
|
|
|
4655
|
+
// src/FeatureList/components/FeatureListItem.tsx
|
|
4656
|
+
var import_jsx_runtime210 = require("@emotion/react/jsx-runtime");
|
|
4657
|
+
var FeatureListItem = ({
|
|
4658
|
+
variant,
|
|
4659
|
+
label,
|
|
4660
|
+
subtitle,
|
|
4661
|
+
iconSize = 5,
|
|
4662
|
+
className,
|
|
4663
|
+
...rest
|
|
4664
|
+
}) => {
|
|
4665
|
+
return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(Box_default, { display: "flex", flexDirection: "column", color: "var(--text-primary)", children: [
|
|
4666
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(
|
|
4667
|
+
Box_default,
|
|
4668
|
+
{
|
|
4669
|
+
display: "flex",
|
|
4670
|
+
alignItems: "center",
|
|
4671
|
+
gap: "var(--spacing-3)",
|
|
4672
|
+
className,
|
|
4673
|
+
...rest,
|
|
4674
|
+
children: [
|
|
4675
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Icon_default, { variant, size: iconSize }),
|
|
4676
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Text_default, { fontWeight: "semibold", children: label })
|
|
4677
|
+
]
|
|
4678
|
+
}
|
|
4679
|
+
),
|
|
4680
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-2)", children: [
|
|
4681
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Box_default, { width: "24px" }),
|
|
4682
|
+
/* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Text_default, { size: "sm", children: subtitle })
|
|
4683
|
+
] })
|
|
4684
|
+
] });
|
|
4685
|
+
};
|
|
4686
|
+
var FeatureListItem_default = FeatureListItem;
|
|
4687
|
+
|
|
4688
|
+
// src/FeatureList/FeatureList.tsx
|
|
4689
|
+
var import_jsx_runtime211 = require("@emotion/react/jsx-runtime");
|
|
4690
|
+
var FeatureList = ({ heading, items, className }) => {
|
|
4691
|
+
return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)(
|
|
4692
|
+
Box_default,
|
|
4693
|
+
{
|
|
4694
|
+
display: "flex",
|
|
4695
|
+
flexDirection: "column",
|
|
4696
|
+
gap: "var(--spacing-2)",
|
|
4697
|
+
className,
|
|
4698
|
+
children: [
|
|
4699
|
+
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.variant}-${index}`)) })
|
|
4701
|
+
]
|
|
4702
|
+
}
|
|
4703
|
+
);
|
|
4704
|
+
};
|
|
4705
|
+
var FeatureList_default = FeatureList;
|
|
4706
|
+
|
|
4653
4707
|
// src/FieldNoteCard/FieldNoteCard.styles.ts
|
|
4654
4708
|
var import_react24 = require("@emotion/react");
|
|
4655
4709
|
var cardContainerStyles = import_react24.css`
|
|
@@ -4679,7 +4733,7 @@ var getBackgroundWithGradient = (imageUrl) => import_react24.css`
|
|
|
4679
4733
|
`;
|
|
4680
4734
|
|
|
4681
4735
|
// src/FieldNoteCard/FieldNoteCard.tsx
|
|
4682
|
-
var
|
|
4736
|
+
var import_jsx_runtime212 = require("@emotion/react/jsx-runtime");
|
|
4683
4737
|
var FieldNoteCard = ({
|
|
4684
4738
|
backgroundImage,
|
|
4685
4739
|
title,
|
|
@@ -4688,14 +4742,14 @@ var FieldNoteCard = ({
|
|
|
4688
4742
|
className,
|
|
4689
4743
|
...rest
|
|
4690
4744
|
}) => {
|
|
4691
|
-
return /* @__PURE__ */ (0,
|
|
4745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
|
|
4692
4746
|
Box_default,
|
|
4693
4747
|
{
|
|
4694
4748
|
display: "flex",
|
|
4695
4749
|
css: cardContainerStyles,
|
|
4696
4750
|
className,
|
|
4697
4751
|
...rest,
|
|
4698
|
-
children: /* @__PURE__ */ (0,
|
|
4752
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
|
|
4699
4753
|
Box_default,
|
|
4700
4754
|
{
|
|
4701
4755
|
display: "flex",
|
|
@@ -4703,9 +4757,9 @@ var FieldNoteCard = ({
|
|
|
4703
4757
|
justifyContent: "flex-end",
|
|
4704
4758
|
p: 6,
|
|
4705
4759
|
css: [cardContentStyles, getBackgroundWithGradient(backgroundImage)],
|
|
4706
|
-
children: /* @__PURE__ */ (0,
|
|
4707
|
-
/* @__PURE__ */ (0,
|
|
4708
|
-
/* @__PURE__ */ (0,
|
|
4760
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: 6, children: [
|
|
4761
|
+
/* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Heading_default, { size: "sm", color: "white", textAlign: "left", children: title }),
|
|
4762
|
+
/* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Button_default, { variant: "primary", onClick, children: buttonLabel })
|
|
4709
4763
|
] })
|
|
4710
4764
|
}
|
|
4711
4765
|
)
|
|
@@ -4716,7 +4770,7 @@ var FieldNoteCard_default = FieldNoteCard;
|
|
|
4716
4770
|
|
|
4717
4771
|
// src/Form/FormField.tsx
|
|
4718
4772
|
var import_react25 = require("@emotion/react");
|
|
4719
|
-
var
|
|
4773
|
+
var import_jsx_runtime213 = require("@emotion/react/jsx-runtime");
|
|
4720
4774
|
var fieldContainerStyles = import_react25.css`
|
|
4721
4775
|
display: flex;
|
|
4722
4776
|
flex-direction: column;
|
|
@@ -4783,21 +4837,21 @@ var FormField = ({
|
|
|
4783
4837
|
const hasError = !!error;
|
|
4784
4838
|
const hasSuccess = !!success && !hasError;
|
|
4785
4839
|
const hasHelpText = !!helpText && !hasError && !hasSuccess;
|
|
4786
|
-
return /* @__PURE__ */ (0,
|
|
4787
|
-
label && /* @__PURE__ */ (0,
|
|
4840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { css: fieldContainerStyles, className, children: [
|
|
4841
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(
|
|
4788
4842
|
"label",
|
|
4789
4843
|
{
|
|
4790
4844
|
htmlFor,
|
|
4791
4845
|
css: [labelStyles2, hideLabel && visuallyHiddenStyles],
|
|
4792
4846
|
children: [
|
|
4793
4847
|
label,
|
|
4794
|
-
required && /* @__PURE__ */ (0,
|
|
4848
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("span", { css: requiredIndicatorStyles, "aria-label": "required", children: "*" })
|
|
4795
4849
|
]
|
|
4796
4850
|
}
|
|
4797
4851
|
),
|
|
4798
4852
|
children,
|
|
4799
|
-
hasError && /* @__PURE__ */ (0,
|
|
4800
|
-
/* @__PURE__ */ (0,
|
|
4853
|
+
hasError && /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { css: errorTextStyles, role: "alert", children: [
|
|
4854
|
+
/* @__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
4855
|
"path",
|
|
4802
4856
|
{
|
|
4803
4857
|
fillRule: "evenodd",
|
|
@@ -4807,8 +4861,8 @@ var FormField = ({
|
|
|
4807
4861
|
) }),
|
|
4808
4862
|
error
|
|
4809
4863
|
] }),
|
|
4810
|
-
hasSuccess && /* @__PURE__ */ (0,
|
|
4811
|
-
/* @__PURE__ */ (0,
|
|
4864
|
+
hasSuccess && /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { css: successTextStyles, children: [
|
|
4865
|
+
/* @__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
4866
|
"path",
|
|
4813
4867
|
{
|
|
4814
4868
|
fillRule: "evenodd",
|
|
@@ -4818,14 +4872,14 @@ var FormField = ({
|
|
|
4818
4872
|
) }),
|
|
4819
4873
|
success
|
|
4820
4874
|
] }),
|
|
4821
|
-
hasHelpText && /* @__PURE__ */ (0,
|
|
4875
|
+
hasHelpText && /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("div", { css: helpTextStyles, children: helpText })
|
|
4822
4876
|
] });
|
|
4823
4877
|
};
|
|
4824
4878
|
|
|
4825
4879
|
// src/Form/Input.tsx
|
|
4826
4880
|
var import_react26 = require("@emotion/react");
|
|
4827
4881
|
var import_react27 = require("react");
|
|
4828
|
-
var
|
|
4882
|
+
var import_jsx_runtime214 = require("@emotion/react/jsx-runtime");
|
|
4829
4883
|
var inputStyles = import_react26.css`
|
|
4830
4884
|
position: relative;
|
|
4831
4885
|
width: 100%;
|
|
@@ -4955,9 +5009,9 @@ var Input = (0, import_react27.forwardRef)(
|
|
|
4955
5009
|
hasEndIcon && "has-end-icon",
|
|
4956
5010
|
className
|
|
4957
5011
|
].filter(Boolean).join(" ");
|
|
4958
|
-
return /* @__PURE__ */ (0,
|
|
4959
|
-
hasStartIcon && /* @__PURE__ */ (0,
|
|
4960
|
-
/* @__PURE__ */ (0,
|
|
5012
|
+
return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { css: inputWrapperStyles, children: [
|
|
5013
|
+
hasStartIcon && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { css: startIconStyles, children: startIcon }),
|
|
5014
|
+
/* @__PURE__ */ (0, import_jsx_runtime214.jsx)(
|
|
4961
5015
|
"input",
|
|
4962
5016
|
{
|
|
4963
5017
|
ref,
|
|
@@ -4974,7 +5028,7 @@ var Input = (0, import_react27.forwardRef)(
|
|
|
4974
5028
|
...props
|
|
4975
5029
|
}
|
|
4976
5030
|
),
|
|
4977
|
-
hasEndIcon && /* @__PURE__ */ (0,
|
|
5031
|
+
hasEndIcon && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { css: endIconStyles, children: endIcon })
|
|
4978
5032
|
] });
|
|
4979
5033
|
}
|
|
4980
5034
|
);
|
|
@@ -4983,7 +5037,7 @@ Input.displayName = "Input";
|
|
|
4983
5037
|
// src/Form/Select.tsx
|
|
4984
5038
|
var import_react28 = require("@emotion/react");
|
|
4985
5039
|
var import_react29 = require("react");
|
|
4986
|
-
var
|
|
5040
|
+
var import_jsx_runtime215 = require("@emotion/react/jsx-runtime");
|
|
4987
5041
|
var selectStyles = import_react28.css`
|
|
4988
5042
|
position: relative;
|
|
4989
5043
|
width: 100%;
|
|
@@ -5080,7 +5134,7 @@ var Select = (0, import_react29.forwardRef)(
|
|
|
5080
5134
|
className = "",
|
|
5081
5135
|
...props
|
|
5082
5136
|
}, ref) => {
|
|
5083
|
-
return /* @__PURE__ */ (0,
|
|
5137
|
+
return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(
|
|
5084
5138
|
"select",
|
|
5085
5139
|
{
|
|
5086
5140
|
ref,
|
|
@@ -5089,8 +5143,8 @@ var Select = (0, import_react29.forwardRef)(
|
|
|
5089
5143
|
className,
|
|
5090
5144
|
...props,
|
|
5091
5145
|
children: [
|
|
5092
|
-
placeholderOption && /* @__PURE__ */ (0,
|
|
5093
|
-
options.map((option) => /* @__PURE__ */ (0,
|
|
5146
|
+
placeholderOption && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("option", { value: "", disabled: true, css: optionStyles, children: placeholderOption }),
|
|
5147
|
+
options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(
|
|
5094
5148
|
"option",
|
|
5095
5149
|
{
|
|
5096
5150
|
value: option.value,
|
|
@@ -5348,7 +5402,7 @@ var generateJustifyItems = (justifyItems) => {
|
|
|
5348
5402
|
};
|
|
5349
5403
|
|
|
5350
5404
|
// src/Grid/Column.tsx
|
|
5351
|
-
var
|
|
5405
|
+
var import_jsx_runtime216 = require("@emotion/react/jsx-runtime");
|
|
5352
5406
|
var Column = ({
|
|
5353
5407
|
span,
|
|
5354
5408
|
start,
|
|
@@ -5377,13 +5431,13 @@ var Column = ({
|
|
|
5377
5431
|
grid-area: ${area};
|
|
5378
5432
|
`
|
|
5379
5433
|
].filter(Boolean);
|
|
5380
|
-
return /* @__PURE__ */ (0,
|
|
5434
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Box_default, { css: columnStyles, ...props, children });
|
|
5381
5435
|
};
|
|
5382
5436
|
var Column_default = Column;
|
|
5383
5437
|
|
|
5384
5438
|
// src/Grid/Grid.tsx
|
|
5385
5439
|
var import_react32 = require("@emotion/react");
|
|
5386
|
-
var
|
|
5440
|
+
var import_jsx_runtime217 = require("@emotion/react/jsx-runtime");
|
|
5387
5441
|
var baseGridStyles = import_react32.css`
|
|
5388
5442
|
display: grid;
|
|
5389
5443
|
`;
|
|
@@ -5422,13 +5476,13 @@ var Grid = ({
|
|
|
5422
5476
|
justify-content: ${typeof justifyContent === "string" ? justifyContent : justifyContent._};
|
|
5423
5477
|
`
|
|
5424
5478
|
].filter(Boolean);
|
|
5425
|
-
return /* @__PURE__ */ (0,
|
|
5479
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { css: gridStyles, ...props, children });
|
|
5426
5480
|
};
|
|
5427
5481
|
var Grid_default = Grid;
|
|
5428
5482
|
|
|
5429
5483
|
// src/Grid/GridContainer.tsx
|
|
5430
5484
|
var import_react33 = require("@emotion/react");
|
|
5431
|
-
var
|
|
5485
|
+
var import_jsx_runtime218 = require("@emotion/react/jsx-runtime");
|
|
5432
5486
|
var baseContainerStyles = import_react33.css`
|
|
5433
5487
|
width: 100%;
|
|
5434
5488
|
margin: 0 auto;
|
|
@@ -5473,7 +5527,7 @@ var GridContainer = ({
|
|
|
5473
5527
|
baseContainerStyles,
|
|
5474
5528
|
generateMaxWidthStyles(maxWidth)
|
|
5475
5529
|
];
|
|
5476
|
-
return /* @__PURE__ */ (0,
|
|
5530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Box_default, { css: containerStyles4, className, ...props, children });
|
|
5477
5531
|
};
|
|
5478
5532
|
var GridContainer_default = GridContainer;
|
|
5479
5533
|
|
|
@@ -5506,7 +5560,7 @@ var getBackgroundWithGradient2 = (imageUrl) => import_react34.css`
|
|
|
5506
5560
|
`;
|
|
5507
5561
|
|
|
5508
5562
|
// src/HuntCard/HuntCard.tsx
|
|
5509
|
-
var
|
|
5563
|
+
var import_jsx_runtime219 = require("@emotion/react/jsx-runtime");
|
|
5510
5564
|
var HuntCard = ({
|
|
5511
5565
|
backgroundImage,
|
|
5512
5566
|
title,
|
|
@@ -5515,14 +5569,14 @@ var HuntCard = ({
|
|
|
5515
5569
|
className,
|
|
5516
5570
|
...rest
|
|
5517
5571
|
}) => {
|
|
5518
|
-
return /* @__PURE__ */ (0,
|
|
5572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
|
|
5519
5573
|
Box_default,
|
|
5520
5574
|
{
|
|
5521
5575
|
display: "flex",
|
|
5522
5576
|
css: cardContainerStyles2,
|
|
5523
5577
|
className,
|
|
5524
5578
|
...rest,
|
|
5525
|
-
children: /* @__PURE__ */ (0,
|
|
5579
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
|
|
5526
5580
|
Box_default,
|
|
5527
5581
|
{
|
|
5528
5582
|
display: "flex",
|
|
@@ -5530,9 +5584,9 @@ var HuntCard = ({
|
|
|
5530
5584
|
justifyContent: "flex-end",
|
|
5531
5585
|
p: 6,
|
|
5532
5586
|
css: [cardContentStyles2, getBackgroundWithGradient2(backgroundImage)],
|
|
5533
|
-
children: /* @__PURE__ */ (0,
|
|
5534
|
-
/* @__PURE__ */ (0,
|
|
5535
|
-
/* @__PURE__ */ (0,
|
|
5587
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: 6, children: [
|
|
5588
|
+
/* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Heading_default, { size: "sm", color: "white", textAlign: "left", children: title }),
|
|
5589
|
+
/* @__PURE__ */ (0, import_jsx_runtime219.jsx)(Button_default, { variant: "primary", onClick, children: buttonLabel })
|
|
5536
5590
|
] })
|
|
5537
5591
|
}
|
|
5538
5592
|
)
|
|
@@ -5541,6 +5595,44 @@ var HuntCard = ({
|
|
|
5541
5595
|
};
|
|
5542
5596
|
var HuntCard_default = HuntCard;
|
|
5543
5597
|
|
|
5598
|
+
// src/InfoBox/InfoBox.tsx
|
|
5599
|
+
var import_jsx_runtime220 = require("@emotion/react/jsx-runtime");
|
|
5600
|
+
var InfoBox = ({ heading, features, className }) => {
|
|
5601
|
+
return /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)(
|
|
5602
|
+
Box_default,
|
|
5603
|
+
{
|
|
5604
|
+
display: "flex",
|
|
5605
|
+
flexDirection: "column",
|
|
5606
|
+
gap: "var(--spacing-3)",
|
|
5607
|
+
className,
|
|
5608
|
+
children: [
|
|
5609
|
+
/* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Text_default, { fontWeight: "bold", children: heading }),
|
|
5610
|
+
/* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
5611
|
+
Box_default,
|
|
5612
|
+
{
|
|
5613
|
+
display: "flex",
|
|
5614
|
+
flexDirection: "column",
|
|
5615
|
+
gap: "var(--spacing-5)",
|
|
5616
|
+
p: "var(--spacing-4)",
|
|
5617
|
+
borderRadius: "var(--radius-lg)",
|
|
5618
|
+
bg: "var(--surface-neutral)",
|
|
5619
|
+
className,
|
|
5620
|
+
children: features.map((section, index) => /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(
|
|
5621
|
+
FeatureList_default,
|
|
5622
|
+
{
|
|
5623
|
+
heading: section.heading,
|
|
5624
|
+
items: section.items
|
|
5625
|
+
},
|
|
5626
|
+
`${section.heading || "section"}-${index}`
|
|
5627
|
+
))
|
|
5628
|
+
}
|
|
5629
|
+
)
|
|
5630
|
+
]
|
|
5631
|
+
}
|
|
5632
|
+
);
|
|
5633
|
+
};
|
|
5634
|
+
var InfoBox_default = InfoBox;
|
|
5635
|
+
|
|
5544
5636
|
// src/ListingChat/ListingChat.tsx
|
|
5545
5637
|
var import_react37 = require("react");
|
|
5546
5638
|
|
|
@@ -5570,14 +5662,14 @@ var tagChipVariantStyles = {
|
|
|
5570
5662
|
};
|
|
5571
5663
|
|
|
5572
5664
|
// src/TagChip/TagChip.tsx
|
|
5573
|
-
var
|
|
5665
|
+
var import_jsx_runtime221 = require("@emotion/react/jsx-runtime");
|
|
5574
5666
|
var TagChip = ({
|
|
5575
5667
|
variant = "primary",
|
|
5576
5668
|
className,
|
|
5577
5669
|
children,
|
|
5578
5670
|
...rest
|
|
5579
5671
|
}) => {
|
|
5580
|
-
return /* @__PURE__ */ (0,
|
|
5672
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
5581
5673
|
Box_default,
|
|
5582
5674
|
{
|
|
5583
5675
|
display: "inline-flex",
|
|
@@ -5588,7 +5680,7 @@ var TagChip = ({
|
|
|
5588
5680
|
css: tagChipVariantStyles[variant],
|
|
5589
5681
|
className,
|
|
5590
5682
|
...rest,
|
|
5591
|
-
children: /* @__PURE__ */ (0,
|
|
5683
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Text_default, { as: "span", size: "sm", fontWeight: "normal", children })
|
|
5592
5684
|
}
|
|
5593
5685
|
);
|
|
5594
5686
|
};
|
|
@@ -5631,7 +5723,7 @@ var inputWrapperStyles2 = import_react36.css`
|
|
|
5631
5723
|
`;
|
|
5632
5724
|
|
|
5633
5725
|
// src/ListingChat/ListingChat.tsx
|
|
5634
|
-
var
|
|
5726
|
+
var import_jsx_runtime222 = require("@emotion/react/jsx-runtime");
|
|
5635
5727
|
var ListingChat = ({
|
|
5636
5728
|
onSubmit,
|
|
5637
5729
|
placeholder = "Ask anything about this listing\u2026",
|
|
@@ -5658,18 +5750,18 @@ var ListingChat = ({
|
|
|
5658
5750
|
},
|
|
5659
5751
|
[onSubmit]
|
|
5660
5752
|
);
|
|
5661
|
-
return /* @__PURE__ */ (0,
|
|
5662
|
-
/* @__PURE__ */ (0,
|
|
5663
|
-
/* @__PURE__ */ (0,
|
|
5664
|
-
/* @__PURE__ */ (0,
|
|
5665
|
-
/* @__PURE__ */ (0,
|
|
5753
|
+
return /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Box_default, { css: containerStyles2, className, ...rest, children: [
|
|
5754
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Box_default, { css: headerStyles, children: [
|
|
5755
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Box_default, { children: [
|
|
5756
|
+
/* @__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 }) }),
|
|
5757
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Text_default, { size: "md", children: "Get instant answers with Buck, our AI powered assistant." })
|
|
5666
5758
|
] }),
|
|
5667
|
-
/* @__PURE__ */ (0,
|
|
5668
|
-
/* @__PURE__ */ (0,
|
|
5669
|
-
/* @__PURE__ */ (0,
|
|
5759
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-1)", children: [
|
|
5760
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Icon_default, { variant: "AiMagic", size: 5 }),
|
|
5761
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Text_default, { size: "sm", children: "Beta" })
|
|
5670
5762
|
] })
|
|
5671
5763
|
] }),
|
|
5672
|
-
/* @__PURE__ */ (0,
|
|
5764
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Box_default, { css: inputWrapperStyles2, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
5673
5765
|
TextArea,
|
|
5674
5766
|
{
|
|
5675
5767
|
rows: 1,
|
|
@@ -5684,14 +5776,14 @@ var ListingChat = ({
|
|
|
5684
5776
|
css: textAreaStyles
|
|
5685
5777
|
}
|
|
5686
5778
|
) }),
|
|
5687
|
-
tags.length > 0 && /* @__PURE__ */ (0,
|
|
5688
|
-
/* @__PURE__ */ (0,
|
|
5689
|
-
/* @__PURE__ */ (0,
|
|
5779
|
+
tags.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)(import_jsx_runtime222.Fragment, { children: [
|
|
5780
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Text_default, { as: "div", size: "sm", fontWeight: "bold", children: "Try one of these" }),
|
|
5781
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Box_default, { css: chipsContainerStyles, children: tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
5690
5782
|
"button",
|
|
5691
5783
|
{
|
|
5692
5784
|
onClick: handleTagClick(tag),
|
|
5693
5785
|
disabled,
|
|
5694
|
-
children: /* @__PURE__ */ (0,
|
|
5786
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(TagChip_default, { children: tag })
|
|
5695
5787
|
},
|
|
5696
5788
|
tag
|
|
5697
5789
|
)) })
|
|
@@ -5704,8 +5796,8 @@ var ListingChat_default = ListingChat;
|
|
|
5704
5796
|
var import_react38 = require("@emotion/react");
|
|
5705
5797
|
|
|
5706
5798
|
// src/Logo/components/LandtrustPlusDark.tsx
|
|
5707
|
-
var
|
|
5708
|
-
var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0,
|
|
5799
|
+
var import_jsx_runtime223 = require("@emotion/react/jsx-runtime");
|
|
5800
|
+
var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(
|
|
5709
5801
|
"svg",
|
|
5710
5802
|
{
|
|
5711
5803
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5713,14 +5805,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5713
5805
|
fill: "none",
|
|
5714
5806
|
...props,
|
|
5715
5807
|
children: [
|
|
5716
|
-
/* @__PURE__ */ (0,
|
|
5808
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("g", { filter: "url(#landtrust-plus-dark_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5717
5809
|
"path",
|
|
5718
5810
|
{
|
|
5719
5811
|
fill: "#000",
|
|
5720
5812
|
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
5813
|
}
|
|
5722
5814
|
) }),
|
|
5723
|
-
/* @__PURE__ */ (0,
|
|
5815
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5724
5816
|
"path",
|
|
5725
5817
|
{
|
|
5726
5818
|
fill: "#FAD44E",
|
|
@@ -5729,14 +5821,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5729
5821
|
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
5822
|
}
|
|
5731
5823
|
),
|
|
5732
|
-
/* @__PURE__ */ (0,
|
|
5824
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5733
5825
|
"path",
|
|
5734
5826
|
{
|
|
5735
5827
|
fill: "#fff",
|
|
5736
5828
|
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
5829
|
}
|
|
5738
5830
|
),
|
|
5739
|
-
/* @__PURE__ */ (0,
|
|
5831
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(
|
|
5740
5832
|
"filter",
|
|
5741
5833
|
{
|
|
5742
5834
|
id: "landtrust-plus-dark_svg__a",
|
|
@@ -5747,8 +5839,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5747
5839
|
colorInterpolationFilters: "sRGB",
|
|
5748
5840
|
filterUnits: "userSpaceOnUse",
|
|
5749
5841
|
children: [
|
|
5750
|
-
/* @__PURE__ */ (0,
|
|
5751
|
-
/* @__PURE__ */ (0,
|
|
5842
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
5843
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5752
5844
|
"feColorMatrix",
|
|
5753
5845
|
{
|
|
5754
5846
|
in: "SourceAlpha",
|
|
@@ -5756,18 +5848,18 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5756
5848
|
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
5757
5849
|
}
|
|
5758
5850
|
),
|
|
5759
|
-
/* @__PURE__ */ (0,
|
|
5760
|
-
/* @__PURE__ */ (0,
|
|
5761
|
-
/* @__PURE__ */ (0,
|
|
5762
|
-
/* @__PURE__ */ (0,
|
|
5763
|
-
/* @__PURE__ */ (0,
|
|
5851
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feOffset", { dy: 1 }),
|
|
5852
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
5853
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
5854
|
+
/* @__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" }),
|
|
5855
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5764
5856
|
"feBlend",
|
|
5765
5857
|
{
|
|
5766
5858
|
in2: "BackgroundImageFix",
|
|
5767
5859
|
result: "effect1_dropShadow_257_2540"
|
|
5768
5860
|
}
|
|
5769
5861
|
),
|
|
5770
|
-
/* @__PURE__ */ (0,
|
|
5862
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5771
5863
|
"feBlend",
|
|
5772
5864
|
{
|
|
5773
5865
|
in: "SourceGraphic",
|
|
@@ -5784,8 +5876,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime220.
|
|
|
5784
5876
|
var LandtrustPlusDark_default = SvgLandtrustPlusDark;
|
|
5785
5877
|
|
|
5786
5878
|
// src/Logo/components/LandtrustPlusLight.tsx
|
|
5787
|
-
var
|
|
5788
|
-
var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0,
|
|
5879
|
+
var import_jsx_runtime224 = require("@emotion/react/jsx-runtime");
|
|
5880
|
+
var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
|
|
5789
5881
|
"svg",
|
|
5790
5882
|
{
|
|
5791
5883
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5793,14 +5885,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5793
5885
|
fill: "none",
|
|
5794
5886
|
...props,
|
|
5795
5887
|
children: [
|
|
5796
|
-
/* @__PURE__ */ (0,
|
|
5888
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("g", { filter: "url(#landtrust-plus-light_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5797
5889
|
"path",
|
|
5798
5890
|
{
|
|
5799
5891
|
fill: "#000",
|
|
5800
5892
|
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
5893
|
}
|
|
5802
5894
|
) }),
|
|
5803
|
-
/* @__PURE__ */ (0,
|
|
5895
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5804
5896
|
"path",
|
|
5805
5897
|
{
|
|
5806
5898
|
fill: "#FAD44E",
|
|
@@ -5809,14 +5901,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5809
5901
|
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
5902
|
}
|
|
5811
5903
|
),
|
|
5812
|
-
/* @__PURE__ */ (0,
|
|
5904
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5813
5905
|
"path",
|
|
5814
5906
|
{
|
|
5815
5907
|
fill: "#1A202C",
|
|
5816
5908
|
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
5909
|
}
|
|
5818
5910
|
),
|
|
5819
|
-
/* @__PURE__ */ (0,
|
|
5911
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
|
|
5820
5912
|
"filter",
|
|
5821
5913
|
{
|
|
5822
5914
|
id: "landtrust-plus-light_svg__a",
|
|
@@ -5827,8 +5919,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5827
5919
|
colorInterpolationFilters: "sRGB",
|
|
5828
5920
|
filterUnits: "userSpaceOnUse",
|
|
5829
5921
|
children: [
|
|
5830
|
-
/* @__PURE__ */ (0,
|
|
5831
|
-
/* @__PURE__ */ (0,
|
|
5922
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
5923
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5832
5924
|
"feColorMatrix",
|
|
5833
5925
|
{
|
|
5834
5926
|
in: "SourceAlpha",
|
|
@@ -5836,18 +5928,18 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5836
5928
|
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
5837
5929
|
}
|
|
5838
5930
|
),
|
|
5839
|
-
/* @__PURE__ */ (0,
|
|
5840
|
-
/* @__PURE__ */ (0,
|
|
5841
|
-
/* @__PURE__ */ (0,
|
|
5842
|
-
/* @__PURE__ */ (0,
|
|
5843
|
-
/* @__PURE__ */ (0,
|
|
5931
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feOffset", { dy: 1 }),
|
|
5932
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feGaussianBlur", { stdDeviation: 0.5 }),
|
|
5933
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feComposite", { in2: "hardAlpha", operator: "out" }),
|
|
5934
|
+
/* @__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" }),
|
|
5935
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5844
5936
|
"feBlend",
|
|
5845
5937
|
{
|
|
5846
5938
|
in2: "BackgroundImageFix",
|
|
5847
5939
|
result: "effect1_dropShadow_257_2538"
|
|
5848
5940
|
}
|
|
5849
5941
|
),
|
|
5850
|
-
/* @__PURE__ */ (0,
|
|
5942
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5851
5943
|
"feBlend",
|
|
5852
5944
|
{
|
|
5853
5945
|
in: "SourceGraphic",
|
|
@@ -5864,8 +5956,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime221
|
|
|
5864
5956
|
var LandtrustPlusLight_default = SvgLandtrustPlusLight;
|
|
5865
5957
|
|
|
5866
5958
|
// src/Logo/components/LandtrustStandardDark.tsx
|
|
5867
|
-
var
|
|
5868
|
-
var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0,
|
|
5959
|
+
var import_jsx_runtime225 = require("@emotion/react/jsx-runtime");
|
|
5960
|
+
var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)(
|
|
5869
5961
|
"svg",
|
|
5870
5962
|
{
|
|
5871
5963
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5873,14 +5965,14 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
5873
5965
|
fill: "none",
|
|
5874
5966
|
...props,
|
|
5875
5967
|
children: [
|
|
5876
|
-
/* @__PURE__ */ (0,
|
|
5968
|
+
/* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
|
|
5877
5969
|
"path",
|
|
5878
5970
|
{
|
|
5879
5971
|
fill: "#E2430C",
|
|
5880
5972
|
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
5973
|
}
|
|
5882
5974
|
),
|
|
5883
|
-
/* @__PURE__ */ (0,
|
|
5975
|
+
/* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
|
|
5884
5976
|
"path",
|
|
5885
5977
|
{
|
|
5886
5978
|
fill: "#fff",
|
|
@@ -5893,8 +5985,8 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
5893
5985
|
var LandtrustStandardDark_default = SvgLandtrustStandardDark;
|
|
5894
5986
|
|
|
5895
5987
|
// src/Logo/components/LandtrustStandardLight.tsx
|
|
5896
|
-
var
|
|
5897
|
-
var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0,
|
|
5988
|
+
var import_jsx_runtime226 = require("@emotion/react/jsx-runtime");
|
|
5989
|
+
var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)(
|
|
5898
5990
|
"svg",
|
|
5899
5991
|
{
|
|
5900
5992
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5902,14 +5994,14 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
5902
5994
|
fill: "none",
|
|
5903
5995
|
...props,
|
|
5904
5996
|
children: [
|
|
5905
|
-
/* @__PURE__ */ (0,
|
|
5997
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
5906
5998
|
"path",
|
|
5907
5999
|
{
|
|
5908
6000
|
fill: "#E2430C",
|
|
5909
6001
|
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
6002
|
}
|
|
5911
6003
|
),
|
|
5912
|
-
/* @__PURE__ */ (0,
|
|
6004
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
5913
6005
|
"path",
|
|
5914
6006
|
{
|
|
5915
6007
|
fill: "#000",
|
|
@@ -5922,7 +6014,7 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
5922
6014
|
var LandtrustStandardLight_default = SvgLandtrustStandardLight;
|
|
5923
6015
|
|
|
5924
6016
|
// src/Logo/Logo.tsx
|
|
5925
|
-
var
|
|
6017
|
+
var import_jsx_runtime227 = require("@emotion/react/jsx-runtime");
|
|
5926
6018
|
var logoStyles = (size) => import_react38.css`
|
|
5927
6019
|
width: ${space[size]};
|
|
5928
6020
|
height: auto;
|
|
@@ -5951,7 +6043,7 @@ var Logo = ({
|
|
|
5951
6043
|
return LandtrustStandardLight_default;
|
|
5952
6044
|
};
|
|
5953
6045
|
const LogoComponent = getLogoComponent();
|
|
5954
|
-
return /* @__PURE__ */ (0,
|
|
6046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(LogoComponent, { css: logoStyles(size), className, ...rest });
|
|
5955
6047
|
};
|
|
5956
6048
|
var Logo_default = Logo;
|
|
5957
6049
|
|
|
@@ -6059,7 +6151,7 @@ var avatarPlaceholderStyles = import_react39.css`
|
|
|
6059
6151
|
`;
|
|
6060
6152
|
|
|
6061
6153
|
// src/Navigation/Navigation.tsx
|
|
6062
|
-
var
|
|
6154
|
+
var import_jsx_runtime228 = require("@emotion/react/jsx-runtime");
|
|
6063
6155
|
var Navigation = ({
|
|
6064
6156
|
onMenuToggle,
|
|
6065
6157
|
className,
|
|
@@ -6073,7 +6165,7 @@ var Navigation = ({
|
|
|
6073
6165
|
onAvatarClick,
|
|
6074
6166
|
...rest
|
|
6075
6167
|
}) => {
|
|
6076
|
-
return /* @__PURE__ */ (0,
|
|
6168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { css: navigationStyles, className, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)(
|
|
6077
6169
|
Box_default,
|
|
6078
6170
|
{
|
|
6079
6171
|
display: "flex",
|
|
@@ -6082,7 +6174,7 @@ var Navigation = ({
|
|
|
6082
6174
|
position: "relative",
|
|
6083
6175
|
css: containerStyles3,
|
|
6084
6176
|
children: [
|
|
6085
|
-
/* @__PURE__ */ (0,
|
|
6177
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
6086
6178
|
Box_default,
|
|
6087
6179
|
{
|
|
6088
6180
|
as: "button",
|
|
@@ -6094,11 +6186,11 @@ var Navigation = ({
|
|
|
6094
6186
|
border: "none",
|
|
6095
6187
|
padding: space[2],
|
|
6096
6188
|
css: hamburgerButtonStyles,
|
|
6097
|
-
children: /* @__PURE__ */ (0,
|
|
6189
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Icon_default, { variant: "Bars", size: 6 })
|
|
6098
6190
|
}
|
|
6099
6191
|
),
|
|
6100
|
-
/* @__PURE__ */ (0,
|
|
6101
|
-
/* @__PURE__ */ (0,
|
|
6192
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { css: desktopLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Logo_default, { variant: logoVariant, theme: logoTheme }) }),
|
|
6193
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { position: "absolute", left: "50%", top: "50%", css: centeredLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
6102
6194
|
Logo_default,
|
|
6103
6195
|
{
|
|
6104
6196
|
variant: logoVariant,
|
|
@@ -6107,8 +6199,8 @@ var Navigation = ({
|
|
|
6107
6199
|
css: logoStyles2
|
|
6108
6200
|
}
|
|
6109
6201
|
) }),
|
|
6110
|
-
/* @__PURE__ */ (0,
|
|
6111
|
-
/* @__PURE__ */ (0,
|
|
6202
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsxs)(Box_default, { css: desktopNavStyles, children: [
|
|
6203
|
+
/* @__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
6204
|
"a",
|
|
6113
6205
|
{
|
|
6114
6206
|
href: link.href,
|
|
@@ -6117,7 +6209,7 @@ var Navigation = ({
|
|
|
6117
6209
|
children: link.label
|
|
6118
6210
|
}
|
|
6119
6211
|
) }, link.href)) }) }),
|
|
6120
|
-
/* @__PURE__ */ (0,
|
|
6212
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
6121
6213
|
Box_default,
|
|
6122
6214
|
{
|
|
6123
6215
|
as: "button",
|
|
@@ -6202,7 +6294,7 @@ var contentStyles2 = import_react40.css`
|
|
|
6202
6294
|
`;
|
|
6203
6295
|
|
|
6204
6296
|
// src/PackageCard/PackageCard.tsx
|
|
6205
|
-
var
|
|
6297
|
+
var import_jsx_runtime229 = require("@emotion/react/jsx-runtime");
|
|
6206
6298
|
var PackageCard = ({
|
|
6207
6299
|
images,
|
|
6208
6300
|
title,
|
|
@@ -6219,13 +6311,13 @@ var PackageCard = ({
|
|
|
6219
6311
|
...rest
|
|
6220
6312
|
}) => {
|
|
6221
6313
|
const mainImage = images[0] || "";
|
|
6222
|
-
return /* @__PURE__ */ (0,
|
|
6223
|
-
/* @__PURE__ */ (0,
|
|
6224
|
-
tripsLeft && /* @__PURE__ */ (0,
|
|
6314
|
+
return /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { css: cardContainerStyles3, className, ...rest, children: [
|
|
6315
|
+
/* @__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)(AvailabilityChip_default, { variant: "warning", css: badgeStyles, children: [
|
|
6225
6317
|
tripsLeft,
|
|
6226
6318
|
" Trips Left"
|
|
6227
6319
|
] }),
|
|
6228
|
-
/* @__PURE__ */ (0,
|
|
6320
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6229
6321
|
Box_default,
|
|
6230
6322
|
{
|
|
6231
6323
|
css: heartIconStyles,
|
|
@@ -6233,12 +6325,12 @@ var PackageCard = ({
|
|
|
6233
6325
|
e.stopPropagation();
|
|
6234
6326
|
onFavoriteClick == null ? void 0 : onFavoriteClick();
|
|
6235
6327
|
},
|
|
6236
|
-
children: /* @__PURE__ */ (0,
|
|
6328
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Icon_default, { variant: isFavorited ? "HeartSolid" : "Heart", size: 5 })
|
|
6237
6329
|
}
|
|
6238
6330
|
)
|
|
6239
6331
|
] }) }),
|
|
6240
|
-
/* @__PURE__ */ (0,
|
|
6241
|
-
/* @__PURE__ */ (0,
|
|
6332
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { css: contentStyles2, children: [
|
|
6333
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(
|
|
6242
6334
|
Box_default,
|
|
6243
6335
|
{
|
|
6244
6336
|
onClick,
|
|
@@ -6247,9 +6339,9 @@ var PackageCard = ({
|
|
|
6247
6339
|
gap: "var(--spacing-1)",
|
|
6248
6340
|
mb: "var(--spacing-4)",
|
|
6249
6341
|
children: [
|
|
6250
|
-
/* @__PURE__ */ (0,
|
|
6251
|
-
/* @__PURE__ */ (0,
|
|
6252
|
-
/* @__PURE__ */ (0,
|
|
6342
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }) }),
|
|
6343
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Text_default, { size: "xs", fontWeight: "bold", children: subtitle }) }),
|
|
6344
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Text_default, { size: "xs", fontWeight: "normal", children: [
|
|
6253
6345
|
"Starting Price ",
|
|
6254
6346
|
startingPrice,
|
|
6255
6347
|
" / Guest"
|
|
@@ -6257,22 +6349,22 @@ var PackageCard = ({
|
|
|
6257
6349
|
]
|
|
6258
6350
|
}
|
|
6259
6351
|
),
|
|
6260
|
-
/* @__PURE__ */ (0,
|
|
6261
|
-
days && /* @__PURE__ */ (0,
|
|
6352
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { display: "flex", gap: "var(--spacing-3)", alignItems: "center", children: [
|
|
6353
|
+
days && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6262
6354
|
IconLabel_default,
|
|
6263
6355
|
{
|
|
6264
6356
|
variant: "Calendar",
|
|
6265
6357
|
label: `${days} Day${days !== 1 ? "s" : ""}`
|
|
6266
6358
|
}
|
|
6267
6359
|
),
|
|
6268
|
-
guests && /* @__PURE__ */ (0,
|
|
6360
|
+
guests && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6269
6361
|
IconLabel_default,
|
|
6270
6362
|
{
|
|
6271
6363
|
variant: "User",
|
|
6272
6364
|
label: `${guests} Guest${guests !== 1 ? "s" : ""}`
|
|
6273
6365
|
}
|
|
6274
6366
|
),
|
|
6275
|
-
hasLodging && /* @__PURE__ */ (0,
|
|
6367
|
+
hasLodging && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(IconLabel_default, { variant: "House", label: "Lodging" })
|
|
6276
6368
|
] })
|
|
6277
6369
|
] })
|
|
6278
6370
|
] });
|
|
@@ -6280,7 +6372,7 @@ var PackageCard = ({
|
|
|
6280
6372
|
var PackageCard_default = PackageCard;
|
|
6281
6373
|
|
|
6282
6374
|
// src/StarRating/StarRating.tsx
|
|
6283
|
-
var
|
|
6375
|
+
var import_jsx_runtime230 = require("@emotion/react/jsx-runtime");
|
|
6284
6376
|
var starSize = {
|
|
6285
6377
|
sm: {
|
|
6286
6378
|
size: 5,
|
|
@@ -6299,7 +6391,7 @@ var StarRating = ({
|
|
|
6299
6391
|
const stars = [];
|
|
6300
6392
|
for (let i = 1; i <= 5; i++) {
|
|
6301
6393
|
stars.push(
|
|
6302
|
-
/* @__PURE__ */ (0,
|
|
6394
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
6303
6395
|
Icon_default,
|
|
6304
6396
|
{
|
|
6305
6397
|
variant: "StarSolid",
|
|
@@ -6310,7 +6402,7 @@ var StarRating = ({
|
|
|
6310
6402
|
)
|
|
6311
6403
|
);
|
|
6312
6404
|
}
|
|
6313
|
-
return /* @__PURE__ */ (0,
|
|
6405
|
+
return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
6314
6406
|
Box_default,
|
|
6315
6407
|
{
|
|
6316
6408
|
className,
|
|
@@ -6324,7 +6416,7 @@ var StarRating = ({
|
|
|
6324
6416
|
var StarRating_default = StarRating;
|
|
6325
6417
|
|
|
6326
6418
|
// src/UserCard/UserCard.tsx
|
|
6327
|
-
var
|
|
6419
|
+
var import_jsx_runtime231 = require("@emotion/react/jsx-runtime");
|
|
6328
6420
|
var UserCard = ({
|
|
6329
6421
|
avatarSrc,
|
|
6330
6422
|
title,
|
|
@@ -6333,7 +6425,7 @@ var UserCard = ({
|
|
|
6333
6425
|
showRating = true,
|
|
6334
6426
|
className
|
|
6335
6427
|
}) => {
|
|
6336
|
-
return /* @__PURE__ */ (0,
|
|
6428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)(
|
|
6337
6429
|
Box_default,
|
|
6338
6430
|
{
|
|
6339
6431
|
display: "flex",
|
|
@@ -6341,11 +6433,11 @@ var UserCard = ({
|
|
|
6341
6433
|
gap: "var(--spacing-4)",
|
|
6342
6434
|
className,
|
|
6343
6435
|
children: [
|
|
6344
|
-
/* @__PURE__ */ (0,
|
|
6345
|
-
/* @__PURE__ */ (0,
|
|
6346
|
-
/* @__PURE__ */ (0,
|
|
6347
|
-
subtitle && /* @__PURE__ */ (0,
|
|
6348
|
-
showRating && rating !== void 0 && /* @__PURE__ */ (0,
|
|
6436
|
+
/* @__PURE__ */ (0, import_jsx_runtime231.jsx)(Avatar_default, { type: "image", src: avatarSrc, alt: `${title}'s avatar` }),
|
|
6437
|
+
/* @__PURE__ */ (0, import_jsx_runtime231.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "2px", children: [
|
|
6438
|
+
/* @__PURE__ */ (0, import_jsx_runtime231.jsx)(Text_default, { size: "md", fontWeight: "bold", children: title }),
|
|
6439
|
+
subtitle && /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(Text_default, { size: "sm", color: "text-secondary", children: subtitle }),
|
|
6440
|
+
showRating && rating !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(StarRating_default, { rating, size: "sm" })
|
|
6349
6441
|
] })
|
|
6350
6442
|
]
|
|
6351
6443
|
}
|
|
@@ -6365,13 +6457,13 @@ var imageStyles2 = import_react41.css`
|
|
|
6365
6457
|
`;
|
|
6366
6458
|
|
|
6367
6459
|
// src/ReviewCard/components/ReviewImages.tsx
|
|
6368
|
-
var
|
|
6460
|
+
var import_jsx_runtime232 = require("@emotion/react/jsx-runtime");
|
|
6369
6461
|
var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
6370
6462
|
const displayImages = images.slice(0, maxImages);
|
|
6371
6463
|
if (displayImages.length === 0) {
|
|
6372
6464
|
return null;
|
|
6373
6465
|
}
|
|
6374
|
-
return /* @__PURE__ */ (0,
|
|
6466
|
+
return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Box_default, { display: "flex", gap: "var(--spacing-2)", flexWrap: "wrap", children: displayImages.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(
|
|
6375
6467
|
"img",
|
|
6376
6468
|
{
|
|
6377
6469
|
src: image,
|
|
@@ -6384,7 +6476,7 @@ var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
|
6384
6476
|
var ReviewImages_default = ReviewImages;
|
|
6385
6477
|
|
|
6386
6478
|
// src/ReviewCard/components/ReviewReply.tsx
|
|
6387
|
-
var
|
|
6479
|
+
var import_jsx_runtime233 = require("@emotion/react/jsx-runtime");
|
|
6388
6480
|
var ReviewReply = ({
|
|
6389
6481
|
avatarSrc,
|
|
6390
6482
|
name,
|
|
@@ -6393,7 +6485,7 @@ var ReviewReply = ({
|
|
|
6393
6485
|
label,
|
|
6394
6486
|
rating
|
|
6395
6487
|
}) => {
|
|
6396
|
-
return /* @__PURE__ */ (0,
|
|
6488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(
|
|
6397
6489
|
Box_default,
|
|
6398
6490
|
{
|
|
6399
6491
|
backgroundColor: "var(--surface-neutral)",
|
|
@@ -6403,7 +6495,7 @@ var ReviewReply = ({
|
|
|
6403
6495
|
flexDirection: "column",
|
|
6404
6496
|
gap: "var(--spacing-3)",
|
|
6405
6497
|
children: [
|
|
6406
|
-
/* @__PURE__ */ (0,
|
|
6498
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(
|
|
6407
6499
|
Box_default,
|
|
6408
6500
|
{
|
|
6409
6501
|
display: "flex",
|
|
@@ -6411,7 +6503,7 @@ var ReviewReply = ({
|
|
|
6411
6503
|
justifyContent: "space-between",
|
|
6412
6504
|
gap: "var(--spacing-2)",
|
|
6413
6505
|
children: [
|
|
6414
|
-
/* @__PURE__ */ (0,
|
|
6506
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
6415
6507
|
UserCard_default,
|
|
6416
6508
|
{
|
|
6417
6509
|
avatarSrc,
|
|
@@ -6420,11 +6512,11 @@ var ReviewReply = ({
|
|
|
6420
6512
|
rating
|
|
6421
6513
|
}
|
|
6422
6514
|
),
|
|
6423
|
-
/* @__PURE__ */ (0,
|
|
6515
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(AvailabilityChip_default, { variant: "neutral", children: label })
|
|
6424
6516
|
]
|
|
6425
6517
|
}
|
|
6426
6518
|
),
|
|
6427
|
-
/* @__PURE__ */ (0,
|
|
6519
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Text_default, { children: content })
|
|
6428
6520
|
]
|
|
6429
6521
|
}
|
|
6430
6522
|
);
|
|
@@ -6432,7 +6524,7 @@ var ReviewReply = ({
|
|
|
6432
6524
|
var ReviewReply_default = ReviewReply;
|
|
6433
6525
|
|
|
6434
6526
|
// src/ReviewCard/ReviewCard.tsx
|
|
6435
|
-
var
|
|
6527
|
+
var import_jsx_runtime234 = require("@emotion/react/jsx-runtime");
|
|
6436
6528
|
var ReviewCard = ({
|
|
6437
6529
|
avatarSrc,
|
|
6438
6530
|
name,
|
|
@@ -6444,7 +6536,7 @@ var ReviewCard = ({
|
|
|
6444
6536
|
replies = [],
|
|
6445
6537
|
className
|
|
6446
6538
|
}) => {
|
|
6447
|
-
return /* @__PURE__ */ (0,
|
|
6539
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
6448
6540
|
Box_default,
|
|
6449
6541
|
{
|
|
6450
6542
|
backgroundColor: "white",
|
|
@@ -6456,7 +6548,7 @@ var ReviewCard = ({
|
|
|
6456
6548
|
border: "1px solid var(--color-neutral-200)",
|
|
6457
6549
|
className,
|
|
6458
6550
|
children: [
|
|
6459
|
-
/* @__PURE__ */ (0,
|
|
6551
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
6460
6552
|
UserCard_default,
|
|
6461
6553
|
{
|
|
6462
6554
|
avatarSrc,
|
|
@@ -6465,10 +6557,10 @@ var ReviewCard = ({
|
|
|
6465
6557
|
rating
|
|
6466
6558
|
}
|
|
6467
6559
|
),
|
|
6468
|
-
availabilityChip && /* @__PURE__ */ (0,
|
|
6469
|
-
/* @__PURE__ */ (0,
|
|
6470
|
-
images.length > 0 && /* @__PURE__ */ (0,
|
|
6471
|
-
replies.length > 0 && /* @__PURE__ */ (0,
|
|
6560
|
+
availabilityChip && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(AvailabilityChip_default, { variant: availabilityChip.variant, children: availabilityChip.text }) }),
|
|
6561
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Text_default, { size: "md", children: content }),
|
|
6562
|
+
images.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(ReviewImages_default, { images }),
|
|
6563
|
+
replies.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-3)", children: replies.map((reply, index) => /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
6472
6564
|
ReviewReply_default,
|
|
6473
6565
|
{
|
|
6474
6566
|
avatarSrc: reply.avatarSrc,
|
|
@@ -6487,9 +6579,9 @@ var ReviewCard = ({
|
|
|
6487
6579
|
var ReviewCard_default = ReviewCard;
|
|
6488
6580
|
|
|
6489
6581
|
// src/Reviews/components/ReviewItem.tsx
|
|
6490
|
-
var
|
|
6582
|
+
var import_jsx_runtime235 = require("@emotion/react/jsx-runtime");
|
|
6491
6583
|
var ReviewItem = ({ label, rating }) => {
|
|
6492
|
-
return /* @__PURE__ */ (0,
|
|
6584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
|
|
6493
6585
|
Box_default,
|
|
6494
6586
|
{
|
|
6495
6587
|
display: "flex",
|
|
@@ -6497,10 +6589,10 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
6497
6589
|
alignItems: "center",
|
|
6498
6590
|
width: "100%",
|
|
6499
6591
|
children: [
|
|
6500
|
-
/* @__PURE__ */ (0,
|
|
6501
|
-
/* @__PURE__ */ (0,
|
|
6502
|
-
/* @__PURE__ */ (0,
|
|
6503
|
-
/* @__PURE__ */ (0,
|
|
6592
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Text_default, { fontWeight: "semibold", children: label }),
|
|
6593
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-2)", children: [
|
|
6594
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsx)(Icon_default, { variant: "StarSolid", size: 5, fill: "var(--surface-action-2)" }),
|
|
6595
|
+
/* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(Text_default, { fontWeight: "semibold", children: [
|
|
6504
6596
|
rating,
|
|
6505
6597
|
"/5"
|
|
6506
6598
|
] })
|
|
@@ -6512,14 +6604,14 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
6512
6604
|
var ReviewItem_default = ReviewItem;
|
|
6513
6605
|
|
|
6514
6606
|
// src/Reviews/Reviews.tsx
|
|
6515
|
-
var
|
|
6607
|
+
var import_jsx_runtime236 = require("@emotion/react/jsx-runtime");
|
|
6516
6608
|
var Reviews = ({
|
|
6517
6609
|
averageRating,
|
|
6518
6610
|
totalReviews,
|
|
6519
6611
|
items,
|
|
6520
6612
|
className
|
|
6521
6613
|
}) => {
|
|
6522
|
-
return /* @__PURE__ */ (0,
|
|
6614
|
+
return /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
|
|
6523
6615
|
Box_default,
|
|
6524
6616
|
{
|
|
6525
6617
|
width: "100%",
|
|
@@ -6532,7 +6624,7 @@ var Reviews = ({
|
|
|
6532
6624
|
p: "var(--spacing-4)",
|
|
6533
6625
|
className,
|
|
6534
6626
|
children: [
|
|
6535
|
-
/* @__PURE__ */ (0,
|
|
6627
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
|
|
6536
6628
|
Box_default,
|
|
6537
6629
|
{
|
|
6538
6630
|
display: "flex",
|
|
@@ -6540,9 +6632,9 @@ var Reviews = ({
|
|
|
6540
6632
|
alignItems: "center",
|
|
6541
6633
|
gap: "var(--spacing-2)",
|
|
6542
6634
|
children: [
|
|
6543
|
-
/* @__PURE__ */ (0,
|
|
6544
|
-
/* @__PURE__ */ (0,
|
|
6545
|
-
/* @__PURE__ */ (0,
|
|
6635
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(Heading_default, { size: "sm", fontWeight: "bold", color: "text-primary", children: averageRating.toFixed(1) }),
|
|
6636
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(StarRating_default, { rating: Math.floor(averageRating) }),
|
|
6637
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(Text_default, { size: "sm", color: "text-secondary", children: [
|
|
6546
6638
|
"Overall Rating \u2022 ",
|
|
6547
6639
|
totalReviews,
|
|
6548
6640
|
" Review",
|
|
@@ -6551,14 +6643,14 @@ var Reviews = ({
|
|
|
6551
6643
|
]
|
|
6552
6644
|
}
|
|
6553
6645
|
),
|
|
6554
|
-
/* @__PURE__ */ (0,
|
|
6646
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
|
|
6555
6647
|
Box_default,
|
|
6556
6648
|
{
|
|
6557
6649
|
display: "flex",
|
|
6558
6650
|
flexDirection: "column",
|
|
6559
6651
|
gap: "var(--spacing-2)",
|
|
6560
6652
|
width: "100%",
|
|
6561
|
-
children: items.map((item, index) => /* @__PURE__ */ (0,
|
|
6653
|
+
children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime236.jsx)(ReviewItem_default, { label: item.label, rating: item.rating }, index))
|
|
6562
6654
|
}
|
|
6563
6655
|
)
|
|
6564
6656
|
]
|
|
@@ -6568,7 +6660,7 @@ var Reviews = ({
|
|
|
6568
6660
|
var Reviews_default = Reviews;
|
|
6569
6661
|
|
|
6570
6662
|
// src/Reviews/ReviewsShowcase.tsx
|
|
6571
|
-
var
|
|
6663
|
+
var import_jsx_runtime237 = require("@emotion/react/jsx-runtime");
|
|
6572
6664
|
var ReviewsShowcase = () => {
|
|
6573
6665
|
const sampleData = {
|
|
6574
6666
|
averageRating: 4,
|
|
@@ -6590,7 +6682,7 @@ var ReviewsShowcase = () => {
|
|
|
6590
6682
|
{ label: "Game Abundance", rating: 5 }
|
|
6591
6683
|
]
|
|
6592
6684
|
};
|
|
6593
|
-
return /* @__PURE__ */ (0,
|
|
6685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
|
|
6594
6686
|
Box_default,
|
|
6595
6687
|
{
|
|
6596
6688
|
display: "flex",
|
|
@@ -6598,24 +6690,24 @@ var ReviewsShowcase = () => {
|
|
|
6598
6690
|
gap: "var(--spacing-8)",
|
|
6599
6691
|
p: "var(--spacing-6)",
|
|
6600
6692
|
children: [
|
|
6601
|
-
/* @__PURE__ */ (0,
|
|
6602
|
-
/* @__PURE__ */ (0,
|
|
6603
|
-
/* @__PURE__ */ (0,
|
|
6604
|
-
/* @__PURE__ */ (0,
|
|
6693
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Heading_default, { size: "lg", children: "Reviews Component Showcase" }),
|
|
6694
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
6695
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Heading_default, { size: "md", children: "Default Reviews" }),
|
|
6696
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Box_default, { maxWidth: "400px", children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Reviews_default, { ...sampleData }) })
|
|
6605
6697
|
] }),
|
|
6606
|
-
/* @__PURE__ */ (0,
|
|
6607
|
-
/* @__PURE__ */ (0,
|
|
6608
|
-
/* @__PURE__ */ (0,
|
|
6698
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
6699
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Heading_default, { size: "md", children: "High Rating Reviews" }),
|
|
6700
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Box_default, { maxWidth: "400px", children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Reviews_default, { ...highRatingData }) })
|
|
6609
6701
|
] }),
|
|
6610
|
-
/* @__PURE__ */ (0,
|
|
6611
|
-
/* @__PURE__ */ (0,
|
|
6612
|
-
/* @__PURE__ */ (0,
|
|
6702
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
6703
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Heading_default, { size: "md", children: "Mobile Layout (320px width)" }),
|
|
6704
|
+
/* @__PURE__ */ (0, import_jsx_runtime237.jsx)(
|
|
6613
6705
|
Box_default,
|
|
6614
6706
|
{
|
|
6615
6707
|
maxWidth: "320px",
|
|
6616
6708
|
border: "1px solid var(--color-neutral-200)",
|
|
6617
6709
|
p: "var(--spacing-4)",
|
|
6618
|
-
children: /* @__PURE__ */ (0,
|
|
6710
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Reviews_default, { ...sampleData })
|
|
6619
6711
|
}
|
|
6620
6712
|
)
|
|
6621
6713
|
] })
|
|
@@ -6635,6 +6727,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6635
6727
|
Column,
|
|
6636
6728
|
Container,
|
|
6637
6729
|
Divider,
|
|
6730
|
+
FeatureList,
|
|
6638
6731
|
FieldNoteCard,
|
|
6639
6732
|
FormField,
|
|
6640
6733
|
GlobalStyle,
|
|
@@ -6644,6 +6737,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6644
6737
|
HuntCard,
|
|
6645
6738
|
Icon,
|
|
6646
6739
|
IconLabel,
|
|
6740
|
+
InfoBox,
|
|
6647
6741
|
Input,
|
|
6648
6742
|
LayoutTokens,
|
|
6649
6743
|
ListingChat,
|