@landtrustinc/design-system 1.2.38 → 1.2.40
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 +15 -1
- package/dist/index.js +282 -259
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4438,7 +4438,7 @@ AddOnBlock.displayName = "AddOnBlock";
|
|
|
4438
4438
|
var AddOnBlock_default = AddOnBlock;
|
|
4439
4439
|
|
|
4440
4440
|
// src/AIResponse/AIResponse.tsx
|
|
4441
|
-
var
|
|
4441
|
+
var import_react20 = require("react");
|
|
4442
4442
|
|
|
4443
4443
|
// src/Button/Button.tsx
|
|
4444
4444
|
var import_react13 = require("@emotion/react");
|
|
@@ -5303,12 +5303,18 @@ var errorRetryStyles = import_react17.css`
|
|
|
5303
5303
|
`;
|
|
5304
5304
|
|
|
5305
5305
|
// src/AIResponse/components/ContactLandownerButton/ContactLandownerButton.tsx
|
|
5306
|
+
var import_react18 = require("react");
|
|
5306
5307
|
var import_jsx_runtime217 = require("@emotion/react/jsx-runtime");
|
|
5307
5308
|
var ContactLandownerButton = ({
|
|
5308
5309
|
url,
|
|
5309
5310
|
buttonText = "Contact Landowner",
|
|
5311
|
+
target,
|
|
5312
|
+
onDisplay,
|
|
5310
5313
|
className
|
|
5311
5314
|
}) => {
|
|
5315
|
+
(0, import_react18.useEffect)(() => {
|
|
5316
|
+
onDisplay == null ? void 0 : onDisplay();
|
|
5317
|
+
}, [onDisplay]);
|
|
5312
5318
|
return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Box_default, { marginTop: "var(--spacing-4)", children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(
|
|
5313
5319
|
Button_default,
|
|
5314
5320
|
{
|
|
@@ -5316,6 +5322,8 @@ var ContactLandownerButton = ({
|
|
|
5316
5322
|
size: "base",
|
|
5317
5323
|
as: "a",
|
|
5318
5324
|
href: url,
|
|
5325
|
+
target,
|
|
5326
|
+
rel: target === "_blank" ? "noopener noreferrer" : void 0,
|
|
5319
5327
|
className,
|
|
5320
5328
|
children: buttonText
|
|
5321
5329
|
}
|
|
@@ -5365,8 +5373,8 @@ var BytescaleImage = ({
|
|
|
5365
5373
|
};
|
|
5366
5374
|
|
|
5367
5375
|
// src/AIResponse/components/TopMatchingFieldNote/TopMatchingFieldNote.styles.ts
|
|
5368
|
-
var
|
|
5369
|
-
var imageStyles =
|
|
5376
|
+
var import_react19 = require("@emotion/react");
|
|
5377
|
+
var imageStyles = import_react19.css`
|
|
5370
5378
|
width: 100%;
|
|
5371
5379
|
height: 275px;
|
|
5372
5380
|
border-radius: var(--radius-lg);
|
|
@@ -5513,13 +5521,32 @@ var AIResponse = ({
|
|
|
5513
5521
|
onErrorRetry,
|
|
5514
5522
|
helpfulDebounceMs = 1e3,
|
|
5515
5523
|
markdown = false,
|
|
5516
|
-
enableCodeCopy = true
|
|
5524
|
+
enableCodeCopy = true,
|
|
5525
|
+
onContactLandownerDisplay
|
|
5517
5526
|
}) => {
|
|
5518
|
-
const [visualHelpful, setVisualHelpful] = (0,
|
|
5527
|
+
const [visualHelpful, setVisualHelpful] = (0, import_react20.useState)(
|
|
5519
5528
|
void 0
|
|
5520
5529
|
);
|
|
5521
|
-
const debounceTimerRef = (0,
|
|
5530
|
+
const debounceTimerRef = (0, import_react20.useRef)(null);
|
|
5522
5531
|
const DEBOUNCE_MS = helpfulDebounceMs;
|
|
5532
|
+
const WrappedContactLandownerButton = (0, import_react20.useCallback)(
|
|
5533
|
+
(props) => /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(
|
|
5534
|
+
ContactLandownerButton,
|
|
5535
|
+
{
|
|
5536
|
+
...props,
|
|
5537
|
+
onDisplay: onContactLandownerDisplay
|
|
5538
|
+
}
|
|
5539
|
+
),
|
|
5540
|
+
[onContactLandownerDisplay]
|
|
5541
|
+
);
|
|
5542
|
+
const customComponents = (0, import_react20.useMemo)(
|
|
5543
|
+
() => ({
|
|
5544
|
+
TopMatchingFieldNote,
|
|
5545
|
+
TopMatchingReview,
|
|
5546
|
+
ContactLandownerButton: WrappedContactLandownerButton
|
|
5547
|
+
}),
|
|
5548
|
+
[WrappedContactLandownerButton]
|
|
5549
|
+
);
|
|
5523
5550
|
const scheduleCallback = (next) => {
|
|
5524
5551
|
if (debounceTimerRef.current) {
|
|
5525
5552
|
clearTimeout(debounceTimerRef.current);
|
|
@@ -5545,7 +5572,7 @@ var AIResponse = ({
|
|
|
5545
5572
|
setVisualHelpful(next);
|
|
5546
5573
|
scheduleCallback(next);
|
|
5547
5574
|
};
|
|
5548
|
-
(0,
|
|
5575
|
+
(0, import_react20.useEffect)(() => {
|
|
5549
5576
|
return () => {
|
|
5550
5577
|
if (debounceTimerRef.current) {
|
|
5551
5578
|
clearTimeout(debounceTimerRef.current);
|
|
@@ -5567,11 +5594,7 @@ var AIResponse = ({
|
|
|
5567
5594
|
{
|
|
5568
5595
|
content: children,
|
|
5569
5596
|
enableCodeCopy,
|
|
5570
|
-
customComponents
|
|
5571
|
-
TopMatchingFieldNote,
|
|
5572
|
-
TopMatchingReview,
|
|
5573
|
-
ContactLandownerButton
|
|
5574
|
-
}
|
|
5597
|
+
customComponents
|
|
5575
5598
|
}
|
|
5576
5599
|
) : /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(Text_default, { size: "md", color: "var(--text-primary)", children }),
|
|
5577
5600
|
variant !== "error" && showDisclaimer && /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(Box_default, { display: "flex", gap: "var(--spacing-1)", alignItems: "center", children: [
|
|
@@ -5633,25 +5656,25 @@ var AIResponse = ({
|
|
|
5633
5656
|
var AIResponse_default = AIResponse;
|
|
5634
5657
|
|
|
5635
5658
|
// src/AvailabilityBadge/AvailabilityBadge.styles.ts
|
|
5636
|
-
var
|
|
5659
|
+
var import_react21 = require("@emotion/react");
|
|
5637
5660
|
var availabilityBadgeVariantStyles = {
|
|
5638
|
-
primary:
|
|
5661
|
+
primary: import_react21.css`
|
|
5639
5662
|
background-color: var(--color-primary-100);
|
|
5640
5663
|
color: var(--text-primary);
|
|
5641
5664
|
`,
|
|
5642
|
-
error:
|
|
5665
|
+
error: import_react21.css`
|
|
5643
5666
|
background-color: var(--surface-error);
|
|
5644
5667
|
color: var(--text-error);
|
|
5645
5668
|
`,
|
|
5646
|
-
action:
|
|
5669
|
+
action: import_react21.css`
|
|
5647
5670
|
background-color: var(--surface-action-2);
|
|
5648
5671
|
color: var(--text-primary);
|
|
5649
5672
|
`,
|
|
5650
|
-
warning:
|
|
5673
|
+
warning: import_react21.css`
|
|
5651
5674
|
background-color: var(--color-brown-200);
|
|
5652
5675
|
color: var(--text-primary);
|
|
5653
5676
|
`,
|
|
5654
|
-
neutral:
|
|
5677
|
+
neutral: import_react21.css`
|
|
5655
5678
|
background-color: var(--surface-neutral);
|
|
5656
5679
|
color: var(--text-primary);
|
|
5657
5680
|
`
|
|
@@ -5681,39 +5704,39 @@ var AvailabilityBadge = ({
|
|
|
5681
5704
|
var AvailabilityBadge_default = AvailabilityBadge;
|
|
5682
5705
|
|
|
5683
5706
|
// src/Avatar/Avatar.tsx
|
|
5684
|
-
var
|
|
5685
|
-
var
|
|
5707
|
+
var import_react23 = require("@emotion/react");
|
|
5708
|
+
var import_react24 = require("react");
|
|
5686
5709
|
|
|
5687
5710
|
// src/Avatar/Avatar.styles.ts
|
|
5688
|
-
var
|
|
5711
|
+
var import_react22 = require("@emotion/react");
|
|
5689
5712
|
var avatarSizeStyles = {
|
|
5690
|
-
xs:
|
|
5713
|
+
xs: import_react22.css`
|
|
5691
5714
|
width: 24px;
|
|
5692
5715
|
height: 24px;
|
|
5693
5716
|
`,
|
|
5694
|
-
sm:
|
|
5717
|
+
sm: import_react22.css`
|
|
5695
5718
|
width: 32px;
|
|
5696
5719
|
height: 32px;
|
|
5697
5720
|
`,
|
|
5698
|
-
md:
|
|
5721
|
+
md: import_react22.css`
|
|
5699
5722
|
width: 60px;
|
|
5700
5723
|
height: 60px;
|
|
5701
5724
|
`,
|
|
5702
|
-
lg:
|
|
5725
|
+
lg: import_react22.css`
|
|
5703
5726
|
width: 80px;
|
|
5704
5727
|
height: 80px;
|
|
5705
5728
|
`,
|
|
5706
|
-
xl:
|
|
5729
|
+
xl: import_react22.css`
|
|
5707
5730
|
width: 120px;
|
|
5708
5731
|
height: 120px;
|
|
5709
5732
|
`
|
|
5710
5733
|
};
|
|
5711
|
-
var avatarBaseStyles =
|
|
5734
|
+
var avatarBaseStyles = import_react22.css`
|
|
5712
5735
|
border-radius: 50%;
|
|
5713
5736
|
object-fit: cover;
|
|
5714
5737
|
display: block;
|
|
5715
5738
|
`;
|
|
5716
|
-
var avatarTextStyles =
|
|
5739
|
+
var avatarTextStyles = import_react22.css`
|
|
5717
5740
|
border-radius: 50%;
|
|
5718
5741
|
background-color: var(--surface-action);
|
|
5719
5742
|
color: white;
|
|
@@ -5723,7 +5746,7 @@ var avatarTextStyles = import_react21.css`
|
|
|
5723
5746
|
font-weight: bold;
|
|
5724
5747
|
user-select: none;
|
|
5725
5748
|
`;
|
|
5726
|
-
var avatarFallbackStyles =
|
|
5749
|
+
var avatarFallbackStyles = import_react22.css`
|
|
5727
5750
|
border-radius: 50%;
|
|
5728
5751
|
background-color: var(--color-neutral-100);
|
|
5729
5752
|
color: var(--color-neutral-500);
|
|
@@ -5742,7 +5765,7 @@ var Avatar = ({
|
|
|
5742
5765
|
size = "md",
|
|
5743
5766
|
className
|
|
5744
5767
|
}) => {
|
|
5745
|
-
const [hasImageError, setHasImageError] = (0,
|
|
5768
|
+
const [hasImageError, setHasImageError] = (0, import_react24.useState)(false);
|
|
5746
5769
|
const handleImageError = () => {
|
|
5747
5770
|
setHasImageError(true);
|
|
5748
5771
|
};
|
|
@@ -5820,7 +5843,7 @@ var Avatar = ({
|
|
|
5820
5843
|
{
|
|
5821
5844
|
variant: "User",
|
|
5822
5845
|
size: getIconSize(size),
|
|
5823
|
-
css: size === "lg" ?
|
|
5846
|
+
css: size === "lg" ? import_react23.css`
|
|
5824
5847
|
width: 28px;
|
|
5825
5848
|
height: 28px;
|
|
5826
5849
|
` : void 0
|
|
@@ -5832,15 +5855,15 @@ var Avatar = ({
|
|
|
5832
5855
|
var Avatar_default = Avatar;
|
|
5833
5856
|
|
|
5834
5857
|
// src/ChatWidget/ChatWidget.tsx
|
|
5835
|
-
var
|
|
5858
|
+
var import_react36 = __toESM(require("react"));
|
|
5836
5859
|
|
|
5837
5860
|
// src/Divider/Divider.tsx
|
|
5838
5861
|
var import_styled4 = __toESM(require("@emotion/styled"));
|
|
5839
5862
|
var import_styled_system2 = require("styled-system");
|
|
5840
5863
|
|
|
5841
5864
|
// src/Divider/Divider.styles.ts
|
|
5842
|
-
var
|
|
5843
|
-
var dividerStyles =
|
|
5865
|
+
var import_react25 = require("@emotion/react");
|
|
5866
|
+
var dividerStyles = import_react25.css`
|
|
5844
5867
|
width: 100%;
|
|
5845
5868
|
height: 1px;
|
|
5846
5869
|
border: 0;
|
|
@@ -5859,17 +5882,17 @@ var Divider = ({ className, ...rest }) => {
|
|
|
5859
5882
|
var Divider_default = Divider;
|
|
5860
5883
|
|
|
5861
5884
|
// src/Form/TextArea.tsx
|
|
5862
|
-
var
|
|
5863
|
-
var
|
|
5885
|
+
var import_react27 = require("@emotion/react");
|
|
5886
|
+
var import_react28 = require("react");
|
|
5864
5887
|
|
|
5865
5888
|
// src/Form/TextArea.styles.ts
|
|
5866
|
-
var
|
|
5867
|
-
var wrapperStyles =
|
|
5889
|
+
var import_react26 = require("@emotion/react");
|
|
5890
|
+
var wrapperStyles = import_react26.css`
|
|
5868
5891
|
position: relative;
|
|
5869
5892
|
display: inline-block;
|
|
5870
5893
|
width: 100%;
|
|
5871
5894
|
`;
|
|
5872
|
-
var textareaBase =
|
|
5895
|
+
var textareaBase = import_react26.css`
|
|
5873
5896
|
width: 100%;
|
|
5874
5897
|
box-sizing: border-box;
|
|
5875
5898
|
font: inherit;
|
|
@@ -5903,32 +5926,32 @@ var textareaBase = import_react25.css`
|
|
|
5903
5926
|
cursor: default;
|
|
5904
5927
|
}
|
|
5905
5928
|
`;
|
|
5906
|
-
var variantError =
|
|
5929
|
+
var variantError = import_react26.css`
|
|
5907
5930
|
border-color: var(--border-error);
|
|
5908
5931
|
&:focus {
|
|
5909
5932
|
border-color: var(--border-error);
|
|
5910
5933
|
box-shadow: 0 0 0 3px var(--color-error-100);
|
|
5911
5934
|
}
|
|
5912
5935
|
`;
|
|
5913
|
-
var variantSuccess =
|
|
5936
|
+
var variantSuccess = import_react26.css`
|
|
5914
5937
|
border-color: var(--color-success-500);
|
|
5915
5938
|
&:focus {
|
|
5916
5939
|
border-color: var(--color-success-500);
|
|
5917
5940
|
box-shadow: 0 0 0 3px var(--color-success-100);
|
|
5918
5941
|
}
|
|
5919
5942
|
`;
|
|
5920
|
-
var submitButtonContainer =
|
|
5943
|
+
var submitButtonContainer = import_react26.css`
|
|
5921
5944
|
position: absolute;
|
|
5922
5945
|
right: var(--spacing-4);
|
|
5923
5946
|
bottom: var(--spacing-4);
|
|
5924
5947
|
`;
|
|
5925
|
-
var textareaWithSubmit =
|
|
5948
|
+
var textareaWithSubmit = import_react26.css`
|
|
5926
5949
|
padding-right: var(--spacing-16);
|
|
5927
5950
|
`;
|
|
5928
5951
|
|
|
5929
5952
|
// src/Form/TextArea.tsx
|
|
5930
5953
|
var import_jsx_runtime225 = require("@emotion/react/jsx-runtime");
|
|
5931
|
-
var TextArea = (0,
|
|
5954
|
+
var TextArea = (0, import_react28.forwardRef)(
|
|
5932
5955
|
({
|
|
5933
5956
|
rows = 3,
|
|
5934
5957
|
variant = "default",
|
|
@@ -5948,8 +5971,8 @@ var TextArea = (0, import_react27.forwardRef)(
|
|
|
5948
5971
|
submitOnEnter = true,
|
|
5949
5972
|
...props
|
|
5950
5973
|
}, ref) => {
|
|
5951
|
-
const innerRef = (0,
|
|
5952
|
-
(0,
|
|
5974
|
+
const innerRef = (0, import_react28.useRef)(null);
|
|
5975
|
+
(0, import_react28.useEffect)(() => {
|
|
5953
5976
|
const el = innerRef.current;
|
|
5954
5977
|
if (!el || !autoExpand)
|
|
5955
5978
|
return;
|
|
@@ -6003,7 +6026,7 @@ var TextArea = (0, import_react27.forwardRef)(
|
|
|
6003
6026
|
textareaBase,
|
|
6004
6027
|
variant === "error" && variantError,
|
|
6005
6028
|
variant === "success" && variantSuccess,
|
|
6006
|
-
|
|
6029
|
+
import_react27.css`
|
|
6007
6030
|
resize: ${resize};
|
|
6008
6031
|
`,
|
|
6009
6032
|
showSubmit && textareaWithSubmit
|
|
@@ -6040,14 +6063,14 @@ TextArea.displayName = "TextArea";
|
|
|
6040
6063
|
var TextArea_default = TextArea;
|
|
6041
6064
|
|
|
6042
6065
|
// src/MessageBubble/MessageBubble.styles.ts
|
|
6043
|
-
var
|
|
6044
|
-
var getRootStyles = (variant) =>
|
|
6066
|
+
var import_react29 = require("@emotion/react");
|
|
6067
|
+
var getRootStyles = (variant) => import_react29.css`
|
|
6045
6068
|
display: flex;
|
|
6046
6069
|
flex-direction: column;
|
|
6047
6070
|
gap: var(--spacing-1);
|
|
6048
6071
|
align-items: ${variant === "sent" ? "flex-end" : "flex-start"};
|
|
6049
6072
|
`;
|
|
6050
|
-
var getBubbleStyles = (variant) =>
|
|
6073
|
+
var getBubbleStyles = (variant) => import_react29.css`
|
|
6051
6074
|
max-width: 100%;
|
|
6052
6075
|
width: 100%;
|
|
6053
6076
|
box-sizing: border-box;
|
|
@@ -6064,7 +6087,7 @@ var getBubbleStyles = (variant) => import_react28.css`
|
|
|
6064
6087
|
border-bottom-left-radius: ${variant === "sent" ? "var(--radius-lg)" : "0"};
|
|
6065
6088
|
border-bottom-right-radius: ${variant === "sent" ? "0" : "var(--radius-lg)"};
|
|
6066
6089
|
`;
|
|
6067
|
-
var contentStyles =
|
|
6090
|
+
var contentStyles = import_react29.css`
|
|
6068
6091
|
flex: 1 1 auto;
|
|
6069
6092
|
min-width: 1px;
|
|
6070
6093
|
min-height: 1px;
|
|
@@ -6094,34 +6117,34 @@ var MessageBubble = ({
|
|
|
6094
6117
|
var MessageBubble_default = MessageBubble;
|
|
6095
6118
|
|
|
6096
6119
|
// src/TagChip/TagChip.styles.ts
|
|
6097
|
-
var
|
|
6120
|
+
var import_react30 = require("@emotion/react");
|
|
6098
6121
|
var tagChipVariantStyles = {
|
|
6099
|
-
default:
|
|
6122
|
+
default: import_react30.css`
|
|
6100
6123
|
background-color: var(--surface-page);
|
|
6101
6124
|
border: 1px solid var(--border-primary);
|
|
6102
6125
|
color: var(--text-primary);
|
|
6103
6126
|
`,
|
|
6104
|
-
active:
|
|
6127
|
+
active: import_react30.css`
|
|
6105
6128
|
background-color: var(--text-primary);
|
|
6106
6129
|
border: 1px solid var(--border-secondary);
|
|
6107
6130
|
color: var(--color-base-white);
|
|
6108
6131
|
`,
|
|
6109
|
-
primary:
|
|
6132
|
+
primary: import_react30.css`
|
|
6110
6133
|
background-color: var(--surface-disabled);
|
|
6111
6134
|
border: 1px solid var(--surface-disabled);
|
|
6112
6135
|
color: var(--text-primary);
|
|
6113
6136
|
`,
|
|
6114
|
-
error:
|
|
6137
|
+
error: import_react30.css`
|
|
6115
6138
|
background-color: var(--surface-error);
|
|
6116
6139
|
border: 1px solid var(--color-red-300);
|
|
6117
6140
|
color: var(--text-error);
|
|
6118
6141
|
`,
|
|
6119
|
-
success:
|
|
6142
|
+
success: import_react30.css`
|
|
6120
6143
|
background-color: var(--surface-success);
|
|
6121
6144
|
border: 1px solid var(--color-green-300);
|
|
6122
6145
|
color: var(--text-primary);
|
|
6123
6146
|
`,
|
|
6124
|
-
warning:
|
|
6147
|
+
warning: import_react30.css`
|
|
6125
6148
|
background-color: var(--surface-subtle);
|
|
6126
6149
|
border: 1px solid var(--color-brown-200);
|
|
6127
6150
|
color: var(--text-primary);
|
|
@@ -6154,11 +6177,11 @@ var TagChip = ({
|
|
|
6154
6177
|
var TagChip_default = TagChip;
|
|
6155
6178
|
|
|
6156
6179
|
// src/Widget/Widget.tsx
|
|
6157
|
-
var
|
|
6180
|
+
var import_react32 = require("react");
|
|
6158
6181
|
|
|
6159
6182
|
// src/Widget/Widget.styles.ts
|
|
6160
|
-
var
|
|
6161
|
-
var panelContainer =
|
|
6183
|
+
var import_react31 = require("@emotion/react");
|
|
6184
|
+
var panelContainer = import_react31.css`
|
|
6162
6185
|
position: absolute;
|
|
6163
6186
|
right: 0;
|
|
6164
6187
|
bottom: calc(100% + var(--spacing-2));
|
|
@@ -6172,7 +6195,7 @@ var panelContainer = import_react30.css`
|
|
|
6172
6195
|
justify-content: stretch;
|
|
6173
6196
|
}
|
|
6174
6197
|
`;
|
|
6175
|
-
var panelCard = (width2) =>
|
|
6198
|
+
var panelCard = (width2) => import_react31.css`
|
|
6176
6199
|
background: var(--surface-page);
|
|
6177
6200
|
color: var(--text-primary);
|
|
6178
6201
|
border: 1px solid var(--border-primary);
|
|
@@ -6207,16 +6230,16 @@ var panelCard = (width2) => import_react30.css`
|
|
|
6207
6230
|
animation: none;
|
|
6208
6231
|
}
|
|
6209
6232
|
`;
|
|
6210
|
-
var widgetTrigger =
|
|
6233
|
+
var widgetTrigger = import_react31.css`
|
|
6211
6234
|
margin: var(--spacing-1);
|
|
6212
6235
|
box-shadow: var(--shadow-2xl);
|
|
6213
6236
|
`;
|
|
6214
6237
|
|
|
6215
6238
|
// src/Widget/Widget.tsx
|
|
6216
6239
|
var import_jsx_runtime228 = require("@emotion/react/jsx-runtime");
|
|
6217
|
-
var WidgetContext = (0,
|
|
6240
|
+
var WidgetContext = (0, import_react32.createContext)(null);
|
|
6218
6241
|
var useWidgetContext = () => {
|
|
6219
|
-
const ctx = (0,
|
|
6242
|
+
const ctx = (0, import_react32.useContext)(WidgetContext);
|
|
6220
6243
|
if (!ctx)
|
|
6221
6244
|
throw new Error("Widget subcomponents must be used within <Widget>");
|
|
6222
6245
|
return ctx;
|
|
@@ -6265,12 +6288,12 @@ var WidgetRoot = ({
|
|
|
6265
6288
|
containerProps,
|
|
6266
6289
|
closeOnClickOutside = true
|
|
6267
6290
|
}) => {
|
|
6268
|
-
const [internalExpanded, setInternalExpanded] = (0,
|
|
6291
|
+
const [internalExpanded, setInternalExpanded] = (0, import_react32.useState)(defaultExpanded);
|
|
6269
6292
|
const isControlled = typeof expanded === "boolean";
|
|
6270
6293
|
const isExpanded = isControlled ? expanded : internalExpanded;
|
|
6271
|
-
const triggerRef = (0,
|
|
6272
|
-
const containerRef = (0,
|
|
6273
|
-
const setExpanded = (0,
|
|
6294
|
+
const triggerRef = (0, import_react32.useRef)(null);
|
|
6295
|
+
const containerRef = (0, import_react32.useRef)(null);
|
|
6296
|
+
const setExpanded = (0, import_react32.useCallback)(
|
|
6274
6297
|
(next) => {
|
|
6275
6298
|
if (!isControlled)
|
|
6276
6299
|
setInternalExpanded(next);
|
|
@@ -6284,11 +6307,11 @@ var WidgetRoot = ({
|
|
|
6284
6307
|
},
|
|
6285
6308
|
[isControlled, onExpandedChange]
|
|
6286
6309
|
);
|
|
6287
|
-
const toggle = (0,
|
|
6310
|
+
const toggle = (0, import_react32.useCallback)(
|
|
6288
6311
|
() => setExpanded(!isExpanded),
|
|
6289
6312
|
[isExpanded, setExpanded]
|
|
6290
6313
|
);
|
|
6291
|
-
(0,
|
|
6314
|
+
(0, import_react32.useEffect)(() => {
|
|
6292
6315
|
if (!isExpanded || !closeOnClickOutside)
|
|
6293
6316
|
return;
|
|
6294
6317
|
const onDocClick = (e) => {
|
|
@@ -6302,7 +6325,7 @@ var WidgetRoot = ({
|
|
|
6302
6325
|
document.addEventListener("mousedown", onDocClick);
|
|
6303
6326
|
return () => document.removeEventListener("mousedown", onDocClick);
|
|
6304
6327
|
}, [isExpanded, setExpanded, closeOnClickOutside]);
|
|
6305
|
-
(0,
|
|
6328
|
+
(0, import_react32.useEffect)(() => {
|
|
6306
6329
|
if (!isExpanded)
|
|
6307
6330
|
return;
|
|
6308
6331
|
const onKey = (e) => {
|
|
@@ -6312,7 +6335,7 @@ var WidgetRoot = ({
|
|
|
6312
6335
|
document.addEventListener("keydown", onKey);
|
|
6313
6336
|
return () => document.removeEventListener("keydown", onKey);
|
|
6314
6337
|
}, [isExpanded, setExpanded]);
|
|
6315
|
-
const value = (0,
|
|
6338
|
+
const value = (0, import_react32.useMemo)(
|
|
6316
6339
|
() => ({
|
|
6317
6340
|
expanded: isExpanded,
|
|
6318
6341
|
toggle,
|
|
@@ -6345,8 +6368,8 @@ var Widget = Object.assign(WidgetRoot, {
|
|
|
6345
6368
|
var Widget_default = Widget;
|
|
6346
6369
|
|
|
6347
6370
|
// src/ChatWidget/ChatWidget.styles.ts
|
|
6348
|
-
var
|
|
6349
|
-
var sentWrapperStyles =
|
|
6371
|
+
var import_react33 = require("@emotion/react");
|
|
6372
|
+
var sentWrapperStyles = import_react33.css`
|
|
6350
6373
|
align-self: flex-end;
|
|
6351
6374
|
max-width: 90%;
|
|
6352
6375
|
width: 100%;
|
|
@@ -6354,14 +6377,14 @@ var sentWrapperStyles = import_react32.css`
|
|
|
6354
6377
|
overflow-wrap: anywhere;
|
|
6355
6378
|
padding-top: var(--spacing-4);
|
|
6356
6379
|
`;
|
|
6357
|
-
var receivedWrapperStyles =
|
|
6380
|
+
var receivedWrapperStyles = import_react33.css`
|
|
6358
6381
|
align-self: flex-start;
|
|
6359
6382
|
width: 100%;
|
|
6360
6383
|
min-width: 0;
|
|
6361
6384
|
overflow-wrap: anywhere;
|
|
6362
6385
|
padding-top: var(--spacing-4);
|
|
6363
6386
|
`;
|
|
6364
|
-
var containerStyles =
|
|
6387
|
+
var containerStyles = import_react33.css`
|
|
6365
6388
|
display: flex;
|
|
6366
6389
|
flex-direction: column;
|
|
6367
6390
|
min-height: 0;
|
|
@@ -6373,13 +6396,13 @@ var containerStyles = import_react32.css`
|
|
|
6373
6396
|
max-height: 85vh;
|
|
6374
6397
|
}
|
|
6375
6398
|
`;
|
|
6376
|
-
var thinkingRowStyles =
|
|
6399
|
+
var thinkingRowStyles = import_react33.css`
|
|
6377
6400
|
display: flex;
|
|
6378
6401
|
align-items: center;
|
|
6379
6402
|
gap: var(--spacing-2);
|
|
6380
6403
|
color: var(--text-primary);
|
|
6381
6404
|
`;
|
|
6382
|
-
var thinkingTextStyles =
|
|
6405
|
+
var thinkingTextStyles = import_react33.css`
|
|
6383
6406
|
animation: ltchat-pulse 1.6s ease-in-out infinite;
|
|
6384
6407
|
|
|
6385
6408
|
@keyframes ltchat-pulse {
|
|
@@ -6392,7 +6415,7 @@ var thinkingTextStyles = import_react32.css`
|
|
|
6392
6415
|
}
|
|
6393
6416
|
}
|
|
6394
6417
|
`;
|
|
6395
|
-
var badge =
|
|
6418
|
+
var badge = import_react33.css`
|
|
6396
6419
|
width: var(--spacing-11);
|
|
6397
6420
|
height: var(--spacing-11);
|
|
6398
6421
|
border-radius: var(--radius-round);
|
|
@@ -6402,18 +6425,18 @@ var badge = import_react32.css`
|
|
|
6402
6425
|
background-color: var(--color-primary-500);
|
|
6403
6426
|
color: var(--color-base-white);
|
|
6404
6427
|
`;
|
|
6405
|
-
var closeButtonContent =
|
|
6428
|
+
var closeButtonContent = import_react33.css`
|
|
6406
6429
|
display: inline-flex;
|
|
6407
6430
|
align-items: center;
|
|
6408
6431
|
gap: var(--spacing-2);
|
|
6409
6432
|
`;
|
|
6410
6433
|
|
|
6411
6434
|
// src/ChatWidget/components/AskBuckButton.tsx
|
|
6412
|
-
var
|
|
6435
|
+
var import_react35 = __toESM(require("react"));
|
|
6413
6436
|
|
|
6414
6437
|
// src/ChatWidget/components/AskBuckButton.styles.ts
|
|
6415
|
-
var
|
|
6416
|
-
var rotateGradient =
|
|
6438
|
+
var import_react34 = require("@emotion/react");
|
|
6439
|
+
var rotateGradient = import_react34.keyframes`
|
|
6417
6440
|
0% {
|
|
6418
6441
|
--gradient-angle: 0deg;
|
|
6419
6442
|
}
|
|
@@ -6421,7 +6444,7 @@ var rotateGradient = import_react33.keyframes`
|
|
|
6421
6444
|
--gradient-angle: 360deg;
|
|
6422
6445
|
}
|
|
6423
6446
|
`;
|
|
6424
|
-
var triggerWrapperStyles = (isAnimating) =>
|
|
6447
|
+
var triggerWrapperStyles = (isAnimating) => import_react34.css`
|
|
6425
6448
|
position: relative;
|
|
6426
6449
|
display: inline-block;
|
|
6427
6450
|
|
|
@@ -6435,7 +6458,7 @@ var triggerWrapperStyles = (isAnimating) => import_react33.css`
|
|
|
6435
6458
|
box-shadow: 0px 0px var(--shadow-blur-lg, 24px)
|
|
6436
6459
|
var(--shadow-spread-xs, -4px) rgba(17, 17, 17, 0.1);
|
|
6437
6460
|
|
|
6438
|
-
${isAnimating ?
|
|
6461
|
+
${isAnimating ? import_react34.css`
|
|
6439
6462
|
/* Register the custom property */
|
|
6440
6463
|
@property --gradient-angle {
|
|
6441
6464
|
syntax: '<angle>';
|
|
@@ -6453,13 +6476,13 @@ var triggerWrapperStyles = (isAnimating) => import_react33.css`
|
|
|
6453
6476
|
var(--color-primary-600) 100%
|
|
6454
6477
|
);
|
|
6455
6478
|
animation: ${rotateGradient} 3s linear infinite;
|
|
6456
|
-
` :
|
|
6479
|
+
` : import_react34.css`
|
|
6457
6480
|
/* Static border when not animating */
|
|
6458
6481
|
background: var(--color-primary-600);
|
|
6459
6482
|
`}
|
|
6460
6483
|
}
|
|
6461
6484
|
`;
|
|
6462
|
-
var badgeStyles =
|
|
6485
|
+
var badgeStyles = import_react34.css`
|
|
6463
6486
|
display: inline-flex;
|
|
6464
6487
|
align-items: center;
|
|
6465
6488
|
justify-content: center;
|
|
@@ -6474,7 +6497,7 @@ var badgeStyles = import_react33.css`
|
|
|
6474
6497
|
flex-shrink: 0;
|
|
6475
6498
|
margin-right: var(--spacing-1);
|
|
6476
6499
|
`;
|
|
6477
|
-
var buttonOverrideStyles =
|
|
6500
|
+
var buttonOverrideStyles = import_react34.css`
|
|
6478
6501
|
background: var(--surface-page);
|
|
6479
6502
|
border: none;
|
|
6480
6503
|
border-radius: var(--radius-round);
|
|
@@ -6503,10 +6526,10 @@ var buttonOverrideStyles = import_react33.css`
|
|
|
6503
6526
|
|
|
6504
6527
|
// src/ChatWidget/components/AskBuckButton.tsx
|
|
6505
6528
|
var import_jsx_runtime229 = require("@emotion/react/jsx-runtime");
|
|
6506
|
-
var AskBuckButton =
|
|
6529
|
+
var AskBuckButton = import_react35.default.forwardRef(
|
|
6507
6530
|
({ isAnimating = true, children = "Ask Buck", badgeCount }, ref) => {
|
|
6508
6531
|
var _a;
|
|
6509
|
-
const widgetContext = (0,
|
|
6532
|
+
const widgetContext = (0, import_react35.useContext)(WidgetContext);
|
|
6510
6533
|
const isExpanded = (_a = widgetContext == null ? void 0 : widgetContext.expanded) != null ? _a : false;
|
|
6511
6534
|
const showBadge = !isExpanded && badgeCount !== void 0 && badgeCount > 0;
|
|
6512
6535
|
return /* @__PURE__ */ (0, import_jsx_runtime229.jsx)("div", { css: triggerWrapperStyles(isAnimating), children: /* @__PURE__ */ (0, import_jsx_runtime229.jsx)(
|
|
@@ -6571,14 +6594,14 @@ var ChatWidget = ({
|
|
|
6571
6594
|
notificationCount,
|
|
6572
6595
|
closeOnClickOutside = true
|
|
6573
6596
|
}) => {
|
|
6574
|
-
const [value, setValue] = (0,
|
|
6575
|
-
const scrollRef = (0,
|
|
6576
|
-
const savedScrollPosition = (0,
|
|
6577
|
-
const previousMessagesLength = (0,
|
|
6597
|
+
const [value, setValue] = (0, import_react36.useState)("");
|
|
6598
|
+
const scrollRef = (0, import_react36.useRef)(null);
|
|
6599
|
+
const savedScrollPosition = (0, import_react36.useRef)(0);
|
|
6600
|
+
const previousMessagesLength = (0, import_react36.useRef)(messages.length);
|
|
6578
6601
|
const isControlled = typeof expanded === "boolean";
|
|
6579
|
-
const [internalExpanded, setInternalExpanded] = (0,
|
|
6602
|
+
const [internalExpanded, setInternalExpanded] = (0, import_react36.useState)(defaultExpanded);
|
|
6580
6603
|
const isExpanded = isControlled ? expanded : internalExpanded;
|
|
6581
|
-
const setExpanded = (0,
|
|
6604
|
+
const setExpanded = (0, import_react36.useCallback)(
|
|
6582
6605
|
(next) => {
|
|
6583
6606
|
if (!next && scrollRef.current) {
|
|
6584
6607
|
savedScrollPosition.current = scrollRef.current.scrollTop;
|
|
@@ -6589,7 +6612,7 @@ var ChatWidget = ({
|
|
|
6589
6612
|
},
|
|
6590
6613
|
[isControlled, onExpandedChange]
|
|
6591
6614
|
);
|
|
6592
|
-
(0,
|
|
6615
|
+
(0, import_react36.useEffect)(() => {
|
|
6593
6616
|
const el = scrollRef.current;
|
|
6594
6617
|
if (!el || !isExpanded)
|
|
6595
6618
|
return;
|
|
@@ -6599,7 +6622,7 @@ var ChatWidget = ({
|
|
|
6599
6622
|
}
|
|
6600
6623
|
});
|
|
6601
6624
|
}, [isExpanded]);
|
|
6602
|
-
(0,
|
|
6625
|
+
(0, import_react36.useEffect)(() => {
|
|
6603
6626
|
const el = scrollRef.current;
|
|
6604
6627
|
if (!el || !isExpanded)
|
|
6605
6628
|
return;
|
|
@@ -6613,7 +6636,7 @@ var ChatWidget = ({
|
|
|
6613
6636
|
}
|
|
6614
6637
|
}, [messages, isThinking, isExpanded]);
|
|
6615
6638
|
const messagesToRender = messages.length === 0 ? emptyState : messages;
|
|
6616
|
-
const renderedMessages = (0,
|
|
6639
|
+
const renderedMessages = (0, import_react36.useMemo)(
|
|
6617
6640
|
() => messagesToRender.map((element, index) => {
|
|
6618
6641
|
var _a;
|
|
6619
6642
|
const key = (_a = element.key) != null ? _a : index;
|
|
@@ -6623,7 +6646,7 @@ var ChatWidget = ({
|
|
|
6623
6646
|
if (element.type === MessageBubble_default) {
|
|
6624
6647
|
return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Box_default, { css: sentWrapperStyles, children: element }, key);
|
|
6625
6648
|
}
|
|
6626
|
-
return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(
|
|
6649
|
+
return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(import_react36.default.Fragment, { children: element }, key);
|
|
6627
6650
|
}),
|
|
6628
6651
|
[messagesToRender]
|
|
6629
6652
|
);
|
|
@@ -6764,7 +6787,7 @@ var ChatWidget = ({
|
|
|
6764
6787
|
var ChatWidget_default = ChatWidget;
|
|
6765
6788
|
|
|
6766
6789
|
// src/FeatureList/components/FeatureListItem.tsx
|
|
6767
|
-
var
|
|
6790
|
+
var import_react37 = require("@emotion/react");
|
|
6768
6791
|
var import_react_loading_skeleton = __toESM(require("react-loading-skeleton"));
|
|
6769
6792
|
var import_jsx_runtime231 = require("@emotion/react/jsx-runtime");
|
|
6770
6793
|
var FeatureListItem = ({
|
|
@@ -6833,7 +6856,7 @@ var FeatureListItem = ({
|
|
|
6833
6856
|
variant: iconVariant,
|
|
6834
6857
|
size: iconSize,
|
|
6835
6858
|
fill: iconColor,
|
|
6836
|
-
css:
|
|
6859
|
+
css: import_react37.css`
|
|
6837
6860
|
flex-shrink: 0;
|
|
6838
6861
|
`
|
|
6839
6862
|
}
|
|
@@ -6870,8 +6893,8 @@ var FeatureList = ({ heading, items, className }) => {
|
|
|
6870
6893
|
var FeatureList_default = FeatureList;
|
|
6871
6894
|
|
|
6872
6895
|
// src/FieldNoteCard/FieldNoteCard.styles.ts
|
|
6873
|
-
var
|
|
6874
|
-
var cardContainerStyles =
|
|
6896
|
+
var import_react38 = require("@emotion/react");
|
|
6897
|
+
var cardContainerStyles = import_react38.css`
|
|
6875
6898
|
position: relative;
|
|
6876
6899
|
height: 335px;
|
|
6877
6900
|
|
|
@@ -6879,12 +6902,12 @@ var cardContainerStyles = import_react37.css`
|
|
|
6879
6902
|
height: 480px;
|
|
6880
6903
|
}
|
|
6881
6904
|
`;
|
|
6882
|
-
var cardContentStyles =
|
|
6905
|
+
var cardContentStyles = import_react38.css`
|
|
6883
6906
|
position: relative;
|
|
6884
6907
|
border-radius: var(--spacing-4);
|
|
6885
6908
|
overflow: hidden;
|
|
6886
6909
|
`;
|
|
6887
|
-
var getBackgroundWithGradient = (imageUrl) =>
|
|
6910
|
+
var getBackgroundWithGradient = (imageUrl) => import_react38.css`
|
|
6888
6911
|
background-image: linear-gradient(
|
|
6889
6912
|
180deg,
|
|
6890
6913
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -6934,14 +6957,14 @@ var FieldNoteCard = ({
|
|
|
6934
6957
|
var FieldNoteCard_default = FieldNoteCard;
|
|
6935
6958
|
|
|
6936
6959
|
// src/Form/FormField.tsx
|
|
6937
|
-
var
|
|
6960
|
+
var import_react39 = require("@emotion/react");
|
|
6938
6961
|
var import_jsx_runtime234 = require("@emotion/react/jsx-runtime");
|
|
6939
|
-
var fieldContainerStyles =
|
|
6962
|
+
var fieldContainerStyles = import_react39.css`
|
|
6940
6963
|
display: flex;
|
|
6941
6964
|
flex-direction: column;
|
|
6942
6965
|
gap: ${space["2"]};
|
|
6943
6966
|
`;
|
|
6944
|
-
var labelStyles2 =
|
|
6967
|
+
var labelStyles2 = import_react39.css`
|
|
6945
6968
|
font-family: ${fonts.base};
|
|
6946
6969
|
font-size: ${fontSizes.sm};
|
|
6947
6970
|
font-weight: ${fontWeights.medium};
|
|
@@ -6949,17 +6972,17 @@ var labelStyles2 = import_react38.css`
|
|
|
6949
6972
|
color: ${colors.gray["900"]};
|
|
6950
6973
|
margin-bottom: ${space["1"]};
|
|
6951
6974
|
`;
|
|
6952
|
-
var requiredIndicatorStyles =
|
|
6975
|
+
var requiredIndicatorStyles = import_react39.css`
|
|
6953
6976
|
color: ${colors.red["500"]};
|
|
6954
6977
|
margin-left: ${space["1"]};
|
|
6955
6978
|
`;
|
|
6956
|
-
var helpTextStyles =
|
|
6979
|
+
var helpTextStyles = import_react39.css`
|
|
6957
6980
|
font-family: ${fonts.base};
|
|
6958
6981
|
font-size: ${fontSizes.sm};
|
|
6959
6982
|
line-height: ${lineHeights.tight};
|
|
6960
6983
|
color: ${colors.gray["600"]};
|
|
6961
6984
|
`;
|
|
6962
|
-
var errorTextStyles =
|
|
6985
|
+
var errorTextStyles = import_react39.css`
|
|
6963
6986
|
font-family: ${fonts.base};
|
|
6964
6987
|
font-size: ${fontSizes.sm};
|
|
6965
6988
|
line-height: ${lineHeights.tight};
|
|
@@ -6968,7 +6991,7 @@ var errorTextStyles = import_react38.css`
|
|
|
6968
6991
|
align-items: center;
|
|
6969
6992
|
gap: ${space["1"]};
|
|
6970
6993
|
`;
|
|
6971
|
-
var successTextStyles =
|
|
6994
|
+
var successTextStyles = import_react39.css`
|
|
6972
6995
|
font-family: ${fonts.base};
|
|
6973
6996
|
font-size: ${fontSizes.sm};
|
|
6974
6997
|
line-height: ${lineHeights.tight};
|
|
@@ -6977,7 +7000,7 @@ var successTextStyles = import_react38.css`
|
|
|
6977
7000
|
align-items: center;
|
|
6978
7001
|
gap: ${space["1"]};
|
|
6979
7002
|
`;
|
|
6980
|
-
var visuallyHiddenStyles =
|
|
7003
|
+
var visuallyHiddenStyles = import_react39.css`
|
|
6981
7004
|
position: absolute;
|
|
6982
7005
|
width: 1px;
|
|
6983
7006
|
height: 1px;
|
|
@@ -7042,10 +7065,10 @@ var FormField = ({
|
|
|
7042
7065
|
};
|
|
7043
7066
|
|
|
7044
7067
|
// src/Form/Input.tsx
|
|
7045
|
-
var
|
|
7046
|
-
var
|
|
7068
|
+
var import_react40 = require("@emotion/react");
|
|
7069
|
+
var import_react41 = require("react");
|
|
7047
7070
|
var import_jsx_runtime235 = require("@emotion/react/jsx-runtime");
|
|
7048
|
-
var inputStyles =
|
|
7071
|
+
var inputStyles = import_react40.css`
|
|
7049
7072
|
position: relative;
|
|
7050
7073
|
width: 100%;
|
|
7051
7074
|
font-family: ${fonts.base};
|
|
@@ -7082,19 +7105,19 @@ var inputStyles = import_react39.css`
|
|
|
7082
7105
|
}
|
|
7083
7106
|
`;
|
|
7084
7107
|
var sizeStyles = {
|
|
7085
|
-
sm:
|
|
7108
|
+
sm: import_react40.css`
|
|
7086
7109
|
padding: ${space["2"]} ${space["3"]};
|
|
7087
7110
|
font-size: ${fontSizes.sm};
|
|
7088
7111
|
line-height: ${lineHeights.tight};
|
|
7089
7112
|
height: ${space["8"]};
|
|
7090
7113
|
`,
|
|
7091
|
-
md:
|
|
7114
|
+
md: import_react40.css`
|
|
7092
7115
|
padding: ${space["3"]} ${space["4"]};
|
|
7093
7116
|
font-size: ${fontSizes.base};
|
|
7094
7117
|
line-height: ${lineHeights.normal};
|
|
7095
7118
|
height: ${space["10"]};
|
|
7096
7119
|
`,
|
|
7097
|
-
lg:
|
|
7120
|
+
lg: import_react40.css`
|
|
7098
7121
|
padding: ${space["4"]} ${space["5"]};
|
|
7099
7122
|
font-size: ${fontSizes.lg};
|
|
7100
7123
|
line-height: ${lineHeights.normal};
|
|
@@ -7102,8 +7125,8 @@ var sizeStyles = {
|
|
|
7102
7125
|
`
|
|
7103
7126
|
};
|
|
7104
7127
|
var variantStyles = {
|
|
7105
|
-
default:
|
|
7106
|
-
error:
|
|
7128
|
+
default: import_react40.css``,
|
|
7129
|
+
error: import_react40.css`
|
|
7107
7130
|
border-color: ${colors.red["500"]};
|
|
7108
7131
|
|
|
7109
7132
|
&:focus {
|
|
@@ -7111,7 +7134,7 @@ var variantStyles = {
|
|
|
7111
7134
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
7112
7135
|
}
|
|
7113
7136
|
`,
|
|
7114
|
-
success:
|
|
7137
|
+
success: import_react40.css`
|
|
7115
7138
|
border-color: ${colors.accent.green};
|
|
7116
7139
|
|
|
7117
7140
|
&:focus {
|
|
@@ -7120,7 +7143,7 @@ var variantStyles = {
|
|
|
7120
7143
|
}
|
|
7121
7144
|
`
|
|
7122
7145
|
};
|
|
7123
|
-
var inputWithIconStyles =
|
|
7146
|
+
var inputWithIconStyles = import_react40.css`
|
|
7124
7147
|
padding-left: ${space["10"]};
|
|
7125
7148
|
|
|
7126
7149
|
&.has-end-icon {
|
|
@@ -7131,7 +7154,7 @@ var inputWithIconStyles = import_react39.css`
|
|
|
7131
7154
|
padding-left: ${space["10"]};
|
|
7132
7155
|
}
|
|
7133
7156
|
`;
|
|
7134
|
-
var iconContainerStyles =
|
|
7157
|
+
var iconContainerStyles = import_react40.css`
|
|
7135
7158
|
position: absolute;
|
|
7136
7159
|
top: 50%;
|
|
7137
7160
|
transform: translateY(-50%);
|
|
@@ -7142,20 +7165,20 @@ var iconContainerStyles = import_react39.css`
|
|
|
7142
7165
|
pointer-events: none;
|
|
7143
7166
|
z-index: 1;
|
|
7144
7167
|
`;
|
|
7145
|
-
var startIconStyles =
|
|
7168
|
+
var startIconStyles = import_react40.css`
|
|
7146
7169
|
${iconContainerStyles}
|
|
7147
7170
|
left: ${space["3"]};
|
|
7148
7171
|
`;
|
|
7149
|
-
var endIconStyles =
|
|
7172
|
+
var endIconStyles = import_react40.css`
|
|
7150
7173
|
${iconContainerStyles}
|
|
7151
7174
|
right: ${space["3"]};
|
|
7152
7175
|
`;
|
|
7153
|
-
var inputWrapperStyles =
|
|
7176
|
+
var inputWrapperStyles = import_react40.css`
|
|
7154
7177
|
position: relative;
|
|
7155
7178
|
display: inline-block;
|
|
7156
7179
|
width: 100%;
|
|
7157
7180
|
`;
|
|
7158
|
-
var Input = (0,
|
|
7181
|
+
var Input = (0, import_react41.forwardRef)(
|
|
7159
7182
|
({
|
|
7160
7183
|
size = "md",
|
|
7161
7184
|
variant = "default",
|
|
@@ -7200,10 +7223,10 @@ var Input = (0, import_react40.forwardRef)(
|
|
|
7200
7223
|
Input.displayName = "Input";
|
|
7201
7224
|
|
|
7202
7225
|
// src/Form/Select.tsx
|
|
7203
|
-
var
|
|
7204
|
-
var
|
|
7226
|
+
var import_react42 = require("@emotion/react");
|
|
7227
|
+
var import_react43 = require("react");
|
|
7205
7228
|
var import_jsx_runtime236 = require("@emotion/react/jsx-runtime");
|
|
7206
|
-
var selectStyles =
|
|
7229
|
+
var selectStyles = import_react42.css`
|
|
7207
7230
|
position: relative;
|
|
7208
7231
|
width: 100%;
|
|
7209
7232
|
font-family: ${fonts.base};
|
|
@@ -7242,19 +7265,19 @@ var selectStyles = import_react41.css`
|
|
|
7242
7265
|
}
|
|
7243
7266
|
`;
|
|
7244
7267
|
var sizeStyles2 = {
|
|
7245
|
-
sm:
|
|
7268
|
+
sm: import_react42.css`
|
|
7246
7269
|
padding: ${space["2"]} ${space["3"]};
|
|
7247
7270
|
font-size: ${fontSizes.sm};
|
|
7248
7271
|
line-height: ${lineHeights.tight};
|
|
7249
7272
|
height: ${space["8"]};
|
|
7250
7273
|
`,
|
|
7251
|
-
md:
|
|
7274
|
+
md: import_react42.css`
|
|
7252
7275
|
padding: ${space["3"]} ${space["4"]};
|
|
7253
7276
|
font-size: ${fontSizes.base};
|
|
7254
7277
|
line-height: ${lineHeights.normal};
|
|
7255
7278
|
height: ${space["10"]};
|
|
7256
7279
|
`,
|
|
7257
|
-
lg:
|
|
7280
|
+
lg: import_react42.css`
|
|
7258
7281
|
padding: ${space["4"]} ${space["5"]};
|
|
7259
7282
|
font-size: ${fontSizes.lg};
|
|
7260
7283
|
line-height: ${lineHeights.normal};
|
|
@@ -7262,8 +7285,8 @@ var sizeStyles2 = {
|
|
|
7262
7285
|
`
|
|
7263
7286
|
};
|
|
7264
7287
|
var variantStyles2 = {
|
|
7265
|
-
default:
|
|
7266
|
-
error:
|
|
7288
|
+
default: import_react42.css``,
|
|
7289
|
+
error: import_react42.css`
|
|
7267
7290
|
border-color: ${colors.red["500"]};
|
|
7268
7291
|
|
|
7269
7292
|
&:focus {
|
|
@@ -7271,7 +7294,7 @@ var variantStyles2 = {
|
|
|
7271
7294
|
box-shadow: 0 0 0 3px ${colors.red["100"]};
|
|
7272
7295
|
}
|
|
7273
7296
|
`,
|
|
7274
|
-
success:
|
|
7297
|
+
success: import_react42.css`
|
|
7275
7298
|
border-color: ${colors.accent.green};
|
|
7276
7299
|
|
|
7277
7300
|
&:focus {
|
|
@@ -7280,7 +7303,7 @@ var variantStyles2 = {
|
|
|
7280
7303
|
}
|
|
7281
7304
|
`
|
|
7282
7305
|
};
|
|
7283
|
-
var optionStyles =
|
|
7306
|
+
var optionStyles = import_react42.css`
|
|
7284
7307
|
background-color: ${colors.light["100"]};
|
|
7285
7308
|
color: ${colors.gray["900"]};
|
|
7286
7309
|
|
|
@@ -7289,7 +7312,7 @@ var optionStyles = import_react41.css`
|
|
|
7289
7312
|
background-color: ${colors.gray["100"]};
|
|
7290
7313
|
}
|
|
7291
7314
|
`;
|
|
7292
|
-
var Select = (0,
|
|
7315
|
+
var Select = (0, import_react43.forwardRef)(
|
|
7293
7316
|
({
|
|
7294
7317
|
size = "md",
|
|
7295
7318
|
variant = "default",
|
|
@@ -7327,10 +7350,10 @@ var Select = (0, import_react42.forwardRef)(
|
|
|
7327
7350
|
Select.displayName = "Select";
|
|
7328
7351
|
|
|
7329
7352
|
// src/Grid/Column.tsx
|
|
7330
|
-
var
|
|
7353
|
+
var import_react45 = require("@emotion/react");
|
|
7331
7354
|
|
|
7332
7355
|
// src/Grid/utils.ts
|
|
7333
|
-
var
|
|
7356
|
+
var import_react44 = require("@emotion/react");
|
|
7334
7357
|
var LayoutTokens = {
|
|
7335
7358
|
containers: {
|
|
7336
7359
|
sm: screens.sm,
|
|
@@ -7370,11 +7393,11 @@ var getResponsiveValue = (value) => {
|
|
|
7370
7393
|
var generateGridColumns = (columns) => {
|
|
7371
7394
|
const baseColumns = getResponsiveValue(columns);
|
|
7372
7395
|
if (typeof columns === "number") {
|
|
7373
|
-
return
|
|
7396
|
+
return import_react44.css`
|
|
7374
7397
|
grid-template-columns: repeat(${columns}, 1fr);
|
|
7375
7398
|
`;
|
|
7376
7399
|
}
|
|
7377
|
-
return
|
|
7400
|
+
return import_react44.css`
|
|
7378
7401
|
grid-template-columns: repeat(${baseColumns}, 1fr);
|
|
7379
7402
|
|
|
7380
7403
|
${media.sm} {
|
|
@@ -7406,11 +7429,11 @@ var generateGridColumns = (columns) => {
|
|
|
7406
7429
|
var generateGapStyles = (gap2) => {
|
|
7407
7430
|
const baseGap = getResponsiveValue(gap2);
|
|
7408
7431
|
if (typeof gap2 === "string" || typeof gap2 === "number") {
|
|
7409
|
-
return
|
|
7432
|
+
return import_react44.css`
|
|
7410
7433
|
gap: ${space[gap2]};
|
|
7411
7434
|
`;
|
|
7412
7435
|
}
|
|
7413
|
-
return
|
|
7436
|
+
return import_react44.css`
|
|
7414
7437
|
gap: ${space[baseGap]};
|
|
7415
7438
|
|
|
7416
7439
|
${media.sm} {
|
|
@@ -7433,11 +7456,11 @@ var generateGapStyles = (gap2) => {
|
|
|
7433
7456
|
var generateRowGapStyles = (rowGap) => {
|
|
7434
7457
|
const baseRowGap = getResponsiveValue(rowGap);
|
|
7435
7458
|
if (typeof rowGap === "string" || typeof rowGap === "number") {
|
|
7436
|
-
return
|
|
7459
|
+
return import_react44.css`
|
|
7437
7460
|
row-gap: ${space[rowGap]};
|
|
7438
7461
|
`;
|
|
7439
7462
|
}
|
|
7440
|
-
return
|
|
7463
|
+
return import_react44.css`
|
|
7441
7464
|
row-gap: ${space[baseRowGap]};
|
|
7442
7465
|
|
|
7443
7466
|
${media.sm} {
|
|
@@ -7460,11 +7483,11 @@ var generateRowGapStyles = (rowGap) => {
|
|
|
7460
7483
|
var generateColumnGapStyles = (columnGap) => {
|
|
7461
7484
|
const baseColumnGap = getResponsiveValue(columnGap);
|
|
7462
7485
|
if (typeof columnGap === "string" || typeof columnGap === "number") {
|
|
7463
|
-
return
|
|
7486
|
+
return import_react44.css`
|
|
7464
7487
|
column-gap: ${space[columnGap]};
|
|
7465
7488
|
`;
|
|
7466
7489
|
}
|
|
7467
|
-
return
|
|
7490
|
+
return import_react44.css`
|
|
7468
7491
|
column-gap: ${space[baseColumnGap]};
|
|
7469
7492
|
|
|
7470
7493
|
${media.sm} {
|
|
@@ -7487,11 +7510,11 @@ var generateColumnGapStyles = (columnGap) => {
|
|
|
7487
7510
|
var generateColumnSpan = (span) => {
|
|
7488
7511
|
const baseSpan = getResponsiveValue(span);
|
|
7489
7512
|
if (typeof span === "string" || typeof span === "number") {
|
|
7490
|
-
return
|
|
7513
|
+
return import_react44.css`
|
|
7491
7514
|
grid-column: ${span === "auto" ? "auto" : `span ${span}`};
|
|
7492
7515
|
`;
|
|
7493
7516
|
}
|
|
7494
|
-
return
|
|
7517
|
+
return import_react44.css`
|
|
7495
7518
|
grid-column: ${baseSpan === "auto" ? "auto" : `span ${baseSpan}`};
|
|
7496
7519
|
|
|
7497
7520
|
${media.sm} {
|
|
@@ -7514,11 +7537,11 @@ var generateColumnSpan = (span) => {
|
|
|
7514
7537
|
var generateAlignItems = (alignItems) => {
|
|
7515
7538
|
const baseAlign = getResponsiveValue(alignItems);
|
|
7516
7539
|
if (typeof alignItems === "string") {
|
|
7517
|
-
return
|
|
7540
|
+
return import_react44.css`
|
|
7518
7541
|
align-items: ${alignItems};
|
|
7519
7542
|
`;
|
|
7520
7543
|
}
|
|
7521
|
-
return
|
|
7544
|
+
return import_react44.css`
|
|
7522
7545
|
align-items: ${baseAlign};
|
|
7523
7546
|
|
|
7524
7547
|
${media.sm} {
|
|
@@ -7541,11 +7564,11 @@ var generateAlignItems = (alignItems) => {
|
|
|
7541
7564
|
var generateJustifyItems = (justifyItems) => {
|
|
7542
7565
|
const baseJustify = getResponsiveValue(justifyItems);
|
|
7543
7566
|
if (typeof justifyItems === "string") {
|
|
7544
|
-
return
|
|
7567
|
+
return import_react44.css`
|
|
7545
7568
|
justify-items: ${justifyItems};
|
|
7546
7569
|
`;
|
|
7547
7570
|
}
|
|
7548
|
-
return
|
|
7571
|
+
return import_react44.css`
|
|
7549
7572
|
justify-items: ${baseJustify};
|
|
7550
7573
|
|
|
7551
7574
|
${media.sm} {
|
|
@@ -7580,19 +7603,19 @@ var Column = ({
|
|
|
7580
7603
|
}) => {
|
|
7581
7604
|
const columnStyles = [
|
|
7582
7605
|
span && generateColumnSpan(span),
|
|
7583
|
-
start &&
|
|
7606
|
+
start && import_react45.css`
|
|
7584
7607
|
grid-column-start: ${start};
|
|
7585
7608
|
`,
|
|
7586
|
-
end &&
|
|
7609
|
+
end && import_react45.css`
|
|
7587
7610
|
grid-column-end: ${end};
|
|
7588
7611
|
`,
|
|
7589
|
-
row &&
|
|
7612
|
+
row && import_react45.css`
|
|
7590
7613
|
grid-row: ${row};
|
|
7591
7614
|
`,
|
|
7592
|
-
rowSpan &&
|
|
7615
|
+
rowSpan && import_react45.css`
|
|
7593
7616
|
grid-row: span ${rowSpan};
|
|
7594
7617
|
`,
|
|
7595
|
-
area &&
|
|
7618
|
+
area && import_react45.css`
|
|
7596
7619
|
grid-area: ${area};
|
|
7597
7620
|
`
|
|
7598
7621
|
].filter(Boolean);
|
|
@@ -7601,9 +7624,9 @@ var Column = ({
|
|
|
7601
7624
|
var Column_default = Column;
|
|
7602
7625
|
|
|
7603
7626
|
// src/Grid/Grid.tsx
|
|
7604
|
-
var
|
|
7627
|
+
var import_react46 = require("@emotion/react");
|
|
7605
7628
|
var import_jsx_runtime238 = require("@emotion/react/jsx-runtime");
|
|
7606
|
-
var baseGridStyles =
|
|
7629
|
+
var baseGridStyles = import_react46.css`
|
|
7607
7630
|
display: grid;
|
|
7608
7631
|
`;
|
|
7609
7632
|
var Grid = ({
|
|
@@ -7628,16 +7651,16 @@ var Grid = ({
|
|
|
7628
7651
|
columnGap && generateColumnGapStyles(columnGap),
|
|
7629
7652
|
alignItems && generateAlignItems(alignItems),
|
|
7630
7653
|
justifyItems && generateJustifyItems(justifyItems),
|
|
7631
|
-
autoRows &&
|
|
7654
|
+
autoRows && import_react46.css`
|
|
7632
7655
|
grid-auto-rows: ${autoRows};
|
|
7633
7656
|
`,
|
|
7634
|
-
autoColumns &&
|
|
7657
|
+
autoColumns && import_react46.css`
|
|
7635
7658
|
grid-auto-columns: ${autoColumns};
|
|
7636
7659
|
`,
|
|
7637
|
-
templateAreas &&
|
|
7660
|
+
templateAreas && import_react46.css`
|
|
7638
7661
|
grid-template-areas: ${typeof templateAreas === "string" ? templateAreas : templateAreas._};
|
|
7639
7662
|
`,
|
|
7640
|
-
justifyContent &&
|
|
7663
|
+
justifyContent && import_react46.css`
|
|
7641
7664
|
justify-content: ${typeof justifyContent === "string" ? justifyContent : justifyContent._};
|
|
7642
7665
|
`
|
|
7643
7666
|
].filter(Boolean);
|
|
@@ -7646,9 +7669,9 @@ var Grid = ({
|
|
|
7646
7669
|
var Grid_default = Grid;
|
|
7647
7670
|
|
|
7648
7671
|
// src/Grid/GridContainer.tsx
|
|
7649
|
-
var
|
|
7672
|
+
var import_react47 = require("@emotion/react");
|
|
7650
7673
|
var import_jsx_runtime239 = require("@emotion/react/jsx-runtime");
|
|
7651
|
-
var baseContainerStyles =
|
|
7674
|
+
var baseContainerStyles = import_react47.css`
|
|
7652
7675
|
width: 100%;
|
|
7653
7676
|
margin: 0 auto;
|
|
7654
7677
|
padding-left: 1rem;
|
|
@@ -7656,14 +7679,14 @@ var baseContainerStyles = import_react46.css`
|
|
|
7656
7679
|
`;
|
|
7657
7680
|
var generateMaxWidthStyles = (maxWidth) => {
|
|
7658
7681
|
if (maxWidth === "full") {
|
|
7659
|
-
return
|
|
7682
|
+
return import_react47.css`
|
|
7660
7683
|
max-width: 100%;
|
|
7661
7684
|
padding-left: 0;
|
|
7662
7685
|
padding-right: 0;
|
|
7663
7686
|
`;
|
|
7664
7687
|
}
|
|
7665
7688
|
const width2 = LayoutTokens.containers[maxWidth] || maxWidth;
|
|
7666
|
-
return
|
|
7689
|
+
return import_react47.css`
|
|
7667
7690
|
max-width: ${width2};
|
|
7668
7691
|
|
|
7669
7692
|
${media.sm} {
|
|
@@ -7697,8 +7720,8 @@ var GridContainer = ({
|
|
|
7697
7720
|
var GridContainer_default = GridContainer;
|
|
7698
7721
|
|
|
7699
7722
|
// src/HuntCard/HuntCard.styles.ts
|
|
7700
|
-
var
|
|
7701
|
-
var cardContainerStyles2 =
|
|
7723
|
+
var import_react48 = require("@emotion/react");
|
|
7724
|
+
var cardContainerStyles2 = import_react48.css`
|
|
7702
7725
|
position: relative;
|
|
7703
7726
|
height: 335px;
|
|
7704
7727
|
|
|
@@ -7706,12 +7729,12 @@ var cardContainerStyles2 = import_react47.css`
|
|
|
7706
7729
|
height: 480px;
|
|
7707
7730
|
}
|
|
7708
7731
|
`;
|
|
7709
|
-
var cardContentStyles2 =
|
|
7732
|
+
var cardContentStyles2 = import_react48.css`
|
|
7710
7733
|
position: relative;
|
|
7711
7734
|
border-radius: var(--spacing-4);
|
|
7712
7735
|
overflow: hidden;
|
|
7713
7736
|
`;
|
|
7714
|
-
var getBackgroundWithGradient2 = (imageUrl) =>
|
|
7737
|
+
var getBackgroundWithGradient2 = (imageUrl) => import_react48.css`
|
|
7715
7738
|
background-image: linear-gradient(
|
|
7716
7739
|
180deg,
|
|
7717
7740
|
rgba(0, 0, 0, 0) 48.36%,
|
|
@@ -8045,11 +8068,11 @@ var LandownerProfile = ({
|
|
|
8045
8068
|
var LandownerProfile_default = LandownerProfile;
|
|
8046
8069
|
|
|
8047
8070
|
// src/ListingChat/ListingChat.tsx
|
|
8048
|
-
var
|
|
8071
|
+
var import_react50 = require("react");
|
|
8049
8072
|
|
|
8050
8073
|
// src/ListingChat/ListingChat.styles.ts
|
|
8051
|
-
var
|
|
8052
|
-
var containerStyles2 =
|
|
8074
|
+
var import_react49 = require("@emotion/react");
|
|
8075
|
+
var containerStyles2 = import_react49.css`
|
|
8053
8076
|
display: flex;
|
|
8054
8077
|
flex-direction: column;
|
|
8055
8078
|
gap: var(--spacing-4);
|
|
@@ -8057,13 +8080,13 @@ var containerStyles2 = import_react48.css`
|
|
|
8057
8080
|
border-radius: var(--radius-lg);
|
|
8058
8081
|
background: var(--surface-success);
|
|
8059
8082
|
`;
|
|
8060
|
-
var headerStyles =
|
|
8083
|
+
var headerStyles = import_react49.css`
|
|
8061
8084
|
display: flex;
|
|
8062
8085
|
align-items: flex-start;
|
|
8063
8086
|
justify-content: space-between;
|
|
8064
8087
|
gap: var(--spacing-2);
|
|
8065
8088
|
`;
|
|
8066
|
-
var chipsContainerStyles =
|
|
8089
|
+
var chipsContainerStyles = import_react49.css`
|
|
8067
8090
|
display: flex;
|
|
8068
8091
|
flex-wrap: wrap;
|
|
8069
8092
|
gap: var(--spacing-4);
|
|
@@ -8076,10 +8099,10 @@ var chipsContainerStyles = import_react48.css`
|
|
|
8076
8099
|
cursor: pointer;
|
|
8077
8100
|
}
|
|
8078
8101
|
`;
|
|
8079
|
-
var textAreaStyles =
|
|
8102
|
+
var textAreaStyles = import_react49.css`
|
|
8080
8103
|
min-height: 62px;
|
|
8081
8104
|
`;
|
|
8082
|
-
var inputWrapperStyles2 =
|
|
8105
|
+
var inputWrapperStyles2 = import_react49.css`
|
|
8083
8106
|
position: relative;
|
|
8084
8107
|
`;
|
|
8085
8108
|
|
|
@@ -8094,15 +8117,15 @@ var ListingChat = ({
|
|
|
8094
8117
|
disabled = false,
|
|
8095
8118
|
...rest
|
|
8096
8119
|
}) => {
|
|
8097
|
-
const [value, setValue] = (0,
|
|
8098
|
-
const handleSubmit = (0,
|
|
8120
|
+
const [value, setValue] = (0, import_react50.useState)("");
|
|
8121
|
+
const handleSubmit = (0, import_react50.useCallback)(() => {
|
|
8099
8122
|
const trimmed = value.trim();
|
|
8100
8123
|
if (!trimmed)
|
|
8101
8124
|
return;
|
|
8102
8125
|
onSubmit(trimmed);
|
|
8103
8126
|
setValue("");
|
|
8104
8127
|
}, [onSubmit, value]);
|
|
8105
|
-
const handleTagClick = (0,
|
|
8128
|
+
const handleTagClick = (0, import_react50.useCallback)(
|
|
8106
8129
|
(tag) => () => {
|
|
8107
8130
|
const trimmed = tag.trim();
|
|
8108
8131
|
if (!trimmed)
|
|
@@ -8154,7 +8177,7 @@ var ListingChat = ({
|
|
|
8154
8177
|
var ListingChat_default = ListingChat;
|
|
8155
8178
|
|
|
8156
8179
|
// src/Logo/Logo.tsx
|
|
8157
|
-
var
|
|
8180
|
+
var import_react51 = require("@emotion/react");
|
|
8158
8181
|
|
|
8159
8182
|
// src/Logo/components/LandtrustPlusDark.tsx
|
|
8160
8183
|
var import_jsx_runtime247 = require("@emotion/react/jsx-runtime");
|
|
@@ -8376,7 +8399,7 @@ var LandtrustStandardLight_default = SvgLandtrustStandardLight;
|
|
|
8376
8399
|
|
|
8377
8400
|
// src/Logo/Logo.tsx
|
|
8378
8401
|
var import_jsx_runtime251 = require("@emotion/react/jsx-runtime");
|
|
8379
|
-
var logoStyles = (size) =>
|
|
8402
|
+
var logoStyles = (size) => import_react51.css`
|
|
8380
8403
|
width: ${space[size]};
|
|
8381
8404
|
height: auto;
|
|
8382
8405
|
display: block;
|
|
@@ -8409,13 +8432,13 @@ var Logo = ({
|
|
|
8409
8432
|
var Logo_default = Logo;
|
|
8410
8433
|
|
|
8411
8434
|
// src/Navigation/Navigation.styles.ts
|
|
8412
|
-
var
|
|
8413
|
-
var navigationStyles =
|
|
8435
|
+
var import_react52 = require("@emotion/react");
|
|
8436
|
+
var navigationStyles = import_react52.css`
|
|
8414
8437
|
width: 100%;
|
|
8415
8438
|
background-color: white;
|
|
8416
8439
|
border-bottom: 1px solid #e5e5e5;
|
|
8417
8440
|
`;
|
|
8418
|
-
var hamburgerButtonStyles =
|
|
8441
|
+
var hamburgerButtonStyles = import_react52.css`
|
|
8419
8442
|
cursor: pointer;
|
|
8420
8443
|
&:focus {
|
|
8421
8444
|
outline: 2px solid #4f46e5;
|
|
@@ -8426,7 +8449,7 @@ var hamburgerButtonStyles = import_react51.css`
|
|
|
8426
8449
|
display: none;
|
|
8427
8450
|
}
|
|
8428
8451
|
`;
|
|
8429
|
-
var centeredLogoStyles =
|
|
8452
|
+
var centeredLogoStyles = import_react52.css`
|
|
8430
8453
|
transform: translate(-50%, -50%);
|
|
8431
8454
|
max-width: 150px;
|
|
8432
8455
|
|
|
@@ -8434,27 +8457,27 @@ var centeredLogoStyles = import_react51.css`
|
|
|
8434
8457
|
display: none;
|
|
8435
8458
|
}
|
|
8436
8459
|
`;
|
|
8437
|
-
var desktopLogoStyles =
|
|
8460
|
+
var desktopLogoStyles = import_react52.css`
|
|
8438
8461
|
display: none;
|
|
8439
8462
|
|
|
8440
8463
|
@media (min-width: 768px) {
|
|
8441
8464
|
display: block;
|
|
8442
8465
|
}
|
|
8443
8466
|
`;
|
|
8444
|
-
var containerStyles3 =
|
|
8467
|
+
var containerStyles3 = import_react52.css`
|
|
8445
8468
|
@media (min-width: 768px) {
|
|
8446
8469
|
justify-content: space-between;
|
|
8447
8470
|
position: static;
|
|
8448
8471
|
}
|
|
8449
8472
|
`;
|
|
8450
|
-
var logoStyles2 =
|
|
8473
|
+
var logoStyles2 = import_react52.css`
|
|
8451
8474
|
width: 100%;
|
|
8452
8475
|
|
|
8453
8476
|
@media (min-width: 768px) {
|
|
8454
8477
|
width: initial;
|
|
8455
8478
|
}
|
|
8456
8479
|
`;
|
|
8457
|
-
var desktopNavStyles =
|
|
8480
|
+
var desktopNavStyles = import_react52.css`
|
|
8458
8481
|
display: none;
|
|
8459
8482
|
|
|
8460
8483
|
@media (min-width: 768px) {
|
|
@@ -8463,7 +8486,7 @@ var desktopNavStyles = import_react51.css`
|
|
|
8463
8486
|
gap: 32px;
|
|
8464
8487
|
}
|
|
8465
8488
|
`;
|
|
8466
|
-
var navLinksStyles =
|
|
8489
|
+
var navLinksStyles = import_react52.css`
|
|
8467
8490
|
display: flex;
|
|
8468
8491
|
align-items: center;
|
|
8469
8492
|
gap: 24px;
|
|
@@ -8471,7 +8494,7 @@ var navLinksStyles = import_react51.css`
|
|
|
8471
8494
|
margin: 0;
|
|
8472
8495
|
padding: 0;
|
|
8473
8496
|
`;
|
|
8474
|
-
var navLinkStyles =
|
|
8497
|
+
var navLinkStyles = import_react52.css`
|
|
8475
8498
|
text-decoration: none;
|
|
8476
8499
|
color: #374151;
|
|
8477
8500
|
font-weight: 500;
|
|
@@ -8487,7 +8510,7 @@ var navLinkStyles = import_react51.css`
|
|
|
8487
8510
|
outline-offset: 2px;
|
|
8488
8511
|
}
|
|
8489
8512
|
`;
|
|
8490
|
-
var avatarPlaceholderStyles =
|
|
8513
|
+
var avatarPlaceholderStyles = import_react52.css`
|
|
8491
8514
|
width: 32px;
|
|
8492
8515
|
height: 32px;
|
|
8493
8516
|
border-radius: 50%;
|
|
@@ -8589,21 +8612,21 @@ var Navigation = ({
|
|
|
8589
8612
|
var Navigation_default = Navigation;
|
|
8590
8613
|
|
|
8591
8614
|
// src/ScrollingCarousel/components/ScrollingCarouselStep.tsx
|
|
8592
|
-
var
|
|
8615
|
+
var import_react55 = require("react");
|
|
8593
8616
|
var import_react_intersection_observer = require("react-intersection-observer");
|
|
8594
8617
|
|
|
8595
8618
|
// src/ScrollingCarousel/context/CarouselContext.tsx
|
|
8596
|
-
var
|
|
8597
|
-
var CarouselContext =
|
|
8619
|
+
var import_react53 = __toESM(require("react"));
|
|
8620
|
+
var CarouselContext = import_react53.default.createContext(
|
|
8598
8621
|
null
|
|
8599
8622
|
);
|
|
8600
8623
|
|
|
8601
8624
|
// src/ScrollingCarousel/ScrollingCarousel.styles.ts
|
|
8602
|
-
var
|
|
8603
|
-
var carouselRoot =
|
|
8625
|
+
var import_react54 = require("@emotion/react");
|
|
8626
|
+
var carouselRoot = import_react54.css`
|
|
8604
8627
|
position: relative;
|
|
8605
8628
|
`;
|
|
8606
|
-
var carousel =
|
|
8629
|
+
var carousel = import_react54.css`
|
|
8607
8630
|
display: flex;
|
|
8608
8631
|
overflow-y: hidden;
|
|
8609
8632
|
overflow-x: scroll;
|
|
@@ -8615,7 +8638,7 @@ var carousel = import_react53.css`
|
|
|
8615
8638
|
display: none;
|
|
8616
8639
|
}
|
|
8617
8640
|
`;
|
|
8618
|
-
var step =
|
|
8641
|
+
var step = import_react54.css`
|
|
8619
8642
|
scroll-snap-align: center;
|
|
8620
8643
|
flex-basis: 100%;
|
|
8621
8644
|
flex-shrink: 0;
|
|
@@ -8628,7 +8651,7 @@ var step = import_react53.css`
|
|
|
8628
8651
|
flex-basis: 100%;
|
|
8629
8652
|
}
|
|
8630
8653
|
`;
|
|
8631
|
-
var controls = (position2) =>
|
|
8654
|
+
var controls = (position2) => import_react54.css`
|
|
8632
8655
|
${(position2 === "left-right" || position2 === "top-right") && `
|
|
8633
8656
|
display: none;
|
|
8634
8657
|
|
|
@@ -8637,7 +8660,7 @@ var controls = (position2) => import_react53.css`
|
|
|
8637
8660
|
}
|
|
8638
8661
|
`}
|
|
8639
8662
|
`;
|
|
8640
|
-
var iconWrapper =
|
|
8663
|
+
var iconWrapper = import_react54.css`
|
|
8641
8664
|
display: flex;
|
|
8642
8665
|
width: var(--spacing-7);
|
|
8643
8666
|
height: var(--spacing-7);
|
|
@@ -8647,7 +8670,7 @@ var iconWrapper = import_react53.css`
|
|
|
8647
8670
|
justify-content: center;
|
|
8648
8671
|
box-shadow: var(--shadow-md);
|
|
8649
8672
|
`;
|
|
8650
|
-
var button = (position2) =>
|
|
8673
|
+
var button = (position2) => import_react54.css`
|
|
8651
8674
|
background: transparent;
|
|
8652
8675
|
border-color: transparent;
|
|
8653
8676
|
outline: none;
|
|
@@ -8679,7 +8702,7 @@ var button = (position2) => import_react53.css`
|
|
|
8679
8702
|
bottom: calc(-1 * var(--spacing-1));
|
|
8680
8703
|
`}
|
|
8681
8704
|
`;
|
|
8682
|
-
var buttonLeft = (position2) =>
|
|
8705
|
+
var buttonLeft = (position2) => import_react54.css`
|
|
8683
8706
|
${button(position2)}
|
|
8684
8707
|
|
|
8685
8708
|
${position2 === "left-right" && `
|
|
@@ -8699,7 +8722,7 @@ var buttonLeft = (position2) => import_react53.css`
|
|
|
8699
8722
|
left: calc(50% - var(--spacing-16));
|
|
8700
8723
|
`}
|
|
8701
8724
|
`;
|
|
8702
|
-
var customButtonLeft = (position2) =>
|
|
8725
|
+
var customButtonLeft = (position2) => import_react54.css`
|
|
8703
8726
|
${button(position2)}
|
|
8704
8727
|
|
|
8705
8728
|
${position2 === "left-right" && `
|
|
@@ -8719,7 +8742,7 @@ var customButtonLeft = (position2) => import_react53.css`
|
|
|
8719
8742
|
left: calc(50% - var(--spacing-16));
|
|
8720
8743
|
`}
|
|
8721
8744
|
`;
|
|
8722
|
-
var buttonRight = (position2) =>
|
|
8745
|
+
var buttonRight = (position2) => import_react54.css`
|
|
8723
8746
|
${button(position2)}
|
|
8724
8747
|
|
|
8725
8748
|
${position2 === "left-right" && `
|
|
@@ -8739,12 +8762,12 @@ var buttonRight = (position2) => import_react53.css`
|
|
|
8739
8762
|
right: calc(50% - var(--spacing-16));
|
|
8740
8763
|
`}
|
|
8741
8764
|
`;
|
|
8742
|
-
var icon =
|
|
8765
|
+
var icon = import_react54.css`
|
|
8743
8766
|
width: var(--spacing-3);
|
|
8744
8767
|
height: var(--spacing-3);
|
|
8745
8768
|
color: var(--color-base-black);
|
|
8746
8769
|
`;
|
|
8747
|
-
var dots =
|
|
8770
|
+
var dots = import_react54.css`
|
|
8748
8771
|
position: absolute;
|
|
8749
8772
|
bottom: var(--spacing-2);
|
|
8750
8773
|
left: 0;
|
|
@@ -8754,11 +8777,11 @@ var dots = import_react53.css`
|
|
|
8754
8777
|
align-items: center;
|
|
8755
8778
|
justify-content: center;
|
|
8756
8779
|
`;
|
|
8757
|
-
var dotsInner =
|
|
8780
|
+
var dotsInner = import_react54.css`
|
|
8758
8781
|
display: flex;
|
|
8759
8782
|
overflow: hidden;
|
|
8760
8783
|
`;
|
|
8761
|
-
var dot = (dotsColor) =>
|
|
8784
|
+
var dot = (dotsColor) => import_react54.css`
|
|
8762
8785
|
position: relative;
|
|
8763
8786
|
flex-shrink: 0;
|
|
8764
8787
|
flex-grow: 0;
|
|
@@ -8797,22 +8820,22 @@ var dot = (dotsColor) => import_react53.css`
|
|
|
8797
8820
|
`}
|
|
8798
8821
|
}
|
|
8799
8822
|
`;
|
|
8800
|
-
var dotDistance2 =
|
|
8823
|
+
var dotDistance2 = import_react54.css`
|
|
8801
8824
|
&::after {
|
|
8802
8825
|
transform: translate(-50%, -50%) scale(0.9);
|
|
8803
8826
|
}
|
|
8804
8827
|
`;
|
|
8805
|
-
var dotDistance3 =
|
|
8828
|
+
var dotDistance3 = import_react54.css`
|
|
8806
8829
|
&::after {
|
|
8807
8830
|
transform: translate(-50%, -50%) scale(0.8);
|
|
8808
8831
|
}
|
|
8809
8832
|
`;
|
|
8810
|
-
var dotDistanceGreaterThan3 =
|
|
8833
|
+
var dotDistanceGreaterThan3 = import_react54.css`
|
|
8811
8834
|
&::after {
|
|
8812
8835
|
transform: translate(-50%, -50%) scale(0.7);
|
|
8813
8836
|
}
|
|
8814
8837
|
`;
|
|
8815
|
-
var dotVisible =
|
|
8838
|
+
var dotVisible = import_react54.css`
|
|
8816
8839
|
&::after {
|
|
8817
8840
|
opacity: 1;
|
|
8818
8841
|
transform: translate(-50%, -50%) scale(1.2);
|
|
@@ -8828,7 +8851,7 @@ var ScrollingCarouselStep = ({
|
|
|
8828
8851
|
parentId,
|
|
8829
8852
|
onClick
|
|
8830
8853
|
}) => {
|
|
8831
|
-
const context = (0,
|
|
8854
|
+
const context = (0, import_react55.useContext)(CarouselContext);
|
|
8832
8855
|
if (!context) {
|
|
8833
8856
|
throw new Error(
|
|
8834
8857
|
"ScrollingCarouselStep must be used within ScrollingCarousel"
|
|
@@ -8839,7 +8862,7 @@ var ScrollingCarouselStep = ({
|
|
|
8839
8862
|
threshold: 0.75,
|
|
8840
8863
|
root: carousel2.current
|
|
8841
8864
|
});
|
|
8842
|
-
(0,
|
|
8865
|
+
(0, import_react55.useEffect)(() => {
|
|
8843
8866
|
if (typeof index !== "undefined") {
|
|
8844
8867
|
dispatch({
|
|
8845
8868
|
type: "set_child_visibility",
|
|
@@ -8865,10 +8888,10 @@ var ScrollingCarouselStep = ({
|
|
|
8865
8888
|
ScrollingCarouselStep.displayName = "ScrollingCarouselStep";
|
|
8866
8889
|
|
|
8867
8890
|
// src/ScrollingCarousel/ScrollingCarousel.tsx
|
|
8868
|
-
var
|
|
8891
|
+
var import_react59 = __toESM(require("react"));
|
|
8869
8892
|
|
|
8870
8893
|
// src/ScrollingCarousel/hooks/useCarouselDots.ts
|
|
8871
|
-
var
|
|
8894
|
+
var import_react56 = require("react");
|
|
8872
8895
|
|
|
8873
8896
|
// src/ScrollingCarousel/ScrollingCarousel.helpers.ts
|
|
8874
8897
|
var childVisibilityReducer = (state, action) => {
|
|
@@ -8899,7 +8922,7 @@ var useCarouselDots = ({
|
|
|
8899
8922
|
anyItemsVisible,
|
|
8900
8923
|
numberOfDots
|
|
8901
8924
|
}) => {
|
|
8902
|
-
const dotOffset = (0,
|
|
8925
|
+
const dotOffset = (0, import_react56.useRef)(0);
|
|
8903
8926
|
const dotWidth = 12;
|
|
8904
8927
|
const totalDots = childVisibility.length;
|
|
8905
8928
|
const dotToCenterIndex = Math.round(
|
|
@@ -8931,7 +8954,7 @@ var useCarouselDots = ({
|
|
|
8931
8954
|
};
|
|
8932
8955
|
|
|
8933
8956
|
// src/ScrollingCarousel/hooks/useCarouselNavigation.ts
|
|
8934
|
-
var
|
|
8957
|
+
var import_react57 = require("react");
|
|
8935
8958
|
|
|
8936
8959
|
// src/shared/helpers.ts
|
|
8937
8960
|
var import_seamless_scroll_polyfill = require("seamless-scroll-polyfill");
|
|
@@ -8965,7 +8988,7 @@ var useCarouselNavigation = ({
|
|
|
8965
8988
|
infiniteScroll,
|
|
8966
8989
|
childVisibilityLength
|
|
8967
8990
|
}) => {
|
|
8968
|
-
const getStepEl = (0,
|
|
8991
|
+
const getStepEl = (0, import_react57.useCallback)(
|
|
8969
8992
|
(index) => {
|
|
8970
8993
|
if (carousel2.current) {
|
|
8971
8994
|
const selector = `[data-carousel-id="${id}"][data-carousel-index="${index}"]`;
|
|
@@ -8975,7 +8998,7 @@ var useCarouselNavigation = ({
|
|
|
8975
8998
|
},
|
|
8976
8999
|
[carousel2, id]
|
|
8977
9000
|
);
|
|
8978
|
-
const next = (0,
|
|
9001
|
+
const next = (0, import_react57.useCallback)(
|
|
8979
9002
|
(e) => {
|
|
8980
9003
|
e.preventDefault();
|
|
8981
9004
|
if (lastItemIsVisible && !infiniteScroll)
|
|
@@ -9003,7 +9026,7 @@ var useCarouselNavigation = ({
|
|
|
9003
9026
|
carousel2
|
|
9004
9027
|
]
|
|
9005
9028
|
);
|
|
9006
|
-
const back = (0,
|
|
9029
|
+
const back = (0, import_react57.useCallback)(
|
|
9007
9030
|
(e) => {
|
|
9008
9031
|
e.preventDefault();
|
|
9009
9032
|
if (firstItemIsVisible && !infiniteScroll)
|
|
@@ -9031,7 +9054,7 @@ var useCarouselNavigation = ({
|
|
|
9031
9054
|
carousel2
|
|
9032
9055
|
]
|
|
9033
9056
|
);
|
|
9034
|
-
const goTo = (0,
|
|
9057
|
+
const goTo = (0, import_react57.useCallback)(
|
|
9035
9058
|
(e, i) => {
|
|
9036
9059
|
e.preventDefault();
|
|
9037
9060
|
const el = getStepEl(i);
|
|
@@ -9049,12 +9072,12 @@ var useCarouselNavigation = ({
|
|
|
9049
9072
|
};
|
|
9050
9073
|
|
|
9051
9074
|
// src/ScrollingCarousel/hooks/useCarouselVisibility.ts
|
|
9052
|
-
var
|
|
9075
|
+
var import_react58 = require("react");
|
|
9053
9076
|
var useCarouselVisibility = (carousel2) => {
|
|
9054
|
-
const [state, dispatch] = (0,
|
|
9077
|
+
const [state, dispatch] = (0, import_react58.useReducer)(childVisibilityReducer, {
|
|
9055
9078
|
childVisibility: []
|
|
9056
9079
|
});
|
|
9057
|
-
const carouselContextApi = (0,
|
|
9080
|
+
const carouselContextApi = (0, import_react58.useMemo)(
|
|
9058
9081
|
() => ({ carousel: carousel2, dispatch }),
|
|
9059
9082
|
[carousel2]
|
|
9060
9083
|
);
|
|
@@ -9092,8 +9115,8 @@ var ScrollingCarousel = ({
|
|
|
9092
9115
|
id,
|
|
9093
9116
|
current
|
|
9094
9117
|
}) => {
|
|
9095
|
-
const carousel2 = (0,
|
|
9096
|
-
const [isHovering, setIsHovering] = (0,
|
|
9118
|
+
const carousel2 = (0, import_react59.useRef)(null);
|
|
9119
|
+
const [isHovering, setIsHovering] = (0, import_react59.useState)(false);
|
|
9097
9120
|
const {
|
|
9098
9121
|
state,
|
|
9099
9122
|
carouselContextApi,
|
|
@@ -9113,7 +9136,7 @@ var ScrollingCarousel = ({
|
|
|
9113
9136
|
infiniteScroll,
|
|
9114
9137
|
childVisibilityLength: state.childVisibility.length
|
|
9115
9138
|
});
|
|
9116
|
-
(0,
|
|
9139
|
+
(0, import_react59.useEffect)(() => {
|
|
9117
9140
|
if (carousel2.current && typeof current === "number" && current >= 0) {
|
|
9118
9141
|
const childrenArray = Array.from(carousel2.current.children);
|
|
9119
9142
|
const selectedItem = childrenArray[current];
|
|
@@ -9128,9 +9151,9 @@ var ScrollingCarousel = ({
|
|
|
9128
9151
|
}
|
|
9129
9152
|
}
|
|
9130
9153
|
}, [current]);
|
|
9131
|
-
const childrenWithIndex =
|
|
9154
|
+
const childrenWithIndex = import_react59.default.Children.map(
|
|
9132
9155
|
children,
|
|
9133
|
-
(child, index) =>
|
|
9156
|
+
(child, index) => import_react59.default.cloneElement(child, { index })
|
|
9134
9157
|
);
|
|
9135
9158
|
const { dotOffset, dotDistances, dotWidth } = useCarouselDots({
|
|
9136
9159
|
childVisibility: state.childVisibility,
|
|
@@ -9232,8 +9255,8 @@ var ScrollingCarousel = ({
|
|
|
9232
9255
|
ScrollingCarousel.displayName = "ScrollingCarousel";
|
|
9233
9256
|
|
|
9234
9257
|
// src/PackageCard/PackageCard.styles.ts
|
|
9235
|
-
var
|
|
9236
|
-
var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler) =>
|
|
9258
|
+
var import_react60 = require("@emotion/react");
|
|
9259
|
+
var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler) => import_react60.css`
|
|
9237
9260
|
${hasClickHandler && `
|
|
9238
9261
|
cursor: pointer;
|
|
9239
9262
|
`}
|
|
@@ -9251,7 +9274,7 @@ var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler)
|
|
|
9251
9274
|
flex-direction: column;
|
|
9252
9275
|
gap: var(--spacing-2);
|
|
9253
9276
|
|
|
9254
|
-
${orientation === "horizontal" &&
|
|
9277
|
+
${orientation === "horizontal" && import_react60.css`
|
|
9255
9278
|
/* Apply horizontal layout only on tablet and up */
|
|
9256
9279
|
${media.md} {
|
|
9257
9280
|
flex-direction: row;
|
|
@@ -9279,60 +9302,60 @@ var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler)
|
|
|
9279
9302
|
}
|
|
9280
9303
|
`}
|
|
9281
9304
|
`;
|
|
9282
|
-
var imageContainerStyles = (orientation) =>
|
|
9305
|
+
var imageContainerStyles = (orientation) => import_react60.css`
|
|
9283
9306
|
width: 100%;
|
|
9284
9307
|
height: 260px;
|
|
9285
9308
|
|
|
9286
|
-
${orientation === "horizontal" &&
|
|
9309
|
+
${orientation === "horizontal" && import_react60.css`
|
|
9287
9310
|
${media.md} {
|
|
9288
9311
|
width: 40%;
|
|
9289
9312
|
height: 200px;
|
|
9290
9313
|
}
|
|
9291
9314
|
`}
|
|
9292
9315
|
`;
|
|
9293
|
-
var imageBoxStyles = (orientation) =>
|
|
9316
|
+
var imageBoxStyles = (orientation) => import_react60.css`
|
|
9294
9317
|
height: 260px;
|
|
9295
9318
|
|
|
9296
|
-
${orientation === "horizontal" &&
|
|
9319
|
+
${orientation === "horizontal" && import_react60.css`
|
|
9297
9320
|
${media.md} {
|
|
9298
9321
|
height: 200px;
|
|
9299
9322
|
}
|
|
9300
9323
|
`}
|
|
9301
9324
|
`;
|
|
9302
|
-
var contentContainerStyles = (orientation, hasContentBackground) =>
|
|
9325
|
+
var contentContainerStyles = (orientation, hasContentBackground) => import_react60.css`
|
|
9303
9326
|
${hasContentBackground ? contentWithBackgroundStyles : contentWithoutBackgroundStyles}
|
|
9304
9327
|
width: 100%;
|
|
9305
9328
|
display: flex;
|
|
9306
9329
|
flex-direction: column;
|
|
9307
9330
|
justify-content: flex-start;
|
|
9308
9331
|
|
|
9309
|
-
${orientation === "horizontal" &&
|
|
9332
|
+
${orientation === "horizontal" && import_react60.css`
|
|
9310
9333
|
${media.md} {
|
|
9311
9334
|
width: 60%;
|
|
9312
9335
|
justify-content: center;
|
|
9313
9336
|
}
|
|
9314
9337
|
`}
|
|
9315
9338
|
`;
|
|
9316
|
-
var imageStyles2 =
|
|
9339
|
+
var imageStyles2 = import_react60.css`
|
|
9317
9340
|
background-size: cover;
|
|
9318
9341
|
background-position: center;
|
|
9319
9342
|
background-repeat: no-repeat;
|
|
9320
9343
|
position: relative;
|
|
9321
9344
|
background-color: lightgray;
|
|
9322
9345
|
`;
|
|
9323
|
-
var badgeTopLeftStyles =
|
|
9346
|
+
var badgeTopLeftStyles = import_react60.css`
|
|
9324
9347
|
position: absolute;
|
|
9325
9348
|
top: var(--spacing-3);
|
|
9326
9349
|
left: var(--spacing-3);
|
|
9327
9350
|
z-index: 2;
|
|
9328
9351
|
`;
|
|
9329
|
-
var badgeBottomRightStyles =
|
|
9352
|
+
var badgeBottomRightStyles = import_react60.css`
|
|
9330
9353
|
position: absolute;
|
|
9331
9354
|
bottom: var(--spacing-3);
|
|
9332
9355
|
right: var(--spacing-3);
|
|
9333
9356
|
z-index: 2;
|
|
9334
9357
|
`;
|
|
9335
|
-
var heartIconStyles =
|
|
9358
|
+
var heartIconStyles = import_react60.css`
|
|
9336
9359
|
position: absolute;
|
|
9337
9360
|
top: var(--spacing-3);
|
|
9338
9361
|
right: var(--spacing-3);
|
|
@@ -9354,20 +9377,20 @@ var heartIconStyles = import_react59.css`
|
|
|
9354
9377
|
transform: scale(1.1);
|
|
9355
9378
|
}
|
|
9356
9379
|
`;
|
|
9357
|
-
var actionMenuStyles =
|
|
9380
|
+
var actionMenuStyles = import_react60.css`
|
|
9358
9381
|
position: absolute;
|
|
9359
9382
|
top: var(--spacing-3);
|
|
9360
9383
|
right: var(--spacing-3);
|
|
9361
9384
|
z-index: 3;
|
|
9362
9385
|
`;
|
|
9363
|
-
var contentWithBackgroundStyles =
|
|
9386
|
+
var contentWithBackgroundStyles = import_react60.css`
|
|
9364
9387
|
padding: 0 var(--spacing-3) var(--spacing-4) var(--spacing-3);
|
|
9365
9388
|
background-color: var(--surface-page);
|
|
9366
9389
|
`;
|
|
9367
|
-
var contentWithoutBackgroundStyles =
|
|
9390
|
+
var contentWithoutBackgroundStyles = import_react60.css`
|
|
9368
9391
|
padding-top: 0 var(--spacing-2) var(--spacing-2) var(--spacing-2);
|
|
9369
9392
|
`;
|
|
9370
|
-
var overlayStyles =
|
|
9393
|
+
var overlayStyles = import_react60.css`
|
|
9371
9394
|
position: absolute;
|
|
9372
9395
|
top: 0;
|
|
9373
9396
|
left: 0;
|
|
@@ -9560,8 +9583,8 @@ var PackageHeader = ({
|
|
|
9560
9583
|
var PackageHeader_default = PackageHeader;
|
|
9561
9584
|
|
|
9562
9585
|
// src/ReviewCard/components/ReviewImages.styles.ts
|
|
9563
|
-
var
|
|
9564
|
-
var imageStyles3 =
|
|
9586
|
+
var import_react61 = require("@emotion/react");
|
|
9587
|
+
var imageStyles3 = import_react61.css`
|
|
9565
9588
|
flex: 1;
|
|
9566
9589
|
min-width: 0;
|
|
9567
9590
|
max-width: 100%;
|
|
@@ -9693,7 +9716,7 @@ var ReviewCard = ({
|
|
|
9693
9716
|
var ReviewCard_default = ReviewCard;
|
|
9694
9717
|
|
|
9695
9718
|
// src/Reviews/Reviews.tsx
|
|
9696
|
-
var
|
|
9719
|
+
var import_react62 = require("@emotion/react");
|
|
9697
9720
|
|
|
9698
9721
|
// src/Reviews/components/ReviewItem.tsx
|
|
9699
9722
|
var import_jsx_runtime260 = require("@emotion/react/jsx-runtime");
|
|
@@ -9751,7 +9774,7 @@ var Reviews = ({
|
|
|
9751
9774
|
StarRating_default,
|
|
9752
9775
|
{
|
|
9753
9776
|
rating: averageRating,
|
|
9754
|
-
css:
|
|
9777
|
+
css: import_react62.css`
|
|
9755
9778
|
> svg {
|
|
9756
9779
|
height: 40px;
|
|
9757
9780
|
width: 40px;
|