@landtrustinc/design-system 1.1.5 → 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 +141 -1
- package/dist/index.js +793 -362
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -32,12 +32,14 @@ var src_exports = {};
|
|
|
32
32
|
__export(src_exports, {
|
|
33
33
|
AIResponse: () => AIResponse_default,
|
|
34
34
|
AvailabilityChip: () => AvailabilityChip_default,
|
|
35
|
+
Avatar: () => Avatar_default,
|
|
35
36
|
Box: () => Box_default,
|
|
36
37
|
Button: () => Button_default,
|
|
37
38
|
ChatWidget: () => ChatWidget_default,
|
|
38
39
|
Column: () => Column_default,
|
|
39
40
|
Container: () => Container_default,
|
|
40
41
|
Divider: () => Divider_default,
|
|
42
|
+
FeatureList: () => FeatureList_default,
|
|
41
43
|
FieldNoteCard: () => FieldNoteCard_default,
|
|
42
44
|
FormField: () => FormField,
|
|
43
45
|
GlobalStyle: () => GlobalStyle,
|
|
@@ -47,6 +49,7 @@ __export(src_exports, {
|
|
|
47
49
|
HuntCard: () => HuntCard_default,
|
|
48
50
|
Icon: () => Icon_default,
|
|
49
51
|
IconLabel: () => IconLabel_default,
|
|
52
|
+
InfoBox: () => InfoBox_default,
|
|
50
53
|
Input: () => Input,
|
|
51
54
|
LayoutTokens: () => LayoutTokens,
|
|
52
55
|
ListingChat: () => ListingChat_default,
|
|
@@ -54,14 +57,17 @@ __export(src_exports, {
|
|
|
54
57
|
MessageBubble: () => MessageBubble_default,
|
|
55
58
|
Navigation: () => Navigation_default,
|
|
56
59
|
PackageCard: () => PackageCard_default,
|
|
60
|
+
ReviewCard: () => ReviewCard_default,
|
|
57
61
|
Reviews: () => Reviews_default,
|
|
58
62
|
ReviewsShowcase: () => ReviewsShowcase_default,
|
|
59
63
|
Select: () => Select,
|
|
60
64
|
Spinner: () => Spinner_default2,
|
|
65
|
+
StarRating: () => StarRating_default,
|
|
61
66
|
TagChip: () => TagChip_default,
|
|
62
67
|
Text: () => Text_default,
|
|
63
68
|
TextArea: () => TextArea,
|
|
64
69
|
ThemeTokens: () => ThemeTokens,
|
|
70
|
+
UserCard: () => UserCard_default,
|
|
65
71
|
Widget: () => Widget_default,
|
|
66
72
|
WidgetPanel: () => WidgetPanel,
|
|
67
73
|
WidgetTrigger: () => WidgetTrigger,
|
|
@@ -3825,16 +3831,159 @@ var AvailabilityChip = ({
|
|
|
3825
3831
|
};
|
|
3826
3832
|
var AvailabilityChip_default = AvailabilityChip;
|
|
3827
3833
|
|
|
3834
|
+
// src/Avatar/Avatar.tsx
|
|
3835
|
+
var import_react14 = require("react");
|
|
3836
|
+
|
|
3837
|
+
// src/Avatar/Avatar.styles.ts
|
|
3838
|
+
var import_react13 = require("@emotion/react");
|
|
3839
|
+
var avatarSizeStyles = {
|
|
3840
|
+
xs: import_react13.css`
|
|
3841
|
+
width: 24px;
|
|
3842
|
+
height: 24px;
|
|
3843
|
+
`,
|
|
3844
|
+
sm: import_react13.css`
|
|
3845
|
+
width: 32px;
|
|
3846
|
+
height: 32px;
|
|
3847
|
+
`,
|
|
3848
|
+
md: import_react13.css`
|
|
3849
|
+
width: 60px;
|
|
3850
|
+
height: 60px;
|
|
3851
|
+
`,
|
|
3852
|
+
lg: import_react13.css`
|
|
3853
|
+
width: 80px;
|
|
3854
|
+
height: 80px;
|
|
3855
|
+
`,
|
|
3856
|
+
xl: import_react13.css`
|
|
3857
|
+
width: 120px;
|
|
3858
|
+
height: 120px;
|
|
3859
|
+
`
|
|
3860
|
+
};
|
|
3861
|
+
var avatarBaseStyles = import_react13.css`
|
|
3862
|
+
border-radius: 50%;
|
|
3863
|
+
object-fit: cover;
|
|
3864
|
+
border: 1px solid var(--color-neutral-200);
|
|
3865
|
+
display: block;
|
|
3866
|
+
`;
|
|
3867
|
+
var avatarTextStyles = import_react13.css`
|
|
3868
|
+
border-radius: 50%;
|
|
3869
|
+
border: 1px solid var(--color-neutral-200);
|
|
3870
|
+
background-color: var(--surface-action);
|
|
3871
|
+
color: white;
|
|
3872
|
+
display: flex;
|
|
3873
|
+
align-items: center;
|
|
3874
|
+
justify-content: center;
|
|
3875
|
+
font-weight: bold;
|
|
3876
|
+
user-select: none;
|
|
3877
|
+
`;
|
|
3878
|
+
var avatarFallbackStyles = import_react13.css`
|
|
3879
|
+
border-radius: 50%;
|
|
3880
|
+
border: 1px solid var(--color-neutral-200);
|
|
3881
|
+
background-color: var(--color-neutral-100);
|
|
3882
|
+
color: var(--color-neutral-500);
|
|
3883
|
+
display: flex;
|
|
3884
|
+
align-items: center;
|
|
3885
|
+
justify-content: center;
|
|
3886
|
+
`;
|
|
3887
|
+
|
|
3888
|
+
// src/Avatar/Avatar.tsx
|
|
3889
|
+
var import_jsx_runtime204 = require("@emotion/react/jsx-runtime");
|
|
3890
|
+
var Avatar = ({
|
|
3891
|
+
type = "image",
|
|
3892
|
+
src,
|
|
3893
|
+
text,
|
|
3894
|
+
alt,
|
|
3895
|
+
size = "md",
|
|
3896
|
+
className
|
|
3897
|
+
}) => {
|
|
3898
|
+
const [hasImageError, setHasImageError] = (0, import_react14.useState)(false);
|
|
3899
|
+
const handleImageError = () => {
|
|
3900
|
+
setHasImageError(true);
|
|
3901
|
+
};
|
|
3902
|
+
const getInitials = (fullName) => {
|
|
3903
|
+
return fullName.split(" ").map((name) => name.charAt(0).toUpperCase()).slice(0, 2).join("");
|
|
3904
|
+
};
|
|
3905
|
+
const getFontSize = (size2) => {
|
|
3906
|
+
switch (size2) {
|
|
3907
|
+
case "xs":
|
|
3908
|
+
return "10px";
|
|
3909
|
+
case "sm":
|
|
3910
|
+
return "12px";
|
|
3911
|
+
case "md":
|
|
3912
|
+
return "20px";
|
|
3913
|
+
case "lg":
|
|
3914
|
+
return "28px";
|
|
3915
|
+
case "xl":
|
|
3916
|
+
return "40px";
|
|
3917
|
+
default:
|
|
3918
|
+
return "20px";
|
|
3919
|
+
}
|
|
3920
|
+
};
|
|
3921
|
+
const getIconSize = (size2) => {
|
|
3922
|
+
switch (size2) {
|
|
3923
|
+
case "xs":
|
|
3924
|
+
return 3;
|
|
3925
|
+
case "sm":
|
|
3926
|
+
return 4;
|
|
3927
|
+
case "md":
|
|
3928
|
+
return 8;
|
|
3929
|
+
case "lg":
|
|
3930
|
+
return 10;
|
|
3931
|
+
case "xl":
|
|
3932
|
+
return 16;
|
|
3933
|
+
default:
|
|
3934
|
+
return 8;
|
|
3935
|
+
}
|
|
3936
|
+
};
|
|
3937
|
+
if (type === "text" && text) {
|
|
3938
|
+
const initials = getInitials(text);
|
|
3939
|
+
return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(
|
|
3940
|
+
"div",
|
|
3941
|
+
{
|
|
3942
|
+
css: [
|
|
3943
|
+
avatarTextStyles,
|
|
3944
|
+
avatarSizeStyles[size],
|
|
3945
|
+
{ fontSize: getFontSize(size) }
|
|
3946
|
+
],
|
|
3947
|
+
className,
|
|
3948
|
+
title: alt,
|
|
3949
|
+
children: initials
|
|
3950
|
+
}
|
|
3951
|
+
);
|
|
3952
|
+
}
|
|
3953
|
+
if (type === "image" && src && !hasImageError) {
|
|
3954
|
+
return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(
|
|
3955
|
+
"img",
|
|
3956
|
+
{
|
|
3957
|
+
src,
|
|
3958
|
+
alt,
|
|
3959
|
+
css: [avatarBaseStyles, avatarSizeStyles[size]],
|
|
3960
|
+
className,
|
|
3961
|
+
onError: handleImageError
|
|
3962
|
+
}
|
|
3963
|
+
);
|
|
3964
|
+
}
|
|
3965
|
+
return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(
|
|
3966
|
+
"div",
|
|
3967
|
+
{
|
|
3968
|
+
css: [avatarFallbackStyles, avatarSizeStyles[size]],
|
|
3969
|
+
className,
|
|
3970
|
+
title: alt,
|
|
3971
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(Icon_default, { variant: "User", size: getIconSize(size) })
|
|
3972
|
+
}
|
|
3973
|
+
);
|
|
3974
|
+
};
|
|
3975
|
+
var Avatar_default = Avatar;
|
|
3976
|
+
|
|
3828
3977
|
// src/ChatWidget/ChatWidget.tsx
|
|
3829
|
-
var
|
|
3978
|
+
var import_react23 = __toESM(require("react"));
|
|
3830
3979
|
|
|
3831
3980
|
// src/Divider/Divider.tsx
|
|
3832
3981
|
var import_styled4 = __toESM(require("@emotion/styled"));
|
|
3833
3982
|
var import_styled_system2 = require("styled-system");
|
|
3834
3983
|
|
|
3835
3984
|
// src/Divider/Divider.styles.ts
|
|
3836
|
-
var
|
|
3837
|
-
var dividerStyles =
|
|
3985
|
+
var import_react15 = require("@emotion/react");
|
|
3986
|
+
var dividerStyles = import_react15.css`
|
|
3838
3987
|
width: 100%;
|
|
3839
3988
|
height: 1px;
|
|
3840
3989
|
border: 0;
|
|
@@ -3842,28 +3991,28 @@ var dividerStyles = import_react13.css`
|
|
|
3842
3991
|
`;
|
|
3843
3992
|
|
|
3844
3993
|
// src/Divider/Divider.tsx
|
|
3845
|
-
var
|
|
3994
|
+
var import_jsx_runtime205 = require("@emotion/react/jsx-runtime");
|
|
3846
3995
|
var StyledHr = import_styled4.default.hr`
|
|
3847
3996
|
${dividerStyles}
|
|
3848
3997
|
${import_styled_system2.space}
|
|
3849
3998
|
`;
|
|
3850
3999
|
var Divider = ({ className, ...rest }) => {
|
|
3851
|
-
return /* @__PURE__ */ (0,
|
|
4000
|
+
return /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(StyledHr, { className, ...rest });
|
|
3852
4001
|
};
|
|
3853
4002
|
var Divider_default = Divider;
|
|
3854
4003
|
|
|
3855
4004
|
// src/Form/TextArea.tsx
|
|
3856
|
-
var
|
|
3857
|
-
var
|
|
4005
|
+
var import_react17 = require("@emotion/react");
|
|
4006
|
+
var import_react18 = require("react");
|
|
3858
4007
|
|
|
3859
4008
|
// src/Form/TextArea.styles.ts
|
|
3860
|
-
var
|
|
3861
|
-
var wrapperStyles =
|
|
4009
|
+
var import_react16 = require("@emotion/react");
|
|
4010
|
+
var wrapperStyles = import_react16.css`
|
|
3862
4011
|
position: relative;
|
|
3863
4012
|
display: inline-block;
|
|
3864
4013
|
width: 100%;
|
|
3865
4014
|
`;
|
|
3866
|
-
var textareaBase =
|
|
4015
|
+
var textareaBase = import_react16.css`
|
|
3867
4016
|
width: 100%;
|
|
3868
4017
|
box-sizing: border-box;
|
|
3869
4018
|
font: inherit;
|
|
@@ -3897,32 +4046,32 @@ var textareaBase = import_react14.css`
|
|
|
3897
4046
|
cursor: default;
|
|
3898
4047
|
}
|
|
3899
4048
|
`;
|
|
3900
|
-
var variantError =
|
|
4049
|
+
var variantError = import_react16.css`
|
|
3901
4050
|
border-color: var(--border-error);
|
|
3902
4051
|
&:focus {
|
|
3903
4052
|
border-color: var(--border-error);
|
|
3904
4053
|
box-shadow: 0 0 0 3px var(--color-error-100);
|
|
3905
4054
|
}
|
|
3906
4055
|
`;
|
|
3907
|
-
var variantSuccess =
|
|
4056
|
+
var variantSuccess = import_react16.css`
|
|
3908
4057
|
border-color: var(--color-success-500);
|
|
3909
4058
|
&:focus {
|
|
3910
4059
|
border-color: var(--color-success-500);
|
|
3911
4060
|
box-shadow: 0 0 0 3px var(--color-success-100);
|
|
3912
4061
|
}
|
|
3913
4062
|
`;
|
|
3914
|
-
var submitButtonContainer =
|
|
4063
|
+
var submitButtonContainer = import_react16.css`
|
|
3915
4064
|
position: absolute;
|
|
3916
4065
|
right: var(--spacing-4);
|
|
3917
4066
|
bottom: var(--spacing-4);
|
|
3918
4067
|
`;
|
|
3919
|
-
var textareaWithSubmit =
|
|
4068
|
+
var textareaWithSubmit = import_react16.css`
|
|
3920
4069
|
padding-right: var(--spacing-16);
|
|
3921
4070
|
`;
|
|
3922
4071
|
|
|
3923
4072
|
// src/Form/TextArea.tsx
|
|
3924
|
-
var
|
|
3925
|
-
var TextArea = (0,
|
|
4073
|
+
var import_jsx_runtime206 = require("@emotion/react/jsx-runtime");
|
|
4074
|
+
var TextArea = (0, import_react18.forwardRef)(
|
|
3926
4075
|
({
|
|
3927
4076
|
rows = 3,
|
|
3928
4077
|
variant = "default",
|
|
@@ -3942,8 +4091,8 @@ var TextArea = (0, import_react16.forwardRef)(
|
|
|
3942
4091
|
submitOnEnter = true,
|
|
3943
4092
|
...props
|
|
3944
4093
|
}, ref) => {
|
|
3945
|
-
const innerRef = (0,
|
|
3946
|
-
(0,
|
|
4094
|
+
const innerRef = (0, import_react18.useRef)(null);
|
|
4095
|
+
(0, import_react18.useEffect)(() => {
|
|
3947
4096
|
const el = innerRef.current;
|
|
3948
4097
|
if (!el || !autoExpand)
|
|
3949
4098
|
return;
|
|
@@ -3979,8 +4128,8 @@ var TextArea = (0, import_react16.forwardRef)(
|
|
|
3979
4128
|
onSubmit();
|
|
3980
4129
|
}
|
|
3981
4130
|
};
|
|
3982
|
-
return /* @__PURE__ */ (0,
|
|
3983
|
-
/* @__PURE__ */ (0,
|
|
4131
|
+
return /* @__PURE__ */ (0, import_jsx_runtime206.jsxs)("div", { css: wrapperStyles, children: [
|
|
4132
|
+
/* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
|
|
3984
4133
|
"textarea",
|
|
3985
4134
|
{
|
|
3986
4135
|
ref: (node) => {
|
|
@@ -3997,7 +4146,7 @@ var TextArea = (0, import_react16.forwardRef)(
|
|
|
3997
4146
|
textareaBase,
|
|
3998
4147
|
variant === "error" && variantError,
|
|
3999
4148
|
variant === "success" && variantSuccess,
|
|
4000
|
-
|
|
4149
|
+
import_react17.css`
|
|
4001
4150
|
resize: ${resize};
|
|
4002
4151
|
`,
|
|
4003
4152
|
showSubmit && textareaWithSubmit
|
|
@@ -4010,14 +4159,14 @@ var TextArea = (0, import_react16.forwardRef)(
|
|
|
4010
4159
|
...props
|
|
4011
4160
|
}
|
|
4012
4161
|
),
|
|
4013
|
-
showSubmit && /* @__PURE__ */ (0,
|
|
4162
|
+
showSubmit && /* @__PURE__ */ (0, import_jsx_runtime206.jsx)("div", { css: submitButtonContainer, children: /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
|
|
4014
4163
|
Button_default,
|
|
4015
4164
|
{
|
|
4016
4165
|
size: "xs",
|
|
4017
4166
|
"aria-label": submitAriaLabel,
|
|
4018
4167
|
onClick: onSubmit,
|
|
4019
4168
|
disabled: disabled || submitDisabled,
|
|
4020
|
-
icon: /* @__PURE__ */ (0,
|
|
4169
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(
|
|
4021
4170
|
Icon_default,
|
|
4022
4171
|
{
|
|
4023
4172
|
variant: "PaperPlane",
|
|
@@ -4034,14 +4183,14 @@ TextArea.displayName = "TextArea";
|
|
|
4034
4183
|
var TextArea_default = TextArea;
|
|
4035
4184
|
|
|
4036
4185
|
// src/MessageBubble/MessageBubble.styles.ts
|
|
4037
|
-
var
|
|
4038
|
-
var getRootStyles = (variant) =>
|
|
4186
|
+
var import_react19 = require("@emotion/react");
|
|
4187
|
+
var getRootStyles = (variant) => import_react19.css`
|
|
4039
4188
|
display: flex;
|
|
4040
4189
|
flex-direction: column;
|
|
4041
4190
|
gap: var(--spacing-1);
|
|
4042
4191
|
align-items: ${variant === "sent" ? "flex-end" : "flex-start"};
|
|
4043
4192
|
`;
|
|
4044
|
-
var getBubbleStyles = (variant) =>
|
|
4193
|
+
var getBubbleStyles = (variant) => import_react19.css`
|
|
4045
4194
|
max-width: 100%;
|
|
4046
4195
|
width: 100%;
|
|
4047
4196
|
box-sizing: border-box;
|
|
@@ -4058,22 +4207,22 @@ var getBubbleStyles = (variant) => import_react17.css`
|
|
|
4058
4207
|
border-bottom-left-radius: ${variant === "sent" ? "var(--radius-lg)" : "0"};
|
|
4059
4208
|
border-bottom-right-radius: ${variant === "sent" ? "0" : "var(--radius-lg)"};
|
|
4060
4209
|
`;
|
|
4061
|
-
var contentStyles =
|
|
4210
|
+
var contentStyles = import_react19.css`
|
|
4062
4211
|
flex: 1 1 auto;
|
|
4063
4212
|
min-width: 1px;
|
|
4064
4213
|
min-height: 1px;
|
|
4065
4214
|
`;
|
|
4066
4215
|
|
|
4067
4216
|
// src/MessageBubble/MessageBubble.tsx
|
|
4068
|
-
var
|
|
4217
|
+
var import_jsx_runtime207 = require("@emotion/react/jsx-runtime");
|
|
4069
4218
|
var MessageBubble = ({
|
|
4070
4219
|
variant = "sent",
|
|
4071
4220
|
timestamp,
|
|
4072
4221
|
className,
|
|
4073
4222
|
children
|
|
4074
4223
|
}) => {
|
|
4075
|
-
return /* @__PURE__ */ (0,
|
|
4076
|
-
timestamp && /* @__PURE__ */ (0,
|
|
4224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)("div", { className, css: getRootStyles(variant), children: [
|
|
4225
|
+
timestamp && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(
|
|
4077
4226
|
Text_default,
|
|
4078
4227
|
{
|
|
4079
4228
|
size: "xs",
|
|
@@ -4082,17 +4231,17 @@ var MessageBubble = ({
|
|
|
4082
4231
|
children: timestamp
|
|
4083
4232
|
}
|
|
4084
4233
|
),
|
|
4085
|
-
/* @__PURE__ */ (0,
|
|
4234
|
+
/* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { css: getBubbleStyles(variant), children: /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { css: contentStyles, children }) })
|
|
4086
4235
|
] });
|
|
4087
4236
|
};
|
|
4088
4237
|
var MessageBubble_default = MessageBubble;
|
|
4089
4238
|
|
|
4090
4239
|
// src/Widget/Widget.tsx
|
|
4091
|
-
var
|
|
4240
|
+
var import_react21 = require("react");
|
|
4092
4241
|
|
|
4093
4242
|
// src/Widget/Widget.styles.ts
|
|
4094
|
-
var
|
|
4095
|
-
var panelContainer =
|
|
4243
|
+
var import_react20 = require("@emotion/react");
|
|
4244
|
+
var panelContainer = import_react20.css`
|
|
4096
4245
|
position: absolute;
|
|
4097
4246
|
right: 0;
|
|
4098
4247
|
bottom: 0;
|
|
@@ -4108,7 +4257,7 @@ var panelContainer = import_react18.css`
|
|
|
4108
4257
|
justify-content: stretch;
|
|
4109
4258
|
}
|
|
4110
4259
|
`;
|
|
4111
|
-
var panelCard = (width2) =>
|
|
4260
|
+
var panelCard = (width2) => import_react20.css`
|
|
4112
4261
|
background: var(--surface-page);
|
|
4113
4262
|
color: var(--text-primary);
|
|
4114
4263
|
border: 1px solid var(--border-primary);
|
|
@@ -4129,16 +4278,16 @@ var panelCard = (width2) => import_react18.css`
|
|
|
4129
4278
|
overflow: auto;
|
|
4130
4279
|
}
|
|
4131
4280
|
`;
|
|
4132
|
-
var widgetTrigger =
|
|
4281
|
+
var widgetTrigger = import_react20.css`
|
|
4133
4282
|
margin: var(--spacing-1);
|
|
4134
4283
|
box-shadow: var(--shadow-2xl);
|
|
4135
4284
|
`;
|
|
4136
4285
|
|
|
4137
4286
|
// src/Widget/Widget.tsx
|
|
4138
|
-
var
|
|
4139
|
-
var WidgetContext = (0,
|
|
4287
|
+
var import_jsx_runtime208 = require("@emotion/react/jsx-runtime");
|
|
4288
|
+
var WidgetContext = (0, import_react21.createContext)(null);
|
|
4140
4289
|
var useWidgetContext = () => {
|
|
4141
|
-
const ctx = (0,
|
|
4290
|
+
const ctx = (0, import_react21.useContext)(WidgetContext);
|
|
4142
4291
|
if (!ctx)
|
|
4143
4292
|
throw new Error("Widget subcomponents must be used within <Widget>");
|
|
4144
4293
|
return ctx;
|
|
@@ -4146,7 +4295,7 @@ var useWidgetContext = () => {
|
|
|
4146
4295
|
var WidgetTrigger = () => {
|
|
4147
4296
|
const { expanded, toggle, triggerRef, icon, expandedIcon } = useWidgetContext();
|
|
4148
4297
|
const currentIcon = expanded ? expandedIcon : icon;
|
|
4149
|
-
return /* @__PURE__ */ (0,
|
|
4298
|
+
return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(import_jsx_runtime208.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
|
|
4150
4299
|
Button_default,
|
|
4151
4300
|
{
|
|
4152
4301
|
ref: triggerRef,
|
|
@@ -4154,7 +4303,7 @@ var WidgetTrigger = () => {
|
|
|
4154
4303
|
"aria-haspopup": "dialog",
|
|
4155
4304
|
onClick: toggle,
|
|
4156
4305
|
size: "lg",
|
|
4157
|
-
icon: /* @__PURE__ */ (0,
|
|
4306
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Icon_default, { variant: currentIcon, size: 12 }),
|
|
4158
4307
|
css: widgetTrigger
|
|
4159
4308
|
}
|
|
4160
4309
|
) });
|
|
@@ -4162,7 +4311,7 @@ var WidgetTrigger = () => {
|
|
|
4162
4311
|
var WidgetPanel = ({ className, style, children }) => {
|
|
4163
4312
|
var _a;
|
|
4164
4313
|
const { expanded, panelWidth } = useWidgetContext();
|
|
4165
|
-
return /* @__PURE__ */ (0,
|
|
4314
|
+
return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
|
|
4166
4315
|
"div",
|
|
4167
4316
|
{
|
|
4168
4317
|
css: panelContainer,
|
|
@@ -4171,7 +4320,7 @@ var WidgetPanel = ({ className, style, children }) => {
|
|
|
4171
4320
|
...style,
|
|
4172
4321
|
display: expanded ? (_a = style == null ? void 0 : style.display) != null ? _a : void 0 : "none"
|
|
4173
4322
|
},
|
|
4174
|
-
children: /* @__PURE__ */ (0,
|
|
4323
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
|
|
4175
4324
|
Box_default,
|
|
4176
4325
|
{
|
|
4177
4326
|
css: panelCard(panelWidth),
|
|
@@ -4196,12 +4345,12 @@ var WidgetRoot = ({
|
|
|
4196
4345
|
children,
|
|
4197
4346
|
containerProps
|
|
4198
4347
|
}) => {
|
|
4199
|
-
const [internalExpanded, setInternalExpanded] = (0,
|
|
4348
|
+
const [internalExpanded, setInternalExpanded] = (0, import_react21.useState)(defaultExpanded);
|
|
4200
4349
|
const isControlled = typeof expanded === "boolean";
|
|
4201
4350
|
const isExpanded = isControlled ? expanded : internalExpanded;
|
|
4202
|
-
const triggerRef = (0,
|
|
4203
|
-
const containerRef = (0,
|
|
4204
|
-
const setExpanded = (0,
|
|
4351
|
+
const triggerRef = (0, import_react21.useRef)(null);
|
|
4352
|
+
const containerRef = (0, import_react21.useRef)(null);
|
|
4353
|
+
const setExpanded = (0, import_react21.useCallback)(
|
|
4205
4354
|
(next) => {
|
|
4206
4355
|
if (!isControlled)
|
|
4207
4356
|
setInternalExpanded(next);
|
|
@@ -4215,11 +4364,11 @@ var WidgetRoot = ({
|
|
|
4215
4364
|
},
|
|
4216
4365
|
[isControlled, onExpandedChange]
|
|
4217
4366
|
);
|
|
4218
|
-
const toggle = (0,
|
|
4367
|
+
const toggle = (0, import_react21.useCallback)(
|
|
4219
4368
|
() => setExpanded(!isExpanded),
|
|
4220
4369
|
[isExpanded, setExpanded]
|
|
4221
4370
|
);
|
|
4222
|
-
(0,
|
|
4371
|
+
(0, import_react21.useEffect)(() => {
|
|
4223
4372
|
if (!isExpanded)
|
|
4224
4373
|
return;
|
|
4225
4374
|
const onDocClick = (e) => {
|
|
@@ -4233,7 +4382,7 @@ var WidgetRoot = ({
|
|
|
4233
4382
|
document.addEventListener("mousedown", onDocClick);
|
|
4234
4383
|
return () => document.removeEventListener("mousedown", onDocClick);
|
|
4235
4384
|
}, [isExpanded, setExpanded]);
|
|
4236
|
-
(0,
|
|
4385
|
+
(0, import_react21.useEffect)(() => {
|
|
4237
4386
|
if (!isExpanded)
|
|
4238
4387
|
return;
|
|
4239
4388
|
const onKey = (e) => {
|
|
@@ -4243,7 +4392,7 @@ var WidgetRoot = ({
|
|
|
4243
4392
|
document.addEventListener("keydown", onKey);
|
|
4244
4393
|
return () => document.removeEventListener("keydown", onKey);
|
|
4245
4394
|
}, [isExpanded, setExpanded]);
|
|
4246
|
-
const value = (0,
|
|
4395
|
+
const value = (0, import_react21.useMemo)(
|
|
4247
4396
|
() => ({
|
|
4248
4397
|
expanded: isExpanded,
|
|
4249
4398
|
toggle,
|
|
@@ -4254,7 +4403,7 @@ var WidgetRoot = ({
|
|
|
4254
4403
|
}),
|
|
4255
4404
|
[expandedIcon, icon, isExpanded, panelWidth, toggle]
|
|
4256
4405
|
);
|
|
4257
|
-
return /* @__PURE__ */ (0,
|
|
4406
|
+
return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(
|
|
4258
4407
|
Box_default,
|
|
4259
4408
|
{
|
|
4260
4409
|
ref: containerRef,
|
|
@@ -4265,7 +4414,7 @@ var WidgetRoot = ({
|
|
|
4265
4414
|
bottom: "var(--spacing-6)",
|
|
4266
4415
|
zIndex: 100,
|
|
4267
4416
|
...containerProps,
|
|
4268
|
-
children: /* @__PURE__ */ (0,
|
|
4417
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(WidgetContext.Provider, { value, children })
|
|
4269
4418
|
}
|
|
4270
4419
|
);
|
|
4271
4420
|
};
|
|
@@ -4276,8 +4425,8 @@ var Widget = Object.assign(WidgetRoot, {
|
|
|
4276
4425
|
var Widget_default = Widget;
|
|
4277
4426
|
|
|
4278
4427
|
// src/ChatWidget/ChatWidget.styles.ts
|
|
4279
|
-
var
|
|
4280
|
-
var sentWrapperStyles =
|
|
4428
|
+
var import_react22 = require("@emotion/react");
|
|
4429
|
+
var sentWrapperStyles = import_react22.css`
|
|
4281
4430
|
align-self: flex-end;
|
|
4282
4431
|
max-width: 90%;
|
|
4283
4432
|
width: 100%;
|
|
@@ -4285,14 +4434,14 @@ var sentWrapperStyles = import_react20.css`
|
|
|
4285
4434
|
overflow-wrap: anywhere;
|
|
4286
4435
|
padding-top: var(--spacing-4);
|
|
4287
4436
|
`;
|
|
4288
|
-
var receivedWrapperStyles =
|
|
4437
|
+
var receivedWrapperStyles = import_react22.css`
|
|
4289
4438
|
align-self: flex-start;
|
|
4290
4439
|
width: 100%;
|
|
4291
4440
|
min-width: 0;
|
|
4292
4441
|
overflow-wrap: anywhere;
|
|
4293
4442
|
padding-top: var(--spacing-4);
|
|
4294
4443
|
`;
|
|
4295
|
-
var containerStyles =
|
|
4444
|
+
var containerStyles = import_react22.css`
|
|
4296
4445
|
display: flex;
|
|
4297
4446
|
flex-direction: column;
|
|
4298
4447
|
min-height: 0;
|
|
@@ -4302,13 +4451,13 @@ var containerStyles = import_react20.css`
|
|
|
4302
4451
|
height: 100%;
|
|
4303
4452
|
}
|
|
4304
4453
|
`;
|
|
4305
|
-
var thinkingRowStyles =
|
|
4454
|
+
var thinkingRowStyles = import_react22.css`
|
|
4306
4455
|
display: flex;
|
|
4307
4456
|
align-items: center;
|
|
4308
4457
|
gap: var(--spacing-2);
|
|
4309
4458
|
color: var(--text-primary);
|
|
4310
4459
|
`;
|
|
4311
|
-
var thinkingTextStyles =
|
|
4460
|
+
var thinkingTextStyles = import_react22.css`
|
|
4312
4461
|
animation: ltchat-pulse 1.6s ease-in-out infinite;
|
|
4313
4462
|
|
|
4314
4463
|
@keyframes ltchat-pulse {
|
|
@@ -4321,7 +4470,7 @@ var thinkingTextStyles = import_react20.css`
|
|
|
4321
4470
|
}
|
|
4322
4471
|
}
|
|
4323
4472
|
`;
|
|
4324
|
-
var badge =
|
|
4473
|
+
var badge = import_react22.css`
|
|
4325
4474
|
width: var(--spacing-11);
|
|
4326
4475
|
height: var(--spacing-11);
|
|
4327
4476
|
border-radius: var(--radius-round);
|
|
@@ -4331,16 +4480,16 @@ var badge = import_react20.css`
|
|
|
4331
4480
|
background-color: var(--color-primary-500);
|
|
4332
4481
|
color: var(--color-base-white);
|
|
4333
4482
|
`;
|
|
4334
|
-
var closeButtonContent =
|
|
4483
|
+
var closeButtonContent = import_react22.css`
|
|
4335
4484
|
display: inline-flex;
|
|
4336
4485
|
align-items: center;
|
|
4337
4486
|
gap: var(--spacing-2);
|
|
4338
4487
|
`;
|
|
4339
4488
|
|
|
4340
4489
|
// src/ChatWidget/ChatWidget.tsx
|
|
4341
|
-
var
|
|
4490
|
+
var import_jsx_runtime209 = require("@emotion/react/jsx-runtime");
|
|
4342
4491
|
var DEFAULT_EMPTY_STATE = [
|
|
4343
|
-
/* @__PURE__ */ (0,
|
|
4492
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
|
|
4344
4493
|
AIResponse_default,
|
|
4345
4494
|
{
|
|
4346
4495
|
showDisclaimer: false,
|
|
@@ -4367,12 +4516,12 @@ var ChatWidget = ({
|
|
|
4367
4516
|
emptyState = DEFAULT_EMPTY_STATE,
|
|
4368
4517
|
containerProps
|
|
4369
4518
|
}) => {
|
|
4370
|
-
const [value, setValue] = (0,
|
|
4371
|
-
const scrollRef = (0,
|
|
4519
|
+
const [value, setValue] = (0, import_react23.useState)("");
|
|
4520
|
+
const scrollRef = (0, import_react23.useRef)(null);
|
|
4372
4521
|
const isControlled = typeof expanded === "boolean";
|
|
4373
|
-
const [internalExpanded, setInternalExpanded] = (0,
|
|
4522
|
+
const [internalExpanded, setInternalExpanded] = (0, import_react23.useState)(defaultExpanded);
|
|
4374
4523
|
const isExpanded = isControlled ? expanded : internalExpanded;
|
|
4375
|
-
const setExpanded = (0,
|
|
4524
|
+
const setExpanded = (0, import_react23.useCallback)(
|
|
4376
4525
|
(next) => {
|
|
4377
4526
|
if (!isControlled)
|
|
4378
4527
|
setInternalExpanded(next);
|
|
@@ -4380,24 +4529,24 @@ var ChatWidget = ({
|
|
|
4380
4529
|
},
|
|
4381
4530
|
[isControlled, onExpandedChange]
|
|
4382
4531
|
);
|
|
4383
|
-
(0,
|
|
4532
|
+
(0, import_react23.useEffect)(() => {
|
|
4384
4533
|
const el = scrollRef.current;
|
|
4385
4534
|
if (!el)
|
|
4386
4535
|
return;
|
|
4387
4536
|
el.scrollTo({ top: el.scrollHeight, behavior: "smooth" });
|
|
4388
4537
|
}, [messages, isThinking]);
|
|
4389
4538
|
const messagesToRender = messages.length === 0 ? emptyState : messages;
|
|
4390
|
-
const renderedMessages = (0,
|
|
4539
|
+
const renderedMessages = (0, import_react23.useMemo)(
|
|
4391
4540
|
() => messagesToRender.map((element, index) => {
|
|
4392
4541
|
var _a;
|
|
4393
4542
|
const key = (_a = element.key) != null ? _a : index;
|
|
4394
4543
|
if (element.type === AIResponse_default) {
|
|
4395
|
-
return /* @__PURE__ */ (0,
|
|
4544
|
+
return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Box_default, { css: receivedWrapperStyles, children: element }, key);
|
|
4396
4545
|
}
|
|
4397
4546
|
if (element.type === MessageBubble_default) {
|
|
4398
|
-
return /* @__PURE__ */ (0,
|
|
4547
|
+
return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Box_default, { css: sentWrapperStyles, children: element }, key);
|
|
4399
4548
|
}
|
|
4400
|
-
return /* @__PURE__ */ (0,
|
|
4549
|
+
return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(import_react23.default.Fragment, { children: element }, key);
|
|
4401
4550
|
}),
|
|
4402
4551
|
[messagesToRender]
|
|
4403
4552
|
);
|
|
@@ -4408,7 +4557,7 @@ var ChatWidget = ({
|
|
|
4408
4557
|
onSubmit(trimmed);
|
|
4409
4558
|
setValue("");
|
|
4410
4559
|
};
|
|
4411
|
-
return /* @__PURE__ */ (0,
|
|
4560
|
+
return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(
|
|
4412
4561
|
Widget_default,
|
|
4413
4562
|
{
|
|
4414
4563
|
ariaLabel,
|
|
@@ -4419,10 +4568,10 @@ var ChatWidget = ({
|
|
|
4419
4568
|
className,
|
|
4420
4569
|
containerProps,
|
|
4421
4570
|
children: [
|
|
4422
|
-
/* @__PURE__ */ (0,
|
|
4423
|
-
/* @__PURE__ */ (0,
|
|
4424
|
-
/* @__PURE__ */ (0,
|
|
4425
|
-
/* @__PURE__ */ (0,
|
|
4571
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Widget_default.Trigger, {}),
|
|
4572
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Widget_default.Panel, { children: /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(Box_default, { css: containerStyles, children: [
|
|
4573
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(Box_default, { position: "sticky", top: 0, zIndex: 1, children: [
|
|
4574
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(
|
|
4426
4575
|
Box_default,
|
|
4427
4576
|
{
|
|
4428
4577
|
display: "flex",
|
|
@@ -4430,9 +4579,9 @@ var ChatWidget = ({
|
|
|
4430
4579
|
justifyContent: "space-between",
|
|
4431
4580
|
gap: "var(--spacing-4)",
|
|
4432
4581
|
children: [
|
|
4433
|
-
/* @__PURE__ */ (0,
|
|
4434
|
-
/* @__PURE__ */ (0,
|
|
4435
|
-
/* @__PURE__ */ (0,
|
|
4582
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-4)", children: [
|
|
4583
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)("span", { css: badge, children: /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Icon_default, { variant: "ConversationalSearchAi", size: 6 }) }),
|
|
4584
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
|
|
4436
4585
|
Heading_default,
|
|
4437
4586
|
{
|
|
4438
4587
|
size: "2xs",
|
|
@@ -4442,25 +4591,25 @@ var ChatWidget = ({
|
|
|
4442
4591
|
}
|
|
4443
4592
|
)
|
|
4444
4593
|
] }),
|
|
4445
|
-
/* @__PURE__ */ (0,
|
|
4594
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
|
|
4446
4595
|
Button_default,
|
|
4447
4596
|
{
|
|
4448
4597
|
variant: "text",
|
|
4449
4598
|
size: "xs",
|
|
4450
4599
|
"aria-label": "Close widget",
|
|
4451
4600
|
onClick: () => setExpanded(false),
|
|
4452
|
-
children: /* @__PURE__ */ (0,
|
|
4453
|
-
/* @__PURE__ */ (0,
|
|
4454
|
-
/* @__PURE__ */ (0,
|
|
4601
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)("span", { css: closeButtonContent, children: [
|
|
4602
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Icon_default, { variant: "Xmark", size: 5 }),
|
|
4603
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)("span", { children: "Close" })
|
|
4455
4604
|
] })
|
|
4456
4605
|
}
|
|
4457
4606
|
)
|
|
4458
4607
|
]
|
|
4459
4608
|
}
|
|
4460
4609
|
),
|
|
4461
|
-
/* @__PURE__ */ (0,
|
|
4610
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Divider_default, { mt: 4, mb: 0 })
|
|
4462
4611
|
] }),
|
|
4463
|
-
/* @__PURE__ */ (0,
|
|
4612
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(
|
|
4464
4613
|
Box_default,
|
|
4465
4614
|
{
|
|
4466
4615
|
ref: scrollRef,
|
|
@@ -4473,15 +4622,15 @@ var ChatWidget = ({
|
|
|
4473
4622
|
flexDirection: "column",
|
|
4474
4623
|
gap: "var(--spacing-2)",
|
|
4475
4624
|
children: [
|
|
4476
|
-
/* @__PURE__ */ (0,
|
|
4477
|
-
isThinking && /* @__PURE__ */ (0,
|
|
4478
|
-
/* @__PURE__ */ (0,
|
|
4479
|
-
/* @__PURE__ */ (0,
|
|
4625
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-2)", children: renderedMessages }),
|
|
4626
|
+
isThinking && /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Box_default, { css: receivedWrapperStyles, children: /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)("div", { css: thinkingRowStyles, children: [
|
|
4627
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Spinner_default2, { size: 5 }),
|
|
4628
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)("span", { css: thinkingTextStyles, children: "Thinking..." })
|
|
4480
4629
|
] }) })
|
|
4481
4630
|
]
|
|
4482
4631
|
}
|
|
4483
4632
|
),
|
|
4484
|
-
/* @__PURE__ */ (0,
|
|
4633
|
+
/* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Box_default, { position: "sticky", bottom: 0, zIndex: 1, p: 0, children: /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(
|
|
4485
4634
|
TextArea_default,
|
|
4486
4635
|
{
|
|
4487
4636
|
rows: 3,
|
|
@@ -4503,9 +4652,61 @@ var ChatWidget = ({
|
|
|
4503
4652
|
};
|
|
4504
4653
|
var ChatWidget_default = ChatWidget;
|
|
4505
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
|
+
|
|
4506
4707
|
// src/FieldNoteCard/FieldNoteCard.styles.ts
|
|
4507
|
-
var
|
|
4508
|
-
var cardContainerStyles =
|
|
4708
|
+
var import_react24 = require("@emotion/react");
|
|
4709
|
+
var cardContainerStyles = import_react24.css`
|
|
4509
4710
|
position: relative;
|
|
4510
4711
|
height: 335px;
|
|
4511
4712
|
|
|
@@ -4513,12 +4714,12 @@ var cardContainerStyles = import_react22.css`
|
|
|
4513
4714
|
height: 480px;
|
|
4514
4715
|
}
|
|
4515
4716
|
`;
|
|
4516
|
-
var cardContentStyles =
|
|
4717
|
+
var cardContentStyles = import_react24.css`
|
|
4517
4718
|
position: relative;
|
|
4518
4719
|
border-radius: var(--spacing-4);
|
|
4519
4720
|
overflow: hidden;
|
|
4520
4721
|
`;
|
|
4521
|
-
var getBackgroundWithGradient = (imageUrl) =>
|
|
4722
|
+
var getBackgroundWithGradient = (imageUrl) => import_react24.css`
|
|
4522
4723
|
background-image: linear-gradient(
|
|
4523
4724
|
180deg,
|
|
4524
4725
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -4532,7 +4733,7 @@ var getBackgroundWithGradient = (imageUrl) => import_react22.css`
|
|
|
4532
4733
|
`;
|
|
4533
4734
|
|
|
4534
4735
|
// src/FieldNoteCard/FieldNoteCard.tsx
|
|
4535
|
-
var
|
|
4736
|
+
var import_jsx_runtime212 = require("@emotion/react/jsx-runtime");
|
|
4536
4737
|
var FieldNoteCard = ({
|
|
4537
4738
|
backgroundImage,
|
|
4538
4739
|
title,
|
|
@@ -4541,14 +4742,14 @@ var FieldNoteCard = ({
|
|
|
4541
4742
|
className,
|
|
4542
4743
|
...rest
|
|
4543
4744
|
}) => {
|
|
4544
|
-
return /* @__PURE__ */ (0,
|
|
4745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
|
|
4545
4746
|
Box_default,
|
|
4546
4747
|
{
|
|
4547
4748
|
display: "flex",
|
|
4548
4749
|
css: cardContainerStyles,
|
|
4549
4750
|
className,
|
|
4550
4751
|
...rest,
|
|
4551
|
-
children: /* @__PURE__ */ (0,
|
|
4752
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(
|
|
4552
4753
|
Box_default,
|
|
4553
4754
|
{
|
|
4554
4755
|
display: "flex",
|
|
@@ -4556,9 +4757,9 @@ var FieldNoteCard = ({
|
|
|
4556
4757
|
justifyContent: "flex-end",
|
|
4557
4758
|
p: 6,
|
|
4558
4759
|
css: [cardContentStyles, getBackgroundWithGradient(backgroundImage)],
|
|
4559
|
-
children: /* @__PURE__ */ (0,
|
|
4560
|
-
/* @__PURE__ */ (0,
|
|
4561
|
-
/* @__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 })
|
|
4562
4763
|
] })
|
|
4563
4764
|
}
|
|
4564
4765
|
)
|
|
@@ -4568,14 +4769,14 @@ var FieldNoteCard = ({
|
|
|
4568
4769
|
var FieldNoteCard_default = FieldNoteCard;
|
|
4569
4770
|
|
|
4570
4771
|
// src/Form/FormField.tsx
|
|
4571
|
-
var
|
|
4572
|
-
var
|
|
4573
|
-
var fieldContainerStyles =
|
|
4772
|
+
var import_react25 = require("@emotion/react");
|
|
4773
|
+
var import_jsx_runtime213 = require("@emotion/react/jsx-runtime");
|
|
4774
|
+
var fieldContainerStyles = import_react25.css`
|
|
4574
4775
|
display: flex;
|
|
4575
4776
|
flex-direction: column;
|
|
4576
4777
|
gap: ${space["2"]};
|
|
4577
4778
|
`;
|
|
4578
|
-
var labelStyles2 =
|
|
4779
|
+
var labelStyles2 = import_react25.css`
|
|
4579
4780
|
font-family: ${fonts.base};
|
|
4580
4781
|
font-size: ${fontSizes.sm};
|
|
4581
4782
|
font-weight: ${fontWeights.medium};
|
|
@@ -4583,17 +4784,17 @@ var labelStyles2 = import_react23.css`
|
|
|
4583
4784
|
color: ${colors.gray["900"]};
|
|
4584
4785
|
margin-bottom: ${space["1"]};
|
|
4585
4786
|
`;
|
|
4586
|
-
var requiredIndicatorStyles =
|
|
4787
|
+
var requiredIndicatorStyles = import_react25.css`
|
|
4587
4788
|
color: ${colors.red["500"]};
|
|
4588
4789
|
margin-left: ${space["1"]};
|
|
4589
4790
|
`;
|
|
4590
|
-
var helpTextStyles =
|
|
4791
|
+
var helpTextStyles = import_react25.css`
|
|
4591
4792
|
font-family: ${fonts.base};
|
|
4592
4793
|
font-size: ${fontSizes.sm};
|
|
4593
4794
|
line-height: ${lineHeights.tight};
|
|
4594
4795
|
color: ${colors.gray["600"]};
|
|
4595
4796
|
`;
|
|
4596
|
-
var errorTextStyles =
|
|
4797
|
+
var errorTextStyles = import_react25.css`
|
|
4597
4798
|
font-family: ${fonts.base};
|
|
4598
4799
|
font-size: ${fontSizes.sm};
|
|
4599
4800
|
line-height: ${lineHeights.tight};
|
|
@@ -4602,7 +4803,7 @@ var errorTextStyles = import_react23.css`
|
|
|
4602
4803
|
align-items: center;
|
|
4603
4804
|
gap: ${space["1"]};
|
|
4604
4805
|
`;
|
|
4605
|
-
var successTextStyles =
|
|
4806
|
+
var successTextStyles = import_react25.css`
|
|
4606
4807
|
font-family: ${fonts.base};
|
|
4607
4808
|
font-size: ${fontSizes.sm};
|
|
4608
4809
|
line-height: ${lineHeights.tight};
|
|
@@ -4611,7 +4812,7 @@ var successTextStyles = import_react23.css`
|
|
|
4611
4812
|
align-items: center;
|
|
4612
4813
|
gap: ${space["1"]};
|
|
4613
4814
|
`;
|
|
4614
|
-
var visuallyHiddenStyles =
|
|
4815
|
+
var visuallyHiddenStyles = import_react25.css`
|
|
4615
4816
|
position: absolute;
|
|
4616
4817
|
width: 1px;
|
|
4617
4818
|
height: 1px;
|
|
@@ -4636,21 +4837,21 @@ var FormField = ({
|
|
|
4636
4837
|
const hasError = !!error;
|
|
4637
4838
|
const hasSuccess = !!success && !hasError;
|
|
4638
4839
|
const hasHelpText = !!helpText && !hasError && !hasSuccess;
|
|
4639
|
-
return /* @__PURE__ */ (0,
|
|
4640
|
-
label && /* @__PURE__ */ (0,
|
|
4840
|
+
return /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { css: fieldContainerStyles, className, children: [
|
|
4841
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)(
|
|
4641
4842
|
"label",
|
|
4642
4843
|
{
|
|
4643
4844
|
htmlFor,
|
|
4644
4845
|
css: [labelStyles2, hideLabel && visuallyHiddenStyles],
|
|
4645
4846
|
children: [
|
|
4646
4847
|
label,
|
|
4647
|
-
required && /* @__PURE__ */ (0,
|
|
4848
|
+
required && /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("span", { css: requiredIndicatorStyles, "aria-label": "required", children: "*" })
|
|
4648
4849
|
]
|
|
4649
4850
|
}
|
|
4650
4851
|
),
|
|
4651
4852
|
children,
|
|
4652
|
-
hasError && /* @__PURE__ */ (0,
|
|
4653
|
-
/* @__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)(
|
|
4654
4855
|
"path",
|
|
4655
4856
|
{
|
|
4656
4857
|
fillRule: "evenodd",
|
|
@@ -4660,8 +4861,8 @@ var FormField = ({
|
|
|
4660
4861
|
) }),
|
|
4661
4862
|
error
|
|
4662
4863
|
] }),
|
|
4663
|
-
hasSuccess && /* @__PURE__ */ (0,
|
|
4664
|
-
/* @__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)(
|
|
4665
4866
|
"path",
|
|
4666
4867
|
{
|
|
4667
4868
|
fillRule: "evenodd",
|
|
@@ -4671,15 +4872,15 @@ var FormField = ({
|
|
|
4671
4872
|
) }),
|
|
4672
4873
|
success
|
|
4673
4874
|
] }),
|
|
4674
|
-
hasHelpText && /* @__PURE__ */ (0,
|
|
4875
|
+
hasHelpText && /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("div", { css: helpTextStyles, children: helpText })
|
|
4675
4876
|
] });
|
|
4676
4877
|
};
|
|
4677
4878
|
|
|
4678
4879
|
// src/Form/Input.tsx
|
|
4679
|
-
var
|
|
4680
|
-
var
|
|
4681
|
-
var
|
|
4682
|
-
var inputStyles =
|
|
4880
|
+
var import_react26 = require("@emotion/react");
|
|
4881
|
+
var import_react27 = require("react");
|
|
4882
|
+
var import_jsx_runtime214 = require("@emotion/react/jsx-runtime");
|
|
4883
|
+
var inputStyles = import_react26.css`
|
|
4683
4884
|
position: relative;
|
|
4684
4885
|
width: 100%;
|
|
4685
4886
|
font-family: ${fonts.base};
|
|
@@ -4716,19 +4917,19 @@ var inputStyles = import_react24.css`
|
|
|
4716
4917
|
}
|
|
4717
4918
|
`;
|
|
4718
4919
|
var sizeStyles = {
|
|
4719
|
-
sm:
|
|
4920
|
+
sm: import_react26.css`
|
|
4720
4921
|
padding: ${space["2"]} ${space["3"]};
|
|
4721
4922
|
font-size: ${fontSizes.sm};
|
|
4722
4923
|
line-height: ${lineHeights.tight};
|
|
4723
4924
|
height: ${space["8"]};
|
|
4724
4925
|
`,
|
|
4725
|
-
md:
|
|
4926
|
+
md: import_react26.css`
|
|
4726
4927
|
padding: ${space["3"]} ${space["4"]};
|
|
4727
4928
|
font-size: ${fontSizes.base};
|
|
4728
4929
|
line-height: ${lineHeights.normal};
|
|
4729
4930
|
height: ${space["10"]};
|
|
4730
4931
|
`,
|
|
4731
|
-
lg:
|
|
4932
|
+
lg: import_react26.css`
|
|
4732
4933
|
padding: ${space["4"]} ${space["5"]};
|
|
4733
4934
|
font-size: ${fontSizes.lg};
|
|
4734
4935
|
line-height: ${lineHeights.normal};
|
|
@@ -4736,8 +4937,8 @@ var sizeStyles = {
|
|
|
4736
4937
|
`
|
|
4737
4938
|
};
|
|
4738
4939
|
var variantStyles = {
|
|
4739
|
-
default:
|
|
4740
|
-
error:
|
|
4940
|
+
default: import_react26.css``,
|
|
4941
|
+
error: import_react26.css`
|
|
4741
4942
|
border-color: ${colors.red["500"]};
|
|
4742
4943
|
|
|
4743
4944
|
&:focus {
|
|
@@ -4745,7 +4946,7 @@ var variantStyles = {
|
|
|
4745
4946
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
4746
4947
|
}
|
|
4747
4948
|
`,
|
|
4748
|
-
success:
|
|
4949
|
+
success: import_react26.css`
|
|
4749
4950
|
border-color: ${colors.accent.green};
|
|
4750
4951
|
|
|
4751
4952
|
&:focus {
|
|
@@ -4754,7 +4955,7 @@ var variantStyles = {
|
|
|
4754
4955
|
}
|
|
4755
4956
|
`
|
|
4756
4957
|
};
|
|
4757
|
-
var inputWithIconStyles =
|
|
4958
|
+
var inputWithIconStyles = import_react26.css`
|
|
4758
4959
|
padding-left: ${space["10"]};
|
|
4759
4960
|
|
|
4760
4961
|
&.has-end-icon {
|
|
@@ -4765,7 +4966,7 @@ var inputWithIconStyles = import_react24.css`
|
|
|
4765
4966
|
padding-left: ${space["10"]};
|
|
4766
4967
|
}
|
|
4767
4968
|
`;
|
|
4768
|
-
var iconContainerStyles =
|
|
4969
|
+
var iconContainerStyles = import_react26.css`
|
|
4769
4970
|
position: absolute;
|
|
4770
4971
|
top: 50%;
|
|
4771
4972
|
transform: translateY(-50%);
|
|
@@ -4776,20 +4977,20 @@ var iconContainerStyles = import_react24.css`
|
|
|
4776
4977
|
pointer-events: none;
|
|
4777
4978
|
z-index: 1;
|
|
4778
4979
|
`;
|
|
4779
|
-
var startIconStyles =
|
|
4980
|
+
var startIconStyles = import_react26.css`
|
|
4780
4981
|
${iconContainerStyles}
|
|
4781
4982
|
left: ${space["3"]};
|
|
4782
4983
|
`;
|
|
4783
|
-
var endIconStyles =
|
|
4984
|
+
var endIconStyles = import_react26.css`
|
|
4784
4985
|
${iconContainerStyles}
|
|
4785
4986
|
right: ${space["3"]};
|
|
4786
4987
|
`;
|
|
4787
|
-
var inputWrapperStyles =
|
|
4988
|
+
var inputWrapperStyles = import_react26.css`
|
|
4788
4989
|
position: relative;
|
|
4789
4990
|
display: inline-block;
|
|
4790
4991
|
width: 100%;
|
|
4791
4992
|
`;
|
|
4792
|
-
var Input = (0,
|
|
4993
|
+
var Input = (0, import_react27.forwardRef)(
|
|
4793
4994
|
({
|
|
4794
4995
|
size = "md",
|
|
4795
4996
|
variant = "default",
|
|
@@ -4808,9 +5009,9 @@ var Input = (0, import_react25.forwardRef)(
|
|
|
4808
5009
|
hasEndIcon && "has-end-icon",
|
|
4809
5010
|
className
|
|
4810
5011
|
].filter(Boolean).join(" ");
|
|
4811
|
-
return /* @__PURE__ */ (0,
|
|
4812
|
-
hasStartIcon && /* @__PURE__ */ (0,
|
|
4813
|
-
/* @__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)(
|
|
4814
5015
|
"input",
|
|
4815
5016
|
{
|
|
4816
5017
|
ref,
|
|
@@ -4827,17 +5028,17 @@ var Input = (0, import_react25.forwardRef)(
|
|
|
4827
5028
|
...props
|
|
4828
5029
|
}
|
|
4829
5030
|
),
|
|
4830
|
-
hasEndIcon && /* @__PURE__ */ (0,
|
|
5031
|
+
hasEndIcon && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { css: endIconStyles, children: endIcon })
|
|
4831
5032
|
] });
|
|
4832
5033
|
}
|
|
4833
5034
|
);
|
|
4834
5035
|
Input.displayName = "Input";
|
|
4835
5036
|
|
|
4836
5037
|
// src/Form/Select.tsx
|
|
4837
|
-
var
|
|
4838
|
-
var
|
|
4839
|
-
var
|
|
4840
|
-
var selectStyles =
|
|
5038
|
+
var import_react28 = require("@emotion/react");
|
|
5039
|
+
var import_react29 = require("react");
|
|
5040
|
+
var import_jsx_runtime215 = require("@emotion/react/jsx-runtime");
|
|
5041
|
+
var selectStyles = import_react28.css`
|
|
4841
5042
|
position: relative;
|
|
4842
5043
|
width: 100%;
|
|
4843
5044
|
font-family: ${fonts.base};
|
|
@@ -4876,19 +5077,19 @@ var selectStyles = import_react26.css`
|
|
|
4876
5077
|
}
|
|
4877
5078
|
`;
|
|
4878
5079
|
var sizeStyles2 = {
|
|
4879
|
-
sm:
|
|
5080
|
+
sm: import_react28.css`
|
|
4880
5081
|
padding: ${space["2"]} ${space["3"]};
|
|
4881
5082
|
font-size: ${fontSizes.sm};
|
|
4882
5083
|
line-height: ${lineHeights.tight};
|
|
4883
5084
|
height: ${space["8"]};
|
|
4884
5085
|
`,
|
|
4885
|
-
md:
|
|
5086
|
+
md: import_react28.css`
|
|
4886
5087
|
padding: ${space["3"]} ${space["4"]};
|
|
4887
5088
|
font-size: ${fontSizes.base};
|
|
4888
5089
|
line-height: ${lineHeights.normal};
|
|
4889
5090
|
height: ${space["10"]};
|
|
4890
5091
|
`,
|
|
4891
|
-
lg:
|
|
5092
|
+
lg: import_react28.css`
|
|
4892
5093
|
padding: ${space["4"]} ${space["5"]};
|
|
4893
5094
|
font-size: ${fontSizes.lg};
|
|
4894
5095
|
line-height: ${lineHeights.normal};
|
|
@@ -4896,8 +5097,8 @@ var sizeStyles2 = {
|
|
|
4896
5097
|
`
|
|
4897
5098
|
};
|
|
4898
5099
|
var variantStyles2 = {
|
|
4899
|
-
default:
|
|
4900
|
-
error:
|
|
5100
|
+
default: import_react28.css``,
|
|
5101
|
+
error: import_react28.css`
|
|
4901
5102
|
border-color: ${colors.red["500"]};
|
|
4902
5103
|
|
|
4903
5104
|
&:focus {
|
|
@@ -4905,7 +5106,7 @@ var variantStyles2 = {
|
|
|
4905
5106
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
4906
5107
|
}
|
|
4907
5108
|
`,
|
|
4908
|
-
success:
|
|
5109
|
+
success: import_react28.css`
|
|
4909
5110
|
border-color: ${colors.accent.green};
|
|
4910
5111
|
|
|
4911
5112
|
&:focus {
|
|
@@ -4914,7 +5115,7 @@ var variantStyles2 = {
|
|
|
4914
5115
|
}
|
|
4915
5116
|
`
|
|
4916
5117
|
};
|
|
4917
|
-
var optionStyles =
|
|
5118
|
+
var optionStyles = import_react28.css`
|
|
4918
5119
|
background-color: ${colors.light["100"]};
|
|
4919
5120
|
color: ${colors.gray["900"]};
|
|
4920
5121
|
|
|
@@ -4923,7 +5124,7 @@ var optionStyles = import_react26.css`
|
|
|
4923
5124
|
background-color: ${colors.gray["100"]};
|
|
4924
5125
|
}
|
|
4925
5126
|
`;
|
|
4926
|
-
var Select = (0,
|
|
5127
|
+
var Select = (0, import_react29.forwardRef)(
|
|
4927
5128
|
({
|
|
4928
5129
|
size = "md",
|
|
4929
5130
|
variant = "default",
|
|
@@ -4933,7 +5134,7 @@ var Select = (0, import_react27.forwardRef)(
|
|
|
4933
5134
|
className = "",
|
|
4934
5135
|
...props
|
|
4935
5136
|
}, ref) => {
|
|
4936
|
-
return /* @__PURE__ */ (0,
|
|
5137
|
+
return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)(
|
|
4937
5138
|
"select",
|
|
4938
5139
|
{
|
|
4939
5140
|
ref,
|
|
@@ -4942,8 +5143,8 @@ var Select = (0, import_react27.forwardRef)(
|
|
|
4942
5143
|
className,
|
|
4943
5144
|
...props,
|
|
4944
5145
|
children: [
|
|
4945
|
-
placeholderOption && /* @__PURE__ */ (0,
|
|
4946
|
-
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)(
|
|
4947
5148
|
"option",
|
|
4948
5149
|
{
|
|
4949
5150
|
value: option.value,
|
|
@@ -4961,10 +5162,10 @@ var Select = (0, import_react27.forwardRef)(
|
|
|
4961
5162
|
Select.displayName = "Select";
|
|
4962
5163
|
|
|
4963
5164
|
// src/Grid/Column.tsx
|
|
4964
|
-
var
|
|
5165
|
+
var import_react31 = require("@emotion/react");
|
|
4965
5166
|
|
|
4966
5167
|
// src/Grid/utils.ts
|
|
4967
|
-
var
|
|
5168
|
+
var import_react30 = require("@emotion/react");
|
|
4968
5169
|
var LayoutTokens = {
|
|
4969
5170
|
containers: {
|
|
4970
5171
|
sm: screens.sm,
|
|
@@ -5004,11 +5205,11 @@ var getResponsiveValue = (value) => {
|
|
|
5004
5205
|
var generateGridColumns = (columns) => {
|
|
5005
5206
|
const baseColumns = getResponsiveValue(columns);
|
|
5006
5207
|
if (typeof columns === "number") {
|
|
5007
|
-
return
|
|
5208
|
+
return import_react30.css`
|
|
5008
5209
|
grid-template-columns: repeat(${columns}, 1fr);
|
|
5009
5210
|
`;
|
|
5010
5211
|
}
|
|
5011
|
-
return
|
|
5212
|
+
return import_react30.css`
|
|
5012
5213
|
grid-template-columns: repeat(${baseColumns}, 1fr);
|
|
5013
5214
|
|
|
5014
5215
|
${media.sm} {
|
|
@@ -5040,11 +5241,11 @@ var generateGridColumns = (columns) => {
|
|
|
5040
5241
|
var generateGapStyles = (gap2) => {
|
|
5041
5242
|
const baseGap = getResponsiveValue(gap2);
|
|
5042
5243
|
if (typeof gap2 === "string" || typeof gap2 === "number") {
|
|
5043
|
-
return
|
|
5244
|
+
return import_react30.css`
|
|
5044
5245
|
gap: ${space[gap2]};
|
|
5045
5246
|
`;
|
|
5046
5247
|
}
|
|
5047
|
-
return
|
|
5248
|
+
return import_react30.css`
|
|
5048
5249
|
gap: ${space[baseGap]};
|
|
5049
5250
|
|
|
5050
5251
|
${media.sm} {
|
|
@@ -5067,11 +5268,11 @@ var generateGapStyles = (gap2) => {
|
|
|
5067
5268
|
var generateRowGapStyles = (rowGap) => {
|
|
5068
5269
|
const baseRowGap = getResponsiveValue(rowGap);
|
|
5069
5270
|
if (typeof rowGap === "string" || typeof rowGap === "number") {
|
|
5070
|
-
return
|
|
5271
|
+
return import_react30.css`
|
|
5071
5272
|
row-gap: ${space[rowGap]};
|
|
5072
5273
|
`;
|
|
5073
5274
|
}
|
|
5074
|
-
return
|
|
5275
|
+
return import_react30.css`
|
|
5075
5276
|
row-gap: ${space[baseRowGap]};
|
|
5076
5277
|
|
|
5077
5278
|
${media.sm} {
|
|
@@ -5094,11 +5295,11 @@ var generateRowGapStyles = (rowGap) => {
|
|
|
5094
5295
|
var generateColumnGapStyles = (columnGap) => {
|
|
5095
5296
|
const baseColumnGap = getResponsiveValue(columnGap);
|
|
5096
5297
|
if (typeof columnGap === "string" || typeof columnGap === "number") {
|
|
5097
|
-
return
|
|
5298
|
+
return import_react30.css`
|
|
5098
5299
|
column-gap: ${space[columnGap]};
|
|
5099
5300
|
`;
|
|
5100
5301
|
}
|
|
5101
|
-
return
|
|
5302
|
+
return import_react30.css`
|
|
5102
5303
|
column-gap: ${space[baseColumnGap]};
|
|
5103
5304
|
|
|
5104
5305
|
${media.sm} {
|
|
@@ -5121,11 +5322,11 @@ var generateColumnGapStyles = (columnGap) => {
|
|
|
5121
5322
|
var generateColumnSpan = (span) => {
|
|
5122
5323
|
const baseSpan = getResponsiveValue(span);
|
|
5123
5324
|
if (typeof span === "string" || typeof span === "number") {
|
|
5124
|
-
return
|
|
5325
|
+
return import_react30.css`
|
|
5125
5326
|
grid-column: ${span === "auto" ? "auto" : `span ${span}`};
|
|
5126
5327
|
`;
|
|
5127
5328
|
}
|
|
5128
|
-
return
|
|
5329
|
+
return import_react30.css`
|
|
5129
5330
|
grid-column: ${baseSpan === "auto" ? "auto" : `span ${baseSpan}`};
|
|
5130
5331
|
|
|
5131
5332
|
${media.sm} {
|
|
@@ -5148,11 +5349,11 @@ var generateColumnSpan = (span) => {
|
|
|
5148
5349
|
var generateAlignItems = (alignItems) => {
|
|
5149
5350
|
const baseAlign = getResponsiveValue(alignItems);
|
|
5150
5351
|
if (typeof alignItems === "string") {
|
|
5151
|
-
return
|
|
5352
|
+
return import_react30.css`
|
|
5152
5353
|
align-items: ${alignItems};
|
|
5153
5354
|
`;
|
|
5154
5355
|
}
|
|
5155
|
-
return
|
|
5356
|
+
return import_react30.css`
|
|
5156
5357
|
align-items: ${baseAlign};
|
|
5157
5358
|
|
|
5158
5359
|
${media.sm} {
|
|
@@ -5175,11 +5376,11 @@ var generateAlignItems = (alignItems) => {
|
|
|
5175
5376
|
var generateJustifyItems = (justifyItems) => {
|
|
5176
5377
|
const baseJustify = getResponsiveValue(justifyItems);
|
|
5177
5378
|
if (typeof justifyItems === "string") {
|
|
5178
|
-
return
|
|
5379
|
+
return import_react30.css`
|
|
5179
5380
|
justify-items: ${justifyItems};
|
|
5180
5381
|
`;
|
|
5181
5382
|
}
|
|
5182
|
-
return
|
|
5383
|
+
return import_react30.css`
|
|
5183
5384
|
justify-items: ${baseJustify};
|
|
5184
5385
|
|
|
5185
5386
|
${media.sm} {
|
|
@@ -5201,7 +5402,7 @@ var generateJustifyItems = (justifyItems) => {
|
|
|
5201
5402
|
};
|
|
5202
5403
|
|
|
5203
5404
|
// src/Grid/Column.tsx
|
|
5204
|
-
var
|
|
5405
|
+
var import_jsx_runtime216 = require("@emotion/react/jsx-runtime");
|
|
5205
5406
|
var Column = ({
|
|
5206
5407
|
span,
|
|
5207
5408
|
start,
|
|
@@ -5214,30 +5415,30 @@ var Column = ({
|
|
|
5214
5415
|
}) => {
|
|
5215
5416
|
const columnStyles = [
|
|
5216
5417
|
span && generateColumnSpan(span),
|
|
5217
|
-
start &&
|
|
5418
|
+
start && import_react31.css`
|
|
5218
5419
|
grid-column-start: ${start};
|
|
5219
5420
|
`,
|
|
5220
|
-
end &&
|
|
5421
|
+
end && import_react31.css`
|
|
5221
5422
|
grid-column-end: ${end};
|
|
5222
5423
|
`,
|
|
5223
|
-
row &&
|
|
5424
|
+
row && import_react31.css`
|
|
5224
5425
|
grid-row: ${row};
|
|
5225
5426
|
`,
|
|
5226
|
-
rowSpan &&
|
|
5427
|
+
rowSpan && import_react31.css`
|
|
5227
5428
|
grid-row: span ${rowSpan};
|
|
5228
5429
|
`,
|
|
5229
|
-
area &&
|
|
5430
|
+
area && import_react31.css`
|
|
5230
5431
|
grid-area: ${area};
|
|
5231
5432
|
`
|
|
5232
5433
|
].filter(Boolean);
|
|
5233
|
-
return /* @__PURE__ */ (0,
|
|
5434
|
+
return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Box_default, { css: columnStyles, ...props, children });
|
|
5234
5435
|
};
|
|
5235
5436
|
var Column_default = Column;
|
|
5236
5437
|
|
|
5237
5438
|
// src/Grid/Grid.tsx
|
|
5238
|
-
var
|
|
5239
|
-
var
|
|
5240
|
-
var baseGridStyles =
|
|
5439
|
+
var import_react32 = require("@emotion/react");
|
|
5440
|
+
var import_jsx_runtime217 = require("@emotion/react/jsx-runtime");
|
|
5441
|
+
var baseGridStyles = import_react32.css`
|
|
5241
5442
|
display: grid;
|
|
5242
5443
|
`;
|
|
5243
5444
|
var Grid = ({
|
|
@@ -5262,27 +5463,27 @@ var Grid = ({
|
|
|
5262
5463
|
columnGap && generateColumnGapStyles(columnGap),
|
|
5263
5464
|
alignItems && generateAlignItems(alignItems),
|
|
5264
5465
|
justifyItems && generateJustifyItems(justifyItems),
|
|
5265
|
-
autoRows &&
|
|
5466
|
+
autoRows && import_react32.css`
|
|
5266
5467
|
grid-auto-rows: ${autoRows};
|
|
5267
5468
|
`,
|
|
5268
|
-
autoColumns &&
|
|
5469
|
+
autoColumns && import_react32.css`
|
|
5269
5470
|
grid-auto-columns: ${autoColumns};
|
|
5270
5471
|
`,
|
|
5271
|
-
templateAreas &&
|
|
5472
|
+
templateAreas && import_react32.css`
|
|
5272
5473
|
grid-template-areas: ${typeof templateAreas === "string" ? templateAreas : templateAreas._};
|
|
5273
5474
|
`,
|
|
5274
|
-
justifyContent &&
|
|
5475
|
+
justifyContent && import_react32.css`
|
|
5275
5476
|
justify-content: ${typeof justifyContent === "string" ? justifyContent : justifyContent._};
|
|
5276
5477
|
`
|
|
5277
5478
|
].filter(Boolean);
|
|
5278
|
-
return /* @__PURE__ */ (0,
|
|
5479
|
+
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { css: gridStyles, ...props, children });
|
|
5279
5480
|
};
|
|
5280
5481
|
var Grid_default = Grid;
|
|
5281
5482
|
|
|
5282
5483
|
// src/Grid/GridContainer.tsx
|
|
5283
|
-
var
|
|
5284
|
-
var
|
|
5285
|
-
var baseContainerStyles =
|
|
5484
|
+
var import_react33 = require("@emotion/react");
|
|
5485
|
+
var import_jsx_runtime218 = require("@emotion/react/jsx-runtime");
|
|
5486
|
+
var baseContainerStyles = import_react33.css`
|
|
5286
5487
|
width: 100%;
|
|
5287
5488
|
margin: 0 auto;
|
|
5288
5489
|
padding-left: 1rem;
|
|
@@ -5290,14 +5491,14 @@ var baseContainerStyles = import_react31.css`
|
|
|
5290
5491
|
`;
|
|
5291
5492
|
var generateMaxWidthStyles = (maxWidth) => {
|
|
5292
5493
|
if (maxWidth === "full") {
|
|
5293
|
-
return
|
|
5494
|
+
return import_react33.css`
|
|
5294
5495
|
max-width: 100%;
|
|
5295
5496
|
padding-left: 0;
|
|
5296
5497
|
padding-right: 0;
|
|
5297
5498
|
`;
|
|
5298
5499
|
}
|
|
5299
5500
|
const width2 = LayoutTokens.containers[maxWidth] || maxWidth;
|
|
5300
|
-
return
|
|
5501
|
+
return import_react33.css`
|
|
5301
5502
|
max-width: ${width2};
|
|
5302
5503
|
|
|
5303
5504
|
${media.sm} {
|
|
@@ -5326,13 +5527,13 @@ var GridContainer = ({
|
|
|
5326
5527
|
baseContainerStyles,
|
|
5327
5528
|
generateMaxWidthStyles(maxWidth)
|
|
5328
5529
|
];
|
|
5329
|
-
return /* @__PURE__ */ (0,
|
|
5530
|
+
return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Box_default, { css: containerStyles4, className, ...props, children });
|
|
5330
5531
|
};
|
|
5331
5532
|
var GridContainer_default = GridContainer;
|
|
5332
5533
|
|
|
5333
5534
|
// src/HuntCard/HuntCard.styles.ts
|
|
5334
|
-
var
|
|
5335
|
-
var cardContainerStyles2 =
|
|
5535
|
+
var import_react34 = require("@emotion/react");
|
|
5536
|
+
var cardContainerStyles2 = import_react34.css`
|
|
5336
5537
|
position: relative;
|
|
5337
5538
|
height: 335px;
|
|
5338
5539
|
|
|
@@ -5340,12 +5541,12 @@ var cardContainerStyles2 = import_react32.css`
|
|
|
5340
5541
|
height: 480px;
|
|
5341
5542
|
}
|
|
5342
5543
|
`;
|
|
5343
|
-
var cardContentStyles2 =
|
|
5544
|
+
var cardContentStyles2 = import_react34.css`
|
|
5344
5545
|
position: relative;
|
|
5345
5546
|
border-radius: var(--spacing-4);
|
|
5346
5547
|
overflow: hidden;
|
|
5347
5548
|
`;
|
|
5348
|
-
var getBackgroundWithGradient2 = (imageUrl) =>
|
|
5549
|
+
var getBackgroundWithGradient2 = (imageUrl) => import_react34.css`
|
|
5349
5550
|
background-image: linear-gradient(
|
|
5350
5551
|
180deg,
|
|
5351
5552
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -5359,7 +5560,7 @@ var getBackgroundWithGradient2 = (imageUrl) => import_react32.css`
|
|
|
5359
5560
|
`;
|
|
5360
5561
|
|
|
5361
5562
|
// src/HuntCard/HuntCard.tsx
|
|
5362
|
-
var
|
|
5563
|
+
var import_jsx_runtime219 = require("@emotion/react/jsx-runtime");
|
|
5363
5564
|
var HuntCard = ({
|
|
5364
5565
|
backgroundImage,
|
|
5365
5566
|
title,
|
|
@@ -5368,14 +5569,14 @@ var HuntCard = ({
|
|
|
5368
5569
|
className,
|
|
5369
5570
|
...rest
|
|
5370
5571
|
}) => {
|
|
5371
|
-
return /* @__PURE__ */ (0,
|
|
5572
|
+
return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
|
|
5372
5573
|
Box_default,
|
|
5373
5574
|
{
|
|
5374
5575
|
display: "flex",
|
|
5375
5576
|
css: cardContainerStyles2,
|
|
5376
5577
|
className,
|
|
5377
5578
|
...rest,
|
|
5378
|
-
children: /* @__PURE__ */ (0,
|
|
5579
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(
|
|
5379
5580
|
Box_default,
|
|
5380
5581
|
{
|
|
5381
5582
|
display: "flex",
|
|
@@ -5383,9 +5584,9 @@ var HuntCard = ({
|
|
|
5383
5584
|
justifyContent: "flex-end",
|
|
5384
5585
|
p: 6,
|
|
5385
5586
|
css: [cardContentStyles2, getBackgroundWithGradient2(backgroundImage)],
|
|
5386
|
-
children: /* @__PURE__ */ (0,
|
|
5387
|
-
/* @__PURE__ */ (0,
|
|
5388
|
-
/* @__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 })
|
|
5389
5590
|
] })
|
|
5390
5591
|
}
|
|
5391
5592
|
)
|
|
@@ -5394,28 +5595,66 @@ var HuntCard = ({
|
|
|
5394
5595
|
};
|
|
5395
5596
|
var HuntCard_default = HuntCard;
|
|
5396
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
|
+
|
|
5397
5636
|
// src/ListingChat/ListingChat.tsx
|
|
5398
|
-
var
|
|
5637
|
+
var import_react37 = require("react");
|
|
5399
5638
|
|
|
5400
5639
|
// src/TagChip/TagChip.styles.ts
|
|
5401
|
-
var
|
|
5640
|
+
var import_react35 = require("@emotion/react");
|
|
5402
5641
|
var tagChipVariantStyles = {
|
|
5403
|
-
primary:
|
|
5642
|
+
primary: import_react35.css`
|
|
5404
5643
|
background-color: var(--surface-disabled);
|
|
5405
5644
|
border: 1px solid var(--surface-disabled);
|
|
5406
5645
|
color: var(--text-primary);
|
|
5407
5646
|
`,
|
|
5408
|
-
error:
|
|
5647
|
+
error: import_react35.css`
|
|
5409
5648
|
background-color: var(--surface-error);
|
|
5410
5649
|
border: 1px solid var(--color-red-300);
|
|
5411
5650
|
color: var(--text-error);
|
|
5412
5651
|
`,
|
|
5413
|
-
success:
|
|
5652
|
+
success: import_react35.css`
|
|
5414
5653
|
background-color: var(--surface-success);
|
|
5415
5654
|
border: 1px solid var(--color-green-300);
|
|
5416
5655
|
color: var(--text-success);
|
|
5417
5656
|
`,
|
|
5418
|
-
warning:
|
|
5657
|
+
warning: import_react35.css`
|
|
5419
5658
|
background-color: var(--surface-subtle);
|
|
5420
5659
|
border: 1px solid var(--color-brown-200);
|
|
5421
5660
|
color: var(--text-primary);
|
|
@@ -5423,14 +5662,14 @@ var tagChipVariantStyles = {
|
|
|
5423
5662
|
};
|
|
5424
5663
|
|
|
5425
5664
|
// src/TagChip/TagChip.tsx
|
|
5426
|
-
var
|
|
5665
|
+
var import_jsx_runtime221 = require("@emotion/react/jsx-runtime");
|
|
5427
5666
|
var TagChip = ({
|
|
5428
5667
|
variant = "primary",
|
|
5429
5668
|
className,
|
|
5430
5669
|
children,
|
|
5431
5670
|
...rest
|
|
5432
5671
|
}) => {
|
|
5433
|
-
return /* @__PURE__ */ (0,
|
|
5672
|
+
return /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
5434
5673
|
Box_default,
|
|
5435
5674
|
{
|
|
5436
5675
|
display: "inline-flex",
|
|
@@ -5441,15 +5680,15 @@ var TagChip = ({
|
|
|
5441
5680
|
css: tagChipVariantStyles[variant],
|
|
5442
5681
|
className,
|
|
5443
5682
|
...rest,
|
|
5444
|
-
children: /* @__PURE__ */ (0,
|
|
5683
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Text_default, { as: "span", size: "sm", fontWeight: "normal", children })
|
|
5445
5684
|
}
|
|
5446
5685
|
);
|
|
5447
5686
|
};
|
|
5448
5687
|
var TagChip_default = TagChip;
|
|
5449
5688
|
|
|
5450
5689
|
// src/ListingChat/ListingChat.styles.ts
|
|
5451
|
-
var
|
|
5452
|
-
var containerStyles2 =
|
|
5690
|
+
var import_react36 = require("@emotion/react");
|
|
5691
|
+
var containerStyles2 = import_react36.css`
|
|
5453
5692
|
display: flex;
|
|
5454
5693
|
flex-direction: column;
|
|
5455
5694
|
gap: var(--spacing-4);
|
|
@@ -5457,13 +5696,13 @@ var containerStyles2 = import_react34.css`
|
|
|
5457
5696
|
border-radius: var(--radius-lg);
|
|
5458
5697
|
background: var(--surface-success);
|
|
5459
5698
|
`;
|
|
5460
|
-
var headerStyles =
|
|
5699
|
+
var headerStyles = import_react36.css`
|
|
5461
5700
|
display: flex;
|
|
5462
5701
|
align-items: flex-start;
|
|
5463
5702
|
justify-content: space-between;
|
|
5464
5703
|
gap: var(--spacing-2);
|
|
5465
5704
|
`;
|
|
5466
|
-
var chipsContainerStyles =
|
|
5705
|
+
var chipsContainerStyles = import_react36.css`
|
|
5467
5706
|
display: flex;
|
|
5468
5707
|
flex-wrap: wrap;
|
|
5469
5708
|
gap: var(--spacing-4);
|
|
@@ -5476,15 +5715,15 @@ var chipsContainerStyles = import_react34.css`
|
|
|
5476
5715
|
cursor: pointer;
|
|
5477
5716
|
}
|
|
5478
5717
|
`;
|
|
5479
|
-
var textAreaStyles =
|
|
5718
|
+
var textAreaStyles = import_react36.css`
|
|
5480
5719
|
min-height: 62px;
|
|
5481
5720
|
`;
|
|
5482
|
-
var inputWrapperStyles2 =
|
|
5721
|
+
var inputWrapperStyles2 = import_react36.css`
|
|
5483
5722
|
position: relative;
|
|
5484
5723
|
`;
|
|
5485
5724
|
|
|
5486
5725
|
// src/ListingChat/ListingChat.tsx
|
|
5487
|
-
var
|
|
5726
|
+
var import_jsx_runtime222 = require("@emotion/react/jsx-runtime");
|
|
5488
5727
|
var ListingChat = ({
|
|
5489
5728
|
onSubmit,
|
|
5490
5729
|
placeholder = "Ask anything about this listing\u2026",
|
|
@@ -5494,15 +5733,15 @@ var ListingChat = ({
|
|
|
5494
5733
|
disabled = false,
|
|
5495
5734
|
...rest
|
|
5496
5735
|
}) => {
|
|
5497
|
-
const [value, setValue] = (0,
|
|
5498
|
-
const handleSubmit = (0,
|
|
5736
|
+
const [value, setValue] = (0, import_react37.useState)("");
|
|
5737
|
+
const handleSubmit = (0, import_react37.useCallback)(() => {
|
|
5499
5738
|
const trimmed = value.trim();
|
|
5500
5739
|
if (!trimmed)
|
|
5501
5740
|
return;
|
|
5502
5741
|
onSubmit(trimmed);
|
|
5503
5742
|
setValue("");
|
|
5504
5743
|
}, [onSubmit, value]);
|
|
5505
|
-
const handleTagClick = (0,
|
|
5744
|
+
const handleTagClick = (0, import_react37.useCallback)(
|
|
5506
5745
|
(tag) => () => {
|
|
5507
5746
|
const trimmed = tag.trim();
|
|
5508
5747
|
if (!trimmed)
|
|
@@ -5511,18 +5750,18 @@ var ListingChat = ({
|
|
|
5511
5750
|
},
|
|
5512
5751
|
[onSubmit]
|
|
5513
5752
|
);
|
|
5514
|
-
return /* @__PURE__ */ (0,
|
|
5515
|
-
/* @__PURE__ */ (0,
|
|
5516
|
-
/* @__PURE__ */ (0,
|
|
5517
|
-
/* @__PURE__ */ (0,
|
|
5518
|
-
/* @__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." })
|
|
5519
5758
|
] }),
|
|
5520
|
-
/* @__PURE__ */ (0,
|
|
5521
|
-
/* @__PURE__ */ (0,
|
|
5522
|
-
/* @__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" })
|
|
5523
5762
|
] })
|
|
5524
5763
|
] }),
|
|
5525
|
-
/* @__PURE__ */ (0,
|
|
5764
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Box_default, { css: inputWrapperStyles2, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
|
5526
5765
|
TextArea,
|
|
5527
5766
|
{
|
|
5528
5767
|
rows: 1,
|
|
@@ -5537,14 +5776,14 @@ var ListingChat = ({
|
|
|
5537
5776
|
css: textAreaStyles
|
|
5538
5777
|
}
|
|
5539
5778
|
) }),
|
|
5540
|
-
tags.length > 0 && /* @__PURE__ */ (0,
|
|
5541
|
-
/* @__PURE__ */ (0,
|
|
5542
|
-
/* @__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)(
|
|
5543
5782
|
"button",
|
|
5544
5783
|
{
|
|
5545
5784
|
onClick: handleTagClick(tag),
|
|
5546
5785
|
disabled,
|
|
5547
|
-
children: /* @__PURE__ */ (0,
|
|
5786
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(TagChip_default, { children: tag })
|
|
5548
5787
|
},
|
|
5549
5788
|
tag
|
|
5550
5789
|
)) })
|
|
@@ -5554,11 +5793,11 @@ var ListingChat = ({
|
|
|
5554
5793
|
var ListingChat_default = ListingChat;
|
|
5555
5794
|
|
|
5556
5795
|
// src/Logo/Logo.tsx
|
|
5557
|
-
var
|
|
5796
|
+
var import_react38 = require("@emotion/react");
|
|
5558
5797
|
|
|
5559
5798
|
// src/Logo/components/LandtrustPlusDark.tsx
|
|
5560
|
-
var
|
|
5561
|
-
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)(
|
|
5562
5801
|
"svg",
|
|
5563
5802
|
{
|
|
5564
5803
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5566,14 +5805,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime219.
|
|
|
5566
5805
|
fill: "none",
|
|
5567
5806
|
...props,
|
|
5568
5807
|
children: [
|
|
5569
|
-
/* @__PURE__ */ (0,
|
|
5808
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("g", { filter: "url(#landtrust-plus-dark_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5570
5809
|
"path",
|
|
5571
5810
|
{
|
|
5572
5811
|
fill: "#000",
|
|
5573
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"
|
|
5574
5813
|
}
|
|
5575
5814
|
) }),
|
|
5576
|
-
/* @__PURE__ */ (0,
|
|
5815
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5577
5816
|
"path",
|
|
5578
5817
|
{
|
|
5579
5818
|
fill: "#FAD44E",
|
|
@@ -5582,14 +5821,14 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime219.
|
|
|
5582
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"
|
|
5583
5822
|
}
|
|
5584
5823
|
),
|
|
5585
|
-
/* @__PURE__ */ (0,
|
|
5824
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5586
5825
|
"path",
|
|
5587
5826
|
{
|
|
5588
5827
|
fill: "#fff",
|
|
5589
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"
|
|
5590
5829
|
}
|
|
5591
5830
|
),
|
|
5592
|
-
/* @__PURE__ */ (0,
|
|
5831
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(
|
|
5593
5832
|
"filter",
|
|
5594
5833
|
{
|
|
5595
5834
|
id: "landtrust-plus-dark_svg__a",
|
|
@@ -5600,8 +5839,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime219.
|
|
|
5600
5839
|
colorInterpolationFilters: "sRGB",
|
|
5601
5840
|
filterUnits: "userSpaceOnUse",
|
|
5602
5841
|
children: [
|
|
5603
|
-
/* @__PURE__ */ (0,
|
|
5604
|
-
/* @__PURE__ */ (0,
|
|
5842
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
5843
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5605
5844
|
"feColorMatrix",
|
|
5606
5845
|
{
|
|
5607
5846
|
in: "SourceAlpha",
|
|
@@ -5609,18 +5848,18 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime219.
|
|
|
5609
5848
|
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
5610
5849
|
}
|
|
5611
5850
|
),
|
|
5612
|
-
/* @__PURE__ */ (0,
|
|
5613
|
-
/* @__PURE__ */ (0,
|
|
5614
|
-
/* @__PURE__ */ (0,
|
|
5615
|
-
/* @__PURE__ */ (0,
|
|
5616
|
-
/* @__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)(
|
|
5617
5856
|
"feBlend",
|
|
5618
5857
|
{
|
|
5619
5858
|
in2: "BackgroundImageFix",
|
|
5620
5859
|
result: "effect1_dropShadow_257_2540"
|
|
5621
5860
|
}
|
|
5622
5861
|
),
|
|
5623
|
-
/* @__PURE__ */ (0,
|
|
5862
|
+
/* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
|
|
5624
5863
|
"feBlend",
|
|
5625
5864
|
{
|
|
5626
5865
|
in: "SourceGraphic",
|
|
@@ -5637,8 +5876,8 @@ var SvgLandtrustPlusDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime219.
|
|
|
5637
5876
|
var LandtrustPlusDark_default = SvgLandtrustPlusDark;
|
|
5638
5877
|
|
|
5639
5878
|
// src/Logo/components/LandtrustPlusLight.tsx
|
|
5640
|
-
var
|
|
5641
|
-
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)(
|
|
5642
5881
|
"svg",
|
|
5643
5882
|
{
|
|
5644
5883
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5646,14 +5885,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime220
|
|
|
5646
5885
|
fill: "none",
|
|
5647
5886
|
...props,
|
|
5648
5887
|
children: [
|
|
5649
|
-
/* @__PURE__ */ (0,
|
|
5888
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("g", { filter: "url(#landtrust-plus-light_svg__a)", children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5650
5889
|
"path",
|
|
5651
5890
|
{
|
|
5652
5891
|
fill: "#000",
|
|
5653
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"
|
|
5654
5893
|
}
|
|
5655
5894
|
) }),
|
|
5656
|
-
/* @__PURE__ */ (0,
|
|
5895
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5657
5896
|
"path",
|
|
5658
5897
|
{
|
|
5659
5898
|
fill: "#FAD44E",
|
|
@@ -5662,14 +5901,14 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime220
|
|
|
5662
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"
|
|
5663
5902
|
}
|
|
5664
5903
|
),
|
|
5665
|
-
/* @__PURE__ */ (0,
|
|
5904
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5666
5905
|
"path",
|
|
5667
5906
|
{
|
|
5668
5907
|
fill: "#1A202C",
|
|
5669
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"
|
|
5670
5909
|
}
|
|
5671
5910
|
),
|
|
5672
|
-
/* @__PURE__ */ (0,
|
|
5911
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)(
|
|
5673
5912
|
"filter",
|
|
5674
5913
|
{
|
|
5675
5914
|
id: "landtrust-plus-light_svg__a",
|
|
@@ -5680,8 +5919,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime220
|
|
|
5680
5919
|
colorInterpolationFilters: "sRGB",
|
|
5681
5920
|
filterUnits: "userSpaceOnUse",
|
|
5682
5921
|
children: [
|
|
5683
|
-
/* @__PURE__ */ (0,
|
|
5684
|
-
/* @__PURE__ */ (0,
|
|
5922
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
|
|
5923
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5685
5924
|
"feColorMatrix",
|
|
5686
5925
|
{
|
|
5687
5926
|
in: "SourceAlpha",
|
|
@@ -5689,18 +5928,18 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime220
|
|
|
5689
5928
|
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
5690
5929
|
}
|
|
5691
5930
|
),
|
|
5692
|
-
/* @__PURE__ */ (0,
|
|
5693
|
-
/* @__PURE__ */ (0,
|
|
5694
|
-
/* @__PURE__ */ (0,
|
|
5695
|
-
/* @__PURE__ */ (0,
|
|
5696
|
-
/* @__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)(
|
|
5697
5936
|
"feBlend",
|
|
5698
5937
|
{
|
|
5699
5938
|
in2: "BackgroundImageFix",
|
|
5700
5939
|
result: "effect1_dropShadow_257_2538"
|
|
5701
5940
|
}
|
|
5702
5941
|
),
|
|
5703
|
-
/* @__PURE__ */ (0,
|
|
5942
|
+
/* @__PURE__ */ (0, import_jsx_runtime224.jsx)(
|
|
5704
5943
|
"feBlend",
|
|
5705
5944
|
{
|
|
5706
5945
|
in: "SourceGraphic",
|
|
@@ -5717,8 +5956,8 @@ var SvgLandtrustPlusLight = (props) => /* @__PURE__ */ (0, import_jsx_runtime220
|
|
|
5717
5956
|
var LandtrustPlusLight_default = SvgLandtrustPlusLight;
|
|
5718
5957
|
|
|
5719
5958
|
// src/Logo/components/LandtrustStandardDark.tsx
|
|
5720
|
-
var
|
|
5721
|
-
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)(
|
|
5722
5961
|
"svg",
|
|
5723
5962
|
{
|
|
5724
5963
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5726,14 +5965,14 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
5726
5965
|
fill: "none",
|
|
5727
5966
|
...props,
|
|
5728
5967
|
children: [
|
|
5729
|
-
/* @__PURE__ */ (0,
|
|
5968
|
+
/* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
|
|
5730
5969
|
"path",
|
|
5731
5970
|
{
|
|
5732
5971
|
fill: "#E2430C",
|
|
5733
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"
|
|
5734
5973
|
}
|
|
5735
5974
|
),
|
|
5736
|
-
/* @__PURE__ */ (0,
|
|
5975
|
+
/* @__PURE__ */ (0, import_jsx_runtime225.jsx)(
|
|
5737
5976
|
"path",
|
|
5738
5977
|
{
|
|
5739
5978
|
fill: "#fff",
|
|
@@ -5746,8 +5985,8 @@ var SvgLandtrustStandardDark = (props) => /* @__PURE__ */ (0, import_jsx_runtime
|
|
|
5746
5985
|
var LandtrustStandardDark_default = SvgLandtrustStandardDark;
|
|
5747
5986
|
|
|
5748
5987
|
// src/Logo/components/LandtrustStandardLight.tsx
|
|
5749
|
-
var
|
|
5750
|
-
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)(
|
|
5751
5990
|
"svg",
|
|
5752
5991
|
{
|
|
5753
5992
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5755,14 +5994,14 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
5755
5994
|
fill: "none",
|
|
5756
5995
|
...props,
|
|
5757
5996
|
children: [
|
|
5758
|
-
/* @__PURE__ */ (0,
|
|
5997
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
5759
5998
|
"path",
|
|
5760
5999
|
{
|
|
5761
6000
|
fill: "#E2430C",
|
|
5762
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"
|
|
5763
6002
|
}
|
|
5764
6003
|
),
|
|
5765
|
-
/* @__PURE__ */ (0,
|
|
6004
|
+
/* @__PURE__ */ (0, import_jsx_runtime226.jsx)(
|
|
5766
6005
|
"path",
|
|
5767
6006
|
{
|
|
5768
6007
|
fill: "#000",
|
|
@@ -5775,8 +6014,8 @@ var SvgLandtrustStandardLight = (props) => /* @__PURE__ */ (0, import_jsx_runtim
|
|
|
5775
6014
|
var LandtrustStandardLight_default = SvgLandtrustStandardLight;
|
|
5776
6015
|
|
|
5777
6016
|
// src/Logo/Logo.tsx
|
|
5778
|
-
var
|
|
5779
|
-
var logoStyles = (size) =>
|
|
6017
|
+
var import_jsx_runtime227 = require("@emotion/react/jsx-runtime");
|
|
6018
|
+
var logoStyles = (size) => import_react38.css`
|
|
5780
6019
|
width: ${space[size]};
|
|
5781
6020
|
height: auto;
|
|
5782
6021
|
display: block;
|
|
@@ -5804,18 +6043,18 @@ var Logo = ({
|
|
|
5804
6043
|
return LandtrustStandardLight_default;
|
|
5805
6044
|
};
|
|
5806
6045
|
const LogoComponent = getLogoComponent();
|
|
5807
|
-
return /* @__PURE__ */ (0,
|
|
6046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(LogoComponent, { css: logoStyles(size), className, ...rest });
|
|
5808
6047
|
};
|
|
5809
6048
|
var Logo_default = Logo;
|
|
5810
6049
|
|
|
5811
6050
|
// src/Navigation/Navigation.styles.ts
|
|
5812
|
-
var
|
|
5813
|
-
var navigationStyles =
|
|
6051
|
+
var import_react39 = require("@emotion/react");
|
|
6052
|
+
var navigationStyles = import_react39.css`
|
|
5814
6053
|
width: 100%;
|
|
5815
6054
|
background-color: white;
|
|
5816
6055
|
border-bottom: 1px solid #e5e5e5;
|
|
5817
6056
|
`;
|
|
5818
|
-
var hamburgerButtonStyles =
|
|
6057
|
+
var hamburgerButtonStyles = import_react39.css`
|
|
5819
6058
|
cursor: pointer;
|
|
5820
6059
|
&:focus {
|
|
5821
6060
|
outline: 2px solid #4f46e5;
|
|
@@ -5826,7 +6065,7 @@ var hamburgerButtonStyles = import_react37.css`
|
|
|
5826
6065
|
display: none;
|
|
5827
6066
|
}
|
|
5828
6067
|
`;
|
|
5829
|
-
var centeredLogoStyles =
|
|
6068
|
+
var centeredLogoStyles = import_react39.css`
|
|
5830
6069
|
transform: translate(-50%, -50%);
|
|
5831
6070
|
max-width: 150px;
|
|
5832
6071
|
|
|
@@ -5834,27 +6073,27 @@ var centeredLogoStyles = import_react37.css`
|
|
|
5834
6073
|
display: none;
|
|
5835
6074
|
}
|
|
5836
6075
|
`;
|
|
5837
|
-
var desktopLogoStyles =
|
|
6076
|
+
var desktopLogoStyles = import_react39.css`
|
|
5838
6077
|
display: none;
|
|
5839
6078
|
|
|
5840
6079
|
@media (min-width: 768px) {
|
|
5841
6080
|
display: block;
|
|
5842
6081
|
}
|
|
5843
6082
|
`;
|
|
5844
|
-
var containerStyles3 =
|
|
6083
|
+
var containerStyles3 = import_react39.css`
|
|
5845
6084
|
@media (min-width: 768px) {
|
|
5846
6085
|
justify-content: space-between;
|
|
5847
6086
|
position: static;
|
|
5848
6087
|
}
|
|
5849
6088
|
`;
|
|
5850
|
-
var logoStyles2 =
|
|
6089
|
+
var logoStyles2 = import_react39.css`
|
|
5851
6090
|
width: 100%;
|
|
5852
6091
|
|
|
5853
6092
|
@media (min-width: 768px) {
|
|
5854
6093
|
width: initial;
|
|
5855
6094
|
}
|
|
5856
6095
|
`;
|
|
5857
|
-
var desktopNavStyles =
|
|
6096
|
+
var desktopNavStyles = import_react39.css`
|
|
5858
6097
|
display: none;
|
|
5859
6098
|
|
|
5860
6099
|
@media (min-width: 768px) {
|
|
@@ -5863,7 +6102,7 @@ var desktopNavStyles = import_react37.css`
|
|
|
5863
6102
|
gap: 32px;
|
|
5864
6103
|
}
|
|
5865
6104
|
`;
|
|
5866
|
-
var navLinksStyles =
|
|
6105
|
+
var navLinksStyles = import_react39.css`
|
|
5867
6106
|
display: flex;
|
|
5868
6107
|
align-items: center;
|
|
5869
6108
|
gap: 24px;
|
|
@@ -5871,7 +6110,7 @@ var navLinksStyles = import_react37.css`
|
|
|
5871
6110
|
margin: 0;
|
|
5872
6111
|
padding: 0;
|
|
5873
6112
|
`;
|
|
5874
|
-
var navLinkStyles =
|
|
6113
|
+
var navLinkStyles = import_react39.css`
|
|
5875
6114
|
text-decoration: none;
|
|
5876
6115
|
color: #374151;
|
|
5877
6116
|
font-weight: 500;
|
|
@@ -5887,7 +6126,7 @@ var navLinkStyles = import_react37.css`
|
|
|
5887
6126
|
outline-offset: 2px;
|
|
5888
6127
|
}
|
|
5889
6128
|
`;
|
|
5890
|
-
var avatarPlaceholderStyles =
|
|
6129
|
+
var avatarPlaceholderStyles = import_react39.css`
|
|
5891
6130
|
width: 32px;
|
|
5892
6131
|
height: 32px;
|
|
5893
6132
|
border-radius: 50%;
|
|
@@ -5912,7 +6151,7 @@ var avatarPlaceholderStyles = import_react37.css`
|
|
|
5912
6151
|
`;
|
|
5913
6152
|
|
|
5914
6153
|
// src/Navigation/Navigation.tsx
|
|
5915
|
-
var
|
|
6154
|
+
var import_jsx_runtime228 = require("@emotion/react/jsx-runtime");
|
|
5916
6155
|
var Navigation = ({
|
|
5917
6156
|
onMenuToggle,
|
|
5918
6157
|
className,
|
|
@@ -5926,7 +6165,7 @@ var Navigation = ({
|
|
|
5926
6165
|
onAvatarClick,
|
|
5927
6166
|
...rest
|
|
5928
6167
|
}) => {
|
|
5929
|
-
return /* @__PURE__ */ (0,
|
|
6168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Box_default, { css: navigationStyles, className, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)(
|
|
5930
6169
|
Box_default,
|
|
5931
6170
|
{
|
|
5932
6171
|
display: "flex",
|
|
@@ -5935,7 +6174,7 @@ var Navigation = ({
|
|
|
5935
6174
|
position: "relative",
|
|
5936
6175
|
css: containerStyles3,
|
|
5937
6176
|
children: [
|
|
5938
|
-
/* @__PURE__ */ (0,
|
|
6177
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
5939
6178
|
Box_default,
|
|
5940
6179
|
{
|
|
5941
6180
|
as: "button",
|
|
@@ -5947,11 +6186,11 @@ var Navigation = ({
|
|
|
5947
6186
|
border: "none",
|
|
5948
6187
|
padding: space[2],
|
|
5949
6188
|
css: hamburgerButtonStyles,
|
|
5950
|
-
children: /* @__PURE__ */ (0,
|
|
6189
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(Icon_default, { variant: "Bars", size: 6 })
|
|
5951
6190
|
}
|
|
5952
6191
|
),
|
|
5953
|
-
/* @__PURE__ */ (0,
|
|
5954
|
-
/* @__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)(
|
|
5955
6194
|
Logo_default,
|
|
5956
6195
|
{
|
|
5957
6196
|
variant: logoVariant,
|
|
@@ -5960,8 +6199,8 @@ var Navigation = ({
|
|
|
5960
6199
|
css: logoStyles2
|
|
5961
6200
|
}
|
|
5962
6201
|
) }),
|
|
5963
|
-
/* @__PURE__ */ (0,
|
|
5964
|
-
/* @__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)(
|
|
5965
6204
|
"a",
|
|
5966
6205
|
{
|
|
5967
6206
|
href: link.href,
|
|
@@ -5970,7 +6209,7 @@ var Navigation = ({
|
|
|
5970
6209
|
children: link.label
|
|
5971
6210
|
}
|
|
5972
6211
|
) }, link.href)) }) }),
|
|
5973
|
-
/* @__PURE__ */ (0,
|
|
6212
|
+
/* @__PURE__ */ (0, import_jsx_runtime228.jsx)(
|
|
5974
6213
|
Box_default,
|
|
5975
6214
|
{
|
|
5976
6215
|
as: "button",
|
|
@@ -5989,8 +6228,8 @@ var Navigation = ({
|
|
|
5989
6228
|
var Navigation_default = Navigation;
|
|
5990
6229
|
|
|
5991
6230
|
// src/PackageCard/PackageCard.styles.ts
|
|
5992
|
-
var
|
|
5993
|
-
var cardContainerStyles3 =
|
|
6231
|
+
var import_react40 = require("@emotion/react");
|
|
6232
|
+
var cardContainerStyles3 = import_react40.css`
|
|
5994
6233
|
color: var(--text-primary);
|
|
5995
6234
|
position: relative;
|
|
5996
6235
|
width: 100%;
|
|
@@ -6007,14 +6246,14 @@ var cardContainerStyles3 = import_react38.css`
|
|
|
6007
6246
|
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
|
|
6008
6247
|
}
|
|
6009
6248
|
`;
|
|
6010
|
-
var imageContainerStyles =
|
|
6249
|
+
var imageContainerStyles = import_react40.css`
|
|
6011
6250
|
position: relative;
|
|
6012
6251
|
width: 100%;
|
|
6013
6252
|
height: 200px;
|
|
6014
6253
|
overflow: hidden;
|
|
6015
6254
|
border-radius: var(--spacing-4);
|
|
6016
6255
|
`;
|
|
6017
|
-
var imageStyles =
|
|
6256
|
+
var imageStyles = import_react40.css`
|
|
6018
6257
|
width: 100%;
|
|
6019
6258
|
height: 100%;
|
|
6020
6259
|
background-size: cover;
|
|
@@ -6022,13 +6261,13 @@ var imageStyles = import_react38.css`
|
|
|
6022
6261
|
background-repeat: no-repeat;
|
|
6023
6262
|
border-radius: var(--spacing-4) var(--spacing-4) 0 0;
|
|
6024
6263
|
`;
|
|
6025
|
-
var badgeStyles =
|
|
6264
|
+
var badgeStyles = import_react40.css`
|
|
6026
6265
|
position: absolute;
|
|
6027
6266
|
top: var(--spacing-3);
|
|
6028
6267
|
left: var(--spacing-3);
|
|
6029
6268
|
z-index: 2;
|
|
6030
6269
|
`;
|
|
6031
|
-
var heartIconStyles =
|
|
6270
|
+
var heartIconStyles = import_react40.css`
|
|
6032
6271
|
position: absolute;
|
|
6033
6272
|
top: var(--spacing-3);
|
|
6034
6273
|
right: var(--spacing-3);
|
|
@@ -6050,12 +6289,12 @@ var heartIconStyles = import_react38.css`
|
|
|
6050
6289
|
transform: scale(1.1);
|
|
6051
6290
|
}
|
|
6052
6291
|
`;
|
|
6053
|
-
var contentStyles2 =
|
|
6292
|
+
var contentStyles2 = import_react40.css`
|
|
6054
6293
|
padding: var(--spacing-3);
|
|
6055
6294
|
`;
|
|
6056
6295
|
|
|
6057
6296
|
// src/PackageCard/PackageCard.tsx
|
|
6058
|
-
var
|
|
6297
|
+
var import_jsx_runtime229 = require("@emotion/react/jsx-runtime");
|
|
6059
6298
|
var PackageCard = ({
|
|
6060
6299
|
images,
|
|
6061
6300
|
title,
|
|
@@ -6072,13 +6311,13 @@ var PackageCard = ({
|
|
|
6072
6311
|
...rest
|
|
6073
6312
|
}) => {
|
|
6074
6313
|
const mainImage = images[0] || "";
|
|
6075
|
-
return /* @__PURE__ */ (0,
|
|
6076
|
-
/* @__PURE__ */ (0,
|
|
6077
|
-
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: [
|
|
6078
6317
|
tripsLeft,
|
|
6079
6318
|
" Trips Left"
|
|
6080
6319
|
] }),
|
|
6081
|
-
/* @__PURE__ */ (0,
|
|
6320
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6082
6321
|
Box_default,
|
|
6083
6322
|
{
|
|
6084
6323
|
css: heartIconStyles,
|
|
@@ -6086,12 +6325,12 @@ var PackageCard = ({
|
|
|
6086
6325
|
e.stopPropagation();
|
|
6087
6326
|
onFavoriteClick == null ? void 0 : onFavoriteClick();
|
|
6088
6327
|
},
|
|
6089
|
-
children: /* @__PURE__ */ (0,
|
|
6328
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(Icon_default, { variant: isFavorited ? "HeartSolid" : "Heart", size: 5 })
|
|
6090
6329
|
}
|
|
6091
6330
|
)
|
|
6092
6331
|
] }) }),
|
|
6093
|
-
/* @__PURE__ */ (0,
|
|
6094
|
-
/* @__PURE__ */ (0,
|
|
6332
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(Box_default, { css: contentStyles2, children: [
|
|
6333
|
+
/* @__PURE__ */ (0, import_jsx_runtime229.jsxs)(
|
|
6095
6334
|
Box_default,
|
|
6096
6335
|
{
|
|
6097
6336
|
onClick,
|
|
@@ -6100,9 +6339,9 @@ var PackageCard = ({
|
|
|
6100
6339
|
gap: "var(--spacing-1)",
|
|
6101
6340
|
mb: "var(--spacing-4)",
|
|
6102
6341
|
children: [
|
|
6103
|
-
/* @__PURE__ */ (0,
|
|
6104
|
-
/* @__PURE__ */ (0,
|
|
6105
|
-
/* @__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: [
|
|
6106
6345
|
"Starting Price ",
|
|
6107
6346
|
startingPrice,
|
|
6108
6347
|
" / Guest"
|
|
@@ -6110,32 +6349,239 @@ var PackageCard = ({
|
|
|
6110
6349
|
]
|
|
6111
6350
|
}
|
|
6112
6351
|
),
|
|
6113
|
-
/* @__PURE__ */ (0,
|
|
6114
|
-
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)(
|
|
6115
6354
|
IconLabel_default,
|
|
6116
6355
|
{
|
|
6117
6356
|
variant: "Calendar",
|
|
6118
6357
|
label: `${days} Day${days !== 1 ? "s" : ""}`
|
|
6119
6358
|
}
|
|
6120
6359
|
),
|
|
6121
|
-
guests && /* @__PURE__ */ (0,
|
|
6360
|
+
guests && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
6122
6361
|
IconLabel_default,
|
|
6123
6362
|
{
|
|
6124
6363
|
variant: "User",
|
|
6125
6364
|
label: `${guests} Guest${guests !== 1 ? "s" : ""}`
|
|
6126
6365
|
}
|
|
6127
6366
|
),
|
|
6128
|
-
hasLodging && /* @__PURE__ */ (0,
|
|
6367
|
+
hasLodging && /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(IconLabel_default, { variant: "House", label: "Lodging" })
|
|
6129
6368
|
] })
|
|
6130
6369
|
] })
|
|
6131
6370
|
] });
|
|
6132
6371
|
};
|
|
6133
6372
|
var PackageCard_default = PackageCard;
|
|
6134
6373
|
|
|
6374
|
+
// src/StarRating/StarRating.tsx
|
|
6375
|
+
var import_jsx_runtime230 = require("@emotion/react/jsx-runtime");
|
|
6376
|
+
var starSize = {
|
|
6377
|
+
sm: {
|
|
6378
|
+
size: 5,
|
|
6379
|
+
spacing: "var(--spacing-2)"
|
|
6380
|
+
},
|
|
6381
|
+
md: {
|
|
6382
|
+
size: 7,
|
|
6383
|
+
spacing: "var(--spacing-3)"
|
|
6384
|
+
}
|
|
6385
|
+
};
|
|
6386
|
+
var StarRating = ({
|
|
6387
|
+
rating,
|
|
6388
|
+
className,
|
|
6389
|
+
size = "md"
|
|
6390
|
+
}) => {
|
|
6391
|
+
const stars = [];
|
|
6392
|
+
for (let i = 1; i <= 5; i++) {
|
|
6393
|
+
stars.push(
|
|
6394
|
+
/* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
6395
|
+
Icon_default,
|
|
6396
|
+
{
|
|
6397
|
+
variant: "StarSolid",
|
|
6398
|
+
size: starSize[size].size,
|
|
6399
|
+
fill: i <= rating ? "var(--color-yellow-500)" : "var(--color-neutral-100)"
|
|
6400
|
+
},
|
|
6401
|
+
i
|
|
6402
|
+
)
|
|
6403
|
+
);
|
|
6404
|
+
}
|
|
6405
|
+
return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
6406
|
+
Box_default,
|
|
6407
|
+
{
|
|
6408
|
+
className,
|
|
6409
|
+
display: "flex",
|
|
6410
|
+
alignItems: "center",
|
|
6411
|
+
gap: starSize[size].spacing,
|
|
6412
|
+
children: stars
|
|
6413
|
+
}
|
|
6414
|
+
);
|
|
6415
|
+
};
|
|
6416
|
+
var StarRating_default = StarRating;
|
|
6417
|
+
|
|
6418
|
+
// src/UserCard/UserCard.tsx
|
|
6419
|
+
var import_jsx_runtime231 = require("@emotion/react/jsx-runtime");
|
|
6420
|
+
var UserCard = ({
|
|
6421
|
+
avatarSrc,
|
|
6422
|
+
title,
|
|
6423
|
+
subtitle,
|
|
6424
|
+
rating,
|
|
6425
|
+
showRating = true,
|
|
6426
|
+
className
|
|
6427
|
+
}) => {
|
|
6428
|
+
return /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)(
|
|
6429
|
+
Box_default,
|
|
6430
|
+
{
|
|
6431
|
+
display: "flex",
|
|
6432
|
+
alignItems: "flex-start",
|
|
6433
|
+
gap: "var(--spacing-4)",
|
|
6434
|
+
className,
|
|
6435
|
+
children: [
|
|
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" })
|
|
6441
|
+
] })
|
|
6442
|
+
]
|
|
6443
|
+
}
|
|
6444
|
+
);
|
|
6445
|
+
};
|
|
6446
|
+
var UserCard_default = UserCard;
|
|
6447
|
+
|
|
6448
|
+
// src/ReviewCard/components/ReviewImages.styles.ts
|
|
6449
|
+
var import_react41 = require("@emotion/react");
|
|
6450
|
+
var imageStyles2 = import_react41.css`
|
|
6451
|
+
flex: 1;
|
|
6452
|
+
min-width: 0;
|
|
6453
|
+
aspect-ratio: 1;
|
|
6454
|
+
border-radius: var(--spacing-2);
|
|
6455
|
+
object-fit: cover;
|
|
6456
|
+
border: 1px solid var(--color-neutral-200);
|
|
6457
|
+
`;
|
|
6458
|
+
|
|
6459
|
+
// src/ReviewCard/components/ReviewImages.tsx
|
|
6460
|
+
var import_jsx_runtime232 = require("@emotion/react/jsx-runtime");
|
|
6461
|
+
var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
6462
|
+
const displayImages = images.slice(0, maxImages);
|
|
6463
|
+
if (displayImages.length === 0) {
|
|
6464
|
+
return null;
|
|
6465
|
+
}
|
|
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)(
|
|
6467
|
+
"img",
|
|
6468
|
+
{
|
|
6469
|
+
src: image,
|
|
6470
|
+
alt: `Review ${index + 1}`,
|
|
6471
|
+
css: imageStyles2
|
|
6472
|
+
},
|
|
6473
|
+
index
|
|
6474
|
+
)) });
|
|
6475
|
+
};
|
|
6476
|
+
var ReviewImages_default = ReviewImages;
|
|
6477
|
+
|
|
6478
|
+
// src/ReviewCard/components/ReviewReply.tsx
|
|
6479
|
+
var import_jsx_runtime233 = require("@emotion/react/jsx-runtime");
|
|
6480
|
+
var ReviewReply = ({
|
|
6481
|
+
avatarSrc,
|
|
6482
|
+
name,
|
|
6483
|
+
date,
|
|
6484
|
+
content,
|
|
6485
|
+
label,
|
|
6486
|
+
rating
|
|
6487
|
+
}) => {
|
|
6488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(
|
|
6489
|
+
Box_default,
|
|
6490
|
+
{
|
|
6491
|
+
backgroundColor: "var(--surface-neutral)",
|
|
6492
|
+
borderRadius: "var(--spacing-3)",
|
|
6493
|
+
p: "var(--spacing-4)",
|
|
6494
|
+
display: "flex",
|
|
6495
|
+
flexDirection: "column",
|
|
6496
|
+
gap: "var(--spacing-3)",
|
|
6497
|
+
children: [
|
|
6498
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsxs)(
|
|
6499
|
+
Box_default,
|
|
6500
|
+
{
|
|
6501
|
+
display: "flex",
|
|
6502
|
+
alignItems: "center",
|
|
6503
|
+
justifyContent: "space-between",
|
|
6504
|
+
gap: "var(--spacing-2)",
|
|
6505
|
+
children: [
|
|
6506
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(
|
|
6507
|
+
UserCard_default,
|
|
6508
|
+
{
|
|
6509
|
+
avatarSrc,
|
|
6510
|
+
title: name,
|
|
6511
|
+
subtitle: date,
|
|
6512
|
+
rating
|
|
6513
|
+
}
|
|
6514
|
+
),
|
|
6515
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(AvailabilityChip_default, { variant: "neutral", children: label })
|
|
6516
|
+
]
|
|
6517
|
+
}
|
|
6518
|
+
),
|
|
6519
|
+
/* @__PURE__ */ (0, import_jsx_runtime233.jsx)(Text_default, { children: content })
|
|
6520
|
+
]
|
|
6521
|
+
}
|
|
6522
|
+
);
|
|
6523
|
+
};
|
|
6524
|
+
var ReviewReply_default = ReviewReply;
|
|
6525
|
+
|
|
6526
|
+
// src/ReviewCard/ReviewCard.tsx
|
|
6527
|
+
var import_jsx_runtime234 = require("@emotion/react/jsx-runtime");
|
|
6528
|
+
var ReviewCard = ({
|
|
6529
|
+
avatarSrc,
|
|
6530
|
+
name,
|
|
6531
|
+
date,
|
|
6532
|
+
rating,
|
|
6533
|
+
availabilityChip,
|
|
6534
|
+
content,
|
|
6535
|
+
images = [],
|
|
6536
|
+
replies = [],
|
|
6537
|
+
className
|
|
6538
|
+
}) => {
|
|
6539
|
+
return /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(
|
|
6540
|
+
Box_default,
|
|
6541
|
+
{
|
|
6542
|
+
backgroundColor: "white",
|
|
6543
|
+
borderRadius: "var(--spacing-4)",
|
|
6544
|
+
p: "var(--spacing-4)",
|
|
6545
|
+
display: "flex",
|
|
6546
|
+
flexDirection: "column",
|
|
6547
|
+
gap: "var(--spacing-4)",
|
|
6548
|
+
border: "1px solid var(--color-neutral-200)",
|
|
6549
|
+
className,
|
|
6550
|
+
children: [
|
|
6551
|
+
/* @__PURE__ */ (0, import_jsx_runtime234.jsx)(
|
|
6552
|
+
UserCard_default,
|
|
6553
|
+
{
|
|
6554
|
+
avatarSrc,
|
|
6555
|
+
title: name,
|
|
6556
|
+
subtitle: date,
|
|
6557
|
+
rating
|
|
6558
|
+
}
|
|
6559
|
+
),
|
|
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)(
|
|
6564
|
+
ReviewReply_default,
|
|
6565
|
+
{
|
|
6566
|
+
avatarSrc: reply.avatarSrc,
|
|
6567
|
+
name: reply.name,
|
|
6568
|
+
date: reply.date,
|
|
6569
|
+
content: reply.content,
|
|
6570
|
+
label: reply.label,
|
|
6571
|
+
rating: reply.rating
|
|
6572
|
+
},
|
|
6573
|
+
index
|
|
6574
|
+
)) })
|
|
6575
|
+
]
|
|
6576
|
+
}
|
|
6577
|
+
);
|
|
6578
|
+
};
|
|
6579
|
+
var ReviewCard_default = ReviewCard;
|
|
6580
|
+
|
|
6135
6581
|
// src/Reviews/components/ReviewItem.tsx
|
|
6136
|
-
var
|
|
6582
|
+
var import_jsx_runtime235 = require("@emotion/react/jsx-runtime");
|
|
6137
6583
|
var ReviewItem = ({ label, rating }) => {
|
|
6138
|
-
return /* @__PURE__ */ (0,
|
|
6584
|
+
return /* @__PURE__ */ (0, import_jsx_runtime235.jsxs)(
|
|
6139
6585
|
Box_default,
|
|
6140
6586
|
{
|
|
6141
6587
|
display: "flex",
|
|
@@ -6143,10 +6589,10 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
6143
6589
|
alignItems: "center",
|
|
6144
6590
|
width: "100%",
|
|
6145
6591
|
children: [
|
|
6146
|
-
/* @__PURE__ */ (0,
|
|
6147
|
-
/* @__PURE__ */ (0,
|
|
6148
|
-
/* @__PURE__ */ (0,
|
|
6149
|
-
/* @__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: [
|
|
6150
6596
|
rating,
|
|
6151
6597
|
"/5"
|
|
6152
6598
|
] })
|
|
@@ -6157,36 +6603,15 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
6157
6603
|
};
|
|
6158
6604
|
var ReviewItem_default = ReviewItem;
|
|
6159
6605
|
|
|
6160
|
-
// src/Reviews/components/StarRating.tsx
|
|
6161
|
-
var import_jsx_runtime227 = require("@emotion/react/jsx-runtime");
|
|
6162
|
-
var StarRating = ({ rating }) => {
|
|
6163
|
-
const stars = [];
|
|
6164
|
-
for (let i = 1; i <= 5; i++) {
|
|
6165
|
-
stars.push(
|
|
6166
|
-
/* @__PURE__ */ (0, import_jsx_runtime227.jsx)(
|
|
6167
|
-
Icon_default,
|
|
6168
|
-
{
|
|
6169
|
-
variant: "StarSolid",
|
|
6170
|
-
size: 7,
|
|
6171
|
-
fill: i <= rating ? "var(--surface-action-2)" : "var(--color-neutral-100)"
|
|
6172
|
-
},
|
|
6173
|
-
i
|
|
6174
|
-
)
|
|
6175
|
-
);
|
|
6176
|
-
}
|
|
6177
|
-
return /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-3)", children: stars });
|
|
6178
|
-
};
|
|
6179
|
-
var StarRating_default = StarRating;
|
|
6180
|
-
|
|
6181
6606
|
// src/Reviews/Reviews.tsx
|
|
6182
|
-
var
|
|
6607
|
+
var import_jsx_runtime236 = require("@emotion/react/jsx-runtime");
|
|
6183
6608
|
var Reviews = ({
|
|
6184
6609
|
averageRating,
|
|
6185
6610
|
totalReviews,
|
|
6186
6611
|
items,
|
|
6187
6612
|
className
|
|
6188
6613
|
}) => {
|
|
6189
|
-
return /* @__PURE__ */ (0,
|
|
6614
|
+
return /* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
|
|
6190
6615
|
Box_default,
|
|
6191
6616
|
{
|
|
6192
6617
|
width: "100%",
|
|
@@ -6199,7 +6624,7 @@ var Reviews = ({
|
|
|
6199
6624
|
p: "var(--spacing-4)",
|
|
6200
6625
|
className,
|
|
6201
6626
|
children: [
|
|
6202
|
-
/* @__PURE__ */ (0,
|
|
6627
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsxs)(
|
|
6203
6628
|
Box_default,
|
|
6204
6629
|
{
|
|
6205
6630
|
display: "flex",
|
|
@@ -6207,9 +6632,9 @@ var Reviews = ({
|
|
|
6207
6632
|
alignItems: "center",
|
|
6208
6633
|
gap: "var(--spacing-2)",
|
|
6209
6634
|
children: [
|
|
6210
|
-
/* @__PURE__ */ (0,
|
|
6211
|
-
/* @__PURE__ */ (0,
|
|
6212
|
-
/* @__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: [
|
|
6213
6638
|
"Overall Rating \u2022 ",
|
|
6214
6639
|
totalReviews,
|
|
6215
6640
|
" Review",
|
|
@@ -6218,14 +6643,14 @@ var Reviews = ({
|
|
|
6218
6643
|
]
|
|
6219
6644
|
}
|
|
6220
6645
|
),
|
|
6221
|
-
/* @__PURE__ */ (0,
|
|
6646
|
+
/* @__PURE__ */ (0, import_jsx_runtime236.jsx)(
|
|
6222
6647
|
Box_default,
|
|
6223
6648
|
{
|
|
6224
6649
|
display: "flex",
|
|
6225
6650
|
flexDirection: "column",
|
|
6226
6651
|
gap: "var(--spacing-2)",
|
|
6227
6652
|
width: "100%",
|
|
6228
|
-
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))
|
|
6229
6654
|
}
|
|
6230
6655
|
)
|
|
6231
6656
|
]
|
|
@@ -6235,7 +6660,7 @@ var Reviews = ({
|
|
|
6235
6660
|
var Reviews_default = Reviews;
|
|
6236
6661
|
|
|
6237
6662
|
// src/Reviews/ReviewsShowcase.tsx
|
|
6238
|
-
var
|
|
6663
|
+
var import_jsx_runtime237 = require("@emotion/react/jsx-runtime");
|
|
6239
6664
|
var ReviewsShowcase = () => {
|
|
6240
6665
|
const sampleData = {
|
|
6241
6666
|
averageRating: 4,
|
|
@@ -6257,7 +6682,7 @@ var ReviewsShowcase = () => {
|
|
|
6257
6682
|
{ label: "Game Abundance", rating: 5 }
|
|
6258
6683
|
]
|
|
6259
6684
|
};
|
|
6260
|
-
return /* @__PURE__ */ (0,
|
|
6685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(
|
|
6261
6686
|
Box_default,
|
|
6262
6687
|
{
|
|
6263
6688
|
display: "flex",
|
|
@@ -6265,24 +6690,24 @@ var ReviewsShowcase = () => {
|
|
|
6265
6690
|
gap: "var(--spacing-8)",
|
|
6266
6691
|
p: "var(--spacing-6)",
|
|
6267
6692
|
children: [
|
|
6268
|
-
/* @__PURE__ */ (0,
|
|
6269
|
-
/* @__PURE__ */ (0,
|
|
6270
|
-
/* @__PURE__ */ (0,
|
|
6271
|
-
/* @__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 }) })
|
|
6272
6697
|
] }),
|
|
6273
|
-
/* @__PURE__ */ (0,
|
|
6274
|
-
/* @__PURE__ */ (0,
|
|
6275
|
-
/* @__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 }) })
|
|
6276
6701
|
] }),
|
|
6277
|
-
/* @__PURE__ */ (0,
|
|
6278
|
-
/* @__PURE__ */ (0,
|
|
6279
|
-
/* @__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)(
|
|
6280
6705
|
Box_default,
|
|
6281
6706
|
{
|
|
6282
6707
|
maxWidth: "320px",
|
|
6283
6708
|
border: "1px solid var(--color-neutral-200)",
|
|
6284
6709
|
p: "var(--spacing-4)",
|
|
6285
|
-
children: /* @__PURE__ */ (0,
|
|
6710
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(Reviews_default, { ...sampleData })
|
|
6286
6711
|
}
|
|
6287
6712
|
)
|
|
6288
6713
|
] })
|
|
@@ -6295,12 +6720,14 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6295
6720
|
0 && (module.exports = {
|
|
6296
6721
|
AIResponse,
|
|
6297
6722
|
AvailabilityChip,
|
|
6723
|
+
Avatar,
|
|
6298
6724
|
Box,
|
|
6299
6725
|
Button,
|
|
6300
6726
|
ChatWidget,
|
|
6301
6727
|
Column,
|
|
6302
6728
|
Container,
|
|
6303
6729
|
Divider,
|
|
6730
|
+
FeatureList,
|
|
6304
6731
|
FieldNoteCard,
|
|
6305
6732
|
FormField,
|
|
6306
6733
|
GlobalStyle,
|
|
@@ -6310,6 +6737,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6310
6737
|
HuntCard,
|
|
6311
6738
|
Icon,
|
|
6312
6739
|
IconLabel,
|
|
6740
|
+
InfoBox,
|
|
6313
6741
|
Input,
|
|
6314
6742
|
LayoutTokens,
|
|
6315
6743
|
ListingChat,
|
|
@@ -6317,14 +6745,17 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
6317
6745
|
MessageBubble,
|
|
6318
6746
|
Navigation,
|
|
6319
6747
|
PackageCard,
|
|
6748
|
+
ReviewCard,
|
|
6320
6749
|
Reviews,
|
|
6321
6750
|
ReviewsShowcase,
|
|
6322
6751
|
Select,
|
|
6323
6752
|
Spinner,
|
|
6753
|
+
StarRating,
|
|
6324
6754
|
TagChip,
|
|
6325
6755
|
Text,
|
|
6326
6756
|
TextArea,
|
|
6327
6757
|
ThemeTokens,
|
|
6758
|
+
UserCard,
|
|
6328
6759
|
Widget,
|
|
6329
6760
|
WidgetPanel,
|
|
6330
6761
|
WidgetTrigger,
|