@atom63/ui-react 0.2.0-beta.14 → 0.2.0-beta.15

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.
Files changed (50) hide show
  1. package/dist/chunk-3LGXD3HE.js +450 -0
  2. package/dist/chunk-3LGXD3HE.js.map +1 -0
  3. package/dist/chunk-6HKGC3HE.js +3 -0
  4. package/dist/chunk-6HKGC3HE.js.map +1 -0
  5. package/dist/chunk-6VV4EBOO.js +25 -0
  6. package/dist/chunk-6VV4EBOO.js.map +1 -0
  7. package/dist/{chunk-IXWOWQBP.js → chunk-ALARPBUL.js} +5 -22
  8. package/dist/chunk-ALARPBUL.js.map +1 -0
  9. package/dist/chunk-FHL2NLXP.js +101 -0
  10. package/dist/chunk-FHL2NLXP.js.map +1 -0
  11. package/dist/chunk-HPUHI2YJ.js +69 -0
  12. package/dist/chunk-HPUHI2YJ.js.map +1 -0
  13. package/dist/chunk-QU33S646.js +118 -0
  14. package/dist/chunk-QU33S646.js.map +1 -0
  15. package/dist/components/art-plate/index.js +7 -0
  16. package/dist/components/art-plate/index.js.map +1 -0
  17. package/dist/components/layered-scene/index.js +7 -0
  18. package/dist/components/layered-scene/index.js.map +1 -0
  19. package/dist/components/segmented-control/index.js +1 -1
  20. package/dist/index.d.ts +89 -6
  21. package/dist/index.js +18 -13
  22. package/dist/media/index.d.ts +24 -3
  23. package/dist/media/index.js +9 -361
  24. package/dist/media/index.js.map +1 -1
  25. package/dist/media/media-lightbox/parts/index.js +2 -1
  26. package/dist/preview/index.js +4 -4
  27. package/dist/theme/index.d.ts +6 -2
  28. package/dist/theme/index.js +10 -1
  29. package/dist/theme/index.js.map +1 -1
  30. package/package.json +5 -3
  31. package/src/components/alert-dialog/alert-dialog.css +1 -1
  32. package/src/components/art-plate/art-plate.css +172 -0
  33. package/src/components/autocomplete/autocomplete.css +3 -3
  34. package/src/components/checkbox/checkbox.css +1 -1
  35. package/src/components/feedback-state/feedback-state.css +1 -1
  36. package/src/components/field/field.css +1 -1
  37. package/src/components/form/form.css +1 -1
  38. package/src/components/input/input.css +3 -3
  39. package/src/components/input-otp/input-otp.css +3 -3
  40. package/src/components/layered-scene/layered-scene.css +117 -0
  41. package/src/components/load-more-trigger/load-more-trigger.css +4 -2
  42. package/src/components/radio/radio.css +1 -1
  43. package/src/components/rating/rating.css +18 -17
  44. package/src/components/segmented-control/segmented-control.css +11 -11
  45. package/src/components/select/select.css +3 -3
  46. package/src/components/textarea/textarea.css +3 -3
  47. package/src/styles/recipes.css +2 -0
  48. package/dist/chunk-IXWOWQBP.js.map +0 -1
  49. package/dist/chunk-T7FUZUZO.js +0 -70
  50. package/dist/chunk-T7FUZUZO.js.map +0 -1
