@landtrustinc/design-system 1.2.67 → 1.2.68
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 +880 -1
- package/dist/index.js +702 -169
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -65,6 +65,7 @@ __export(src_exports, {
|
|
|
65
65
|
LayoutTokens: () => LayoutTokens,
|
|
66
66
|
ListingChat: () => ListingChat_default,
|
|
67
67
|
Logo: () => Logo_default,
|
|
68
|
+
LottieAnimations: () => LottieAnimations_default,
|
|
68
69
|
MarkdownContent: () => MarkdownContent_default,
|
|
69
70
|
MessageBubble: () => MessageBubble_default,
|
|
70
71
|
Modal: () => Modal_default,
|
|
@@ -94,6 +95,7 @@ __export(src_exports, {
|
|
|
94
95
|
WidgetPanel: () => WidgetPanel,
|
|
95
96
|
WidgetTrigger: () => WidgetTrigger,
|
|
96
97
|
globalStyles: () => globalStyles,
|
|
98
|
+
lottieAnimations: () => lottieAnimations,
|
|
97
99
|
styles: () => styles_exports,
|
|
98
100
|
useBottomDrawer: () => useBottomDrawer_default,
|
|
99
101
|
useBottomDrawerHook: () => useBottomDrawer
|
|
@@ -7061,7 +7063,9 @@ var useChatScrollControl = ({
|
|
|
7061
7063
|
}
|
|
7062
7064
|
const shouldAutoScroll = userJustSentMessageRef.current;
|
|
7063
7065
|
if (!shouldAutoScroll) {
|
|
7064
|
-
|
|
7066
|
+
const atBottomNow = isScrolledToBottom(el);
|
|
7067
|
+
setIsAtBottom(atBottomNow);
|
|
7068
|
+
setShowScrollButton(enableScrollToBottomControl && !atBottomNow);
|
|
7065
7069
|
return;
|
|
7066
7070
|
}
|
|
7067
7071
|
requestAnimationFrame(() => {
|
|
@@ -9845,14 +9849,541 @@ var Logo = ({
|
|
|
9845
9849
|
};
|
|
9846
9850
|
var Logo_default = Logo;
|
|
9847
9851
|
|
|
9852
|
+
// src/LottieAnimations/LottieAnimations.tsx
|
|
9853
|
+
var import_react66 = require("react");
|
|
9854
|
+
|
|
9855
|
+
// src/LottieAnimations/animations/loading.ts
|
|
9856
|
+
var loadingAnimationData = {
|
|
9857
|
+
nm: "Loading Dots",
|
|
9858
|
+
ddd: 0,
|
|
9859
|
+
h: 1080,
|
|
9860
|
+
w: 1920,
|
|
9861
|
+
meta: { g: "@lottiefiles/toolkit-js 0.26.1" },
|
|
9862
|
+
layers: [
|
|
9863
|
+
{
|
|
9864
|
+
ty: 4,
|
|
9865
|
+
nm: "Dot4",
|
|
9866
|
+
sr: 1,
|
|
9867
|
+
st: 0,
|
|
9868
|
+
op: 360,
|
|
9869
|
+
ip: 0,
|
|
9870
|
+
hd: false,
|
|
9871
|
+
ddd: 0,
|
|
9872
|
+
bm: 0,
|
|
9873
|
+
hasMask: false,
|
|
9874
|
+
ao: 0,
|
|
9875
|
+
ks: {
|
|
9876
|
+
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
9877
|
+
s: {
|
|
9878
|
+
a: 1,
|
|
9879
|
+
k: [
|
|
9880
|
+
{
|
|
9881
|
+
o: { x: 0.333, y: 0 },
|
|
9882
|
+
i: { x: 0.667, y: 1 },
|
|
9883
|
+
s: [50, 50, 100],
|
|
9884
|
+
t: 25
|
|
9885
|
+
},
|
|
9886
|
+
{
|
|
9887
|
+
o: { x: 0.333, y: 0 },
|
|
9888
|
+
i: { x: 0.667, y: 1 },
|
|
9889
|
+
s: [75, 75, 100],
|
|
9890
|
+
t: 39
|
|
9891
|
+
},
|
|
9892
|
+
{ s: [50, 50, 100], t: 55 }
|
|
9893
|
+
],
|
|
9894
|
+
ix: 6
|
|
9895
|
+
},
|
|
9896
|
+
sk: { a: 0, k: 0 },
|
|
9897
|
+
p: {
|
|
9898
|
+
a: 1,
|
|
9899
|
+
k: [
|
|
9900
|
+
{
|
|
9901
|
+
o: { x: 0.333, y: 0 },
|
|
9902
|
+
i: { x: 0.667, y: 1 },
|
|
9903
|
+
s: [1142, 540, 0],
|
|
9904
|
+
t: 25,
|
|
9905
|
+
ti: [0, 0, 0],
|
|
9906
|
+
to: [0, -6.667, 0]
|
|
9907
|
+
},
|
|
9908
|
+
{
|
|
9909
|
+
o: { x: 0.333, y: 0 },
|
|
9910
|
+
i: { x: 0.667, y: 1 },
|
|
9911
|
+
s: [1142, 500, 0],
|
|
9912
|
+
t: 39,
|
|
9913
|
+
ti: [0, -6.667, 0],
|
|
9914
|
+
to: [0, 0, 0]
|
|
9915
|
+
},
|
|
9916
|
+
{ s: [1142, 540, 0], t: 55 }
|
|
9917
|
+
],
|
|
9918
|
+
ix: 2
|
|
9919
|
+
},
|
|
9920
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
9921
|
+
sa: { a: 0, k: 0 },
|
|
9922
|
+
o: {
|
|
9923
|
+
a: 1,
|
|
9924
|
+
k: [
|
|
9925
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 25 },
|
|
9926
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 39 },
|
|
9927
|
+
{ s: [25], t: 55 }
|
|
9928
|
+
],
|
|
9929
|
+
ix: 11
|
|
9930
|
+
}
|
|
9931
|
+
},
|
|
9932
|
+
ef: [],
|
|
9933
|
+
shapes: [
|
|
9934
|
+
{
|
|
9935
|
+
ty: "gr",
|
|
9936
|
+
bm: 0,
|
|
9937
|
+
hd: false,
|
|
9938
|
+
mn: "ADBE Vector Group",
|
|
9939
|
+
nm: "Ellipse 1",
|
|
9940
|
+
ix: 1,
|
|
9941
|
+
cix: 2,
|
|
9942
|
+
np: 3,
|
|
9943
|
+
it: [
|
|
9944
|
+
{
|
|
9945
|
+
ty: "el",
|
|
9946
|
+
bm: 0,
|
|
9947
|
+
hd: false,
|
|
9948
|
+
mn: "ADBE Vector Shape - Ellipse",
|
|
9949
|
+
nm: "Ellipse Path 1",
|
|
9950
|
+
d: 1,
|
|
9951
|
+
p: { a: 0, k: [0, 0], ix: 3 },
|
|
9952
|
+
s: { a: 0, k: [120, 120], ix: 2 }
|
|
9953
|
+
},
|
|
9954
|
+
{
|
|
9955
|
+
ty: "fl",
|
|
9956
|
+
bm: 0,
|
|
9957
|
+
hd: false,
|
|
9958
|
+
mn: "ADBE Vector Graphic - Fill",
|
|
9959
|
+
nm: "Fill 1",
|
|
9960
|
+
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
9961
|
+
r: 1,
|
|
9962
|
+
o: { a: 0, k: 100, ix: 5 }
|
|
9963
|
+
},
|
|
9964
|
+
{
|
|
9965
|
+
ty: "tr",
|
|
9966
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
9967
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
9968
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
9969
|
+
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
9970
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
9971
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
9972
|
+
o: { a: 0, k: 100, ix: 7 }
|
|
9973
|
+
}
|
|
9974
|
+
]
|
|
9975
|
+
}
|
|
9976
|
+
],
|
|
9977
|
+
ind: 1
|
|
9978
|
+
},
|
|
9979
|
+
{
|
|
9980
|
+
ty: 4,
|
|
9981
|
+
nm: "Dot3",
|
|
9982
|
+
sr: 1,
|
|
9983
|
+
st: 0,
|
|
9984
|
+
op: 360,
|
|
9985
|
+
ip: 0,
|
|
9986
|
+
hd: false,
|
|
9987
|
+
ddd: 0,
|
|
9988
|
+
bm: 0,
|
|
9989
|
+
hasMask: false,
|
|
9990
|
+
ao: 0,
|
|
9991
|
+
ks: {
|
|
9992
|
+
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
9993
|
+
s: {
|
|
9994
|
+
a: 1,
|
|
9995
|
+
k: [
|
|
9996
|
+
{
|
|
9997
|
+
o: { x: 0.333, y: 0 },
|
|
9998
|
+
i: { x: 0.667, y: 1 },
|
|
9999
|
+
s: [50, 50, 100],
|
|
10000
|
+
t: 17
|
|
10001
|
+
},
|
|
10002
|
+
{
|
|
10003
|
+
o: { x: 0.333, y: 0 },
|
|
10004
|
+
i: { x: 0.667, y: 1 },
|
|
10005
|
+
s: [75, 75, 100],
|
|
10006
|
+
t: 31
|
|
10007
|
+
},
|
|
10008
|
+
{ s: [50, 50, 100], t: 47 }
|
|
10009
|
+
],
|
|
10010
|
+
ix: 6
|
|
10011
|
+
},
|
|
10012
|
+
sk: { a: 0, k: 0 },
|
|
10013
|
+
p: {
|
|
10014
|
+
a: 1,
|
|
10015
|
+
k: [
|
|
10016
|
+
{
|
|
10017
|
+
o: { x: 0.333, y: 0 },
|
|
10018
|
+
i: { x: 0.667, y: 1 },
|
|
10019
|
+
s: [1022, 540, 0],
|
|
10020
|
+
t: 17,
|
|
10021
|
+
ti: [0, 0, 0],
|
|
10022
|
+
to: [0, -6.667, 0]
|
|
10023
|
+
},
|
|
10024
|
+
{
|
|
10025
|
+
o: { x: 0.333, y: 0 },
|
|
10026
|
+
i: { x: 0.667, y: 1 },
|
|
10027
|
+
s: [1022, 500, 0],
|
|
10028
|
+
t: 31,
|
|
10029
|
+
ti: [0, -6.667, 0],
|
|
10030
|
+
to: [0, 0, 0]
|
|
10031
|
+
},
|
|
10032
|
+
{ s: [1022, 540, 0], t: 47 }
|
|
10033
|
+
],
|
|
10034
|
+
ix: 2
|
|
10035
|
+
},
|
|
10036
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
10037
|
+
sa: { a: 0, k: 0 },
|
|
10038
|
+
o: {
|
|
10039
|
+
a: 1,
|
|
10040
|
+
k: [
|
|
10041
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 17 },
|
|
10042
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 31 },
|
|
10043
|
+
{ s: [25], t: 47 }
|
|
10044
|
+
],
|
|
10045
|
+
ix: 11
|
|
10046
|
+
}
|
|
10047
|
+
},
|
|
10048
|
+
ef: [],
|
|
10049
|
+
shapes: [
|
|
10050
|
+
{
|
|
10051
|
+
ty: "gr",
|
|
10052
|
+
bm: 0,
|
|
10053
|
+
hd: false,
|
|
10054
|
+
mn: "ADBE Vector Group",
|
|
10055
|
+
nm: "Ellipse 1",
|
|
10056
|
+
ix: 1,
|
|
10057
|
+
cix: 2,
|
|
10058
|
+
np: 3,
|
|
10059
|
+
it: [
|
|
10060
|
+
{
|
|
10061
|
+
ty: "el",
|
|
10062
|
+
bm: 0,
|
|
10063
|
+
hd: false,
|
|
10064
|
+
mn: "ADBE Vector Shape - Ellipse",
|
|
10065
|
+
nm: "Ellipse Path 1",
|
|
10066
|
+
d: 1,
|
|
10067
|
+
p: { a: 0, k: [0, 0], ix: 3 },
|
|
10068
|
+
s: { a: 0, k: [120, 120], ix: 2 }
|
|
10069
|
+
},
|
|
10070
|
+
{
|
|
10071
|
+
ty: "fl",
|
|
10072
|
+
bm: 0,
|
|
10073
|
+
hd: false,
|
|
10074
|
+
mn: "ADBE Vector Graphic - Fill",
|
|
10075
|
+
nm: "Fill 1",
|
|
10076
|
+
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
10077
|
+
r: 1,
|
|
10078
|
+
o: { a: 0, k: 100, ix: 5 }
|
|
10079
|
+
},
|
|
10080
|
+
{
|
|
10081
|
+
ty: "tr",
|
|
10082
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
10083
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
10084
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
10085
|
+
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
10086
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
10087
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
10088
|
+
o: { a: 0, k: 100, ix: 7 }
|
|
10089
|
+
}
|
|
10090
|
+
]
|
|
10091
|
+
}
|
|
10092
|
+
],
|
|
10093
|
+
ind: 2
|
|
10094
|
+
},
|
|
10095
|
+
{
|
|
10096
|
+
ty: 4,
|
|
10097
|
+
nm: "Dot2",
|
|
10098
|
+
sr: 1,
|
|
10099
|
+
st: 0,
|
|
10100
|
+
op: 360,
|
|
10101
|
+
ip: 0,
|
|
10102
|
+
hd: false,
|
|
10103
|
+
ddd: 0,
|
|
10104
|
+
bm: 0,
|
|
10105
|
+
hasMask: false,
|
|
10106
|
+
ao: 0,
|
|
10107
|
+
ks: {
|
|
10108
|
+
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
10109
|
+
s: {
|
|
10110
|
+
a: 1,
|
|
10111
|
+
k: [
|
|
10112
|
+
{
|
|
10113
|
+
o: { x: 0.333, y: 0 },
|
|
10114
|
+
i: { x: 0.667, y: 1 },
|
|
10115
|
+
s: [50, 50, 100],
|
|
10116
|
+
t: 9
|
|
10117
|
+
},
|
|
10118
|
+
{
|
|
10119
|
+
o: { x: 0.333, y: 0 },
|
|
10120
|
+
i: { x: 0.667, y: 1 },
|
|
10121
|
+
s: [75, 75, 100],
|
|
10122
|
+
t: 23
|
|
10123
|
+
},
|
|
10124
|
+
{ s: [50, 50, 100], t: 39 }
|
|
10125
|
+
],
|
|
10126
|
+
ix: 6
|
|
10127
|
+
},
|
|
10128
|
+
sk: { a: 0, k: 0 },
|
|
10129
|
+
p: {
|
|
10130
|
+
a: 1,
|
|
10131
|
+
k: [
|
|
10132
|
+
{
|
|
10133
|
+
o: { x: 0.333, y: 0 },
|
|
10134
|
+
i: { x: 0.667, y: 1 },
|
|
10135
|
+
s: [902, 540, 0],
|
|
10136
|
+
t: 9,
|
|
10137
|
+
ti: [0, 0, 0],
|
|
10138
|
+
to: [0, -6.667, 0]
|
|
10139
|
+
},
|
|
10140
|
+
{
|
|
10141
|
+
o: { x: 0.333, y: 0 },
|
|
10142
|
+
i: { x: 0.667, y: 1 },
|
|
10143
|
+
s: [902, 500, 0],
|
|
10144
|
+
t: 23,
|
|
10145
|
+
ti: [0, 0, 0],
|
|
10146
|
+
to: [0, 0, 0]
|
|
10147
|
+
},
|
|
10148
|
+
{ s: [902, 540, 0], t: 39 }
|
|
10149
|
+
],
|
|
10150
|
+
ix: 2
|
|
10151
|
+
},
|
|
10152
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
10153
|
+
sa: { a: 0, k: 0 },
|
|
10154
|
+
o: {
|
|
10155
|
+
a: 1,
|
|
10156
|
+
k: [
|
|
10157
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 9 },
|
|
10158
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 23 },
|
|
10159
|
+
{ s: [25], t: 39 }
|
|
10160
|
+
],
|
|
10161
|
+
ix: 11
|
|
10162
|
+
}
|
|
10163
|
+
},
|
|
10164
|
+
ef: [],
|
|
10165
|
+
shapes: [
|
|
10166
|
+
{
|
|
10167
|
+
ty: "gr",
|
|
10168
|
+
bm: 0,
|
|
10169
|
+
hd: false,
|
|
10170
|
+
mn: "ADBE Vector Group",
|
|
10171
|
+
nm: "Ellipse 1",
|
|
10172
|
+
ix: 1,
|
|
10173
|
+
cix: 2,
|
|
10174
|
+
np: 3,
|
|
10175
|
+
it: [
|
|
10176
|
+
{
|
|
10177
|
+
ty: "el",
|
|
10178
|
+
bm: 0,
|
|
10179
|
+
hd: false,
|
|
10180
|
+
mn: "ADBE Vector Shape - Ellipse",
|
|
10181
|
+
nm: "Ellipse Path 1",
|
|
10182
|
+
d: 1,
|
|
10183
|
+
p: { a: 0, k: [0, 0], ix: 3 },
|
|
10184
|
+
s: { a: 0, k: [120, 120], ix: 2 }
|
|
10185
|
+
},
|
|
10186
|
+
{
|
|
10187
|
+
ty: "fl",
|
|
10188
|
+
bm: 0,
|
|
10189
|
+
hd: false,
|
|
10190
|
+
mn: "ADBE Vector Graphic - Fill",
|
|
10191
|
+
nm: "Fill 1",
|
|
10192
|
+
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
10193
|
+
r: 1,
|
|
10194
|
+
o: { a: 0, k: 100, ix: 5 }
|
|
10195
|
+
},
|
|
10196
|
+
{
|
|
10197
|
+
ty: "tr",
|
|
10198
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
10199
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
10200
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
10201
|
+
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
10202
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
10203
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
10204
|
+
o: { a: 0, k: 100, ix: 7 }
|
|
10205
|
+
}
|
|
10206
|
+
]
|
|
10207
|
+
}
|
|
10208
|
+
],
|
|
10209
|
+
ind: 3
|
|
10210
|
+
},
|
|
10211
|
+
{
|
|
10212
|
+
ty: 4,
|
|
10213
|
+
nm: "Dot1",
|
|
10214
|
+
sr: 1,
|
|
10215
|
+
st: 0,
|
|
10216
|
+
op: 360,
|
|
10217
|
+
ip: 0,
|
|
10218
|
+
hd: false,
|
|
10219
|
+
ddd: 0,
|
|
10220
|
+
bm: 0,
|
|
10221
|
+
hasMask: false,
|
|
10222
|
+
ao: 0,
|
|
10223
|
+
ks: {
|
|
10224
|
+
a: { a: 0, k: [-284, 92, 0], ix: 1 },
|
|
10225
|
+
s: {
|
|
10226
|
+
a: 1,
|
|
10227
|
+
k: [
|
|
10228
|
+
{
|
|
10229
|
+
o: { x: 0.333, y: 0 },
|
|
10230
|
+
i: { x: 0.667, y: 1 },
|
|
10231
|
+
s: [50, 50, 100],
|
|
10232
|
+
t: 0
|
|
10233
|
+
},
|
|
10234
|
+
{
|
|
10235
|
+
o: { x: 0.333, y: 0 },
|
|
10236
|
+
i: { x: 0.667, y: 1 },
|
|
10237
|
+
s: [75, 75, 100],
|
|
10238
|
+
t: 14
|
|
10239
|
+
},
|
|
10240
|
+
{ s: [50, 50, 100], t: 30 }
|
|
10241
|
+
],
|
|
10242
|
+
ix: 6
|
|
10243
|
+
},
|
|
10244
|
+
sk: { a: 0, k: 0 },
|
|
10245
|
+
p: {
|
|
10246
|
+
a: 1,
|
|
10247
|
+
k: [
|
|
10248
|
+
{
|
|
10249
|
+
o: { x: 0.333, y: 0 },
|
|
10250
|
+
i: { x: 0.667, y: 1 },
|
|
10251
|
+
s: [782, 540, 0],
|
|
10252
|
+
t: 0,
|
|
10253
|
+
ti: [0, 0, 0],
|
|
10254
|
+
to: [0, -6.667, 0]
|
|
10255
|
+
},
|
|
10256
|
+
{
|
|
10257
|
+
o: { x: 0.333, y: 0 },
|
|
10258
|
+
i: { x: 0.667, y: 1 },
|
|
10259
|
+
s: [782, 500, 0],
|
|
10260
|
+
t: 14,
|
|
10261
|
+
ti: [0, -6.667, 0],
|
|
10262
|
+
to: [0, 0, 0]
|
|
10263
|
+
},
|
|
10264
|
+
{ s: [782, 540, 0], t: 30 }
|
|
10265
|
+
],
|
|
10266
|
+
ix: 2
|
|
10267
|
+
},
|
|
10268
|
+
r: { a: 0, k: 0, ix: 10 },
|
|
10269
|
+
sa: { a: 0, k: 0 },
|
|
10270
|
+
o: {
|
|
10271
|
+
a: 1,
|
|
10272
|
+
k: [
|
|
10273
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [25], t: 0 },
|
|
10274
|
+
{ o: { x: 0.333, y: 0 }, i: { x: 0.667, y: 1 }, s: [100], t: 14 },
|
|
10275
|
+
{ s: [25], t: 30 }
|
|
10276
|
+
],
|
|
10277
|
+
ix: 11
|
|
10278
|
+
}
|
|
10279
|
+
},
|
|
10280
|
+
ef: [],
|
|
10281
|
+
shapes: [
|
|
10282
|
+
{
|
|
10283
|
+
ty: "gr",
|
|
10284
|
+
bm: 0,
|
|
10285
|
+
hd: false,
|
|
10286
|
+
mn: "ADBE Vector Group",
|
|
10287
|
+
nm: "Ellipse 1",
|
|
10288
|
+
ix: 1,
|
|
10289
|
+
cix: 2,
|
|
10290
|
+
np: 3,
|
|
10291
|
+
it: [
|
|
10292
|
+
{
|
|
10293
|
+
ty: "el",
|
|
10294
|
+
bm: 0,
|
|
10295
|
+
hd: false,
|
|
10296
|
+
mn: "ADBE Vector Shape - Ellipse",
|
|
10297
|
+
nm: "Ellipse Path 1",
|
|
10298
|
+
d: 1,
|
|
10299
|
+
p: { a: 0, k: [0, 0], ix: 3 },
|
|
10300
|
+
s: { a: 0, k: [120, 120], ix: 2 }
|
|
10301
|
+
},
|
|
10302
|
+
{
|
|
10303
|
+
ty: "fl",
|
|
10304
|
+
bm: 0,
|
|
10305
|
+
hd: false,
|
|
10306
|
+
mn: "ADBE Vector Graphic - Fill",
|
|
10307
|
+
nm: "Fill 1",
|
|
10308
|
+
c: { a: 0, k: [0.0902, 0.2196, 0.3922], ix: 4 },
|
|
10309
|
+
r: 1,
|
|
10310
|
+
o: { a: 0, k: 100, ix: 5 }
|
|
10311
|
+
},
|
|
10312
|
+
{
|
|
10313
|
+
ty: "tr",
|
|
10314
|
+
a: { a: 0, k: [0, 0], ix: 1 },
|
|
10315
|
+
s: { a: 0, k: [100, 100], ix: 3 },
|
|
10316
|
+
sk: { a: 0, k: 0, ix: 4 },
|
|
10317
|
+
p: { a: 0, k: [-284, 92], ix: 2 },
|
|
10318
|
+
r: { a: 0, k: 0, ix: 6 },
|
|
10319
|
+
sa: { a: 0, k: 0, ix: 5 },
|
|
10320
|
+
o: { a: 0, k: 100, ix: 7 }
|
|
10321
|
+
}
|
|
10322
|
+
]
|
|
10323
|
+
}
|
|
10324
|
+
],
|
|
10325
|
+
ind: 4
|
|
10326
|
+
}
|
|
10327
|
+
],
|
|
10328
|
+
v: "5.7.11",
|
|
10329
|
+
fr: 60,
|
|
10330
|
+
op: 81,
|
|
10331
|
+
ip: 0,
|
|
10332
|
+
assets: []
|
|
10333
|
+
};
|
|
10334
|
+
|
|
10335
|
+
// src/LottieAnimations/LottieAnimations.tsx
|
|
10336
|
+
var import_jsx_runtime260 = require("@emotion/react/jsx-runtime");
|
|
10337
|
+
var lottieAnimations = {
|
|
10338
|
+
loading: loadingAnimationData
|
|
10339
|
+
};
|
|
10340
|
+
var LottieAnimations = ({
|
|
10341
|
+
animation = "loading",
|
|
10342
|
+
animationData,
|
|
10343
|
+
size,
|
|
10344
|
+
loop = true,
|
|
10345
|
+
autoPlay = true,
|
|
10346
|
+
style,
|
|
10347
|
+
...props
|
|
10348
|
+
}) => {
|
|
10349
|
+
const [LottieComponent, setLottieComponent] = (0, import_react66.useState)(null);
|
|
10350
|
+
(0, import_react66.useEffect)(() => {
|
|
10351
|
+
let isMounted = true;
|
|
10352
|
+
import("lottie-react").then((module2) => {
|
|
10353
|
+
if (isMounted) {
|
|
10354
|
+
setLottieComponent(() => module2.default);
|
|
10355
|
+
}
|
|
10356
|
+
});
|
|
10357
|
+
return () => {
|
|
10358
|
+
isMounted = false;
|
|
10359
|
+
};
|
|
10360
|
+
}, []);
|
|
10361
|
+
const sizeValue = typeof size === "number" ? `${size}px` : size;
|
|
10362
|
+
const mergedStyle = sizeValue !== void 0 ? { width: sizeValue, height: sizeValue, ...style } : style;
|
|
10363
|
+
if (!LottieComponent) {
|
|
10364
|
+
return null;
|
|
10365
|
+
}
|
|
10366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime260.jsx)(
|
|
10367
|
+
LottieComponent,
|
|
10368
|
+
{
|
|
10369
|
+
animationData: animationData != null ? animationData : lottieAnimations[animation],
|
|
10370
|
+
loop,
|
|
10371
|
+
autoPlay,
|
|
10372
|
+
style: mergedStyle,
|
|
10373
|
+
...props
|
|
10374
|
+
}
|
|
10375
|
+
);
|
|
10376
|
+
};
|
|
10377
|
+
var LottieAnimations_default = LottieAnimations;
|
|
10378
|
+
|
|
9848
10379
|
// src/Navigation/Navigation.styles.ts
|
|
9849
|
-
var
|
|
9850
|
-
var navigationStyles =
|
|
10380
|
+
var import_react67 = require("@emotion/react");
|
|
10381
|
+
var navigationStyles = import_react67.css`
|
|
9851
10382
|
width: 100%;
|
|
9852
10383
|
background-color: white;
|
|
9853
10384
|
border-bottom: 1px solid #e5e5e5;
|
|
9854
10385
|
`;
|
|
9855
|
-
var hamburgerButtonStyles =
|
|
10386
|
+
var hamburgerButtonStyles = import_react67.css`
|
|
9856
10387
|
cursor: pointer;
|
|
9857
10388
|
&:focus {
|
|
9858
10389
|
outline: 2px solid #4f46e5;
|
|
@@ -9863,7 +10394,7 @@ var hamburgerButtonStyles = import_react66.css`
|
|
|
9863
10394
|
display: none;
|
|
9864
10395
|
}
|
|
9865
10396
|
`;
|
|
9866
|
-
var centeredLogoStyles =
|
|
10397
|
+
var centeredLogoStyles = import_react67.css`
|
|
9867
10398
|
transform: translate(-50%, -50%);
|
|
9868
10399
|
max-width: 150px;
|
|
9869
10400
|
|
|
@@ -9871,27 +10402,27 @@ var centeredLogoStyles = import_react66.css`
|
|
|
9871
10402
|
display: none;
|
|
9872
10403
|
}
|
|
9873
10404
|
`;
|
|
9874
|
-
var desktopLogoStyles =
|
|
10405
|
+
var desktopLogoStyles = import_react67.css`
|
|
9875
10406
|
display: none;
|
|
9876
10407
|
|
|
9877
10408
|
@media (min-width: 768px) {
|
|
9878
10409
|
display: block;
|
|
9879
10410
|
}
|
|
9880
10411
|
`;
|
|
9881
|
-
var containerStyles5 =
|
|
10412
|
+
var containerStyles5 = import_react67.css`
|
|
9882
10413
|
@media (min-width: 768px) {
|
|
9883
10414
|
justify-content: space-between;
|
|
9884
10415
|
position: static;
|
|
9885
10416
|
}
|
|
9886
10417
|
`;
|
|
9887
|
-
var logoStyles2 =
|
|
10418
|
+
var logoStyles2 = import_react67.css`
|
|
9888
10419
|
width: 100%;
|
|
9889
10420
|
|
|
9890
10421
|
@media (min-width: 768px) {
|
|
9891
10422
|
width: initial;
|
|
9892
10423
|
}
|
|
9893
10424
|
`;
|
|
9894
|
-
var desktopNavStyles =
|
|
10425
|
+
var desktopNavStyles = import_react67.css`
|
|
9895
10426
|
display: none;
|
|
9896
10427
|
|
|
9897
10428
|
@media (min-width: 768px) {
|
|
@@ -9900,7 +10431,7 @@ var desktopNavStyles = import_react66.css`
|
|
|
9900
10431
|
gap: 32px;
|
|
9901
10432
|
}
|
|
9902
10433
|
`;
|
|
9903
|
-
var navLinksStyles =
|
|
10434
|
+
var navLinksStyles = import_react67.css`
|
|
9904
10435
|
display: flex;
|
|
9905
10436
|
align-items: center;
|
|
9906
10437
|
gap: 24px;
|
|
@@ -9908,7 +10439,7 @@ var navLinksStyles = import_react66.css`
|
|
|
9908
10439
|
margin: 0;
|
|
9909
10440
|
padding: 0;
|
|
9910
10441
|
`;
|
|
9911
|
-
var navLinkStyles =
|
|
10442
|
+
var navLinkStyles = import_react67.css`
|
|
9912
10443
|
text-decoration: none;
|
|
9913
10444
|
color: #374151;
|
|
9914
10445
|
font-weight: 500;
|
|
@@ -9924,7 +10455,7 @@ var navLinkStyles = import_react66.css`
|
|
|
9924
10455
|
outline-offset: 2px;
|
|
9925
10456
|
}
|
|
9926
10457
|
`;
|
|
9927
|
-
var avatarPlaceholderStyles =
|
|
10458
|
+
var avatarPlaceholderStyles = import_react67.css`
|
|
9928
10459
|
width: 32px;
|
|
9929
10460
|
height: 32px;
|
|
9930
10461
|
border-radius: 50%;
|
|
@@ -9949,7 +10480,7 @@ var avatarPlaceholderStyles = import_react66.css`
|
|
|
9949
10480
|
`;
|
|
9950
10481
|
|
|
9951
10482
|
// src/Navigation/Navigation.tsx
|
|
9952
|
-
var
|
|
10483
|
+
var import_jsx_runtime261 = require("@emotion/react/jsx-runtime");
|
|
9953
10484
|
var Navigation = ({
|
|
9954
10485
|
onMenuToggle,
|
|
9955
10486
|
className,
|
|
@@ -9963,7 +10494,7 @@ var Navigation = ({
|
|
|
9963
10494
|
onAvatarClick,
|
|
9964
10495
|
...rest
|
|
9965
10496
|
}) => {
|
|
9966
|
-
return /* @__PURE__ */ (0,
|
|
10497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Box_default, { css: navigationStyles, className, ...rest, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(
|
|
9967
10498
|
Box_default,
|
|
9968
10499
|
{
|
|
9969
10500
|
display: "flex",
|
|
@@ -9972,7 +10503,7 @@ var Navigation = ({
|
|
|
9972
10503
|
position: "relative",
|
|
9973
10504
|
css: containerStyles5,
|
|
9974
10505
|
children: [
|
|
9975
|
-
/* @__PURE__ */ (0,
|
|
10506
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
|
|
9976
10507
|
Box_default,
|
|
9977
10508
|
{
|
|
9978
10509
|
as: "button",
|
|
@@ -9984,11 +10515,11 @@ var Navigation = ({
|
|
|
9984
10515
|
border: "none",
|
|
9985
10516
|
padding: space[2],
|
|
9986
10517
|
css: hamburgerButtonStyles,
|
|
9987
|
-
children: /* @__PURE__ */ (0,
|
|
10518
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Icon_default, { variant: "Bars", size: "large" })
|
|
9988
10519
|
}
|
|
9989
10520
|
),
|
|
9990
|
-
/* @__PURE__ */ (0,
|
|
9991
|
-
/* @__PURE__ */ (0,
|
|
10521
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Box_default, { css: desktopLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Logo_default, { variant: logoVariant, theme: logoTheme }) }),
|
|
10522
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Box_default, { position: "absolute", left: "50%", top: "50%", css: centeredLogoStyles, children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
|
|
9992
10523
|
Logo_default,
|
|
9993
10524
|
{
|
|
9994
10525
|
variant: logoVariant,
|
|
@@ -9997,8 +10528,8 @@ var Navigation = ({
|
|
|
9997
10528
|
css: logoStyles2
|
|
9998
10529
|
}
|
|
9999
10530
|
) }),
|
|
10000
|
-
/* @__PURE__ */ (0,
|
|
10001
|
-
/* @__PURE__ */ (0,
|
|
10531
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsxs)(Box_default, { css: desktopNavStyles, children: [
|
|
10532
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Box_default, { as: "nav", children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Box_default, { as: "ul", css: navLinksStyles, children: navLinks.map((link) => /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(Box_default, { as: "li", children: /* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
|
|
10002
10533
|
"a",
|
|
10003
10534
|
{
|
|
10004
10535
|
href: link.href,
|
|
@@ -10007,7 +10538,7 @@ var Navigation = ({
|
|
|
10007
10538
|
children: link.label
|
|
10008
10539
|
}
|
|
10009
10540
|
) }, link.href)) }) }),
|
|
10010
|
-
/* @__PURE__ */ (0,
|
|
10541
|
+
/* @__PURE__ */ (0, import_jsx_runtime261.jsx)(
|
|
10011
10542
|
Box_default,
|
|
10012
10543
|
{
|
|
10013
10544
|
as: "button",
|
|
@@ -10029,21 +10560,21 @@ var Navigation_default = Navigation;
|
|
|
10029
10560
|
var import_react_loading_skeleton2 = __toESM(require("react-loading-skeleton"));
|
|
10030
10561
|
|
|
10031
10562
|
// src/ScrollingCarousel/components/ScrollingCarouselStep.tsx
|
|
10032
|
-
var
|
|
10563
|
+
var import_react70 = require("react");
|
|
10033
10564
|
var import_react_intersection_observer = require("react-intersection-observer");
|
|
10034
10565
|
|
|
10035
10566
|
// src/ScrollingCarousel/context/CarouselContext.tsx
|
|
10036
|
-
var
|
|
10037
|
-
var CarouselContext =
|
|
10567
|
+
var import_react68 = __toESM(require("react"));
|
|
10568
|
+
var CarouselContext = import_react68.default.createContext(
|
|
10038
10569
|
null
|
|
10039
10570
|
);
|
|
10040
10571
|
|
|
10041
10572
|
// src/ScrollingCarousel/ScrollingCarousel.styles.ts
|
|
10042
|
-
var
|
|
10043
|
-
var carouselRoot =
|
|
10573
|
+
var import_react69 = require("@emotion/react");
|
|
10574
|
+
var carouselRoot = import_react69.css`
|
|
10044
10575
|
position: relative;
|
|
10045
10576
|
`;
|
|
10046
|
-
var carousel = (gap2) =>
|
|
10577
|
+
var carousel = (gap2) => import_react69.css`
|
|
10047
10578
|
display: flex;
|
|
10048
10579
|
overflow-y: hidden;
|
|
10049
10580
|
overflow-x: scroll;
|
|
@@ -10056,7 +10587,7 @@ var carousel = (gap2) => import_react68.css`
|
|
|
10056
10587
|
display: none;
|
|
10057
10588
|
}
|
|
10058
10589
|
`;
|
|
10059
|
-
var step = (itemWidth) =>
|
|
10590
|
+
var step = (itemWidth) => import_react69.css`
|
|
10060
10591
|
scroll-snap-align: center;
|
|
10061
10592
|
flex-basis: ${itemWidth || "100%"};
|
|
10062
10593
|
flex-shrink: 0;
|
|
@@ -10066,7 +10597,7 @@ var step = (itemWidth) => import_react68.css`
|
|
|
10066
10597
|
flex-basis: ${itemWidth || "100%"};
|
|
10067
10598
|
}
|
|
10068
10599
|
`;
|
|
10069
|
-
var controls = (position2) =>
|
|
10600
|
+
var controls = (position2) => import_react69.css`
|
|
10070
10601
|
${(position2 === "left-right" || position2 === "top-right") && `
|
|
10071
10602
|
display: none;
|
|
10072
10603
|
|
|
@@ -10075,7 +10606,7 @@ var controls = (position2) => import_react68.css`
|
|
|
10075
10606
|
}
|
|
10076
10607
|
`}
|
|
10077
10608
|
`;
|
|
10078
|
-
var iconWrapper =
|
|
10609
|
+
var iconWrapper = import_react69.css`
|
|
10079
10610
|
display: flex;
|
|
10080
10611
|
width: var(--spacing-7);
|
|
10081
10612
|
height: var(--spacing-7);
|
|
@@ -10085,7 +10616,7 @@ var iconWrapper = import_react68.css`
|
|
|
10085
10616
|
justify-content: center;
|
|
10086
10617
|
box-shadow: var(--shadow-md);
|
|
10087
10618
|
`;
|
|
10088
|
-
var button = (position2) =>
|
|
10619
|
+
var button = (position2) => import_react69.css`
|
|
10089
10620
|
background: transparent;
|
|
10090
10621
|
border-color: transparent;
|
|
10091
10622
|
outline: none;
|
|
@@ -10117,7 +10648,7 @@ var button = (position2) => import_react68.css`
|
|
|
10117
10648
|
bottom: calc(-1 * var(--spacing-1));
|
|
10118
10649
|
`}
|
|
10119
10650
|
`;
|
|
10120
|
-
var buttonLeft = (position2) =>
|
|
10651
|
+
var buttonLeft = (position2) => import_react69.css`
|
|
10121
10652
|
${button(position2)}
|
|
10122
10653
|
|
|
10123
10654
|
${position2 === "left-right" && `
|
|
@@ -10137,7 +10668,7 @@ var buttonLeft = (position2) => import_react68.css`
|
|
|
10137
10668
|
left: calc(50% - var(--spacing-16));
|
|
10138
10669
|
`}
|
|
10139
10670
|
`;
|
|
10140
|
-
var customButtonLeft = (position2) =>
|
|
10671
|
+
var customButtonLeft = (position2) => import_react69.css`
|
|
10141
10672
|
${button(position2)}
|
|
10142
10673
|
|
|
10143
10674
|
${position2 === "left-right" && `
|
|
@@ -10157,7 +10688,7 @@ var customButtonLeft = (position2) => import_react68.css`
|
|
|
10157
10688
|
left: calc(50% - var(--spacing-16));
|
|
10158
10689
|
`}
|
|
10159
10690
|
`;
|
|
10160
|
-
var buttonRight = (position2) =>
|
|
10691
|
+
var buttonRight = (position2) => import_react69.css`
|
|
10161
10692
|
${button(position2)}
|
|
10162
10693
|
|
|
10163
10694
|
${position2 === "left-right" && `
|
|
@@ -10177,12 +10708,12 @@ var buttonRight = (position2) => import_react68.css`
|
|
|
10177
10708
|
right: calc(50% - var(--spacing-16));
|
|
10178
10709
|
`}
|
|
10179
10710
|
`;
|
|
10180
|
-
var icon =
|
|
10711
|
+
var icon = import_react69.css`
|
|
10181
10712
|
width: var(--spacing-3);
|
|
10182
10713
|
height: var(--spacing-3);
|
|
10183
10714
|
color: var(--color-base-black);
|
|
10184
10715
|
`;
|
|
10185
|
-
var dots =
|
|
10716
|
+
var dots = import_react69.css`
|
|
10186
10717
|
position: absolute;
|
|
10187
10718
|
bottom: var(--spacing-2);
|
|
10188
10719
|
left: 0;
|
|
@@ -10192,11 +10723,11 @@ var dots = import_react68.css`
|
|
|
10192
10723
|
align-items: center;
|
|
10193
10724
|
justify-content: center;
|
|
10194
10725
|
`;
|
|
10195
|
-
var dotsInner =
|
|
10726
|
+
var dotsInner = import_react69.css`
|
|
10196
10727
|
display: flex;
|
|
10197
10728
|
overflow: hidden;
|
|
10198
10729
|
`;
|
|
10199
|
-
var dot = (dotsColor) =>
|
|
10730
|
+
var dot = (dotsColor) => import_react69.css`
|
|
10200
10731
|
position: relative;
|
|
10201
10732
|
flex-shrink: 0;
|
|
10202
10733
|
flex-grow: 0;
|
|
@@ -10235,22 +10766,22 @@ var dot = (dotsColor) => import_react68.css`
|
|
|
10235
10766
|
`}
|
|
10236
10767
|
}
|
|
10237
10768
|
`;
|
|
10238
|
-
var dotDistance2 =
|
|
10769
|
+
var dotDistance2 = import_react69.css`
|
|
10239
10770
|
&::after {
|
|
10240
10771
|
transform: translate(-50%, -50%) scale(0.9);
|
|
10241
10772
|
}
|
|
10242
10773
|
`;
|
|
10243
|
-
var dotDistance3 =
|
|
10774
|
+
var dotDistance3 = import_react69.css`
|
|
10244
10775
|
&::after {
|
|
10245
10776
|
transform: translate(-50%, -50%) scale(0.8);
|
|
10246
10777
|
}
|
|
10247
10778
|
`;
|
|
10248
|
-
var dotDistanceGreaterThan3 =
|
|
10779
|
+
var dotDistanceGreaterThan3 = import_react69.css`
|
|
10249
10780
|
&::after {
|
|
10250
10781
|
transform: translate(-50%, -50%) scale(0.7);
|
|
10251
10782
|
}
|
|
10252
10783
|
`;
|
|
10253
|
-
var dotVisible =
|
|
10784
|
+
var dotVisible = import_react69.css`
|
|
10254
10785
|
&::after {
|
|
10255
10786
|
opacity: 1;
|
|
10256
10787
|
transform: translate(-50%, -50%) scale(1.2);
|
|
@@ -10258,7 +10789,7 @@ var dotVisible = import_react68.css`
|
|
|
10258
10789
|
`;
|
|
10259
10790
|
|
|
10260
10791
|
// src/ScrollingCarousel/components/ScrollingCarouselStep.tsx
|
|
10261
|
-
var
|
|
10792
|
+
var import_jsx_runtime262 = require("@emotion/react/jsx-runtime");
|
|
10262
10793
|
var ScrollingCarouselStep = ({
|
|
10263
10794
|
children,
|
|
10264
10795
|
index,
|
|
@@ -10267,7 +10798,7 @@ var ScrollingCarouselStep = ({
|
|
|
10267
10798
|
onClick,
|
|
10268
10799
|
itemWidth
|
|
10269
10800
|
}) => {
|
|
10270
|
-
const context = (0,
|
|
10801
|
+
const context = (0, import_react70.useContext)(CarouselContext);
|
|
10271
10802
|
if (!context) {
|
|
10272
10803
|
throw new Error(
|
|
10273
10804
|
"ScrollingCarouselStep must be used within ScrollingCarousel"
|
|
@@ -10278,7 +10809,7 @@ var ScrollingCarouselStep = ({
|
|
|
10278
10809
|
threshold: 0.75,
|
|
10279
10810
|
root: carousel2.current
|
|
10280
10811
|
});
|
|
10281
|
-
(0,
|
|
10812
|
+
(0, import_react70.useEffect)(() => {
|
|
10282
10813
|
if (typeof index !== "undefined") {
|
|
10283
10814
|
dispatch({
|
|
10284
10815
|
type: "set_child_visibility",
|
|
@@ -10286,7 +10817,7 @@ var ScrollingCarouselStep = ({
|
|
|
10286
10817
|
});
|
|
10287
10818
|
}
|
|
10288
10819
|
}, [inView, index, dispatch]);
|
|
10289
|
-
return /* @__PURE__ */ (0,
|
|
10820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime262.jsx)(
|
|
10290
10821
|
"div",
|
|
10291
10822
|
{
|
|
10292
10823
|
ref,
|
|
@@ -10304,10 +10835,10 @@ var ScrollingCarouselStep = ({
|
|
|
10304
10835
|
ScrollingCarouselStep.displayName = "ScrollingCarouselStep";
|
|
10305
10836
|
|
|
10306
10837
|
// src/ScrollingCarousel/ScrollingCarousel.tsx
|
|
10307
|
-
var
|
|
10838
|
+
var import_react74 = __toESM(require("react"));
|
|
10308
10839
|
|
|
10309
10840
|
// src/ScrollingCarousel/hooks/useCarouselDots.ts
|
|
10310
|
-
var
|
|
10841
|
+
var import_react71 = require("react");
|
|
10311
10842
|
|
|
10312
10843
|
// src/ScrollingCarousel/ScrollingCarousel.helpers.ts
|
|
10313
10844
|
var childVisibilityReducer = (state, action) => {
|
|
@@ -10338,7 +10869,7 @@ var useCarouselDots = ({
|
|
|
10338
10869
|
anyItemsVisible,
|
|
10339
10870
|
numberOfDots
|
|
10340
10871
|
}) => {
|
|
10341
|
-
const dotOffset = (0,
|
|
10872
|
+
const dotOffset = (0, import_react71.useRef)(0);
|
|
10342
10873
|
const dotWidth = 12;
|
|
10343
10874
|
const totalDots = childVisibility.length;
|
|
10344
10875
|
const dotToCenterIndex = Math.round(
|
|
@@ -10370,7 +10901,7 @@ var useCarouselDots = ({
|
|
|
10370
10901
|
};
|
|
10371
10902
|
|
|
10372
10903
|
// src/ScrollingCarousel/hooks/useCarouselNavigation.ts
|
|
10373
|
-
var
|
|
10904
|
+
var import_react72 = require("react");
|
|
10374
10905
|
|
|
10375
10906
|
// src/shared/helpers.ts
|
|
10376
10907
|
var import_seamless_scroll_polyfill = require("seamless-scroll-polyfill");
|
|
@@ -10404,7 +10935,7 @@ var useCarouselNavigation = ({
|
|
|
10404
10935
|
infiniteScroll,
|
|
10405
10936
|
childVisibilityLength
|
|
10406
10937
|
}) => {
|
|
10407
|
-
const getStepEl = (0,
|
|
10938
|
+
const getStepEl = (0, import_react72.useCallback)(
|
|
10408
10939
|
(index) => {
|
|
10409
10940
|
if (carousel2.current) {
|
|
10410
10941
|
const selector = `[data-carousel-id="${id}"][data-carousel-index="${index}"]`;
|
|
@@ -10414,7 +10945,7 @@ var useCarouselNavigation = ({
|
|
|
10414
10945
|
},
|
|
10415
10946
|
[carousel2, id]
|
|
10416
10947
|
);
|
|
10417
|
-
const next = (0,
|
|
10948
|
+
const next = (0, import_react72.useCallback)(
|
|
10418
10949
|
(e) => {
|
|
10419
10950
|
e.preventDefault();
|
|
10420
10951
|
if (lastItemIsVisible && !infiniteScroll)
|
|
@@ -10442,7 +10973,7 @@ var useCarouselNavigation = ({
|
|
|
10442
10973
|
carousel2
|
|
10443
10974
|
]
|
|
10444
10975
|
);
|
|
10445
|
-
const back = (0,
|
|
10976
|
+
const back = (0, import_react72.useCallback)(
|
|
10446
10977
|
(e) => {
|
|
10447
10978
|
e.preventDefault();
|
|
10448
10979
|
if (firstItemIsVisible && !infiniteScroll)
|
|
@@ -10470,7 +11001,7 @@ var useCarouselNavigation = ({
|
|
|
10470
11001
|
carousel2
|
|
10471
11002
|
]
|
|
10472
11003
|
);
|
|
10473
|
-
const goTo = (0,
|
|
11004
|
+
const goTo = (0, import_react72.useCallback)(
|
|
10474
11005
|
(e, i) => {
|
|
10475
11006
|
e.preventDefault();
|
|
10476
11007
|
const el = getStepEl(i);
|
|
@@ -10488,12 +11019,12 @@ var useCarouselNavigation = ({
|
|
|
10488
11019
|
};
|
|
10489
11020
|
|
|
10490
11021
|
// src/ScrollingCarousel/hooks/useCarouselVisibility.ts
|
|
10491
|
-
var
|
|
11022
|
+
var import_react73 = require("react");
|
|
10492
11023
|
var useCarouselVisibility = (carousel2) => {
|
|
10493
|
-
const [state, dispatch] = (0,
|
|
11024
|
+
const [state, dispatch] = (0, import_react73.useReducer)(childVisibilityReducer, {
|
|
10494
11025
|
childVisibility: []
|
|
10495
11026
|
});
|
|
10496
|
-
const carouselContextApi = (0,
|
|
11027
|
+
const carouselContextApi = (0, import_react73.useMemo)(
|
|
10497
11028
|
() => ({ carousel: carousel2, dispatch }),
|
|
10498
11029
|
[carousel2]
|
|
10499
11030
|
);
|
|
@@ -10514,7 +11045,7 @@ var useCarouselVisibility = (carousel2) => {
|
|
|
10514
11045
|
};
|
|
10515
11046
|
|
|
10516
11047
|
// src/ScrollingCarousel/ScrollingCarousel.tsx
|
|
10517
|
-
var
|
|
11048
|
+
var import_jsx_runtime263 = require("@emotion/react/jsx-runtime");
|
|
10518
11049
|
var ScrollingCarousel = ({
|
|
10519
11050
|
className,
|
|
10520
11051
|
children,
|
|
@@ -10533,8 +11064,8 @@ var ScrollingCarousel = ({
|
|
|
10533
11064
|
itemWidth,
|
|
10534
11065
|
gap: gap2
|
|
10535
11066
|
}) => {
|
|
10536
|
-
const carousel2 = (0,
|
|
10537
|
-
const [isHovering, setIsHovering] = (0,
|
|
11067
|
+
const carousel2 = (0, import_react74.useRef)(null);
|
|
11068
|
+
const [isHovering, setIsHovering] = (0, import_react74.useState)(false);
|
|
10538
11069
|
const {
|
|
10539
11070
|
state,
|
|
10540
11071
|
carouselContextApi,
|
|
@@ -10554,7 +11085,7 @@ var ScrollingCarousel = ({
|
|
|
10554
11085
|
infiniteScroll,
|
|
10555
11086
|
childVisibilityLength: state.childVisibility.length
|
|
10556
11087
|
});
|
|
10557
|
-
(0,
|
|
11088
|
+
(0, import_react74.useEffect)(() => {
|
|
10558
11089
|
if (carousel2.current && typeof current === "number" && current >= 0) {
|
|
10559
11090
|
const childrenArray = Array.from(carousel2.current.children);
|
|
10560
11091
|
const selectedItem = childrenArray[current];
|
|
@@ -10569,9 +11100,9 @@ var ScrollingCarousel = ({
|
|
|
10569
11100
|
}
|
|
10570
11101
|
}
|
|
10571
11102
|
}, [current]);
|
|
10572
|
-
const childrenWithIndex =
|
|
11103
|
+
const childrenWithIndex = import_react74.default.Children.map(
|
|
10573
11104
|
children,
|
|
10574
|
-
(child, index) =>
|
|
11105
|
+
(child, index) => import_react74.default.cloneElement(child, { index, itemWidth })
|
|
10575
11106
|
);
|
|
10576
11107
|
const { dotOffset, dotDistances, dotWidth } = useCarouselDots({
|
|
10577
11108
|
childVisibility: state.childVisibility,
|
|
@@ -10582,7 +11113,7 @@ var ScrollingCarousel = ({
|
|
|
10582
11113
|
});
|
|
10583
11114
|
const hasMultipleChildren = state.childVisibility.length > 1;
|
|
10584
11115
|
const shouldShowNavigation = showNavigationOnHover ? isHovering : true;
|
|
10585
|
-
return /* @__PURE__ */ (0,
|
|
11116
|
+
return /* @__PURE__ */ (0, import_jsx_runtime263.jsxs)(
|
|
10586
11117
|
"div",
|
|
10587
11118
|
{
|
|
10588
11119
|
css: carouselRoot,
|
|
@@ -10590,7 +11121,7 @@ var ScrollingCarousel = ({
|
|
|
10590
11121
|
onMouseEnter: () => setIsHovering(true),
|
|
10591
11122
|
onMouseLeave: () => setIsHovering(false),
|
|
10592
11123
|
children: [
|
|
10593
|
-
/* @__PURE__ */ (0,
|
|
11124
|
+
/* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
10594
11125
|
"div",
|
|
10595
11126
|
{
|
|
10596
11127
|
css: carousel(gap2),
|
|
@@ -10599,11 +11130,11 @@ var ScrollingCarousel = ({
|
|
|
10599
11130
|
role: "region",
|
|
10600
11131
|
"aria-roledescription": "carousel",
|
|
10601
11132
|
"aria-label": "Scrolling carousel",
|
|
10602
|
-
children: /* @__PURE__ */ (0,
|
|
11133
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(CarouselContext.Provider, { value: carouselContextApi, children: childrenWithIndex })
|
|
10603
11134
|
}
|
|
10604
11135
|
),
|
|
10605
|
-
hasMultipleChildren && shouldShowNavigation && /* @__PURE__ */ (0,
|
|
10606
|
-
showButtons && (!firstItemIsVisible || infiniteScroll) && /* @__PURE__ */ (0,
|
|
11136
|
+
hasMultipleChildren && shouldShowNavigation && /* @__PURE__ */ (0, import_jsx_runtime263.jsxs)("div", { css: controls(buttonsPosition), children: [
|
|
11137
|
+
showButtons && (!firstItemIsVisible || infiniteScroll) && /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
10607
11138
|
"button",
|
|
10608
11139
|
{
|
|
10609
11140
|
"aria-label": "Previous",
|
|
@@ -10615,10 +11146,10 @@ var ScrollingCarousel = ({
|
|
|
10615
11146
|
},
|
|
10616
11147
|
css: customLeftButton ? customButtonLeft(buttonsPosition) : buttonLeft(buttonsPosition),
|
|
10617
11148
|
"data-testid": `scrolling-carousel-button-back-${id}`,
|
|
10618
|
-
children: customBackIcon ? customBackIcon : /* @__PURE__ */ (0,
|
|
11149
|
+
children: customBackIcon ? customBackIcon : /* @__PURE__ */ (0, import_jsx_runtime263.jsx)("span", { css: iconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Icon_default, { variant: "AngleLeft", css: icon }) })
|
|
10619
11150
|
}
|
|
10620
11151
|
),
|
|
10621
|
-
showButtons && (!lastItemIsVisible || infiniteScroll) && /* @__PURE__ */ (0,
|
|
11152
|
+
showButtons && (!lastItemIsVisible || infiniteScroll) && /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
10622
11153
|
"button",
|
|
10623
11154
|
{
|
|
10624
11155
|
"aria-label": "Next",
|
|
@@ -10630,11 +11161,11 @@ var ScrollingCarousel = ({
|
|
|
10630
11161
|
},
|
|
10631
11162
|
css: buttonRight(buttonsPosition),
|
|
10632
11163
|
"data-testid": `scrolling-carousel-button-next-${id}`,
|
|
10633
|
-
children: customNextIcon ? customNextIcon : /* @__PURE__ */ (0,
|
|
11164
|
+
children: customNextIcon ? customNextIcon : /* @__PURE__ */ (0, import_jsx_runtime263.jsx)("span", { css: iconWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(Icon_default, { variant: "AngleRight", css: icon }) })
|
|
10634
11165
|
}
|
|
10635
11166
|
)
|
|
10636
11167
|
] }),
|
|
10637
|
-
showDots && /* @__PURE__ */ (0,
|
|
11168
|
+
showDots && /* @__PURE__ */ (0, import_jsx_runtime263.jsx)("div", { css: dots, children: /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
10638
11169
|
"div",
|
|
10639
11170
|
{
|
|
10640
11171
|
css: dotsInner,
|
|
@@ -10642,7 +11173,7 @@ var ScrollingCarousel = ({
|
|
|
10642
11173
|
children: state.childVisibility.map((childVisibility, i) => {
|
|
10643
11174
|
var _a;
|
|
10644
11175
|
const distance = (_a = dotDistances[i]) != null ? _a : 0;
|
|
10645
|
-
return /* @__PURE__ */ (0,
|
|
11176
|
+
return /* @__PURE__ */ (0, import_jsx_runtime263.jsx)(
|
|
10646
11177
|
"button",
|
|
10647
11178
|
{
|
|
10648
11179
|
type: "button",
|
|
@@ -10673,8 +11204,8 @@ var ScrollingCarousel = ({
|
|
|
10673
11204
|
ScrollingCarousel.displayName = "ScrollingCarousel";
|
|
10674
11205
|
|
|
10675
11206
|
// src/PackageCard/PackageCard.styles.ts
|
|
10676
|
-
var
|
|
10677
|
-
var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler) =>
|
|
11207
|
+
var import_react75 = require("@emotion/react");
|
|
11208
|
+
var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler) => import_react75.css`
|
|
10678
11209
|
${hasClickHandler && `
|
|
10679
11210
|
cursor: pointer;
|
|
10680
11211
|
`}
|
|
@@ -10692,7 +11223,7 @@ var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler)
|
|
|
10692
11223
|
flex-direction: column;
|
|
10693
11224
|
gap: var(--spacing-2);
|
|
10694
11225
|
|
|
10695
|
-
${orientation === "horizontal" &&
|
|
11226
|
+
${orientation === "horizontal" && import_react75.css`
|
|
10696
11227
|
/* Apply horizontal layout only on tablet and up */
|
|
10697
11228
|
${media.md} {
|
|
10698
11229
|
flex-direction: row;
|
|
@@ -10720,58 +11251,58 @@ var cardContainerStyles3 = (orientation, hasContentBackground, hasClickHandler)
|
|
|
10720
11251
|
}
|
|
10721
11252
|
`}
|
|
10722
11253
|
`;
|
|
10723
|
-
var imageContainerStyles = (orientation) =>
|
|
11254
|
+
var imageContainerStyles = (orientation) => import_react75.css`
|
|
10724
11255
|
width: 100%;
|
|
10725
11256
|
height: 260px;
|
|
10726
11257
|
|
|
10727
|
-
${orientation === "horizontal" &&
|
|
11258
|
+
${orientation === "horizontal" && import_react75.css`
|
|
10728
11259
|
${media.md} {
|
|
10729
11260
|
width: 40%;
|
|
10730
11261
|
height: 200px;
|
|
10731
11262
|
`}
|
|
10732
11263
|
`;
|
|
10733
|
-
var imageBoxStyles = (orientation) =>
|
|
11264
|
+
var imageBoxStyles = (orientation) => import_react75.css`
|
|
10734
11265
|
height: 260px;
|
|
10735
|
-
${orientation === "horizontal" &&
|
|
11266
|
+
${orientation === "horizontal" && import_react75.css`
|
|
10736
11267
|
${media.md} {
|
|
10737
11268
|
height: 200px;
|
|
10738
11269
|
}
|
|
10739
11270
|
`}
|
|
10740
11271
|
`;
|
|
10741
|
-
var contentContainerStyles = (orientation, hasContentBackground) =>
|
|
11272
|
+
var contentContainerStyles = (orientation, hasContentBackground) => import_react75.css`
|
|
10742
11273
|
${hasContentBackground ? contentWithBackgroundStyles : contentWithoutBackgroundStyles}
|
|
10743
11274
|
width: 100%;
|
|
10744
11275
|
display: flex;
|
|
10745
11276
|
flex-direction: column;
|
|
10746
11277
|
justify-content: flex-start;
|
|
10747
11278
|
|
|
10748
|
-
${orientation === "horizontal" &&
|
|
11279
|
+
${orientation === "horizontal" && import_react75.css`
|
|
10749
11280
|
${media.md} {
|
|
10750
11281
|
width: 60%;
|
|
10751
11282
|
justify-content: center;
|
|
10752
11283
|
}
|
|
10753
11284
|
`}
|
|
10754
11285
|
`;
|
|
10755
|
-
var imageStyles3 =
|
|
11286
|
+
var imageStyles3 = import_react75.css`
|
|
10756
11287
|
background-size: cover;
|
|
10757
11288
|
background-position: center;
|
|
10758
11289
|
background-repeat: no-repeat;
|
|
10759
11290
|
position: relative;
|
|
10760
11291
|
background-color: lightgray;
|
|
10761
11292
|
`;
|
|
10762
|
-
var badgeTopLeftStyles =
|
|
11293
|
+
var badgeTopLeftStyles = import_react75.css`
|
|
10763
11294
|
position: absolute;
|
|
10764
11295
|
top: var(--spacing-3);
|
|
10765
11296
|
left: var(--spacing-3);
|
|
10766
11297
|
z-index: 2;
|
|
10767
11298
|
`;
|
|
10768
|
-
var badgeBottomRightStyles =
|
|
11299
|
+
var badgeBottomRightStyles = import_react75.css`
|
|
10769
11300
|
position: absolute;
|
|
10770
11301
|
bottom: var(--spacing-3);
|
|
10771
11302
|
right: var(--spacing-3);
|
|
10772
11303
|
z-index: 2;
|
|
10773
11304
|
`;
|
|
10774
|
-
var heartIconStyles =
|
|
11305
|
+
var heartIconStyles = import_react75.css`
|
|
10775
11306
|
position: absolute;
|
|
10776
11307
|
top: var(--spacing-3);
|
|
10777
11308
|
right: var(--spacing-3);
|
|
@@ -10793,20 +11324,20 @@ var heartIconStyles = import_react74.css`
|
|
|
10793
11324
|
transform: scale(1.1);
|
|
10794
11325
|
}
|
|
10795
11326
|
`;
|
|
10796
|
-
var actionMenuStyles =
|
|
11327
|
+
var actionMenuStyles = import_react75.css`
|
|
10797
11328
|
position: absolute;
|
|
10798
11329
|
top: var(--spacing-3);
|
|
10799
11330
|
right: var(--spacing-3);
|
|
10800
11331
|
z-index: 3;
|
|
10801
11332
|
`;
|
|
10802
|
-
var contentWithBackgroundStyles =
|
|
11333
|
+
var contentWithBackgroundStyles = import_react75.css`
|
|
10803
11334
|
padding: 0 var(--spacing-3) var(--spacing-4) var(--spacing-3);
|
|
10804
11335
|
background-color: var(--surface-page);
|
|
10805
11336
|
`;
|
|
10806
|
-
var contentWithoutBackgroundStyles =
|
|
11337
|
+
var contentWithoutBackgroundStyles = import_react75.css`
|
|
10807
11338
|
padding-top: 0 var(--spacing-2) var(--spacing-2) var(--spacing-2);
|
|
10808
11339
|
`;
|
|
10809
|
-
var overlayStyles =
|
|
11340
|
+
var overlayStyles = import_react75.css`
|
|
10810
11341
|
position: absolute;
|
|
10811
11342
|
top: 0;
|
|
10812
11343
|
left: 0;
|
|
@@ -10818,7 +11349,7 @@ var overlayStyles = import_react74.css`
|
|
|
10818
11349
|
display: block;
|
|
10819
11350
|
pointer-events: none;
|
|
10820
11351
|
`;
|
|
10821
|
-
var titleStyles =
|
|
11352
|
+
var titleStyles = import_react75.css`
|
|
10822
11353
|
text-wrap: wrap;
|
|
10823
11354
|
word-break: break-word;
|
|
10824
11355
|
white-space: pre-wrap;
|
|
@@ -10826,7 +11357,7 @@ var titleStyles = import_react74.css`
|
|
|
10826
11357
|
`;
|
|
10827
11358
|
|
|
10828
11359
|
// src/PackageCard/PackageCard.tsx
|
|
10829
|
-
var
|
|
11360
|
+
var import_jsx_runtime264 = require("@emotion/react/jsx-runtime");
|
|
10830
11361
|
var PackageCard = ({
|
|
10831
11362
|
images,
|
|
10832
11363
|
title,
|
|
@@ -10847,22 +11378,22 @@ var PackageCard = ({
|
|
|
10847
11378
|
...rest
|
|
10848
11379
|
}) => {
|
|
10849
11380
|
if (isLoading) {
|
|
10850
|
-
return /* @__PURE__ */ (0,
|
|
11381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
|
|
10851
11382
|
Box_default,
|
|
10852
11383
|
{
|
|
10853
11384
|
css: cardContainerStyles3(orientation, hasContentBackground, false),
|
|
10854
11385
|
className,
|
|
10855
11386
|
children: [
|
|
10856
|
-
/* @__PURE__ */ (0,
|
|
11387
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10857
11388
|
Box_default,
|
|
10858
11389
|
{
|
|
10859
11390
|
overflow: "hidden",
|
|
10860
11391
|
borderRadius: "var(--spacing-4)",
|
|
10861
11392
|
css: imageContainerStyles(orientation),
|
|
10862
|
-
children: /* @__PURE__ */ (0,
|
|
11393
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(import_react_loading_skeleton2.default, { width: "100%", height: "100%", borderRadius: 16 })
|
|
10863
11394
|
}
|
|
10864
11395
|
),
|
|
10865
|
-
/* @__PURE__ */ (0,
|
|
11396
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Box_default, { css: contentContainerStyles(orientation, hasContentBackground), children: /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
|
|
10866
11397
|
Box_default,
|
|
10867
11398
|
{
|
|
10868
11399
|
display: "flex",
|
|
@@ -10870,9 +11401,9 @@ var PackageCard = ({
|
|
|
10870
11401
|
gap: "var(--spacing-1)",
|
|
10871
11402
|
mb: "var(--spacing-1)",
|
|
10872
11403
|
children: [
|
|
10873
|
-
/* @__PURE__ */ (0,
|
|
10874
|
-
/* @__PURE__ */ (0,
|
|
10875
|
-
/* @__PURE__ */ (0,
|
|
11404
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(import_react_loading_skeleton2.default, { width: "80%", height: 16, borderRadius: 4 }),
|
|
11405
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(import_react_loading_skeleton2.default, { width: "60%", height: 14, borderRadius: 4 }),
|
|
11406
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(import_react_loading_skeleton2.default, { width: "40%", height: 14, borderRadius: 4 })
|
|
10876
11407
|
]
|
|
10877
11408
|
}
|
|
10878
11409
|
) })
|
|
@@ -10884,7 +11415,7 @@ var PackageCard = ({
|
|
|
10884
11415
|
const shouldShowOverlay = availabilityBadges == null ? void 0 : availabilityBadges.some(
|
|
10885
11416
|
(badge2) => badge2.showOverlay
|
|
10886
11417
|
);
|
|
10887
|
-
return /* @__PURE__ */ (0,
|
|
11418
|
+
return /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
|
|
10888
11419
|
Box_default,
|
|
10889
11420
|
{
|
|
10890
11421
|
position: "relative",
|
|
@@ -10893,7 +11424,7 @@ var PackageCard = ({
|
|
|
10893
11424
|
onClick,
|
|
10894
11425
|
...rest,
|
|
10895
11426
|
children: [
|
|
10896
|
-
/* @__PURE__ */ (0,
|
|
11427
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
|
|
10897
11428
|
Box_default,
|
|
10898
11429
|
{
|
|
10899
11430
|
position: "relative",
|
|
@@ -10901,7 +11432,7 @@ var PackageCard = ({
|
|
|
10901
11432
|
borderRadius: "var(--spacing-4)",
|
|
10902
11433
|
css: imageContainerStyles(orientation),
|
|
10903
11434
|
children: [
|
|
10904
|
-
availabilityBadges == null ? void 0 : availabilityBadges.map((badge2, index) => /* @__PURE__ */ (0,
|
|
11435
|
+
availabilityBadges == null ? void 0 : availabilityBadges.map((badge2, index) => /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10905
11436
|
AvailabilityBadge_default,
|
|
10906
11437
|
{
|
|
10907
11438
|
variant: badge2.variant,
|
|
@@ -10910,18 +11441,18 @@ var PackageCard = ({
|
|
|
10910
11441
|
},
|
|
10911
11442
|
`availability-${index}`
|
|
10912
11443
|
)),
|
|
10913
|
-
shouldShowOverlay && /* @__PURE__ */ (0,
|
|
10914
|
-
/* @__PURE__ */ (0,
|
|
11444
|
+
shouldShowOverlay && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Box_default, { css: overlayStyles }),
|
|
11445
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10915
11446
|
ScrollingCarousel,
|
|
10916
11447
|
{
|
|
10917
11448
|
showDots: images.length > 1,
|
|
10918
11449
|
showNavigationOnHover: true,
|
|
10919
11450
|
id: carouselId,
|
|
10920
|
-
children: images.filter((image) => !!image).map((image, index) => /* @__PURE__ */ (0,
|
|
11451
|
+
children: images.filter((image) => !!image).map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10921
11452
|
ScrollingCarouselStep,
|
|
10922
11453
|
{
|
|
10923
11454
|
parentId: carouselId,
|
|
10924
|
-
children: /* @__PURE__ */ (0,
|
|
11455
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10925
11456
|
Box_default,
|
|
10926
11457
|
{
|
|
10927
11458
|
width: "100%",
|
|
@@ -10939,7 +11470,7 @@ var PackageCard = ({
|
|
|
10939
11470
|
))
|
|
10940
11471
|
}
|
|
10941
11472
|
),
|
|
10942
|
-
onFavoriteClick && /* @__PURE__ */ (0,
|
|
11473
|
+
onFavoriteClick && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10943
11474
|
Box_default,
|
|
10944
11475
|
{
|
|
10945
11476
|
css: heartIconStyles,
|
|
@@ -10948,14 +11479,14 @@ var PackageCard = ({
|
|
|
10948
11479
|
e.stopPropagation();
|
|
10949
11480
|
onFavoriteClick == null ? void 0 : onFavoriteClick();
|
|
10950
11481
|
},
|
|
10951
|
-
children: isFavorited ? /* @__PURE__ */ (0,
|
|
11482
|
+
children: isFavorited ? /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10952
11483
|
Icon_default,
|
|
10953
11484
|
{
|
|
10954
11485
|
variant: "HeartSolid",
|
|
10955
11486
|
size: "small",
|
|
10956
11487
|
fill: "var(--color-error-500)"
|
|
10957
11488
|
}
|
|
10958
|
-
) : /* @__PURE__ */ (0,
|
|
11489
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10959
11490
|
Icon_default,
|
|
10960
11491
|
{
|
|
10961
11492
|
variant: "Heart",
|
|
@@ -10965,13 +11496,13 @@ var PackageCard = ({
|
|
|
10965
11496
|
)
|
|
10966
11497
|
}
|
|
10967
11498
|
),
|
|
10968
|
-
actions && actions.length > 0 && orientation === "vertical" && /* @__PURE__ */ (0,
|
|
11499
|
+
actions && actions.length > 0 && orientation === "vertical" && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Box_default, { css: actionMenuStyles, children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(ActionMenu_default, { actions }) })
|
|
10969
11500
|
]
|
|
10970
11501
|
}
|
|
10971
11502
|
),
|
|
10972
|
-
actions && actions.length > 0 && orientation === "horizontal" && /* @__PURE__ */ (0,
|
|
10973
|
-
/* @__PURE__ */ (0,
|
|
10974
|
-
/* @__PURE__ */ (0,
|
|
11503
|
+
actions && actions.length > 0 && orientation === "horizontal" && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Box_default, { css: actionMenuStyles, children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(ActionMenu_default, { actions }) }),
|
|
11504
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(Box_default, { css: contentContainerStyles(orientation, hasContentBackground), children: [
|
|
11505
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(
|
|
10975
11506
|
Box_default,
|
|
10976
11507
|
{
|
|
10977
11508
|
display: "flex",
|
|
@@ -10979,7 +11510,7 @@ var PackageCard = ({
|
|
|
10979
11510
|
gap: "var(--spacing-1)",
|
|
10980
11511
|
mb: "var(--spacing-1)",
|
|
10981
11512
|
children: [
|
|
10982
|
-
/* @__PURE__ */ (0,
|
|
11513
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
10983
11514
|
Text_default,
|
|
10984
11515
|
{
|
|
10985
11516
|
size: size === "xs" ? "sm" : "md",
|
|
@@ -10988,8 +11519,8 @@ var PackageCard = ({
|
|
|
10988
11519
|
children: title
|
|
10989
11520
|
}
|
|
10990
11521
|
) }),
|
|
10991
|
-
/* @__PURE__ */ (0,
|
|
10992
|
-
startingPrice && /* @__PURE__ */ (0,
|
|
11522
|
+
/* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Text_default, { size: size === "xs" ? "xs" : "sm", fontWeight: "bold", children: subtitle }) }),
|
|
11523
|
+
startingPrice && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime264.jsxs)(Text_default, { size: size === "xs" ? "xs" : "sm", fontWeight: "normal", children: [
|
|
10993
11524
|
"Starting Price ",
|
|
10994
11525
|
startingPrice,
|
|
10995
11526
|
" / Guest"
|
|
@@ -10997,14 +11528,14 @@ var PackageCard = ({
|
|
|
10997
11528
|
]
|
|
10998
11529
|
}
|
|
10999
11530
|
),
|
|
11000
|
-
badges && badges.length > 0 && size !== "xs" && /* @__PURE__ */ (0,
|
|
11531
|
+
badges && badges.length > 0 && size !== "xs" && /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
11001
11532
|
Box_default,
|
|
11002
11533
|
{
|
|
11003
11534
|
display: "flex",
|
|
11004
11535
|
gap: "var(--spacing-2) var(--spacing-4)",
|
|
11005
11536
|
alignItems: "center",
|
|
11006
11537
|
flexWrap: "wrap",
|
|
11007
|
-
children: badges.map((badge2, index) => /* @__PURE__ */ (0,
|
|
11538
|
+
children: badges.map((badge2, index) => /* @__PURE__ */ (0, import_jsx_runtime264.jsx)(
|
|
11008
11539
|
IconLabel_default,
|
|
11009
11540
|
{
|
|
11010
11541
|
iconSize: badge2.iconSize || "medium",
|
|
@@ -11023,14 +11554,14 @@ var PackageCard = ({
|
|
|
11023
11554
|
var PackageCard_default = PackageCard;
|
|
11024
11555
|
|
|
11025
11556
|
// src/PackageHeader/PackageHeader.tsx
|
|
11026
|
-
var
|
|
11557
|
+
var import_jsx_runtime265 = require("@emotion/react/jsx-runtime");
|
|
11027
11558
|
var PackageHeader = ({
|
|
11028
11559
|
header,
|
|
11029
11560
|
subheader,
|
|
11030
11561
|
features,
|
|
11031
11562
|
className
|
|
11032
11563
|
}) => {
|
|
11033
|
-
return /* @__PURE__ */ (0,
|
|
11564
|
+
return /* @__PURE__ */ (0, import_jsx_runtime265.jsxs)(
|
|
11034
11565
|
Box_default,
|
|
11035
11566
|
{
|
|
11036
11567
|
display: "flex",
|
|
@@ -11039,9 +11570,9 @@ var PackageHeader = ({
|
|
|
11039
11570
|
color: "var(--text-primary)",
|
|
11040
11571
|
className,
|
|
11041
11572
|
children: [
|
|
11042
|
-
/* @__PURE__ */ (0,
|
|
11043
|
-
subheader && /* @__PURE__ */ (0,
|
|
11044
|
-
features && /* @__PURE__ */ (0,
|
|
11573
|
+
/* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Heading_default, { size: "xs", fontWeight: "bold", children: header }),
|
|
11574
|
+
subheader && /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(Text_default, { children: subheader }),
|
|
11575
|
+
features && /* @__PURE__ */ (0, import_jsx_runtime265.jsx)(FeatureList_default, { items: features })
|
|
11045
11576
|
]
|
|
11046
11577
|
}
|
|
11047
11578
|
);
|
|
@@ -11049,8 +11580,8 @@ var PackageHeader = ({
|
|
|
11049
11580
|
var PackageHeader_default = PackageHeader;
|
|
11050
11581
|
|
|
11051
11582
|
// src/ReviewCard/components/ReviewImages.styles.ts
|
|
11052
|
-
var
|
|
11053
|
-
var imageStyles4 =
|
|
11583
|
+
var import_react76 = require("@emotion/react");
|
|
11584
|
+
var imageStyles4 = import_react76.css`
|
|
11054
11585
|
flex: 1;
|
|
11055
11586
|
min-width: 0;
|
|
11056
11587
|
max-width: 100%;
|
|
@@ -11061,13 +11592,13 @@ var imageStyles4 = import_react75.css`
|
|
|
11061
11592
|
`;
|
|
11062
11593
|
|
|
11063
11594
|
// src/ReviewCard/components/ReviewImages.tsx
|
|
11064
|
-
var
|
|
11595
|
+
var import_jsx_runtime266 = require("@emotion/react/jsx-runtime");
|
|
11065
11596
|
var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
11066
11597
|
const displayImages = images.slice(0, maxImages);
|
|
11067
11598
|
if (displayImages.length === 0) {
|
|
11068
11599
|
return null;
|
|
11069
11600
|
}
|
|
11070
|
-
return /* @__PURE__ */ (0,
|
|
11601
|
+
return /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(Box_default, { display: "flex", gap: "var(--spacing-2)", flexWrap: "wrap", children: displayImages.map((image, index) => /* @__PURE__ */ (0, import_jsx_runtime266.jsx)(
|
|
11071
11602
|
"img",
|
|
11072
11603
|
{
|
|
11073
11604
|
src: image,
|
|
@@ -11080,7 +11611,7 @@ var ReviewImages = ({ images, maxImages = 3 }) => {
|
|
|
11080
11611
|
var ReviewImages_default = ReviewImages;
|
|
11081
11612
|
|
|
11082
11613
|
// src/ReviewCard/components/ReviewReply.tsx
|
|
11083
|
-
var
|
|
11614
|
+
var import_jsx_runtime267 = require("@emotion/react/jsx-runtime");
|
|
11084
11615
|
var ReviewReply = ({
|
|
11085
11616
|
avatarSrc,
|
|
11086
11617
|
name,
|
|
@@ -11089,7 +11620,7 @@ var ReviewReply = ({
|
|
|
11089
11620
|
label,
|
|
11090
11621
|
rating
|
|
11091
11622
|
}) => {
|
|
11092
|
-
return /* @__PURE__ */ (0,
|
|
11623
|
+
return /* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(
|
|
11093
11624
|
Box_default,
|
|
11094
11625
|
{
|
|
11095
11626
|
backgroundColor: "var(--surface-neutral)",
|
|
@@ -11099,7 +11630,7 @@ var ReviewReply = ({
|
|
|
11099
11630
|
flexDirection: "column",
|
|
11100
11631
|
gap: "var(--spacing-3)",
|
|
11101
11632
|
children: [
|
|
11102
|
-
/* @__PURE__ */ (0,
|
|
11633
|
+
/* @__PURE__ */ (0, import_jsx_runtime267.jsxs)(
|
|
11103
11634
|
Box_default,
|
|
11104
11635
|
{
|
|
11105
11636
|
display: "flex",
|
|
@@ -11107,7 +11638,7 @@ var ReviewReply = ({
|
|
|
11107
11638
|
justifyContent: "space-between",
|
|
11108
11639
|
gap: "var(--spacing-2)",
|
|
11109
11640
|
children: [
|
|
11110
|
-
/* @__PURE__ */ (0,
|
|
11641
|
+
/* @__PURE__ */ (0, import_jsx_runtime267.jsx)(
|
|
11111
11642
|
UserCard_default,
|
|
11112
11643
|
{
|
|
11113
11644
|
avatarSrc,
|
|
@@ -11116,11 +11647,11 @@ var ReviewReply = ({
|
|
|
11116
11647
|
rating
|
|
11117
11648
|
}
|
|
11118
11649
|
),
|
|
11119
|
-
/* @__PURE__ */ (0,
|
|
11650
|
+
/* @__PURE__ */ (0, import_jsx_runtime267.jsx)(AvailabilityBadge_default, { variant: "neutral", children: label })
|
|
11120
11651
|
]
|
|
11121
11652
|
}
|
|
11122
11653
|
),
|
|
11123
|
-
/* @__PURE__ */ (0,
|
|
11654
|
+
/* @__PURE__ */ (0, import_jsx_runtime267.jsx)(Text_default, { children: content })
|
|
11124
11655
|
]
|
|
11125
11656
|
}
|
|
11126
11657
|
);
|
|
@@ -11128,7 +11659,7 @@ var ReviewReply = ({
|
|
|
11128
11659
|
var ReviewReply_default = ReviewReply;
|
|
11129
11660
|
|
|
11130
11661
|
// src/ReviewCard/ReviewCard.tsx
|
|
11131
|
-
var
|
|
11662
|
+
var import_jsx_runtime268 = require("@emotion/react/jsx-runtime");
|
|
11132
11663
|
var ReviewCard = ({
|
|
11133
11664
|
avatarSrc,
|
|
11134
11665
|
name,
|
|
@@ -11140,7 +11671,7 @@ var ReviewCard = ({
|
|
|
11140
11671
|
replies = [],
|
|
11141
11672
|
className
|
|
11142
11673
|
}) => {
|
|
11143
|
-
return /* @__PURE__ */ (0,
|
|
11674
|
+
return /* @__PURE__ */ (0, import_jsx_runtime268.jsxs)(
|
|
11144
11675
|
Box_default,
|
|
11145
11676
|
{
|
|
11146
11677
|
backgroundColor: "white",
|
|
@@ -11151,7 +11682,7 @@ var ReviewCard = ({
|
|
|
11151
11682
|
gap: "var(--spacing-4)",
|
|
11152
11683
|
className,
|
|
11153
11684
|
children: [
|
|
11154
|
-
/* @__PURE__ */ (0,
|
|
11685
|
+
/* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
|
|
11155
11686
|
UserCard_default,
|
|
11156
11687
|
{
|
|
11157
11688
|
avatarSrc,
|
|
@@ -11160,10 +11691,10 @@ var ReviewCard = ({
|
|
|
11160
11691
|
rating
|
|
11161
11692
|
}
|
|
11162
11693
|
),
|
|
11163
|
-
availabilityBadge && /* @__PURE__ */ (0,
|
|
11164
|
-
/* @__PURE__ */ (0,
|
|
11165
|
-
images.length > 0 && /* @__PURE__ */ (0,
|
|
11166
|
-
replies.length > 0 && /* @__PURE__ */ (0,
|
|
11694
|
+
availabilityBadge && /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(Box_default, { children: /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(AvailabilityBadge_default, { variant: availabilityBadge.variant, children: availabilityBadge.text }) }),
|
|
11695
|
+
/* @__PURE__ */ (0, import_jsx_runtime268.jsx)(Text_default, { size: "md", children: content }),
|
|
11696
|
+
images.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(ReviewImages_default, { images }),
|
|
11697
|
+
replies.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-3)", children: replies.map((reply, index) => /* @__PURE__ */ (0, import_jsx_runtime268.jsx)(
|
|
11167
11698
|
ReviewReply_default,
|
|
11168
11699
|
{
|
|
11169
11700
|
avatarSrc: reply.avatarSrc,
|
|
@@ -11182,12 +11713,12 @@ var ReviewCard = ({
|
|
|
11182
11713
|
var ReviewCard_default = ReviewCard;
|
|
11183
11714
|
|
|
11184
11715
|
// src/Reviews/Reviews.tsx
|
|
11185
|
-
var
|
|
11716
|
+
var import_react77 = require("@emotion/react");
|
|
11186
11717
|
|
|
11187
11718
|
// src/Reviews/components/ReviewItem.tsx
|
|
11188
|
-
var
|
|
11719
|
+
var import_jsx_runtime269 = require("@emotion/react/jsx-runtime");
|
|
11189
11720
|
var ReviewItem = ({ label, rating }) => {
|
|
11190
|
-
return /* @__PURE__ */ (0,
|
|
11721
|
+
return /* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(
|
|
11191
11722
|
Box_default,
|
|
11192
11723
|
{
|
|
11193
11724
|
display: "flex",
|
|
@@ -11195,10 +11726,10 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
11195
11726
|
alignItems: "center",
|
|
11196
11727
|
width: "100%",
|
|
11197
11728
|
children: [
|
|
11198
|
-
/* @__PURE__ */ (0,
|
|
11199
|
-
/* @__PURE__ */ (0,
|
|
11200
|
-
/* @__PURE__ */ (0,
|
|
11201
|
-
/* @__PURE__ */ (0,
|
|
11729
|
+
/* @__PURE__ */ (0, import_jsx_runtime269.jsx)(Text_default, { fontWeight: "semibold", children: label }),
|
|
11730
|
+
/* @__PURE__ */ (0, import_jsx_runtime269.jsxs)(Box_default, { display: "flex", alignItems: "center", gap: "var(--spacing-2)", children: [
|
|
11731
|
+
/* @__PURE__ */ (0, import_jsx_runtime269.jsx)(Icon_default, { variant: "StarSolid", size: "large", fill: "var(--surface-action-2)" }),
|
|
11732
|
+
/* @__PURE__ */ (0, import_jsx_runtime269.jsx)(Text_default, { fontWeight: "semibold", children: rating.toFixed(1) })
|
|
11202
11733
|
] })
|
|
11203
11734
|
]
|
|
11204
11735
|
}
|
|
@@ -11207,14 +11738,14 @@ var ReviewItem = ({ label, rating }) => {
|
|
|
11207
11738
|
var ReviewItem_default = ReviewItem;
|
|
11208
11739
|
|
|
11209
11740
|
// src/Reviews/Reviews.tsx
|
|
11210
|
-
var
|
|
11741
|
+
var import_jsx_runtime270 = require("@emotion/react/jsx-runtime");
|
|
11211
11742
|
var Reviews = ({
|
|
11212
11743
|
averageRating,
|
|
11213
11744
|
totalReviews,
|
|
11214
11745
|
items,
|
|
11215
11746
|
className
|
|
11216
11747
|
}) => {
|
|
11217
|
-
return /* @__PURE__ */ (0,
|
|
11748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
|
|
11218
11749
|
Box_default,
|
|
11219
11750
|
{
|
|
11220
11751
|
width: "100%",
|
|
@@ -11227,7 +11758,7 @@ var Reviews = ({
|
|
|
11227
11758
|
p: "var(--spacing-4)",
|
|
11228
11759
|
className,
|
|
11229
11760
|
children: [
|
|
11230
|
-
/* @__PURE__ */ (0,
|
|
11761
|
+
/* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(
|
|
11231
11762
|
Box_default,
|
|
11232
11763
|
{
|
|
11233
11764
|
display: "flex",
|
|
@@ -11235,12 +11766,12 @@ var Reviews = ({
|
|
|
11235
11766
|
alignItems: "center",
|
|
11236
11767
|
gap: "var(--spacing-2)",
|
|
11237
11768
|
children: [
|
|
11238
|
-
/* @__PURE__ */ (0,
|
|
11239
|
-
/* @__PURE__ */ (0,
|
|
11769
|
+
/* @__PURE__ */ (0, import_jsx_runtime270.jsx)(Heading_default, { size: "sm", fontWeight: "bold", color: "text-primary", children: averageRating.toFixed(1) }),
|
|
11770
|
+
/* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
|
|
11240
11771
|
StarRating_default,
|
|
11241
11772
|
{
|
|
11242
11773
|
rating: averageRating,
|
|
11243
|
-
css:
|
|
11774
|
+
css: import_react77.css`
|
|
11244
11775
|
> svg {
|
|
11245
11776
|
height: 40px;
|
|
11246
11777
|
width: 40px;
|
|
@@ -11248,7 +11779,7 @@ var Reviews = ({
|
|
|
11248
11779
|
`
|
|
11249
11780
|
}
|
|
11250
11781
|
),
|
|
11251
|
-
/* @__PURE__ */ (0,
|
|
11782
|
+
/* @__PURE__ */ (0, import_jsx_runtime270.jsxs)(Text_default, { size: "sm", color: "text-secondary", children: [
|
|
11252
11783
|
"Overall Rating \u2022 ",
|
|
11253
11784
|
totalReviews,
|
|
11254
11785
|
" Review",
|
|
@@ -11257,14 +11788,14 @@ var Reviews = ({
|
|
|
11257
11788
|
]
|
|
11258
11789
|
}
|
|
11259
11790
|
),
|
|
11260
|
-
/* @__PURE__ */ (0,
|
|
11791
|
+
/* @__PURE__ */ (0, import_jsx_runtime270.jsx)(
|
|
11261
11792
|
Box_default,
|
|
11262
11793
|
{
|
|
11263
11794
|
display: "flex",
|
|
11264
11795
|
flexDirection: "column",
|
|
11265
11796
|
gap: "var(--spacing-2)",
|
|
11266
11797
|
width: "100%",
|
|
11267
|
-
children: items.map((item, index) => /* @__PURE__ */ (0,
|
|
11798
|
+
children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime270.jsx)(ReviewItem_default, { label: item.label, rating: item.rating }, index))
|
|
11268
11799
|
}
|
|
11269
11800
|
)
|
|
11270
11801
|
]
|
|
@@ -11274,7 +11805,7 @@ var Reviews = ({
|
|
|
11274
11805
|
var Reviews_default = Reviews;
|
|
11275
11806
|
|
|
11276
11807
|
// src/Reviews/ReviewsShowcase.tsx
|
|
11277
|
-
var
|
|
11808
|
+
var import_jsx_runtime271 = require("@emotion/react/jsx-runtime");
|
|
11278
11809
|
var ReviewsShowcase = () => {
|
|
11279
11810
|
const sampleData = {
|
|
11280
11811
|
averageRating: 4,
|
|
@@ -11296,7 +11827,7 @@ var ReviewsShowcase = () => {
|
|
|
11296
11827
|
{ label: "Game Abundance", rating: 5 }
|
|
11297
11828
|
]
|
|
11298
11829
|
};
|
|
11299
|
-
return /* @__PURE__ */ (0,
|
|
11830
|
+
return /* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(
|
|
11300
11831
|
Box_default,
|
|
11301
11832
|
{
|
|
11302
11833
|
display: "flex",
|
|
@@ -11304,24 +11835,24 @@ var ReviewsShowcase = () => {
|
|
|
11304
11835
|
gap: "var(--spacing-8)",
|
|
11305
11836
|
p: "var(--spacing-6)",
|
|
11306
11837
|
children: [
|
|
11307
|
-
/* @__PURE__ */ (0,
|
|
11308
|
-
/* @__PURE__ */ (0,
|
|
11309
|
-
/* @__PURE__ */ (0,
|
|
11310
|
-
/* @__PURE__ */ (0,
|
|
11838
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Heading_default, { size: "lg", children: "Reviews Component Showcase" }),
|
|
11839
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
11840
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Heading_default, { size: "md", children: "Default Reviews" }),
|
|
11841
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Box_default, { maxWidth: "400px", children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Reviews_default, { ...sampleData }) })
|
|
11311
11842
|
] }),
|
|
11312
|
-
/* @__PURE__ */ (0,
|
|
11313
|
-
/* @__PURE__ */ (0,
|
|
11314
|
-
/* @__PURE__ */ (0,
|
|
11843
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
11844
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Heading_default, { size: "md", children: "High Rating Reviews" }),
|
|
11845
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Box_default, { maxWidth: "400px", children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Reviews_default, { ...highRatingData }) })
|
|
11315
11846
|
] }),
|
|
11316
|
-
/* @__PURE__ */ (0,
|
|
11317
|
-
/* @__PURE__ */ (0,
|
|
11318
|
-
/* @__PURE__ */ (0,
|
|
11847
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsxs)(Box_default, { display: "flex", flexDirection: "column", gap: "var(--spacing-4)", children: [
|
|
11848
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Heading_default, { size: "md", children: "Mobile Layout (320px width)" }),
|
|
11849
|
+
/* @__PURE__ */ (0, import_jsx_runtime271.jsx)(
|
|
11319
11850
|
Box_default,
|
|
11320
11851
|
{
|
|
11321
11852
|
maxWidth: "320px",
|
|
11322
11853
|
border: "1px solid var(--color-neutral-200)",
|
|
11323
11854
|
p: "var(--spacing-4)",
|
|
11324
|
-
children: /* @__PURE__ */ (0,
|
|
11855
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime271.jsx)(Reviews_default, { ...sampleData })
|
|
11325
11856
|
}
|
|
11326
11857
|
)
|
|
11327
11858
|
] })
|
|
@@ -11367,6 +11898,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
11367
11898
|
LayoutTokens,
|
|
11368
11899
|
ListingChat,
|
|
11369
11900
|
Logo,
|
|
11901
|
+
LottieAnimations,
|
|
11370
11902
|
MarkdownContent,
|
|
11371
11903
|
MessageBubble,
|
|
11372
11904
|
Modal,
|
|
@@ -11396,6 +11928,7 @@ var ReviewsShowcase_default = ReviewsShowcase;
|
|
|
11396
11928
|
WidgetPanel,
|
|
11397
11929
|
WidgetTrigger,
|
|
11398
11930
|
globalStyles,
|
|
11931
|
+
lottieAnimations,
|
|
11399
11932
|
styles,
|
|
11400
11933
|
useBottomDrawer,
|
|
11401
11934
|
useBottomDrawerHook
|