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