@@ -0,0 +1,450 @@
1
+ import { useReducedMotion } from './chunk-6VV4EBOO.js';
2
+ import { cn } from './chunk-AJLHJRK6.js';
3
+ import { motion } from 'motion/react';
4
+ import * as React from 'react';
5
+ import { memo, useRef, useEffect, useState, useCallback } from 'react';
6
+ import { jsx, jsxs } from 'react/jsx-runtime';
7
+
8
+ function useIntersectionObserver(options = {}) {
9
+ const {
10
+ threshold = 0.1,
11
+ root = null,
12
+ rootMargin = "50px",
13
+ // Load content 50px before it enters viewport
14
+ freezeOnceVisible = false
15
+ } = options;
16
+ const elementRef = useRef(null);
17
+ const [isIntersecting, setIsIntersecting] = useState(false);
18
+ useEffect(() => {
19
+ const element = elementRef.current;
20
+ if (!element) return;
21
+ const observer = new IntersectionObserver(
22
+ ([entry]) => {
23
+ const isElementIntersecting = entry.isIntersecting;
24
+ setIsIntersecting(isElementIntersecting);
25
+ if (isElementIntersecting && freezeOnceVisible) {
26
+ observer.unobserve(element);
27
+ }
28
+ },
29
+ { threshold, root, rootMargin }
30
+ );
31
+ observer.observe(element);
32
+ return () => {
33
+ observer.disconnect();
34
+ };
35
+ }, [threshold, root, rootMargin, freezeOnceVisible]);
36
+ return [elementRef, isIntersecting];
37
+ }
38
+
39
+ // src/media/hooks/use-lazy-media.ts
40
+ function useLazyMedia(options = {}) {
41
+ const {
42
+ rootMargin = "100px",
43
+ // Start loading 100px before entering viewport
44
+ threshold = 0.1,
45
+ enabled = true
46
+ } = options;
47
+ const [hasLoaded, setHasLoaded] = useState(!enabled);
48
+ const [elementRef, isIntersecting] = useIntersectionObserver({
49
+ rootMargin,
50
+ threshold,
51
+ freezeOnceVisible: true
52
+ // Once visible, stay loaded
53
+ });
54
+ const shouldLoad = isIntersecting || hasLoaded;
55
+ const markAsLoaded = useCallback(() => {
56
+ setHasLoaded(true);
57
+ }, []);
58
+ return {
59
+ ref: elementRef,
60
+ shouldLoad,
61
+ isIntersecting,
62
+ hasLoaded,
63
+ markAsLoaded
64
+ };
65
+ }
66
+ var MOBILE_BREAKPOINT = 768;
67
+ function useIsMobile() {
68
+ const [isMobile, setIsMobile] = React.useState(void 0);
69
+ React.useEffect(() => {
70
+ const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
71
+ const onChange = () => {
72
+ setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
73
+ };
74
+ mql.addEventListener("change", onChange);
75
+ setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
76
+ return () => mql.removeEventListener("change", onChange);
77
+ }, []);
78
+ return !!isMobile;
79
+ }
80
+ function Skeleton({ className }) {
81
+ return /* @__PURE__ */ jsx("div", { className: cn("animate-pulse rounded-md bg-muted", className) });
82
+ }
83
+ var animatedImagesCache = /* @__PURE__ */ new Set();
84
+ var IMAGE_REVEAL_INITIAL = { opacity: 0, scale: 1.02 };
85
+ var IMAGE_REVEAL_ANIMATE = { opacity: 1, scale: 1 };
86
+ var IMAGE_REVEAL_TRANSITION = {
87
+ duration: 0.4,
88
+ ease: [0.25, 0.46, 0.45, 0.94]
89
+ };
90
+ var clearImageAnimationCache = () => animatedImagesCache.clear();
91
+ var Image = ({ sizes, sources, srcSet, ...props }) => props.src && (srcSet || sources?.length) ? /* @__PURE__ */ jsx(ResponsiveImage, { ...props, sizes, sources, src: props.src, srcSet }) : /* @__PURE__ */ jsx(LoadedImage, { ...props });
92
+ var LoadedImage = ({
93
+ src,
94
+ alt,
95
+ className,
96
+ imageClassName,
97
+ aspectRatio = "16/9",
98
+ fallbackText = "No image provided",
99
+ errorText = "Failed to load image",
100
+ showSkeleton = true,
101
+ skeletonClassName,
102
+ containerClassName,
103
+ lazy = true,
104
+ rootMargin = "100px",
105
+ priority = false,
106
+ forceNoLazy = false,
107
+ onLoad,
108
+ onError,
109
+ decoding = "async",
110
+ fetchPriority = "auto",
111
+ ...props
112
+ }) => {
113
+ const [isLoading, setIsLoading] = useState(true);
114
+ const [hasError, setHasError] = useState(false);
115
+ const [imageSrc, setImageSrc] = useState(null);
116
+ const [imageDimensions, setImageDimensions] = useState(
117
+ null
118
+ );
119
+ const isMobile = useIsMobile();
120
+ const reducedMotion = useReducedMotion();
121
+ const shouldUseLazy = lazy && !priority && !forceNoLazy;
122
+ const { ref: lazyRef, shouldLoad } = useLazyMedia({
123
+ rootMargin: shouldUseLazy ? rootMargin : "0px",
124
+ // Reduce unnecessary triggering
125
+ enabled: shouldUseLazy
126
+ });
127
+ useEffect(() => {
128
+ if (!src) {
129
+ setHasError(true);
130
+ setIsLoading(false);
131
+ return;
132
+ }
133
+ if (!shouldUseLazy || shouldLoad) {
134
+ if (imageSrc === src) {
135
+ return;
136
+ }
137
+ setIsLoading(true);
138
+ setHasError(false);
139
+ const img = new window.Image();
140
+ if (decoding) {
141
+ img.decoding = decoding;
142
+ }
143
+ if (fetchPriority && "fetchPriority" in img) {
144
+ img.fetchPriority = fetchPriority;
145
+ }
146
+ const loadImage = () => {
147
+ if ("decode" in img && decoding === "async") {
148
+ img.decode().then(() => {
149
+ setImageSrc(src);
150
+ setImageDimensions({ width: img.naturalWidth, height: img.naturalHeight });
151
+ setIsLoading(false);
152
+ onLoad?.();
153
+ }).catch(() => {
154
+ setImageSrc(src);
155
+ setImageDimensions({ width: img.naturalWidth, height: img.naturalHeight });
156
+ setIsLoading(false);
157
+ onLoad?.();
158
+ });
159
+ } else {
160
+ img.onload = () => {
161
+ setImageSrc(src);
162
+ setImageDimensions({ width: img.naturalWidth, height: img.naturalHeight });
163
+ setIsLoading(false);
164
+ onLoad?.();
165
+ };
166
+ }
167
+ };
168
+ img.onerror = () => {
169
+ setIsLoading(false);
170
+ if (onError) {
171
+ onError();
172
+ return;
173
+ }
174
+ setHasError(true);
175
+ };
176
+ img.src = src;
177
+ loadImage();
178
+ }
179
+ }, [src, shouldUseLazy, shouldLoad, imageSrc, onLoad, onError, decoding, fetchPriority]);
180
+ const getAspectRatioClass = () => {
181
+ switch (aspectRatio) {
182
+ case "auto": {
183
+ if (isLoading && !imageDimensions) {
184
+ return "aspect-[4/3]";
185
+ }
186
+ return "";
187
+ }
188
+ case "fill": {
189
+ return "";
190
+ }
191
+ case "1/1": {
192
+ return "aspect-square";
193
+ }
194
+ case "4/3": {
195
+ return "aspect-[4/3]";
196
+ }
197
+ case "3/4": {
198
+ return "aspect-[3/4]";
199
+ }
200
+ case "16/9": {
201
+ return "aspect-video";
202
+ }
203
+ case "9/16": {
204
+ return "aspect-[9/16]";
205
+ }
206
+ case "2/3": {
207
+ return "aspect-[2/3]";
208
+ }
209
+ case "3/2": {
210
+ return "aspect-[3/2]";
211
+ }
212
+ case "5/4": {
213
+ return "aspect-[5/4]";
214
+ }
215
+ case "21/9": {
216
+ return "aspect-[21/9]";
217
+ }
218
+ case "9/21": {
219
+ return "aspect-[9/21]";
220
+ }
221
+ default: {
222
+ return "aspect-video";
223
+ }
224
+ }
225
+ };
226
+ if (!src) {
227
+ return /* @__PURE__ */ jsx(
228
+ "div",
229
+ {
230
+ className: cn(
231
+ "flex items-center justify-center bg-muted p-8",
232
+ getAspectRatioClass(),
233
+ containerClassName,
234
+ className
235
+ ),
236
+ ...props,
237
+ children: /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: fallbackText })
238
+ }
239
+ );
240
+ }
241
+ if (hasError) {
242
+ return /* @__PURE__ */ jsx(
243
+ "div",
244
+ {
245
+ className: cn(
246
+ "flex items-center justify-center bg-muted p-8",
247
+ getAspectRatioClass(),
248
+ containerClassName,
249
+ className
250
+ ),
251
+ ...props,
252
+ children: /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: errorText })
253
+ }
254
+ );
255
+ }
256
+ const aspectRatioStyle = aspectRatio === "auto" && imageDimensions ? { aspectRatio: `${imageDimensions.width} / ${imageDimensions.height}` } : void 0;
257
+ return /* @__PURE__ */ jsxs(
258
+ "div",
259
+ {
260
+ className: cn("relative", getAspectRatioClass(), className, containerClassName),
261
+ ref: shouldUseLazy ? lazyRef : void 0,
262
+ style: aspectRatioStyle,
263
+ ...props,
264
+ children: [
265
+ isLoading && showSkeleton && /* @__PURE__ */ jsx(Skeleton, { className: cn("absolute inset-0 h-full w-full", skeletonClassName) }),
266
+ imageSrc && /* @__PURE__ */ jsx(
267
+ ImageDisplay,
268
+ {
269
+ alt,
270
+ aspectRatio,
271
+ imageClassName,
272
+ imageDimensions,
273
+ imageSrc,
274
+ isMobile,
275
+ reducedMotion
276
+ }
277
+ )
278
+ ]
279
+ }
280
+ );
281
+ };
282
+ var ImageDisplayComponent = ({
283
+ imageSrc,
284
+ alt,
285
+ imageClassName,
286
+ aspectRatio,
287
+ imageDimensions,
288
+ isMobile,
289
+ reducedMotion
290
+ }) => {
291
+ const hasAnimatedBefore = animatedImagesCache.has(imageSrc);
292
+ const animationTimerRef = useRef(null);
293
+ useEffect(() => {
294
+ if (!hasAnimatedBefore) {
295
+ animationTimerRef.current = setTimeout(() => {
296
+ animatedImagesCache.add(imageSrc);
297
+ }, 500);
298
+ }
299
+ return () => {
300
+ if (animationTimerRef.current) {
301
+ clearTimeout(animationTimerRef.current);
302
+ }
303
+ };
304
+ }, [imageSrc, hasAnimatedBefore]);
305
+ const skipAnimation = hasAnimatedBefore || reducedMotion || isMobile;
306
+ if (aspectRatio === "auto") {
307
+ return skipAnimation ? /* @__PURE__ */ jsx(
308
+ "img",
309
+ {
310
+ alt: alt || "Image",
311
+ className: cn("h-auto w-full object-cover", imageClassName),
312
+ decoding: "async",
313
+ height: imageDimensions?.height ?? 600,
314
+ src: imageSrc,
315
+ style: { pointerEvents: "none" },
316
+ width: imageDimensions?.width ?? 800
317
+ }
318
+ ) : /* @__PURE__ */ jsx(
319
+ motion.img,
320
+ {
321
+ alt: alt || "Image",
322
+ animate: { opacity: 1, scale: 1 },
323
+ className: cn("h-auto w-full object-cover", imageClassName),
324
+ decoding: "async",
325
+ height: imageDimensions?.height ?? 600,
326
+ initial: IMAGE_REVEAL_INITIAL,
327
+ src: imageSrc,
328
+ style: { pointerEvents: "none" },
329
+ transition: IMAGE_REVEAL_TRANSITION,
330
+ width: imageDimensions?.width ?? 800
331
+ }
332
+ );
333
+ }
334
+ return /* @__PURE__ */ jsx("div", { "aria-label": alt || "Image", className: "absolute inset-0 overflow-hidden", role: "img", children: skipAnimation ? (
335
+ // Static for mobile/reduced motion/already animated - no animation conflicts
336
+ /* @__PURE__ */ jsx(
337
+ "div",
338
+ {
339
+ className: cn("absolute inset-0 bg-cover bg-center bg-no-repeat", imageClassName),
340
+ style: {
341
+ backgroundImage: `url("${imageSrc}")`,
342
+ pointerEvents: "none"
343
+ }
344
+ }
345
+ )
346
+ ) : (
347
+ // Framer Motion for desktop - but only animate on initial load
348
+ /* @__PURE__ */ jsx(
349
+ motion.div,
350
+ {
351
+ animate: IMAGE_REVEAL_ANIMATE,
352
+ className: cn("absolute inset-0 bg-cover bg-center bg-no-repeat", imageClassName),
353
+ initial: IMAGE_REVEAL_INITIAL,
354
+ style: {
355
+ backgroundImage: `url("${imageSrc}")`,
356
+ pointerEvents: "none"
357
+ },
358
+ transition: IMAGE_REVEAL_TRANSITION
359
+ }
360
+ )
361
+ ) });
362
+ };
363
+ var ImageDisplay = memo(ImageDisplayComponent, (prevProps, nextProps) => {
364
+ return prevProps.imageSrc === nextProps.imageSrc && prevProps.aspectRatio === nextProps.aspectRatio && prevProps.isMobile === nextProps.isMobile && prevProps.reducedMotion === nextProps.reducedMotion;
365
+ });
366
+ var ResponsiveImage = ({
367
+ src,
368
+ srcSet,
369
+ sizes,
370
+ sources,
371
+ alt,
372
+ aspectRatio = "16/9",
373
+ className,
374
+ containerClassName,
375
+ imageClassName,
376
+ lazy = true,
377
+ priority,
378
+ forceNoLazy,
379
+ fallbackText: _fallbackText,
380
+ rootMargin: _rootMargin,
381
+ decoding = "async",
382
+ fetchPriority = "auto",
383
+ errorText = "Failed to load image",
384
+ showSkeleton = true,
385
+ skeletonClassName,
386
+ onLoad,
387
+ onError,
388
+ style,
389
+ ...props
390
+ }) => {
391
+ const [isLoading, setIsLoading] = useState(true);
392
+ const [hasError, setHasError] = useState(false);
393
+ const natural = aspectRatio === "auto";
394
+ const ratioStyle = natural || aspectRatio === "fill" ? void 0 : { aspectRatio: aspectRatio.replace("/", " / ") };
395
+ return /* @__PURE__ */ jsxs(
396
+ "div",
397
+ {
398
+ className: cn("relative", !natural && "overflow-hidden", className, containerClassName),
399
+ style: { ...ratioStyle, ...style },
400
+ ...props,
401
+ children: [
402
+ isLoading && showSkeleton && !hasError && /* @__PURE__ */ jsx(Skeleton, { className: cn("absolute inset-0 h-full w-full", skeletonClassName) }),
403
+ hasError ? /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-muted p-8", children: /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: errorText }) }) : /* @__PURE__ */ jsxs("picture", { children: [
404
+ sources?.map((source) => /* @__PURE__ */ jsx(
405
+ "source",
406
+ {
407
+ media: source.media,
408
+ sizes: source.sizes,
409
+ srcSet: source.srcSet,
410
+ type: source.type
411
+ },
412
+ `${source.media ?? ""}|${source.type ?? ""}|${source.srcSet}`
413
+ )),
414
+ /* @__PURE__ */ jsx(
415
+ "img",
416
+ {
417
+ alt: alt ?? "",
418
+ className: cn(
419
+ natural ? "h-auto w-full" : "absolute inset-0 h-full w-full object-cover",
420
+ imageClassName
421
+ ),
422
+ decoding,
423
+ fetchPriority,
424
+ loading: lazy && !priority && !forceNoLazy ? "lazy" : "eager",
425
+ onError: () => {
426
+ setIsLoading(false);
427
+ if (onError) {
428
+ onError();
429
+ return;
430
+ }
431
+ setHasError(true);
432
+ },
433
+ onLoad: () => {
434
+ setIsLoading(false);
435
+ onLoad?.();
436
+ },
437
+ sizes,
438
+ src,
439
+ srcSet
440
+ }
441
+ )
442
+ ] })
443
+ ]
444
+ }
445
+ );
446
+ };
447
+
448
+ export { Image, clearImageAnimationCache };
449
+ //# sourceMappingURL=chunk-3LGXD3HE.js.map
450
+ //# sourceMappingURL=chunk-3LGXD3HE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/media/hooks/use-intersection-observer.ts","../src/media/hooks/use-lazy-media.ts","../src/media/hooks/use-mobile.ts","../src/media/image.tsx"],"names":["useState","useEffect","useRef"],"mappings":";;;;;;;AAQO,SAAS,uBAAA,CACd,OAAA,GAA0C,EAAC,EACL;AACtC,EAAA,MAAM;AAAA,IACJ,SAAA,GAAY,GAAA;AAAA,IACZ,IAAA,GAAO,IAAA;AAAA,IACP,UAAA,GAAa,MAAA;AAAA;AAAA,IACb,iBAAA,GAAoB;AAAA,GACtB,GAAI,OAAA;AAEJ,EAAA,MAAM,UAAA,GAAa,OAAU,IAAI,CAAA;AACjC,EAAA,MAAM,CAAC,cAAA,EAAgB,iBAAiB,CAAA,GAAI,SAAS,KAAK,CAAA;AAE1D,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,MAAM,UAAU,UAAA,CAAW,OAAA;AAE3B,IAAA,IAAI,CAAC,OAAA,EAAS;AAEd,IAAA,MAAM,WAAW,IAAI,oBAAA;AAAA,MACnB,CAAC,CAAC,KAAK,CAAA,KAAM;AACX,QAAA,MAAM,wBAAwB,KAAA,CAAM,cAAA;AAEpC,QAAA,iBAAA,CAAkB,qBAAqB,CAAA;AAEvC,QAAA,IAAI,yBAAyB,iBAAA,EAAmB;AAC9C,UAAA,QAAA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AAU,CAAA,EAC7D,CAAA,wBAEC,SAAA,EAAA,EACE,QAAA,EAAA;AAAA,UAAA,OAAA,EAAS,IAAI,CAAA,MAAA,qBACZ,GAAA;AAAA,YAAC,QAAA;AAAA,YAAA;AAAA,cAEC,OAAO,MAAA,CAAO,KAAA;AAAA,cACd,OAAO,MAAA,CAAO,KAAA;AAAA,cACd,QAAQ,MAAA,CAAO,MAAA;AAAA,cACf,MAAM,MAAA,CAAO;AAAA,aAAA;AAAA,YAJR,CAAA,EAAG,MAAA,CAAO,KAAA,IAAS,EAAE,CAAA,CAAA,EAAI,OAAO,IAAA,IAAQ,EAAE,CAAA,CAAA,EAAI,MAAA,CAAO,MAAM,CAAA;AAAA,WAMnE,CAAA;AAAA,0BACD,GAAA;AAAA,YAAC,KAAA;AAAA,YAAA;AAAA,cACC,KAAK,GAAA,IAAO,EAAA;AAAA,cACZ,SAAA,EAAW,EAAA;AAAA,gBACT,UAAU,eAAA,GAAkB,6CAAA;AAAA,gBAC5B;AAAA,eACF;AAAA,cACA,QAAA;AAAA,cACA,aAAA;AAAA,cACA,SAAS,IAAA,IAAQ,CAAC,QAAA,IAAY,CAAC,cAAc,MAAA,GAAS,OAAA;AAAA,cACtD,SAAS,MAAM;AACb,gBAAA,YAAA,CAAa,KAAK,CAAA;AAClB,gBAAA,IAAI,OAAA,EAAS;AACX,kBAAA,OAAA,EAAQ;AACR,kBAAA;AAAA,gBACF;AACA,gBAAA,WAAA,CAAY,IAAI,CAAA;AAAA,cAClB,CAAA;AAAA,cACA,QAAQ,MAAM;AACZ,gBAAA,YAAA,CAAa,KAAK,CAAA;AAClB,gBAAA,MAAA,IAAS;AAAA,cACX,CAAA;AAAA,cACA,KAAA;AAAA,cACA,GAAA;AAAA,cACA;AAAA;AAAA;AACF,SAAA,EACF;AAAA;AAAA;AAAA,GAEJ;AAEJ,CAAA","file":"chunk-3LGXD3HE.js","sourcesContent":["import { useEffect, useRef, useState } from 'react'\n\ninterface UseIntersectionObserverOptions extends IntersectionObserverInit {\n freezeOnceVisible?: boolean\n rootMargin?: string\n threshold?: number | number[]\n}\n\nexport function useIntersectionObserver<T extends HTMLElement = HTMLDivElement>(\n options: UseIntersectionObserverOptions = {}\n): [React.RefObject<T | null>, boolean] {\n const {\n threshold = 0.1,\n root = null,\n rootMargin = '50px', // Load content 50px before it enters viewport\n freezeOnceVisible = false,\n } = options\n\n const elementRef = useRef<T>(null)\n const [isIntersecting, setIsIntersecting] = useState(false)\n\n useEffect(() => {\n const element = elementRef.current\n\n if (!element) return\n\n const observer = new IntersectionObserver(\n ([entry]) => {\n const isElementIntersecting = entry.isIntersecting\n\n setIsIntersecting(isElementIntersecting)\n\n if (isElementIntersecting && freezeOnceVisible) {\n observer.unobserve(element)\n }\n },\n { threshold, root, rootMargin }\n )\n\n observer.observe(element)\n\n return () => {\n observer.disconnect()\n }\n }, [threshold, root, rootMargin, freezeOnceVisible])\n\n return [elementRef, isIntersecting]\n}\n","import { useCallback, useState } from 'react'\nimport { useIntersectionObserver } from './use-intersection-observer'\n\ninterface UseLazyMediaOptions {\n enabled?: boolean\n rootMargin?: string\n threshold?: number\n}\n\nexport function useLazyMedia(options: UseLazyMediaOptions = {}) {\n const {\n rootMargin = '100px', // Start loading 100px before entering viewport\n threshold = 0.1,\n enabled = true,\n } = options\n\n const [hasLoaded, setHasLoaded] = useState(!enabled) // If not enabled, consider it loaded\n const [elementRef, isIntersecting] = useIntersectionObserver<HTMLDivElement>({\n rootMargin,\n threshold,\n freezeOnceVisible: true, // Once visible, stay loaded\n })\n\n // Mark as loaded when intersecting for the first time\n const shouldLoad = isIntersecting || hasLoaded\n\n const markAsLoaded = useCallback(() => {\n setHasLoaded(true)\n }, [])\n\n return {\n ref: elementRef,\n shouldLoad,\n isIntersecting,\n hasLoaded,\n markAsLoaded,\n }\n}\n","import * as React from 'react'\n\nconst MOBILE_BREAKPOINT = 768\n\nexport function useIsMobile() {\n const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)\n\n React.useEffect(() => {\n const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`)\n const onChange = () => {\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)\n }\n mql.addEventListener('change', onChange)\n setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)\n return () => mql.removeEventListener('change', onChange)\n }, [])\n\n return !!isMobile\n}\n","import { motion } from 'motion/react'\nimport { memo, useEffect, useRef, useState } from 'react'\nimport { cn } from '../lib/cn'\nimport { useLazyMedia } from './hooks/use-lazy-media'\nimport { useIsMobile } from './hooks/use-mobile'\nimport { useReducedMotion } from './hooks/use-reduced-motion'\n\nfunction Skeleton({ className }: { className?: string }): React.ReactElement {\n return <div className={cn('animate-pulse rounded-md bg-muted', className)} />\n}\n\n// Module-level cache to track which images have been animated\n// This persists across component re-renders, remounts, and even window minimize/restore\n// Once an image fades in, it will never fade in again during the session\n// This prevents annoying re-animations when changing window focus or restoring minimized windows\nconst animatedImagesCache = new Set<string>()\n\n/** Shared fade-in transition for image reveal — hoisted to avoid\n * creating a new object on every render of ImageDisplay. */\nconst IMAGE_REVEAL_INITIAL = { opacity: 0, scale: 1.02 } as const\nconst IMAGE_REVEAL_ANIMATE = { opacity: 1, scale: 1 } as const\nconst IMAGE_REVEAL_TRANSITION = {\n duration: 0.4,\n ease: [0.25, 0.46, 0.45, 0.94],\n} as const\n\n// Optional: Export function to clear cache if needed (e.g., on route change)\nexport const clearImageAnimationCache = () => animatedImagesCache.clear()\n\n// Supported aspect ratios for the Image component\nexport type AspectRatio =\n | 'auto'\n | 'fill'\n | '1/1'\n | '4/3'\n | '3/4'\n | '16/9'\n | '9/16'\n | '2/3'\n | '3/2'\n | '5/4'\n | '21/9'\n | '9/21'\n\n/** One art-directed `<source>` of a responsive image. */\nexport interface ImageSource {\n /** Media query that selects this source, such as `(max-width: 767px)`. */\n media?: string\n sizes?: string\n srcSet: string\n /** MIME type, such as `image/avif`. */\n type?: string\n}\n\nexport interface ImageProps extends React.HTMLAttributes<HTMLDivElement> {\n alt?: string\n aspectRatio?: AspectRatio\n className?: string\n containerClassName?: string\n decoding?: 'async' | 'sync' | 'auto' // Image decoding hint for browser\n errorText?: string\n fallbackText?: string\n fetchPriority?: 'high' | 'low' | 'auto' // Fetch priority hint\n forceNoLazy?: boolean // Force disable lazy loading (for UI components)\n imageClassName?: string\n lazy?: boolean\n onLoad?: () => void // Callback when image loads successfully\n onError?: () => void // Callback when image fails (parent can swap src / fallback)\n priority?: boolean // Disable lazy loading for above-the-fold images\n rootMargin?: string\n showSkeleton?: boolean\n skeletonClassName?: string\n /**\n * Layout width of the image for the browser to pick a `srcSet` candidate,\n * such as `100vw`. Used with `srcSet` or `sources`.\n */\n sizes?: string\n /**\n * Art-directed sources, tried in order before `src`. Passing `sources` or\n * `srcSet` renders a native `<picture>`/`<img>` with native lazy loading.\n */\n sources?: ImageSource[]\n src?: string\n /** Width candidates for `src`, such as `plate-960.webp 960w, plate-1920.webp 1920w`. */\n srcSet?: string\n}\n\nexport const Image = ({ sizes, sources, srcSet, ...props }: ImageProps) =>\n props.src && (srcSet || sources?.length) ? (\n <ResponsiveImage {...props} sizes={sizes} sources={sources} src={props.src} srcSet={srcSet} />\n ) : (\n <LoadedImage {...props} />\n )\n\n/** The JS-preloaded path: one `src`, revealed once it has decoded. */\nconst LoadedImage = ({\n src,\n alt,\n className,\n imageClassName,\n aspectRatio = '16/9',\n fallbackText = 'No image provided',\n errorText = 'Failed to load image',\n showSkeleton = true,\n skeletonClassName,\n containerClassName,\n lazy = true,\n rootMargin = '100px',\n priority = false,\n forceNoLazy = false,\n onLoad,\n onError,\n decoding = 'async',\n fetchPriority = 'auto',\n ...props\n}: Omit<ImageProps, 'sizes' | 'sources' | 'srcSet'>) => {\n const [isLoading, setIsLoading] = useState(true)\n const [hasError, setHasError] = useState(false)\n const [imageSrc, setImageSrc] = useState<string | null>(null)\n const [imageDimensions, setImageDimensions] = useState<{ width: number; height: number } | null>(\n null\n )\n const isMobile = useIsMobile()\n const reducedMotion = useReducedMotion()\n\n // Lazy by default. `priority` (above the fold) and `forceNoLazy` (the caller\n // knows the element is never observable — zero-sized, clipped, or already\n // warmed by its own preload) are the only opt-outs.\n const shouldUseLazy = lazy && !priority && !forceNoLazy\n const { ref: lazyRef, shouldLoad } = useLazyMedia({\n rootMargin: shouldUseLazy ? rootMargin : '0px', // Reduce unnecessary triggering\n enabled: shouldUseLazy,\n })\n\n useEffect(() => {\n if (!src) {\n setHasError(true)\n setIsLoading(false)\n return\n }\n\n // Only load image if lazy loading is disabled or if it should load\n // Don't reset states if image is already loaded to prevent flashing\n if (!shouldUseLazy || shouldLoad) {\n if (imageSrc === src) {\n return // Already loaded this image\n }\n\n setIsLoading(true)\n setHasError(false)\n // Don't reset imageSrc to null to prevent flash\n\n const img = new window.Image()\n\n // Set decoding attribute for async image decoding\n if (decoding) {\n img.decoding = decoding\n }\n\n // Set fetchpriority for resource prioritization (Chrome/Edge)\n if (fetchPriority && 'fetchPriority' in img) {\n ;(img as HTMLImageElement & { fetchPriority: string }).fetchPriority = fetchPriority\n }\n\n // Use decode() API for better performance (non-blocking)\n const loadImage = () => {\n if ('decode' in img && decoding === 'async') {\n img\n .decode()\n .then(() => {\n setImageSrc(src)\n setImageDimensions({ width: img.naturalWidth, height: img.naturalHeight })\n setIsLoading(false)\n onLoad?.()\n })\n .catch(() => {\n // decode() failed, fall back to regular onload\n setImageSrc(src)\n setImageDimensions({ width: img.naturalWidth, height: img.naturalHeight })\n setIsLoading(false)\n onLoad?.()\n })\n } else {\n // Fallback for browsers without decode() or sync decoding\n img.onload = () => {\n setImageSrc(src)\n setImageDimensions({ width: img.naturalWidth, height: img.naturalHeight })\n setIsLoading(false)\n onLoad?.()\n }\n }\n }\n\n img.onerror = () => {\n setIsLoading(false)\n // Let the parent swap `src` (e.g. fallback chain) without flashing error UI\n if (onError) {\n onError()\n return\n }\n setHasError(true)\n }\n\n img.src = src\n loadImage()\n }\n }, [src, shouldUseLazy, shouldLoad, imageSrc, onLoad, onError, decoding, fetchPriority])\n\n // Get aspect ratio class based on prop\n const getAspectRatioClass = () => {\n switch (aspectRatio) {\n case 'auto': {\n // Use 4/3 as fallback while loading to prevent skeleton collapse\n // Once loaded, natural dimensions will be used via inline style\n if (isLoading && !imageDimensions) {\n return 'aspect-[4/3]'\n }\n return '' // No aspect ratio constraint - use natural dimensions\n }\n case 'fill': {\n return ''\n }\n case '1/1': {\n return 'aspect-square'\n }\n case '4/3': {\n return 'aspect-[4/3]'\n }\n case '3/4': {\n return 'aspect-[3/4]'\n }\n case '16/9': {\n return 'aspect-video'\n }\n case '9/16': {\n return 'aspect-[9/16]'\n }\n case '2/3': {\n return 'aspect-[2/3]'\n }\n case '3/2': {\n return 'aspect-[3/2]'\n }\n case '5/4': {\n return 'aspect-[5/4]'\n }\n case '21/9': {\n return 'aspect-[21/9]'\n }\n case '9/21': {\n return 'aspect-[9/21]'\n }\n default: {\n return 'aspect-video'\n }\n }\n }\n\n if (!src) {\n return (\n <div\n className={cn(\n 'flex items-center justify-center bg-muted p-8',\n getAspectRatioClass(),\n containerClassName,\n className\n )}\n {...props}\n >\n <span className=\"text-sm text-muted-foreground\">{fallbackText}</span>\n </div>\n )\n }\n\n if (hasError) {\n return (\n <div\n className={cn(\n 'flex items-center justify-center bg-muted p-8',\n getAspectRatioClass(),\n containerClassName,\n className\n )}\n {...props}\n >\n <span className=\"text-sm text-muted-foreground\">{errorText}</span>\n </div>\n )\n }\n\n // Calculate inline aspect ratio style for 'auto' mode when dimensions are known\n const aspectRatioStyle =\n aspectRatio === 'auto' && imageDimensions\n ? { aspectRatio: `${imageDimensions.width} / ${imageDimensions.height}` }\n : undefined\n\n return (\n <div\n className={cn('relative', getAspectRatioClass(), className, containerClassName)}\n ref={shouldUseLazy ? lazyRef : undefined}\n style={aspectRatioStyle}\n {...props}\n >\n {isLoading && showSkeleton && (\n <Skeleton className={cn('absolute inset-0 h-full w-full', skeletonClassName)} />\n )}\n {imageSrc && (\n <ImageDisplay\n alt={alt}\n aspectRatio={aspectRatio}\n imageClassName={imageClassName}\n imageDimensions={imageDimensions}\n imageSrc={imageSrc}\n isMobile={isMobile}\n reducedMotion={reducedMotion}\n />\n )}\n </div>\n )\n}\n\n// Separate component to reduce complexity\ninterface ImageDisplayProps {\n alt?: string\n aspectRatio: AspectRatio\n imageClassName?: string\n imageDimensions: { width: number; height: number } | null\n imageSrc: string\n isMobile: boolean\n reducedMotion: boolean\n}\n\nconst ImageDisplayComponent = ({\n imageSrc,\n alt,\n imageClassName,\n aspectRatio,\n imageDimensions,\n isMobile,\n reducedMotion,\n}: ImageDisplayProps) => {\n // Check if this image has already been animated using module-level cache\n const hasAnimatedBefore = animatedImagesCache.has(imageSrc)\n const animationTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null)\n\n useEffect(() => {\n // If not animated before, mark it as animated after the animation duration\n if (!hasAnimatedBefore) {\n animationTimerRef.current = setTimeout(() => {\n animatedImagesCache.add(imageSrc)\n }, 500) // Match animation duration\n }\n\n return () => {\n if (animationTimerRef.current) {\n clearTimeout(animationTimerRef.current)\n }\n }\n }, [imageSrc, hasAnimatedBefore])\n\n // Determine if we should skip animation\n // Skip if: already animated before, reduced motion enabled, or on mobile\n const skipAnimation = hasAnimatedBefore || reducedMotion || isMobile\n\n // For auto aspect ratio, use native img element for natural sizing\n if (aspectRatio === 'auto') {\n return skipAnimation ? (\n <img\n alt={alt || 'Image'}\n className={cn('h-auto w-full object-cover', imageClassName)}\n decoding=\"async\"\n height={imageDimensions?.height ?? 600}\n src={imageSrc}\n style={{ pointerEvents: 'none' }}\n width={imageDimensions?.width ?? 800}\n />\n ) : (\n <motion.img\n alt={alt || 'Image'}\n animate={{ opacity: 1, scale: 1 }}\n className={cn('h-auto w-full object-cover', imageClassName)}\n decoding=\"async\"\n height={imageDimensions?.height ?? 600}\n initial={IMAGE_REVEAL_INITIAL}\n src={imageSrc}\n style={{ pointerEvents: 'none' }}\n transition={IMAGE_REVEAL_TRANSITION}\n width={imageDimensions?.width ?? 800}\n />\n )\n }\n\n // For fixed aspect ratios, use background image approach\n return (\n <div aria-label={alt || 'Image'} className=\"absolute inset-0 overflow-hidden\" role=\"img\">\n {skipAnimation ? (\n // Static for mobile/reduced motion/already animated - no animation conflicts\n <div\n className={cn('absolute inset-0 bg-cover bg-center bg-no-repeat', imageClassName)}\n style={{\n backgroundImage: `url(\"${imageSrc}\")`,\n pointerEvents: 'none',\n }}\n />\n ) : (\n // Framer Motion for desktop - but only animate on initial load\n <motion.div\n animate={IMAGE_REVEAL_ANIMATE}\n className={cn('absolute inset-0 bg-cover bg-center bg-no-repeat', imageClassName)}\n initial={IMAGE_REVEAL_INITIAL}\n style={{\n backgroundImage: `url(\"${imageSrc}\")`,\n pointerEvents: 'none',\n }}\n transition={IMAGE_REVEAL_TRANSITION}\n />\n )}\n </div>\n )\n}\n\n// Memoize ImageDisplay to prevent re-renders when parent re-renders\nconst ImageDisplay = memo(ImageDisplayComponent, (prevProps, nextProps) => {\n // Only re-render if imageSrc actually changed\n return (\n prevProps.imageSrc === nextProps.imageSrc &&\n prevProps.aspectRatio === nextProps.aspectRatio &&\n prevProps.isMobile === nextProps.isMobile &&\n prevProps.reducedMotion === nextProps.reducedMotion\n )\n})\n\ntype ResponsiveImageProps = ImageProps & { src: string }\n\n/**\n * The native path for `srcSet` and `sources`: a `<picture>` the browser\n * resolves itself, so the right candidate loads, and the image can be the\n * page's LCP element. `lazy` maps to `loading=\"lazy\"`.\n */\nconst ResponsiveImage = ({\n src,\n srcSet,\n sizes,\n sources,\n alt,\n aspectRatio = '16/9',\n className,\n containerClassName,\n imageClassName,\n lazy = true,\n priority,\n forceNoLazy,\n fallbackText: _fallbackText,\n rootMargin: _rootMargin,\n decoding = 'async',\n fetchPriority = 'auto',\n errorText = 'Failed to load image',\n showSkeleton = true,\n skeletonClassName,\n onLoad,\n onError,\n style,\n ...props\n}: ResponsiveImageProps) => {\n const [isLoading, setIsLoading] = useState(true)\n const [hasError, setHasError] = useState(false)\n const natural = aspectRatio === 'auto'\n const ratioStyle =\n natural || aspectRatio === 'fill' ? undefined : { aspectRatio: aspectRatio.replace('/', ' / ') }\n\n return (\n <div\n className={cn('relative', !natural && 'overflow-hidden', className, containerClassName)}\n style={{ ...ratioStyle, ...style }}\n {...props}\n >\n {isLoading && showSkeleton && !hasError && (\n <Skeleton className={cn('absolute inset-0 h-full w-full', skeletonClassName)} />\n )}\n {hasError ? (\n <div className=\"absolute inset-0 flex items-center justify-center bg-muted p-8\">\n <span className=\"text-sm text-muted-foreground\">{errorText}</span>\n </div>\n ) : (\n <picture>\n {sources?.map(source => (\n <source\n key={`${source.media ?? ''}|${source.type ?? ''}|${source.srcSet}`}\n media={source.media}\n sizes={source.sizes}\n srcSet={source.srcSet}\n type={source.type}\n />\n ))}\n <img\n alt={alt ?? ''}\n className={cn(\n natural ? 'h-auto w-full' : 'absolute inset-0 h-full w-full object-cover',\n imageClassName\n )}\n decoding={decoding}\n fetchPriority={fetchPriority}\n loading={lazy && !priority && !forceNoLazy ? 'lazy' : 'eager'}\n onError={() => {\n setIsLoading(false)\n if (onError) {\n onError()\n return\n }\n setHasError(true)\n }}\n onLoad={() => {\n setIsLoading(false)\n onLoad?.()\n }}\n sizes={sizes}\n src={src}\n srcSet={srcSet}\n />\n </picture>\n )}\n </div>\n )\n}\n\n// Export a default version for easier imports\nexport default Image\n"]}
@@ -0,0 +1,3 @@
1
+
2
+ //# sourceMappingURL=chunk-6HKGC3HE.js.map
3
+ //# sourceMappingURL=chunk-6HKGC3HE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-6HKGC3HE.js"}
@@ -0,0 +1,25 @@
1
+ import { useState, useEffect } from 'react';
2
+
3
+ // src/media/hooks/use-reduced-motion.ts
4
+ function useReducedMotion() {
5
+ const [prefersReducedMotion, setPrefersReducedMotion] = useState(false);
6
+ useEffect(() => {
7
+ if (typeof window === "undefined" || typeof window.matchMedia !== "function") {
8
+ return;
9
+ }
10
+ const mediaQuery = window.matchMedia("(prefers-reduced-motion: reduce)");
11
+ setPrefersReducedMotion(mediaQuery.matches);
12
+ const handleChange = (event) => {
13
+ setPrefersReducedMotion(event.matches);
14
+ };
15
+ mediaQuery.addEventListener("change", handleChange);
16
+ return () => {
17
+ mediaQuery.removeEventListener("change", handleChange);
18
+ };
19
+ }, []);
20
+ return prefersReducedMotion;
21
+ }
22
+
23
+ export { useReducedMotion };
24
+ //# sourceMappingURL=chunk-6VV4EBOO.js.map
25
+ //# sourceMappingURL=chunk-6VV4EBOO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/media/hooks/use-reduced-motion.ts"],"names":[],"mappings":";;;AAEO,SAAS,gBAAA,GAA4B;AAC1C,EAAA,MAAM,CAAC,oBAAA,EAAsB,uBAAuB,CAAA,GAAI,SAAS,KAAK,CAAA;AAEtE,EAAA,SAAA,CAAU,MAAM;AAGd,IAAA,IAAI,OAAO,MAAA,KAAW,WAAA,IAAe,OAAO,MAAA,CAAO,eAAe,UAAA,EAAY;AAC5E,MAAA;AAAA,IACF;AAEA,IAAA,MAAM,UAAA,GAAa,MAAA,CAAO,UAAA,CAAW,kCAAkC,CAAA;AAGvE,IAAA,uBAAA,CAAwB,WAAW,OAAO,CAAA;AAG1C,IAAA,MAAM,YAAA,GAAe,CAAC,KAAA,KAA+B;AACnD,MAAA,uBAAA,CAAwB,MAAM,OAAO,CAAA;AAAA,IACvC,CAAA;AAEA,IAAA,UAAA,CAAW,gBAAA,CAAiB,UAAU,YAAY,CAAA;AAElD,IAAA,OAAO,MAAM;AACX,MAAA,UAAA,CAAW,mBAAA,CAAoB,UAAU,YAAY,CAAA;AAAA,IACvD,CAAA;AAAA,EACF,CAAA,EAAG,EAAE,CAAA;AAEL,EAAA,OAAO,oBAAA;AACT","file":"chunk-6VV4EBOO.js","sourcesContent":["import { useEffect, useState } from 'react'\n\nexport function useReducedMotion(): boolean {\n const [prefersReducedMotion, setPrefersReducedMotion] = useState(false)\n\n useEffect(() => {\n // Not every host provides matchMedia (older jsdom, some embedded views).\n // Treating that as \"no preference\" is safer than throwing on mount.\n if (typeof window === 'undefined' || typeof window.matchMedia !== 'function') {\n return\n }\n\n const mediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)')\n\n // Set initial value\n setPrefersReducedMotion(mediaQuery.matches)\n\n // Listen for changes\n const handleChange = (event: MediaQueryListEvent) => {\n setPrefersReducedMotion(event.matches)\n }\n\n mediaQuery.addEventListener('change', handleChange)\n\n return () => {\n mediaQuery.removeEventListener('change', handleChange)\n }\n }, [])\n\n return prefersReducedMotion\n}\n"]}
@@ -1,7 +1,8 @@
1
1
  import { DestinationLink, DestinationIndicator } from './chunk-IPU75YIQ.js';
2
+ import { useReducedMotion } from './chunk-6VV4EBOO.js';
2
3
  import { usePortalContainer } from './chunk-WKORZULQ.js';
3
4
  import { cn } from './chunk-AJLHJRK6.js';
4
- import { createContext, useContext, useState, useEffect, useMemo, useRef, useCallback, Children, useLayoutEffect, createElement } from 'react';
5
+ import { createContext, useContext, useState, useMemo, useRef, useCallback, useEffect, Children, useLayoutEffect, createElement } from 'react';
5
6
  import { flushSync, createPortal } from 'react-dom';
6
7
  import { AnimatePresence, motion, motionValue, usePresence, animate } from 'motion/react';
7
8
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -38,24 +39,6 @@ function useLightboxRefs() {
38
39
  }
39
40
  return refs;
40
41
  }
41
- function useReducedMotion() {
42
- const [prefersReducedMotion, setPrefersReducedMotion] = useState(false);
43
- useEffect(() => {
44
- if (typeof window === "undefined" || typeof window.matchMedia !== "function") {
45
- return;
46
- }
47
- const mediaQuery = window.matchMedia("(prefers-reduced-motion: reduce)");
48
- setPrefersReducedMotion(mediaQuery.matches);
49
- const handleChange = (event) => {
50
- setPrefersReducedMotion(event.matches);
51
- };
52
- mediaQuery.addEventListener("change", handleChange);
53
- return () => {
54
- mediaQuery.removeEventListener("change", handleChange);
55
- };
56
- }, []);
57
- return prefersReducedMotion;
58
- }
59
42
 
60
43
  // src/media/media-lightbox/labels.ts
61
44
  var DEFAULT_MEDIA_LIGHTBOX_LABELS = {
@@ -3047,6 +3030,6 @@ var Lightbox = {
3047
3030
  ZoomOut: LightboxZoomOut
3048
3031
  };
3049
3032
 
3050
- export { AXIS_LOCK_THRESHOLD, CHROME_EXIT_OFFSET, CHROME_IN, CHROME_OUT, DEFAULT_MEDIA_LIGHTBOX_LABELS, Lightbox, LightboxAppearanceToggle, LightboxBackdrop, LightboxCaption, LightboxClose, LightboxContent, LightboxCounter, LightboxDestination, LightboxFrame, LightboxMedia, LightboxNext, LightboxPortal, LightboxPrevious, LightboxRoot, LightboxSlide, LightboxSlides, LightboxStatus, LightboxThumbnail, LightboxThumbnails, LightboxViewport, LightboxZoom, LightboxZoomIn, LightboxZoomOut, preferCheapMediaTransition, revealOrigin, runMediaViewTransition, supportsViewTransitions, useLightboxConfig, useLightboxRefs, useLightboxSlide, useLightboxState, useOptionalLightboxConfig, useReducedMotion };
3051
- //# sourceMappingURL=chunk-IXWOWQBP.js.map
3052
- //# sourceMappingURL=chunk-IXWOWQBP.js.map
3033
+ export { AXIS_LOCK_THRESHOLD, CHROME_EXIT_OFFSET, CHROME_IN, CHROME_OUT, DEFAULT_MEDIA_LIGHTBOX_LABELS, Lightbox, LightboxAppearanceToggle, LightboxBackdrop, LightboxCaption, LightboxClose, LightboxContent, LightboxCounter, LightboxDestination, LightboxFrame, LightboxMedia, LightboxNext, LightboxPortal, LightboxPrevious, LightboxRoot, LightboxSlide, LightboxSlides, LightboxStatus, LightboxThumbnail, LightboxThumbnails, LightboxViewport, LightboxZoom, LightboxZoomIn, LightboxZoomOut, preferCheapMediaTransition, revealOrigin, runMediaViewTransition, supportsViewTransitions, useLightboxConfig, useLightboxRefs, useLightboxSlide, useLightboxState, useOptionalLightboxConfig };
3034
+ //# sourceMappingURL=chunk-ALARPBUL.js.map
3035
+ //# sourceMappingURL=chunk-ALARPBUL.js.map