@atom63/ui-react 0.2.0-beta.1 → 0.2.0-beta.3

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.
@@ -0,0 +1,2667 @@
1
+ import { Button, ScrollArea } from './chunk-NFEMEDV3.js';
2
+ import { usePortalContainer } from './chunk-UPPHQLZ2.js';
3
+ import { cn } from './chunk-AJLHJRK6.js';
4
+ import { AlertDialog as AlertDialog$1 } from '@base-ui/react/alert-dialog';
5
+ export { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog';
6
+ import { jsx, jsxs } from 'react/jsx-runtime';
7
+ import { Autocomplete as Autocomplete$1 } from '@base-ui/react/autocomplete';
8
+ export { Autocomplete as AutocompletePrimitive } from '@base-ui/react/autocomplete';
9
+ import { inputContract, avatarContract, separatorContract, buttonGroupContract, cardContract, textareaContract, selectContract, sheetContract } from '@atom63/ui-foundation';
10
+ import { Avatar as Avatar$1 } from '@base-ui/react/avatar';
11
+ export { Avatar as AvatarPrimitive } from '@base-ui/react/avatar';
12
+ import { Separator as Separator$1 } from '@base-ui/react/separator';
13
+ export { Separator as SeparatorPrimitive } from '@base-ui/react/separator';
14
+ import * as React2 from 'react';
15
+ import { useRef, useState, useCallback, useEffect } from 'react';
16
+ import { mergeProps } from '@base-ui/react/merge-props';
17
+ import { useRender } from '@base-ui/react/use-render';
18
+ import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
19
+ export { Dialog as DialogPrimitive, Dialog as SheetPrimitive } from '@base-ui/react/dialog';
20
+ import { Input as Input$1 } from '@base-ui/react/input';
21
+ export { Input as InputPrimitive } from '@base-ui/react/input';
22
+ import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-menu';
23
+ import { ChevronDown, ChevronLeft, ChevronRight, ChevronsUpDown, ChevronUp, Check, X } from 'lucide-react';
24
+ import { Progress as Progress$1 } from '@base-ui/react/progress';
25
+ export { Progress as ProgressPrimitive } from '@base-ui/react/progress';
26
+ import { Select as Select$1 } from '@base-ui/react/select';
27
+ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
28
+ export { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
29
+
30
+ var AlertDialogCreateHandle = AlertDialog$1.createHandle;
31
+ var AlertDialog = AlertDialog$1.Root;
32
+ function AlertDialogPortal(props) {
33
+ return /* @__PURE__ */ jsx(AlertDialog$1.Portal, { "data-slot": "alert-dialog-portal", ...props });
34
+ }
35
+ function AlertDialogTrigger({
36
+ className,
37
+ ...props
38
+ }) {
39
+ return /* @__PURE__ */ jsx(
40
+ AlertDialog$1.Trigger,
41
+ {
42
+ className: cn("a63-AlertDialog-trigger", className),
43
+ "data-slot": "alert-dialog-trigger",
44
+ ...props
45
+ }
46
+ );
47
+ }
48
+ function AlertDialogBackdrop({
49
+ className,
50
+ ...props
51
+ }) {
52
+ return /* @__PURE__ */ jsx(
53
+ AlertDialog$1.Backdrop,
54
+ {
55
+ className: cn("a63-AlertDialog-backdrop", className),
56
+ "data-slot": "alert-dialog-backdrop",
57
+ ...props
58
+ }
59
+ );
60
+ }
61
+ function AlertDialogViewport({
62
+ className,
63
+ ...props
64
+ }) {
65
+ return /* @__PURE__ */ jsx(
66
+ AlertDialog$1.Viewport,
67
+ {
68
+ className: cn("a63-AlertDialog-viewport", className),
69
+ "data-slot": "alert-dialog-viewport",
70
+ ...props
71
+ }
72
+ );
73
+ }
74
+ function AlertDialogPopup({
75
+ className,
76
+ bottomStickOnMobile = true,
77
+ portalProps,
78
+ size = "default",
79
+ variant = "default",
80
+ ...props
81
+ }) {
82
+ return /* @__PURE__ */ jsxs(AlertDialogPortal, { ...portalProps, children: [
83
+ /* @__PURE__ */ jsx(AlertDialogBackdrop, {}),
84
+ /* @__PURE__ */ jsx(AlertDialogViewport, { "data-stick-bottom": bottomStickOnMobile ? "" : void 0, children: /* @__PURE__ */ jsx(
85
+ AlertDialog$1.Popup,
86
+ {
87
+ className: cn("a63-AlertDialog-popup", className),
88
+ "data-size": size,
89
+ "data-slot": "alert-dialog-popup",
90
+ "data-stick-bottom": bottomStickOnMobile ? "" : void 0,
91
+ "data-variant": variant,
92
+ ...props
93
+ }
94
+ ) })
95
+ ] });
96
+ }
97
+ function AlertDialogHeader({
98
+ className,
99
+ ...props
100
+ }) {
101
+ return /* @__PURE__ */ jsx(
102
+ "div",
103
+ {
104
+ className: cn("a63-AlertDialog-header", className),
105
+ "data-slot": "alert-dialog-header",
106
+ ...props
107
+ }
108
+ );
109
+ }
110
+ function AlertDialogFooter({
111
+ className,
112
+ variant = "default",
113
+ ...props
114
+ }) {
115
+ return /* @__PURE__ */ jsx(
116
+ "div",
117
+ {
118
+ className: cn("a63-AlertDialog-footer", className),
119
+ "data-slot": "alert-dialog-footer",
120
+ "data-variant": variant,
121
+ ...props
122
+ }
123
+ );
124
+ }
125
+ function AlertDialogMedia({
126
+ className,
127
+ ...props
128
+ }) {
129
+ return /* @__PURE__ */ jsx(
130
+ "div",
131
+ {
132
+ className: cn("a63-AlertDialog-media", className),
133
+ "data-slot": "alert-dialog-media",
134
+ ...props
135
+ }
136
+ );
137
+ }
138
+ function AlertDialogTitle({
139
+ className,
140
+ ...props
141
+ }) {
142
+ return /* @__PURE__ */ jsx(
143
+ AlertDialog$1.Title,
144
+ {
145
+ className: cn("a63-AlertDialog-title", className),
146
+ "data-slot": "alert-dialog-title",
147
+ ...props
148
+ }
149
+ );
150
+ }
151
+ function AlertDialogDescription({
152
+ className,
153
+ ...props
154
+ }) {
155
+ return /* @__PURE__ */ jsx(
156
+ AlertDialog$1.Description,
157
+ {
158
+ className: cn("a63-AlertDialog-description", className),
159
+ "data-slot": "alert-dialog-description",
160
+ ...props
161
+ }
162
+ );
163
+ }
164
+ function AlertDialogClose(props) {
165
+ return /* @__PURE__ */ jsx(AlertDialog$1.Close, { "data-slot": "alert-dialog-close", ...props });
166
+ }
167
+ function AlertDialogAction({
168
+ className,
169
+ variant = "default",
170
+ size = "md",
171
+ ...props
172
+ }) {
173
+ return /* @__PURE__ */ jsx(
174
+ AlertDialog$1.Close,
175
+ {
176
+ className: cn(className),
177
+ "data-slot": "alert-dialog-action",
178
+ render: /* @__PURE__ */ jsx(Button, { size, variant }),
179
+ ...props
180
+ }
181
+ );
182
+ }
183
+ function AlertDialogCancel({
184
+ className,
185
+ variant = "ghost",
186
+ size = "md",
187
+ ...props
188
+ }) {
189
+ return /* @__PURE__ */ jsx(
190
+ AlertDialog$1.Close,
191
+ {
192
+ className: cn(className),
193
+ "data-slot": "alert-dialog-cancel",
194
+ render: /* @__PURE__ */ jsx(Button, { size, variant }),
195
+ ...props
196
+ }
197
+ );
198
+ }
199
+ var Autocomplete = Autocomplete$1.Root;
200
+ function ChevronsUpDownIcon() {
201
+ return /* @__PURE__ */ jsx("svg", { "aria-hidden": true, fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", children: /* @__PURE__ */ jsx(
202
+ "path",
203
+ {
204
+ d: "M5 6.5 8 3.5 11 6.5M5 9.5l3 3 3-3",
205
+ stroke: "currentColor",
206
+ strokeLinecap: "round",
207
+ strokeLinejoin: "round",
208
+ strokeWidth: "1.5"
209
+ }
210
+ ) });
211
+ }
212
+ function CloseIcon() {
213
+ return /* @__PURE__ */ jsx("svg", { "aria-hidden": true, fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", children: /* @__PURE__ */ jsx(
214
+ "path",
215
+ {
216
+ d: "m4 4 8 8M12 4l-8 8",
217
+ stroke: "currentColor",
218
+ strokeLinecap: "round",
219
+ strokeLinejoin: "round",
220
+ strokeWidth: "1.5"
221
+ }
222
+ ) });
223
+ }
224
+ function AutocompleteInput({
225
+ className,
226
+ clearProps,
227
+ showClear = false,
228
+ showTrigger = false,
229
+ size,
230
+ startAddon,
231
+ triggerProps,
232
+ ...props
233
+ }) {
234
+ const sizeValue = size ?? "default";
235
+ const dataSize = typeof sizeValue === "number" ? void 0 : sizeValue;
236
+ const nativeSize = typeof sizeValue === "number" ? sizeValue : void 0;
237
+ return /* @__PURE__ */ jsxs(
238
+ Autocomplete$1.InputGroup,
239
+ {
240
+ className: "a63-Autocomplete-input-group",
241
+ "data-size": dataSize,
242
+ "data-slot": "autocomplete-input-group",
243
+ children: [
244
+ startAddon ? /* @__PURE__ */ jsx(
245
+ "div",
246
+ {
247
+ "aria-hidden": "true",
248
+ className: "a63-Autocomplete-start-addon",
249
+ "data-slot": "autocomplete-start-addon",
250
+ children: startAddon
251
+ }
252
+ ) : null,
253
+ /* @__PURE__ */ jsx(
254
+ Autocomplete$1.Input,
255
+ {
256
+ className: cn("a63-Autocomplete-input", className),
257
+ "data-has-start-addon": startAddon ? "" : void 0,
258
+ "data-slot": "autocomplete-input",
259
+ size: nativeSize,
260
+ ...props
261
+ }
262
+ ),
263
+ showTrigger ? /* @__PURE__ */ jsx(
264
+ AutocompleteTrigger,
265
+ {
266
+ className: cn("a63-Autocomplete-adornment", triggerProps?.className),
267
+ ...triggerProps,
268
+ children: /* @__PURE__ */ jsx(Autocomplete$1.Icon, { "data-slot": "autocomplete-icon", children: /* @__PURE__ */ jsx(ChevronsUpDownIcon, {}) })
269
+ }
270
+ ) : null,
271
+ showClear ? /* @__PURE__ */ jsx(
272
+ AutocompleteClear,
273
+ {
274
+ className: cn("a63-Autocomplete-adornment", clearProps?.className),
275
+ ...clearProps,
276
+ children: /* @__PURE__ */ jsx(CloseIcon, {})
277
+ }
278
+ ) : null
279
+ ]
280
+ }
281
+ );
282
+ }
283
+ function AutocompletePopup({
284
+ align = "start",
285
+ alignOffset,
286
+ anchor,
287
+ children,
288
+ className,
289
+ portalProps,
290
+ side = "bottom",
291
+ sideOffset = 4,
292
+ ...props
293
+ }) {
294
+ return /* @__PURE__ */ jsx(Autocomplete$1.Portal, { ...portalProps, children: /* @__PURE__ */ jsx(
295
+ Autocomplete$1.Positioner,
296
+ {
297
+ align,
298
+ alignOffset,
299
+ anchor,
300
+ className: "a63-Autocomplete-positioner",
301
+ "data-slot": "autocomplete-positioner",
302
+ side,
303
+ sideOffset,
304
+ children: /* @__PURE__ */ jsx("span", { className: "a63-Autocomplete-surface a63-Menu-popup", children: /* @__PURE__ */ jsx(
305
+ Autocomplete$1.Popup,
306
+ {
307
+ className: cn("a63-Autocomplete-popup", className),
308
+ "data-slot": "autocomplete-popup",
309
+ ...props,
310
+ children
311
+ }
312
+ ) })
313
+ }
314
+ ) });
315
+ }
316
+ function AutocompleteItem({
317
+ children,
318
+ className,
319
+ ...props
320
+ }) {
321
+ return /* @__PURE__ */ jsx(
322
+ Autocomplete$1.Item,
323
+ {
324
+ className: cn("a63-Menu-item", "a63-Autocomplete-item", className),
325
+ "data-slot": "autocomplete-item",
326
+ ...props,
327
+ children
328
+ }
329
+ );
330
+ }
331
+ function AutocompleteSeparator({
332
+ className,
333
+ ...props
334
+ }) {
335
+ return /* @__PURE__ */ jsx(
336
+ Autocomplete$1.Separator,
337
+ {
338
+ className: cn("a63-Menu-separator", "a63-Autocomplete-separator", className),
339
+ "data-slot": "autocomplete-separator",
340
+ ...props
341
+ }
342
+ );
343
+ }
344
+ function AutocompleteGroup({
345
+ className,
346
+ ...props
347
+ }) {
348
+ return /* @__PURE__ */ jsx(
349
+ Autocomplete$1.Group,
350
+ {
351
+ className: cn("a63-Autocomplete-group", className),
352
+ "data-slot": "autocomplete-group",
353
+ ...props
354
+ }
355
+ );
356
+ }
357
+ function AutocompleteGroupLabel({
358
+ className,
359
+ ...props
360
+ }) {
361
+ return /* @__PURE__ */ jsx(
362
+ Autocomplete$1.GroupLabel,
363
+ {
364
+ className: cn("a63-Menu-label", "a63-Autocomplete-group-label", className),
365
+ "data-slot": "autocomplete-group-label",
366
+ ...props
367
+ }
368
+ );
369
+ }
370
+ function AutocompleteEmpty({
371
+ className,
372
+ ...props
373
+ }) {
374
+ return /* @__PURE__ */ jsx(
375
+ Autocomplete$1.Empty,
376
+ {
377
+ className: cn("a63-Autocomplete-empty", className),
378
+ "data-slot": "autocomplete-empty",
379
+ ...props
380
+ }
381
+ );
382
+ }
383
+ function AutocompleteRow({
384
+ className,
385
+ ...props
386
+ }) {
387
+ return /* @__PURE__ */ jsx(
388
+ Autocomplete$1.Row,
389
+ {
390
+ className: cn("a63-Autocomplete-row", className),
391
+ "data-slot": "autocomplete-row",
392
+ ...props
393
+ }
394
+ );
395
+ }
396
+ function AutocompleteValue({
397
+ ...props
398
+ }) {
399
+ return /* @__PURE__ */ jsx(Autocomplete$1.Value, { "data-slot": "autocomplete-value", ...props });
400
+ }
401
+ function AutocompleteList({
402
+ className,
403
+ ...props
404
+ }) {
405
+ return /* @__PURE__ */ jsx(ScrollArea, { scrollFade: true, scrollbarGutter: true, children: /* @__PURE__ */ jsx(
406
+ Autocomplete$1.List,
407
+ {
408
+ className: cn("a63-Autocomplete-list", className),
409
+ "data-slot": "autocomplete-list",
410
+ ...props
411
+ }
412
+ ) });
413
+ }
414
+ function AutocompleteClear({
415
+ children,
416
+ className,
417
+ ...props
418
+ }) {
419
+ return /* @__PURE__ */ jsx(
420
+ Autocomplete$1.Clear,
421
+ {
422
+ className: cn("a63-Autocomplete-adornment", className),
423
+ "data-slot": "autocomplete-clear",
424
+ ...props,
425
+ children: children ?? /* @__PURE__ */ jsx(CloseIcon, {})
426
+ }
427
+ );
428
+ }
429
+ function AutocompleteStatus({
430
+ className,
431
+ ...props
432
+ }) {
433
+ return /* @__PURE__ */ jsx(
434
+ Autocomplete$1.Status,
435
+ {
436
+ className: cn("a63-Autocomplete-status", className),
437
+ "data-slot": "autocomplete-status",
438
+ ...props
439
+ }
440
+ );
441
+ }
442
+ function AutocompleteCollection({
443
+ ...props
444
+ }) {
445
+ return /* @__PURE__ */ jsx(Autocomplete$1.Collection, { "data-slot": "autocomplete-collection", ...props });
446
+ }
447
+ function AutocompleteTrigger({
448
+ children,
449
+ className,
450
+ ...props
451
+ }) {
452
+ return /* @__PURE__ */ jsx(
453
+ Autocomplete$1.Trigger,
454
+ {
455
+ className,
456
+ "data-slot": "autocomplete-trigger",
457
+ ...props,
458
+ children
459
+ }
460
+ );
461
+ }
462
+ var useAutocompleteFilter = Autocomplete$1.useFilter;
463
+ function Avatar({
464
+ className,
465
+ size = avatarContract.defaultSize,
466
+ ...props
467
+ }) {
468
+ return /* @__PURE__ */ jsx(
469
+ Avatar$1.Root,
470
+ {
471
+ className: cn("a63-Avatar", className),
472
+ "data-size": size,
473
+ "data-slot": "avatar",
474
+ ...props
475
+ }
476
+ );
477
+ }
478
+ function AvatarImage({
479
+ className,
480
+ ...props
481
+ }) {
482
+ return /* @__PURE__ */ jsx(
483
+ Avatar$1.Image,
484
+ {
485
+ className: cn("a63-Avatar-image", className),
486
+ "data-slot": "avatar-image",
487
+ ...props
488
+ }
489
+ );
490
+ }
491
+ function AvatarFallback({
492
+ className,
493
+ ...props
494
+ }) {
495
+ return /* @__PURE__ */ jsx(
496
+ Avatar$1.Fallback,
497
+ {
498
+ className: cn("a63-Avatar-fallback", className),
499
+ "data-slot": "avatar-fallback",
500
+ ...props
501
+ }
502
+ );
503
+ }
504
+ function AvatarBadge({
505
+ className,
506
+ ...props
507
+ }) {
508
+ return /* @__PURE__ */ jsx("span", { className: cn("a63-Avatar-badge", className), "data-slot": "avatar-badge", ...props });
509
+ }
510
+ function AvatarGroup({
511
+ className,
512
+ ...props
513
+ }) {
514
+ return /* @__PURE__ */ jsx("div", { className: cn("a63-Avatar-group", className), "data-slot": "avatar-group", ...props });
515
+ }
516
+ function AvatarGroupCount({
517
+ className,
518
+ ...props
519
+ }) {
520
+ return /* @__PURE__ */ jsx(
521
+ "div",
522
+ {
523
+ className: cn("a63-Avatar-group-count", className),
524
+ "data-slot": "avatar-group-count",
525
+ ...props
526
+ }
527
+ );
528
+ }
529
+ function Separator({
530
+ className,
531
+ decorative = false,
532
+ orientation = separatorContract.defaultOrientation,
533
+ variant = separatorContract.defaultVariant,
534
+ ...props
535
+ }) {
536
+ return /* @__PURE__ */ jsx(
537
+ Separator$1,
538
+ {
539
+ ...decorative ? { "aria-hidden": true, role: "presentation" } : {},
540
+ className: cn("a63-Separator", className),
541
+ "data-slot": "separator",
542
+ "data-variant": variant,
543
+ orientation,
544
+ ...props
545
+ }
546
+ );
547
+ }
548
+ var ButtonGroupContext = React2.createContext(false);
549
+ function ButtonGroupProvider({
550
+ children
551
+ }) {
552
+ return /* @__PURE__ */ jsx(ButtonGroupContext.Provider, { value: true, children });
553
+ }
554
+ function useButtonGroupContext() {
555
+ return React2.useContext(ButtonGroupContext);
556
+ }
557
+ function ButtonGroup({
558
+ className,
559
+ orientation = buttonGroupContract.defaultOrientation,
560
+ size = buttonGroupContract.defaultSize,
561
+ ...props
562
+ }) {
563
+ return /* @__PURE__ */ jsx(ButtonGroupProvider, { children: /* @__PURE__ */ jsx(
564
+ "div",
565
+ {
566
+ className: cn("a63-ButtonGroup", className),
567
+ "data-orientation": orientation,
568
+ "data-size": size,
569
+ "data-slot": "button-group",
570
+ role: "group",
571
+ ...props
572
+ }
573
+ ) });
574
+ }
575
+ function ButtonGroupText({
576
+ className,
577
+ render,
578
+ ...props
579
+ }) {
580
+ return useRender({
581
+ defaultTagName: "div",
582
+ props: mergeProps({ className: cn("a63-ButtonGroup-text", className) }, props, {
583
+ "data-slot": "button-group-text"
584
+ }),
585
+ render,
586
+ state: {
587
+ slot: "button-group-text"
588
+ }
589
+ });
590
+ }
591
+ function ButtonGroupSeparator({
592
+ className,
593
+ orientation = "vertical",
594
+ ...props
595
+ }) {
596
+ return /* @__PURE__ */ jsx(
597
+ Separator,
598
+ {
599
+ className: cn("a63-ButtonGroup-separator", className),
600
+ "data-slot": "button-group-separator",
601
+ orientation,
602
+ ...props
603
+ }
604
+ );
605
+ }
606
+ function paddingAttrs(padding, fallback) {
607
+ if (typeof padding === "object") {
608
+ return {
609
+ "data-padding": padding.base ?? fallback,
610
+ ...padding.sm ? { "data-padding-sm": padding.sm } : {}
611
+ };
612
+ }
613
+ return { "data-padding": padding };
614
+ }
615
+ function Card({
616
+ className,
617
+ render,
618
+ variant = cardContract.defaultVariant,
619
+ padding,
620
+ ...props
621
+ }) {
622
+ const resolvedPadding = padding ?? (variant === "overlay" ? "none" : "md");
623
+ const defaultProps = {
624
+ className: cn("a63-Card", className),
625
+ "data-slot": "card",
626
+ "data-variant": variant,
627
+ "data-padding": resolvedPadding
628
+ };
629
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
630
+ }
631
+ function CardHeader({
632
+ className,
633
+ render,
634
+ padding = "md",
635
+ ...props
636
+ }) {
637
+ const defaultProps = {
638
+ className: cn("a63-Card-header", className),
639
+ "data-slot": "card-header",
640
+ "data-padding": padding
641
+ };
642
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
643
+ }
644
+ function CardLabel({
645
+ className,
646
+ render,
647
+ ...props
648
+ }) {
649
+ const defaultProps = { className: cn("a63-Card-label", className), "data-slot": "card-label" };
650
+ return useRender({
651
+ defaultTagName: "span",
652
+ props: mergeProps(defaultProps, props),
653
+ render
654
+ });
655
+ }
656
+ function CardMedia({
657
+ className,
658
+ render,
659
+ aspectRatio,
660
+ hoverScale = true,
661
+ style,
662
+ ...props
663
+ }) {
664
+ const defaultProps = {
665
+ className: cn("a63-Card-media", className),
666
+ "data-slot": "card-media",
667
+ ...hoverScale ? { "data-hover-scale": "" } : {},
668
+ style: aspectRatio ? { aspectRatio, ...style } : style
669
+ };
670
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
671
+ }
672
+ function CardMediaOverlay({
673
+ className,
674
+ render,
675
+ aspectRatio,
676
+ style,
677
+ ...props
678
+ }) {
679
+ const defaultProps = {
680
+ className: cn("a63-Card-media-overlay", className),
681
+ "data-slot": "card-media-overlay",
682
+ ...aspectRatio ? { "data-aspect": "" } : {},
683
+ style: aspectRatio ? { aspectRatio, ...style } : style
684
+ };
685
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
686
+ }
687
+ function CardMediaOverlayImage({
688
+ className,
689
+ render,
690
+ ...props
691
+ }) {
692
+ const defaultProps = {
693
+ className: cn("a63-Card-media-overlay-image", className),
694
+ "data-slot": "card-media-overlay-image"
695
+ };
696
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
697
+ }
698
+ function CardMediaOverlayScrim({
699
+ className,
700
+ render,
701
+ ...props
702
+ }) {
703
+ const defaultProps = {
704
+ className: cn("a63-Card-media-overlay-scrim", className),
705
+ "data-slot": "card-media-overlay-scrim"
706
+ };
707
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
708
+ }
709
+ function CardMediaOverlayTopRight({
710
+ className,
711
+ render,
712
+ ...props
713
+ }) {
714
+ const defaultProps = {
715
+ className: cn("a63-Card-media-overlay-top-right", className),
716
+ "data-slot": "card-media-overlay-top-right"
717
+ };
718
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
719
+ }
720
+ function CardMediaOverlayBottom({
721
+ className,
722
+ render,
723
+ ...props
724
+ }) {
725
+ const defaultProps = {
726
+ className: cn("a63-Card-media-overlay-bottom", className),
727
+ "data-slot": "card-media-overlay-bottom"
728
+ };
729
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
730
+ }
731
+ function CardMediaOverlayIconButton({
732
+ className,
733
+ render,
734
+ ...props
735
+ }) {
736
+ const defaultProps = {
737
+ className: cn("a63-Card-media-overlay-icon-button", className),
738
+ "data-slot": "card-media-overlay-icon-button"
739
+ };
740
+ return useRender({
741
+ defaultTagName: "span",
742
+ props: mergeProps(defaultProps, props),
743
+ render
744
+ });
745
+ }
746
+ function CardContent({
747
+ className,
748
+ render,
749
+ padding = "md",
750
+ ...props
751
+ }) {
752
+ const defaultProps = {
753
+ className: cn("a63-Card-content", className),
754
+ "data-slot": "card-content",
755
+ ...paddingAttrs(padding, "md")
756
+ };
757
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
758
+ }
759
+ function CardTitle({
760
+ className,
761
+ render,
762
+ lineClamp = 2,
763
+ ...props
764
+ }) {
765
+ const defaultProps = {
766
+ className: cn("a63-Card-title", className),
767
+ "data-slot": "card-title",
768
+ ...lineClamp ? { "data-line-clamp": String(lineClamp) } : {}
769
+ };
770
+ return useRender({
771
+ defaultTagName: "span",
772
+ props: mergeProps(defaultProps, props),
773
+ render
774
+ });
775
+ }
776
+ function CardDescription({
777
+ className,
778
+ render,
779
+ lineClamp = 3,
780
+ ...props
781
+ }) {
782
+ const defaultProps = {
783
+ className: cn("a63-Card-description", className),
784
+ "data-slot": "card-description",
785
+ ...lineClamp ? { "data-line-clamp": String(lineClamp) } : {}
786
+ };
787
+ return useRender({
788
+ defaultTagName: "span",
789
+ props: mergeProps(defaultProps, props),
790
+ render
791
+ });
792
+ }
793
+ function CardTags({
794
+ className,
795
+ render,
796
+ ...props
797
+ }) {
798
+ const defaultProps = { className: cn("a63-Card-tags", className), "data-slot": "card-tags" };
799
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
800
+ }
801
+ function CardFooter({
802
+ className,
803
+ render,
804
+ padding = "md",
805
+ ...props
806
+ }) {
807
+ const defaultProps = {
808
+ className: cn("a63-Card-footer", className),
809
+ "data-slot": "card-footer",
810
+ ...paddingAttrs(padding, "md")
811
+ };
812
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
813
+ }
814
+ function CardAction({
815
+ className,
816
+ render,
817
+ ...props
818
+ }) {
819
+ const defaultProps = { className: cn("a63-Card-action", className), "data-slot": "card-action" };
820
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
821
+ }
822
+ function CardCursorLabel({
823
+ className,
824
+ render,
825
+ ...props
826
+ }) {
827
+ const defaultProps = {
828
+ className: cn("a63-Card-cursor-label", className),
829
+ "data-slot": "card-cursor-label"
830
+ };
831
+ return useRender({ defaultTagName: "div", props: mergeProps(defaultProps, props), render });
832
+ }
833
+ var cardLinkClassName = "a63-CardLink";
834
+ function useCardCursor(options = {}) {
835
+ const { onMove } = options;
836
+ const ref = useRef(null);
837
+ const rectRef = useRef(null);
838
+ const [active, setActive] = useState(false);
839
+ const apply = useCallback(
840
+ (clientX, clientY) => {
841
+ const rect = rectRef.current;
842
+ if (!rect) {
843
+ return;
844
+ }
845
+ const x = clientX - rect.left;
846
+ const y = clientY - rect.top;
847
+ if (onMove) {
848
+ onMove({ x, y });
849
+ return;
850
+ }
851
+ const el = ref.current;
852
+ if (el) {
853
+ el.style.setProperty("--a63-card-cursor-x", `${x}px`);
854
+ el.style.setProperty("--a63-card-cursor-y", `${y}px`);
855
+ }
856
+ },
857
+ [onMove]
858
+ );
859
+ const onPointerEnter = useCallback(
860
+ (event) => {
861
+ if (!ref.current) {
862
+ return;
863
+ }
864
+ rectRef.current = ref.current.getBoundingClientRect();
865
+ apply(event.clientX, event.clientY);
866
+ setActive(true);
867
+ },
868
+ [apply]
869
+ );
870
+ const onPointerMove = useCallback(
871
+ (event) => apply(event.clientX, event.clientY),
872
+ [apply]
873
+ );
874
+ const onPointerLeave = useCallback(() => {
875
+ rectRef.current = null;
876
+ setActive(false);
877
+ }, []);
878
+ return { ref, active, onPointerEnter, onPointerMove, onPointerLeave };
879
+ }
880
+ var CommandDialog = Dialog$1.Root;
881
+ var CommandDialogPortal = Dialog$1.Portal;
882
+ var CommandCreateHandle = Dialog$1.createHandle;
883
+ function CommandDialogTrigger(props) {
884
+ return /* @__PURE__ */ jsx(Dialog$1.Trigger, { "data-slot": "command-dialog-trigger", ...props });
885
+ }
886
+ function CommandDialogBackdrop({
887
+ className,
888
+ ...props
889
+ }) {
890
+ return /* @__PURE__ */ jsx(
891
+ Dialog$1.Backdrop,
892
+ {
893
+ className: cn("a63-Command-backdrop", className),
894
+ "data-slot": "command-dialog-backdrop",
895
+ ...props
896
+ }
897
+ );
898
+ }
899
+ function CommandDialogViewport({
900
+ className,
901
+ ...props
902
+ }) {
903
+ return /* @__PURE__ */ jsx(
904
+ Dialog$1.Viewport,
905
+ {
906
+ className: cn("a63-Command-viewport", className),
907
+ "data-slot": "command-dialog-viewport",
908
+ ...props
909
+ }
910
+ );
911
+ }
912
+ function CommandDialogPopup({
913
+ className,
914
+ children,
915
+ ...props
916
+ }) {
917
+ return /* @__PURE__ */ jsxs(CommandDialogPortal, { children: [
918
+ /* @__PURE__ */ jsx(CommandDialogBackdrop, {}),
919
+ /* @__PURE__ */ jsx(CommandDialogViewport, { children: /* @__PURE__ */ jsx(
920
+ Dialog$1.Popup,
921
+ {
922
+ className: cn("a63-Command-popup", className),
923
+ "data-slot": "command-dialog-popup",
924
+ ...props,
925
+ children
926
+ }
927
+ ) })
928
+ ] });
929
+ }
930
+ function Command({
931
+ autoHighlight = "always",
932
+ keepHighlight = true,
933
+ ...props
934
+ }) {
935
+ return /* @__PURE__ */ jsx(
936
+ Autocomplete$1.Root,
937
+ {
938
+ autoHighlight,
939
+ "data-slot": "command",
940
+ inline: true,
941
+ keepHighlight,
942
+ open: true,
943
+ ...props
944
+ }
945
+ );
946
+ }
947
+ function SearchIcon() {
948
+ return /* @__PURE__ */ jsx("svg", { "aria-hidden": true, fill: "none", height: "18", viewBox: "0 0 24 24", width: "18", children: /* @__PURE__ */ jsx(
949
+ "path",
950
+ {
951
+ d: "M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14ZM20 20l-3.5-3.5",
952
+ stroke: "currentColor",
953
+ strokeLinecap: "round",
954
+ strokeLinejoin: "round",
955
+ strokeWidth: "1.75"
956
+ }
957
+ ) });
958
+ }
959
+ function CommandInput({
960
+ className,
961
+ placeholder,
962
+ ...props
963
+ }) {
964
+ return /* @__PURE__ */ jsxs("div", { className: "a63-Command-input-wrapper", "data-slot": "command-input-wrapper", children: [
965
+ /* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "a63-Command-input-icon", children: /* @__PURE__ */ jsx(SearchIcon, {}) }),
966
+ /* @__PURE__ */ jsx(
967
+ Autocomplete$1.Input,
968
+ {
969
+ autoFocus: true,
970
+ className: cn("a63-Command-input", className),
971
+ "data-slot": "command-input",
972
+ placeholder,
973
+ ...props
974
+ }
975
+ )
976
+ ] });
977
+ }
978
+ function CommandPanel({
979
+ className,
980
+ children,
981
+ ...props
982
+ }) {
983
+ return /* @__PURE__ */ jsx(
984
+ ScrollArea,
985
+ {
986
+ className: cn("a63-Command-panel", className),
987
+ "data-slot": "command-panel",
988
+ scrollFade: true,
989
+ showScrollbarOnHover: true,
990
+ ...props,
991
+ children
992
+ }
993
+ );
994
+ }
995
+ function CommandList({
996
+ className,
997
+ ...props
998
+ }) {
999
+ return /* @__PURE__ */ jsx(
1000
+ Autocomplete$1.List,
1001
+ {
1002
+ className: cn("a63-Command-list", className),
1003
+ "data-slot": "command-list",
1004
+ ...props
1005
+ }
1006
+ );
1007
+ }
1008
+ function CommandEmpty({
1009
+ className,
1010
+ ...props
1011
+ }) {
1012
+ return /* @__PURE__ */ jsx(
1013
+ Autocomplete$1.Empty,
1014
+ {
1015
+ className: cn("a63-Command-empty", className),
1016
+ "data-slot": "command-empty",
1017
+ ...props
1018
+ }
1019
+ );
1020
+ }
1021
+ function CommandGroup({
1022
+ className,
1023
+ ...props
1024
+ }) {
1025
+ return /* @__PURE__ */ jsx(
1026
+ Autocomplete$1.Group,
1027
+ {
1028
+ className: cn("a63-Command-group", className),
1029
+ "data-slot": "command-group",
1030
+ ...props
1031
+ }
1032
+ );
1033
+ }
1034
+ function CommandGroupLabel({
1035
+ className,
1036
+ ...props
1037
+ }) {
1038
+ return /* @__PURE__ */ jsx(
1039
+ Autocomplete$1.GroupLabel,
1040
+ {
1041
+ className: cn("a63-Command-group-label", className),
1042
+ "data-slot": "command-group-label",
1043
+ ...props
1044
+ }
1045
+ );
1046
+ }
1047
+ function CommandCollection({
1048
+ ...props
1049
+ }) {
1050
+ return /* @__PURE__ */ jsx(Autocomplete$1.Collection, { "data-slot": "command-collection", ...props });
1051
+ }
1052
+ function CommandItem({
1053
+ className,
1054
+ ...props
1055
+ }) {
1056
+ return /* @__PURE__ */ jsx(
1057
+ Autocomplete$1.Item,
1058
+ {
1059
+ className: cn("a63-Command-item", className),
1060
+ "data-slot": "command-item",
1061
+ ...props
1062
+ }
1063
+ );
1064
+ }
1065
+ function CommandSeparator({
1066
+ className,
1067
+ ...props
1068
+ }) {
1069
+ return /* @__PURE__ */ jsx(
1070
+ Autocomplete$1.Separator,
1071
+ {
1072
+ className: cn("a63-Command-separator", className),
1073
+ "data-slot": "command-separator",
1074
+ ...props
1075
+ }
1076
+ );
1077
+ }
1078
+ function CommandShortcut({
1079
+ className,
1080
+ ...props
1081
+ }) {
1082
+ return /* @__PURE__ */ jsx(
1083
+ "kbd",
1084
+ {
1085
+ className: cn("a63-Command-shortcut", className),
1086
+ "data-slot": "command-shortcut",
1087
+ ...props
1088
+ }
1089
+ );
1090
+ }
1091
+ function CommandFooter({
1092
+ className,
1093
+ ...props
1094
+ }) {
1095
+ return /* @__PURE__ */ jsx("div", { className: cn("a63-Command-footer", className), "data-slot": "command-footer", ...props });
1096
+ }
1097
+ var DialogCreateHandle = Dialog$1.createHandle;
1098
+ var Dialog = Dialog$1.Root;
1099
+ function DialogPortal(props) {
1100
+ return /* @__PURE__ */ jsx(Dialog$1.Portal, { "data-slot": "dialog-portal", ...props });
1101
+ }
1102
+ function DialogTrigger({
1103
+ className,
1104
+ ...props
1105
+ }) {
1106
+ return /* @__PURE__ */ jsx(
1107
+ Dialog$1.Trigger,
1108
+ {
1109
+ className: cn("a63-Dialog-trigger", className),
1110
+ "data-slot": "dialog-trigger",
1111
+ ...props
1112
+ }
1113
+ );
1114
+ }
1115
+ function DialogClose(props) {
1116
+ return /* @__PURE__ */ jsx(Dialog$1.Close, { "data-slot": "dialog-close", ...props });
1117
+ }
1118
+ function DialogBackdrop({
1119
+ className,
1120
+ ...props
1121
+ }) {
1122
+ return /* @__PURE__ */ jsx(
1123
+ Dialog$1.Backdrop,
1124
+ {
1125
+ className: cn("a63-Dialog-backdrop", className),
1126
+ "data-slot": "dialog-backdrop",
1127
+ ...props
1128
+ }
1129
+ );
1130
+ }
1131
+ function DialogViewport({
1132
+ className,
1133
+ ...props
1134
+ }) {
1135
+ return /* @__PURE__ */ jsx(
1136
+ Dialog$1.Viewport,
1137
+ {
1138
+ className: cn("a63-Dialog-viewport", className),
1139
+ "data-slot": "dialog-viewport",
1140
+ ...props
1141
+ }
1142
+ );
1143
+ }
1144
+ function CloseIcon2() {
1145
+ return /* @__PURE__ */ jsx("svg", { "aria-hidden": true, fill: "none", height: "16", viewBox: "0 0 16 16", width: "16", children: /* @__PURE__ */ jsx(
1146
+ "path",
1147
+ {
1148
+ d: "m4 4 8 8M12 4l-8 8",
1149
+ stroke: "currentColor",
1150
+ strokeLinecap: "round",
1151
+ strokeLinejoin: "round",
1152
+ strokeWidth: "1.5"
1153
+ }
1154
+ ) });
1155
+ }
1156
+ function DialogPopup({
1157
+ className,
1158
+ children,
1159
+ showCloseButton = true,
1160
+ bottomStickOnMobile = true,
1161
+ mobilePlacement,
1162
+ size = "default",
1163
+ closeProps,
1164
+ portalProps,
1165
+ ...props
1166
+ }) {
1167
+ const resolvedMobilePlacement = mobilePlacement ?? (bottomStickOnMobile ? "bottom" : "center");
1168
+ const stickToBottomOnMobile = resolvedMobilePlacement === "bottom";
1169
+ return /* @__PURE__ */ jsxs(DialogPortal, { ...portalProps, children: [
1170
+ /* @__PURE__ */ jsx(DialogBackdrop, {}),
1171
+ /* @__PURE__ */ jsx(DialogViewport, { "data-mobile-placement": resolvedMobilePlacement, children: /* @__PURE__ */ jsxs(
1172
+ Dialog$1.Popup,
1173
+ {
1174
+ className: cn("a63-Dialog-popup", className),
1175
+ "data-mobile-placement": resolvedMobilePlacement,
1176
+ "data-size": size,
1177
+ "data-slot": "dialog-popup",
1178
+ "data-stick-bottom": stickToBottomOnMobile ? "" : void 0,
1179
+ ...props,
1180
+ children: [
1181
+ children,
1182
+ showCloseButton && /* @__PURE__ */ jsx(
1183
+ Dialog$1.Close,
1184
+ {
1185
+ "aria-label": "Close",
1186
+ className: "a63-Dialog-close-button",
1187
+ "data-slot": "dialog-close-button",
1188
+ ...closeProps,
1189
+ children: /* @__PURE__ */ jsx(CloseIcon2, {})
1190
+ }
1191
+ )
1192
+ ]
1193
+ }
1194
+ ) })
1195
+ ] });
1196
+ }
1197
+ function DialogHeader({
1198
+ className,
1199
+ render,
1200
+ ...props
1201
+ }) {
1202
+ const defaultProps = {
1203
+ className: cn("a63-Dialog-header", className),
1204
+ "data-slot": "dialog-header"
1205
+ };
1206
+ return useRender({
1207
+ defaultTagName: "div",
1208
+ props: mergeProps(defaultProps, props),
1209
+ render
1210
+ });
1211
+ }
1212
+ function DialogFooter({
1213
+ className,
1214
+ variant = "default",
1215
+ render,
1216
+ ...props
1217
+ }) {
1218
+ const defaultProps = {
1219
+ className: cn("a63-Dialog-footer", className),
1220
+ "data-slot": "dialog-footer",
1221
+ "data-variant": variant
1222
+ };
1223
+ return useRender({
1224
+ defaultTagName: "div",
1225
+ props: mergeProps(defaultProps, props),
1226
+ render
1227
+ });
1228
+ }
1229
+ function DialogTitle({
1230
+ className,
1231
+ ...props
1232
+ }) {
1233
+ return /* @__PURE__ */ jsx(
1234
+ Dialog$1.Title,
1235
+ {
1236
+ className: cn("a63-Dialog-title", className),
1237
+ "data-slot": "dialog-title",
1238
+ ...props
1239
+ }
1240
+ );
1241
+ }
1242
+ function DialogDescription({
1243
+ className,
1244
+ ...props
1245
+ }) {
1246
+ return /* @__PURE__ */ jsx(
1247
+ Dialog$1.Description,
1248
+ {
1249
+ className: cn("a63-Dialog-description", className),
1250
+ "data-slot": "dialog-description",
1251
+ ...props
1252
+ }
1253
+ );
1254
+ }
1255
+ function DialogPanel({
1256
+ className,
1257
+ scrollFade = true,
1258
+ render,
1259
+ ...props
1260
+ }) {
1261
+ const defaultProps = {
1262
+ className: cn("a63-Dialog-panel", className),
1263
+ "data-scroll-fade": scrollFade ? "" : void 0,
1264
+ "data-slot": "dialog-panel"
1265
+ };
1266
+ return useRender({
1267
+ defaultTagName: "div",
1268
+ props: mergeProps(defaultProps, props),
1269
+ render
1270
+ });
1271
+ }
1272
+ function isAriaInvalid(value) {
1273
+ return value === true || value === "true";
1274
+ }
1275
+ function Input({
1276
+ "aria-invalid": ariaInvalid,
1277
+ className,
1278
+ disabled,
1279
+ inputClassName,
1280
+ invalid = false,
1281
+ nativeInput = false,
1282
+ shadow = true,
1283
+ size = inputContract.defaultSize,
1284
+ unstyled = false,
1285
+ ...props
1286
+ }) {
1287
+ const isInvalid = invalid || isAriaInvalid(ariaInvalid);
1288
+ const isNumericSize = typeof size === "number";
1289
+ const dataSize = isNumericSize ? inputContract.defaultSize : size;
1290
+ const fieldProps = {
1291
+ className: cn("a63-Input-field", inputClassName),
1292
+ "data-slot": "input",
1293
+ disabled,
1294
+ size: isNumericSize ? size : void 0,
1295
+ "aria-invalid": isInvalid ? true : ariaInvalid
1296
+ };
1297
+ return /* @__PURE__ */ jsx(
1298
+ "span",
1299
+ {
1300
+ className: cn("a63-Input", className),
1301
+ "data-disabled": disabled ? "" : void 0,
1302
+ "data-invalid": isInvalid ? "" : void 0,
1303
+ "data-shadow": shadow ? void 0 : "false",
1304
+ "data-size": dataSize,
1305
+ "data-slot": "input-control",
1306
+ "data-unstyled": unstyled ? "" : void 0,
1307
+ children: nativeInput ? /* @__PURE__ */ jsx("input", { ...fieldProps, ...props }) : /* @__PURE__ */ jsx(Input$1, { ...fieldProps, ...props })
1308
+ }
1309
+ );
1310
+ }
1311
+ function Textarea({
1312
+ "aria-invalid": ariaInvalid,
1313
+ className,
1314
+ disabled,
1315
+ invalid = false,
1316
+ shadow = true,
1317
+ size = textareaContract.defaultSize,
1318
+ textareaClassName,
1319
+ unstyled = false,
1320
+ ...props
1321
+ }) {
1322
+ const isInvalid = invalid || ariaInvalid === true || ariaInvalid === "true";
1323
+ return /* @__PURE__ */ jsx(
1324
+ "span",
1325
+ {
1326
+ className: cn("a63-Textarea", className),
1327
+ "data-disabled": disabled ? "" : void 0,
1328
+ "data-invalid": isInvalid ? "" : void 0,
1329
+ "data-shadow": shadow ? void 0 : "false",
1330
+ "data-size": size,
1331
+ "data-slot": "textarea-control",
1332
+ "data-unstyled": unstyled ? "" : void 0,
1333
+ children: /* @__PURE__ */ jsx(
1334
+ "textarea",
1335
+ {
1336
+ "aria-invalid": isInvalid ? true : ariaInvalid,
1337
+ className: cn("a63-Textarea-field", textareaClassName),
1338
+ "data-slot": "textarea",
1339
+ disabled,
1340
+ ...props
1341
+ }
1342
+ )
1343
+ }
1344
+ );
1345
+ }
1346
+ var InputGroupContext = React2.createContext({
1347
+ disabled: false,
1348
+ invalid: false,
1349
+ size: inputContract.defaultSize
1350
+ });
1351
+ var ADDON_INTERACTIVE_SELECTOR = "button, a, input, select, textarea, [role='button'], [role='combobox'], [role='listbox'], [data-slot='select-trigger']";
1352
+ function InputGroup({
1353
+ children,
1354
+ className,
1355
+ disabled = false,
1356
+ invalid = false,
1357
+ shadow = true,
1358
+ size = inputContract.defaultSize,
1359
+ ...props
1360
+ }) {
1361
+ const context = React2.useMemo(() => ({ disabled, invalid, size }), [disabled, invalid, size]);
1362
+ return /* @__PURE__ */ jsx(InputGroupContext.Provider, { value: context, children: /* @__PURE__ */ jsx(
1363
+ "div",
1364
+ {
1365
+ className: cn("a63-InputGroup", className),
1366
+ "data-disabled": disabled ? "" : void 0,
1367
+ "data-invalid": invalid ? "" : void 0,
1368
+ "data-shadow": shadow ? void 0 : "false",
1369
+ "data-size": size,
1370
+ "data-slot": "input-group",
1371
+ role: "group",
1372
+ ...props,
1373
+ children
1374
+ }
1375
+ ) });
1376
+ }
1377
+ function InputGroupAddon({
1378
+ align = "inline-start",
1379
+ children,
1380
+ className,
1381
+ onMouseDown,
1382
+ ...props
1383
+ }) {
1384
+ return (
1385
+ // mousedown only delegates focus to the field (the real control); the addon is a decorative slot
1386
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions -- the input remains the sole interactive control
1387
+ /* @__PURE__ */ jsx(
1388
+ "div",
1389
+ {
1390
+ className: cn("a63-InputGroup-addon", className),
1391
+ "data-align": align,
1392
+ "data-slot": "input-group-addon",
1393
+ onMouseDown: (event) => {
1394
+ onMouseDown?.(event);
1395
+ if (event.defaultPrevented) {
1396
+ return;
1397
+ }
1398
+ const target = event.target;
1399
+ if (target.closest(ADDON_INTERACTIVE_SELECTOR)) {
1400
+ return;
1401
+ }
1402
+ event.preventDefault();
1403
+ const parent = event.currentTarget.parentElement;
1404
+ const field = parent?.querySelector(
1405
+ "input, textarea"
1406
+ );
1407
+ if (field && !parent?.querySelector("input:focus, textarea:focus")) {
1408
+ field.focus();
1409
+ }
1410
+ },
1411
+ ...props,
1412
+ children
1413
+ }
1414
+ )
1415
+ );
1416
+ }
1417
+ function InputGroupInput({
1418
+ disabled,
1419
+ invalid,
1420
+ size,
1421
+ ...props
1422
+ }) {
1423
+ const {
1424
+ disabled: groupDisabled,
1425
+ invalid: groupInvalid,
1426
+ size: groupSize
1427
+ } = React2.useContext(InputGroupContext);
1428
+ return /* @__PURE__ */ jsx(
1429
+ Input,
1430
+ {
1431
+ disabled: disabled ?? groupDisabled,
1432
+ invalid: invalid ?? groupInvalid,
1433
+ size: size ?? groupSize,
1434
+ unstyled: true,
1435
+ ...props
1436
+ }
1437
+ );
1438
+ }
1439
+ function InputGroupTextarea({
1440
+ disabled,
1441
+ ...props
1442
+ }) {
1443
+ const { disabled: groupDisabled, invalid: groupInvalid } = React2.useContext(InputGroupContext);
1444
+ return /* @__PURE__ */ jsx(
1445
+ Textarea,
1446
+ {
1447
+ "aria-invalid": props["aria-invalid"] ?? (groupInvalid || void 0),
1448
+ disabled: disabled ?? groupDisabled,
1449
+ unstyled: true,
1450
+ ...props
1451
+ }
1452
+ );
1453
+ }
1454
+ function InputGroupButton({
1455
+ size = "xs",
1456
+ variant = "ghost",
1457
+ ...props
1458
+ }) {
1459
+ return /* @__PURE__ */ jsx(Button, { "data-slot": "input-group-button", size, variant, ...props });
1460
+ }
1461
+ function InputGroupText({
1462
+ children,
1463
+ className,
1464
+ ...props
1465
+ }) {
1466
+ return /* @__PURE__ */ jsx("span", { className: cn("a63-InputGroup-text", className), "data-slot": "input-group-text", ...props, children });
1467
+ }
1468
+
1469
+ // src/conformance/renderer-conformance.ts
1470
+ var reactRendererConformance = [
1471
+ {
1472
+ contractId: "button",
1473
+ implementedStates: ["rest", "pressed", "disabled", "loading"],
1474
+ verifiedSharedOutcomes: [
1475
+ "action-fires-once",
1476
+ "loading-blocks-repeat-activation",
1477
+ "disabled-prevents-activation"
1478
+ ],
1479
+ verifiedAccessibilityOutcomes: ["exposes-label", "announces-loading", "disabled-while-loading"],
1480
+ verifiesMotionRecipe: true
1481
+ },
1482
+ {
1483
+ contractId: "alert",
1484
+ implementedStates: ["info", "success", "warning", "error"],
1485
+ verifiedSharedOutcomes: [
1486
+ "tone-is-not-conveyed-by-color-alone",
1487
+ "message-remains-readable",
1488
+ "action-does-not-obscure-status"
1489
+ ],
1490
+ verifiedAccessibilityOutcomes: ["announces-semantic-tone", "text-does-not-rely-on-color"],
1491
+ verifiesMotionRecipe: false
1492
+ },
1493
+ {
1494
+ contractId: "dialog",
1495
+ implementedStates: ["closed", "open", "focus-visible"],
1496
+ verifiedSharedOutcomes: [
1497
+ "opening-presents-a-modal-context",
1498
+ "background-interaction-is-blocked-while-open",
1499
+ "dismissal-returns-to-the-originating-context"
1500
+ ],
1501
+ verifiedAccessibilityOutcomes: [
1502
+ "exposes-modal-title",
1503
+ "keeps-assistive-focus-in-the-modal-context",
1504
+ "restores-access-to-the-originating-control"
1505
+ ],
1506
+ verifiesMotionRecipe: false
1507
+ },
1508
+ {
1509
+ contractId: "alert-dialog",
1510
+ implementedStates: ["closed", "open"],
1511
+ verifiedSharedOutcomes: [
1512
+ "consequential-action-requires-explicit-confirmation",
1513
+ "cancel-dismisses-without-performing-the-action",
1514
+ "confirmation-performs-the-action-once-and-dismisses"
1515
+ ],
1516
+ verifiedAccessibilityOutcomes: [
1517
+ "exposes-alert-dialog-title",
1518
+ "exposes-consequence-description",
1519
+ "identifies-cancel-and-confirm-actions"
1520
+ ],
1521
+ verifiesMotionRecipe: false
1522
+ },
1523
+ {
1524
+ contractId: "field",
1525
+ implementedStates: ["default", "invalid", "disabled"],
1526
+ verifiedSharedOutcomes: [
1527
+ "label-identifies-control",
1528
+ "description-explains-input",
1529
+ "invalid-state-exposes-error"
1530
+ ],
1531
+ verifiedAccessibilityOutcomes: [
1532
+ "associates-label",
1533
+ "associates-description",
1534
+ "announces-error"
1535
+ ],
1536
+ verifiesMotionRecipe: false
1537
+ },
1538
+ {
1539
+ contractId: "destination-link",
1540
+ implementedStates: ["rest", "focus-visible"],
1541
+ verifiedSharedOutcomes: [
1542
+ "internal-destination-preserves-application-navigation",
1543
+ "external-destination-uses-platform-external-navigation",
1544
+ "destination-kind-remains-distinguishable"
1545
+ ],
1546
+ verifiedAccessibilityOutcomes: [
1547
+ "exposes-link-label",
1548
+ "announces-external-destination-behavior",
1549
+ "preserves-native-link-semantics"
1550
+ ],
1551
+ verifiesMotionRecipe: false
1552
+ },
1553
+ {
1554
+ contractId: "input",
1555
+ implementedStates: ["rest", "focus", "disabled", "invalid"],
1556
+ verifiedSharedOutcomes: [
1557
+ "value-remains-editable-when-enabled",
1558
+ "focus-is-visible",
1559
+ "invalid-state-is-announced"
1560
+ ],
1561
+ verifiedAccessibilityOutcomes: ["exposes-label", "exposes-value", "announces-invalid"],
1562
+ verifiesMotionRecipe: false
1563
+ },
1564
+ {
1565
+ contractId: "textarea",
1566
+ implementedStates: ["rest", "focus", "disabled", "invalid"],
1567
+ verifiedSharedOutcomes: [
1568
+ "multi-line-value-remains-editable",
1569
+ "focus-is-visible",
1570
+ "invalid-state-is-announced"
1571
+ ],
1572
+ verifiedAccessibilityOutcomes: ["exposes-label", "exposes-value", "announces-invalid"],
1573
+ verifiesMotionRecipe: false
1574
+ },
1575
+ {
1576
+ contractId: "switch",
1577
+ implementedStates: ["off", "on", "disabled"],
1578
+ verifiedSharedOutcomes: [
1579
+ "value-is-boolean",
1580
+ "activation-toggles-value",
1581
+ "disabled-prevents-change"
1582
+ ],
1583
+ verifiedAccessibilityOutcomes: [
1584
+ "exposes-label",
1585
+ "exposes-boolean-value",
1586
+ "preserves-native-control-role"
1587
+ ],
1588
+ verifiesMotionRecipe: false
1589
+ },
1590
+ {
1591
+ contractId: "select",
1592
+ implementedStates: ["closed", "open", "disabled", "selected-item", "disabled-item"],
1593
+ verifiedSharedOutcomes: [
1594
+ "current-selection-remains-visible",
1595
+ "activation-reveals-available-options",
1596
+ "choosing-an-option-updates-the-value-once",
1597
+ "disabled-controls-and-options-prevent-selection"
1598
+ ],
1599
+ verifiedAccessibilityOutcomes: [
1600
+ "exposes-label",
1601
+ "exposes-selected-value",
1602
+ "preserves-single-selection-semantics"
1603
+ ],
1604
+ verifiesMotionRecipe: false
1605
+ },
1606
+ {
1607
+ contractId: "segmented-control",
1608
+ implementedStates: ["rest", "selected", "disabled"],
1609
+ verifiedSharedOutcomes: [
1610
+ "one-segment-is-selected-at-a-time",
1611
+ "activation-updates-the-selection-once",
1612
+ "disabled-segment-prevents-selection"
1613
+ ],
1614
+ verifiedAccessibilityOutcomes: [
1615
+ "exposes-each-segment-label",
1616
+ "exposes-selected-state",
1617
+ "preserves-single-selection-semantics"
1618
+ ],
1619
+ verifiesMotionRecipe: false
1620
+ },
1621
+ {
1622
+ contractId: "radio",
1623
+ implementedStates: ["unchecked", "checked", "disabled"],
1624
+ verifiedSharedOutcomes: [
1625
+ "exactly-one-option-may-be-selected",
1626
+ "activation-moves-selection-to-the-chosen-option",
1627
+ "disabled-option-prevents-selection"
1628
+ ],
1629
+ verifiedAccessibilityOutcomes: [
1630
+ "exposes-group-label",
1631
+ "exposes-option-labels-and-selected-state",
1632
+ "preserves-single-selection-semantics"
1633
+ ],
1634
+ verifiesMotionRecipe: false
1635
+ },
1636
+ {
1637
+ contractId: "slider",
1638
+ implementedStates: ["rest", "dragging", "disabled"],
1639
+ verifiedSharedOutcomes: [
1640
+ "value-remains-within-the-declared-range",
1641
+ "interaction-updates-value-using-the-declared-step",
1642
+ "disabled-control-prevents-value-change"
1643
+ ],
1644
+ verifiedAccessibilityOutcomes: [
1645
+ "exposes-label",
1646
+ "exposes-current-value-and-range",
1647
+ "supports-adjustable-actions"
1648
+ ],
1649
+ verifiesMotionRecipe: false
1650
+ },
1651
+ {
1652
+ contractId: "dropdown-menu",
1653
+ implementedStates: ["closed", "open", "disabled", "checked", "destructive"],
1654
+ verifiedSharedOutcomes: [
1655
+ "enabled-action-executes-once-and-dismisses-the-menu",
1656
+ "disabled-action-does-not-execute",
1657
+ "checked-choice-exposes-its-current-state",
1658
+ "destructive-action-retains-destructive-intent"
1659
+ ],
1660
+ verifiedAccessibilityOutcomes: [
1661
+ "trigger-exposes-menu-availability",
1662
+ "items-expose-label-role-and-disabled-state",
1663
+ "checked-items-expose-selected-or-checked-state"
1664
+ ],
1665
+ verifiesMotionRecipe: false
1666
+ },
1667
+ {
1668
+ contractId: "accordion",
1669
+ implementedStates: ["closed", "open", "disabled"],
1670
+ verifiedSharedOutcomes: [
1671
+ "activation-toggles-associated-content-visibility",
1672
+ "expanded-state-matches-content-visibility",
1673
+ "disabled-trigger-prevents-disclosure-change"
1674
+ ],
1675
+ verifiedAccessibilityOutcomes: [
1676
+ "trigger-exposes-expanded-state",
1677
+ "trigger-is-associated-with-disclosed-content",
1678
+ "disabled-trigger-exposes-disabled-state"
1679
+ ],
1680
+ verifiesMotionRecipe: false
1681
+ },
1682
+ {
1683
+ contractId: "calendar",
1684
+ implementedStates: ["rest", "selected", "disabled"],
1685
+ verifiedSharedOutcomes: [
1686
+ "selection-updates-to-an-allowed-date",
1687
+ "disabled-date-prevents-selection",
1688
+ "selected-date-remains-visible"
1689
+ ],
1690
+ verifiedAccessibilityOutcomes: [
1691
+ "exposes-control-label",
1692
+ "dates-expose-complete-date-names",
1693
+ "selected-date-exposes-selected-state"
1694
+ ],
1695
+ verifiesMotionRecipe: false
1696
+ },
1697
+ {
1698
+ contractId: "search-field",
1699
+ implementedStates: ["empty", "query", "focus", "disabled"],
1700
+ verifiedSharedOutcomes: [
1701
+ "editing-updates-the-query",
1702
+ "clear-empties-the-query-and-preserves-input-context",
1703
+ "submit-commits-the-current-query-once",
1704
+ "disabled-search-prevents-editing-and-clear"
1705
+ ],
1706
+ verifiedAccessibilityOutcomes: [
1707
+ "exposes-search-input-role-and-label",
1708
+ "clear-action-has-an-accessible-label",
1709
+ "disabled-state-is-exposed"
1710
+ ],
1711
+ verifiesMotionRecipe: false
1712
+ },
1713
+ {
1714
+ contractId: "tabs",
1715
+ implementedStates: ["rest", "selected"],
1716
+ verifiedSharedOutcomes: [
1717
+ "one-tab-is-selected-at-a-time",
1718
+ "selection-reveals-the-associated-content",
1719
+ "selected-tab-remains-visually-distinguishable"
1720
+ ],
1721
+ verifiedAccessibilityOutcomes: [
1722
+ "exposes-tab-labels",
1723
+ "exposes-selected-state",
1724
+ "associates-selection-with-visible-content"
1725
+ ],
1726
+ verifiesMotionRecipe: false
1727
+ },
1728
+ {
1729
+ contractId: "load-more-trigger",
1730
+ implementedStates: ["idle", "loading", "failed", "exhausted"],
1731
+ verifiedSharedOutcomes: [
1732
+ "loading-is-announced",
1733
+ "failure-provides-retry",
1734
+ "exhaustion-is-announced",
1735
+ "existing-items-remain-stable-while-appending"
1736
+ ],
1737
+ verifiedAccessibilityOutcomes: [
1738
+ "announces-loading",
1739
+ "exposes-retry-action",
1740
+ "announces-exhausted"
1741
+ ],
1742
+ verifiesMotionRecipe: false
1743
+ },
1744
+ {
1745
+ contractId: "skeleton",
1746
+ implementedStates: ["loading", "reduced-motion"],
1747
+ verifiedSharedOutcomes: [
1748
+ "placeholder-is-hidden-from-assistive-technology",
1749
+ "interaction-is-blocked-while-loading",
1750
+ "reduced-motion-result-is-static"
1751
+ ],
1752
+ verifiedAccessibilityOutcomes: [
1753
+ "hidden-from-accessibility-tree",
1754
+ "blocks-interaction-while-active"
1755
+ ],
1756
+ verifiesMotionRecipe: true
1757
+ },
1758
+ {
1759
+ contractId: "toggle",
1760
+ implementedStates: ["off", "on", "disabled"],
1761
+ verifiedSharedOutcomes: [
1762
+ "selected-state-is-visible",
1763
+ "activation-toggles-selection",
1764
+ "disabled-prevents-change"
1765
+ ],
1766
+ verifiedAccessibilityOutcomes: [
1767
+ "exposes-label",
1768
+ "announces-selected-state",
1769
+ "preserves-button-role"
1770
+ ],
1771
+ verifiesMotionRecipe: false
1772
+ },
1773
+ {
1774
+ contractId: "card",
1775
+ implementedStates: ["rest", "interactive", "focus-visible"],
1776
+ verifiedSharedOutcomes: [
1777
+ "content-order-is-preserved",
1778
+ "static-card-does-not-imply-action",
1779
+ "interactive-card-has-one-primary-action"
1780
+ ],
1781
+ verifiedAccessibilityOutcomes: ["preserves-content-order", "does-not-imply-action-when-static"],
1782
+ verifiesMotionRecipe: false
1783
+ },
1784
+ {
1785
+ contractId: "badge",
1786
+ implementedStates: ["neutral", "accent", "success", "warning", "error"],
1787
+ verifiedSharedOutcomes: [
1788
+ "label-remains-readable-without-color",
1789
+ "semantic-tone-retains-meaning"
1790
+ ],
1791
+ verifiedAccessibilityOutcomes: ["text-does-not-rely-on-color"],
1792
+ verifiesMotionRecipe: false
1793
+ },
1794
+ {
1795
+ contractId: "avatar",
1796
+ implementedStates: ["loading", "loaded", "fallback"],
1797
+ verifiedSharedOutcomes: [
1798
+ "accessible-name-is-preserved",
1799
+ "fallback-preserves-identity",
1800
+ "loading-does-not-expose-empty-image"
1801
+ ],
1802
+ verifiedAccessibilityOutcomes: ["exposes-accessible-name", "fallback-preserves-identity"],
1803
+ verifiesMotionRecipe: false
1804
+ },
1805
+ {
1806
+ contractId: "empty",
1807
+ implementedStates: ["empty", "error"],
1808
+ verifiedSharedOutcomes: [
1809
+ "heading-explains-state",
1810
+ "supporting-copy-provides-context",
1811
+ "recovery-action-remains-available"
1812
+ ],
1813
+ verifiedAccessibilityOutcomes: [
1814
+ "exposes-heading",
1815
+ "exposes-recovery-action",
1816
+ "preserves-reading-order"
1817
+ ],
1818
+ verifiesMotionRecipe: false
1819
+ },
1820
+ {
1821
+ contractId: "progress",
1822
+ implementedStates: ["indeterminate", "progressing", "complete"],
1823
+ verifiedSharedOutcomes: [
1824
+ "label-identifies-operation",
1825
+ "determinate-value-is-exposed",
1826
+ "completion-is-distinguishable"
1827
+ ],
1828
+ verifiedAccessibilityOutcomes: ["exposes-label", "announces-progress-value"],
1829
+ verifiesMotionRecipe: false
1830
+ },
1831
+ {
1832
+ contractId: "toaster",
1833
+ implementedStates: ["visible", "dismissing", "reduced-motion"],
1834
+ verifiedSharedOutcomes: [
1835
+ "message-is-announced",
1836
+ "focus-is-not-trapped",
1837
+ "dismissal-respects-motion-preference"
1838
+ ],
1839
+ verifiedAccessibilityOutcomes: ["announces-message", "does-not-trap-focus"],
1840
+ verifiesMotionRecipe: true
1841
+ }
1842
+ ];
1843
+ function getReactRendererConformance(contractId) {
1844
+ return reactRendererConformance.find((evidence) => evidence.contractId === contractId);
1845
+ }
1846
+ function NavigationMenu({
1847
+ align = "start",
1848
+ children,
1849
+ className,
1850
+ portalContainer,
1851
+ ...props
1852
+ }) {
1853
+ return /* @__PURE__ */ jsxs(
1854
+ NavigationMenu$1.Root,
1855
+ {
1856
+ className: cn("a63-NavigationMenu", className),
1857
+ "data-slot": "navigation-menu",
1858
+ ...props,
1859
+ children: [
1860
+ children,
1861
+ /* @__PURE__ */ jsx(NavigationMenuPositioner, { align, portalContainer })
1862
+ ]
1863
+ }
1864
+ );
1865
+ }
1866
+ function NavigationMenuList({
1867
+ className,
1868
+ ...props
1869
+ }) {
1870
+ return /* @__PURE__ */ jsx(
1871
+ NavigationMenu$1.List,
1872
+ {
1873
+ className: cn("a63-NavigationMenu-list", className),
1874
+ "data-slot": "navigation-menu-list",
1875
+ ...props
1876
+ }
1877
+ );
1878
+ }
1879
+ function NavigationMenuItem({
1880
+ className,
1881
+ ...props
1882
+ }) {
1883
+ return /* @__PURE__ */ jsx(
1884
+ NavigationMenu$1.Item,
1885
+ {
1886
+ className: cn("a63-NavigationMenu-item", className),
1887
+ "data-slot": "navigation-menu-item",
1888
+ ...props
1889
+ }
1890
+ );
1891
+ }
1892
+ function navigationMenuTriggerStyle() {
1893
+ return "a63-NavigationMenu-trigger";
1894
+ }
1895
+ function NavigationMenuTrigger({
1896
+ children,
1897
+ className,
1898
+ ...props
1899
+ }) {
1900
+ return /* @__PURE__ */ jsxs(
1901
+ NavigationMenu$1.Trigger,
1902
+ {
1903
+ className: cn("a63-NavigationMenu-trigger", className),
1904
+ "data-slot": "navigation-menu-trigger",
1905
+ ...props,
1906
+ children: [
1907
+ children,
1908
+ /* @__PURE__ */ jsx(ChevronDown, { "aria-hidden": true, className: "a63-NavigationMenu-trigger-icon" })
1909
+ ]
1910
+ }
1911
+ );
1912
+ }
1913
+ function NavigationMenuContent({
1914
+ className,
1915
+ ...props
1916
+ }) {
1917
+ return /* @__PURE__ */ jsx(
1918
+ NavigationMenu$1.Content,
1919
+ {
1920
+ className: cn("a63-NavigationMenu-content", className),
1921
+ "data-slot": "navigation-menu-content",
1922
+ ...props
1923
+ }
1924
+ );
1925
+ }
1926
+ function NavigationMenuPositioner({
1927
+ align = "start",
1928
+ alignOffset = 0,
1929
+ className,
1930
+ portalContainer,
1931
+ side = "bottom",
1932
+ sideOffset = 8,
1933
+ ...props
1934
+ }) {
1935
+ return /* @__PURE__ */ jsx(NavigationMenu$1.Portal, { container: portalContainer, "data-slot": "navigation-menu-portal", children: /* @__PURE__ */ jsx(
1936
+ NavigationMenu$1.Positioner,
1937
+ {
1938
+ align,
1939
+ alignOffset,
1940
+ className: cn("a63-NavigationMenu-positioner", className),
1941
+ "data-slot": "navigation-menu-positioner",
1942
+ side,
1943
+ sideOffset,
1944
+ ...props,
1945
+ children: /* @__PURE__ */ jsx(
1946
+ NavigationMenu$1.Popup,
1947
+ {
1948
+ className: "a63-NavigationMenu-popup",
1949
+ "data-slot": "navigation-menu-popup",
1950
+ children: /* @__PURE__ */ jsx(NavigationMenuViewport, {})
1951
+ }
1952
+ )
1953
+ }
1954
+ ) });
1955
+ }
1956
+ function NavigationMenuLink({
1957
+ className,
1958
+ ...props
1959
+ }) {
1960
+ return /* @__PURE__ */ jsx(
1961
+ NavigationMenu$1.Link,
1962
+ {
1963
+ className: cn("a63-NavigationMenu-link", className),
1964
+ "data-slot": "navigation-menu-link",
1965
+ ...props
1966
+ }
1967
+ );
1968
+ }
1969
+ function NavigationMenuIndicator({
1970
+ className,
1971
+ ...props
1972
+ }) {
1973
+ return /* @__PURE__ */ jsx(
1974
+ "div",
1975
+ {
1976
+ className: cn("a63-NavigationMenu-indicator", className),
1977
+ "data-slot": "navigation-menu-indicator",
1978
+ ...props,
1979
+ children: /* @__PURE__ */ jsx("div", { className: "a63-NavigationMenu-indicator-arrow" })
1980
+ }
1981
+ );
1982
+ }
1983
+ function NavigationMenuViewport({
1984
+ className,
1985
+ ...props
1986
+ }) {
1987
+ return /* @__PURE__ */ jsx(
1988
+ NavigationMenu$1.Viewport,
1989
+ {
1990
+ className: cn("a63-NavigationMenu-viewport", className),
1991
+ "data-slot": "navigation-menu-viewport",
1992
+ ...props
1993
+ }
1994
+ );
1995
+ }
1996
+ function Progress({
1997
+ className,
1998
+ children,
1999
+ ...props
2000
+ }) {
2001
+ return /* @__PURE__ */ jsx(
2002
+ Progress$1.Root,
2003
+ {
2004
+ className: cn("a63-Progress", className),
2005
+ "data-slot": "progress",
2006
+ ...props,
2007
+ children: children ?? /* @__PURE__ */ jsx(ProgressTrack, { children: /* @__PURE__ */ jsx(ProgressIndicator, {}) })
2008
+ }
2009
+ );
2010
+ }
2011
+ function ProgressLabel({
2012
+ className,
2013
+ ...props
2014
+ }) {
2015
+ return /* @__PURE__ */ jsx(
2016
+ Progress$1.Label,
2017
+ {
2018
+ className: cn("a63-Progress-label", className),
2019
+ "data-slot": "progress-label",
2020
+ ...props
2021
+ }
2022
+ );
2023
+ }
2024
+ function ProgressTrack({
2025
+ className,
2026
+ ...props
2027
+ }) {
2028
+ return /* @__PURE__ */ jsx(
2029
+ Progress$1.Track,
2030
+ {
2031
+ className: cn("a63-Progress-track", className),
2032
+ "data-slot": "progress-track",
2033
+ ...props
2034
+ }
2035
+ );
2036
+ }
2037
+ function ProgressIndicator({
2038
+ className,
2039
+ ...props
2040
+ }) {
2041
+ return /* @__PURE__ */ jsx(
2042
+ Progress$1.Indicator,
2043
+ {
2044
+ className: cn("a63-Progress-indicator", className),
2045
+ "data-slot": "progress-indicator",
2046
+ ...props
2047
+ }
2048
+ );
2049
+ }
2050
+ function ProgressValue({
2051
+ className,
2052
+ ...props
2053
+ }) {
2054
+ return /* @__PURE__ */ jsx(
2055
+ Progress$1.Value,
2056
+ {
2057
+ className: cn("a63-Progress-value", className),
2058
+ "data-slot": "progress-value",
2059
+ ...props
2060
+ }
2061
+ );
2062
+ }
2063
+ var scrollableListControlClassNames = {
2064
+ button: "a63-ScrollableList-controlButton",
2065
+ icon: "a63-ScrollableList-controlIcon"
2066
+ };
2067
+ function ScrollableList({
2068
+ children,
2069
+ className,
2070
+ contentPad,
2071
+ controlInset,
2072
+ showChevrons = true,
2073
+ disabled = false,
2074
+ draggable = false,
2075
+ mask = true,
2076
+ wrapLayoutBreakpoint
2077
+ }) {
2078
+ const [canScrollLeft, setCanScrollLeft] = useState(false);
2079
+ const [canScrollRight, setCanScrollRight] = useState(false);
2080
+ const [useWrapLayout, setUseWrapLayout] = useState(false);
2081
+ const containerRef = useRef(null);
2082
+ const scrollAreaRef = useRef(null);
2083
+ const getViewport = useCallback(() => {
2084
+ return scrollAreaRef.current?.querySelector('[data-slot="scroll-area-viewport"]');
2085
+ }, []);
2086
+ const checkScrollPosition = useCallback(() => {
2087
+ const viewport = getViewport();
2088
+ if (!viewport) return;
2089
+ const { scrollLeft, scrollWidth, clientWidth } = viewport;
2090
+ setCanScrollLeft(scrollLeft > 1);
2091
+ setCanScrollRight(scrollLeft < scrollWidth - clientWidth - 1);
2092
+ }, [getViewport]);
2093
+ const scrollContent = useCallback(
2094
+ (direction) => {
2095
+ const viewport = getViewport();
2096
+ if (!viewport) return;
2097
+ const scrollAmount = viewport.clientWidth * 0.8;
2098
+ const targetScroll = viewport.scrollLeft + (direction === "right" ? scrollAmount : -scrollAmount);
2099
+ viewport.scrollTo({
2100
+ left: targetScroll,
2101
+ behavior: window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"
2102
+ });
2103
+ },
2104
+ [getViewport]
2105
+ );
2106
+ useEffect(() => {
2107
+ if (!wrapLayoutBreakpoint) return;
2108
+ const container = containerRef.current;
2109
+ if (!container) return;
2110
+ const checkWidth = () => {
2111
+ const width = container.getBoundingClientRect().width;
2112
+ setUseWrapLayout(width >= wrapLayoutBreakpoint);
2113
+ };
2114
+ checkWidth();
2115
+ const resizeObserver = new ResizeObserver(() => {
2116
+ requestAnimationFrame(checkWidth);
2117
+ });
2118
+ resizeObserver.observe(container);
2119
+ return () => resizeObserver.disconnect();
2120
+ }, [wrapLayoutBreakpoint]);
2121
+ useEffect(() => {
2122
+ if (useWrapLayout) return;
2123
+ const immediateCheck = window.setTimeout(checkScrollPosition, 10);
2124
+ const delayedCheck = window.setTimeout(checkScrollPosition, 100);
2125
+ return () => {
2126
+ clearTimeout(immediateCheck);
2127
+ clearTimeout(delayedCheck);
2128
+ };
2129
+ }, [checkScrollPosition, useWrapLayout, children]);
2130
+ useEffect(() => {
2131
+ if (!draggable || disabled || useWrapLayout) {
2132
+ return;
2133
+ }
2134
+ const viewport = getViewport();
2135
+ if (!viewport) {
2136
+ return;
2137
+ }
2138
+ let isDown = false;
2139
+ let startX = 0;
2140
+ let startScroll = 0;
2141
+ let moved = false;
2142
+ const onPointerDown = (event) => {
2143
+ isDown = true;
2144
+ moved = false;
2145
+ startX = event.clientX;
2146
+ startScroll = viewport.scrollLeft;
2147
+ viewport.setPointerCapture?.(event.pointerId);
2148
+ viewport.dataset.dragging = "true";
2149
+ };
2150
+ const onPointerMove = (event) => {
2151
+ if (!isDown) {
2152
+ return;
2153
+ }
2154
+ const dx = event.clientX - startX;
2155
+ if (Math.abs(dx) > 3) {
2156
+ moved = true;
2157
+ }
2158
+ viewport.scrollLeft = startScroll - dx;
2159
+ };
2160
+ const endDrag = (event) => {
2161
+ if (!isDown) {
2162
+ return;
2163
+ }
2164
+ isDown = false;
2165
+ viewport.dataset.dragging = "";
2166
+ viewport.releasePointerCapture?.(event.pointerId);
2167
+ };
2168
+ const onClickCapture = (event) => {
2169
+ if (moved) {
2170
+ event.stopPropagation();
2171
+ event.preventDefault();
2172
+ moved = false;
2173
+ }
2174
+ };
2175
+ viewport.addEventListener("pointerdown", onPointerDown);
2176
+ viewport.addEventListener("pointermove", onPointerMove);
2177
+ viewport.addEventListener("pointerup", endDrag);
2178
+ viewport.addEventListener("pointercancel", endDrag);
2179
+ viewport.addEventListener("click", onClickCapture, true);
2180
+ return () => {
2181
+ viewport.removeEventListener("pointerdown", onPointerDown);
2182
+ viewport.removeEventListener("pointermove", onPointerMove);
2183
+ viewport.removeEventListener("pointerup", endDrag);
2184
+ viewport.removeEventListener("pointercancel", endDrag);
2185
+ viewport.removeEventListener("click", onClickCapture, true);
2186
+ };
2187
+ }, [disabled, draggable, useWrapLayout, getViewport]);
2188
+ useEffect(() => {
2189
+ if (useWrapLayout) return;
2190
+ const viewport = getViewport();
2191
+ if (!viewport) return;
2192
+ checkScrollPosition();
2193
+ viewport.addEventListener("scroll", checkScrollPosition);
2194
+ const resizeObserver = new ResizeObserver(checkScrollPosition);
2195
+ resizeObserver.observe(viewport);
2196
+ const contentContainer = viewport.querySelector(":scope > *");
2197
+ if (contentContainer) {
2198
+ resizeObserver.observe(contentContainer);
2199
+ }
2200
+ return () => {
2201
+ viewport.removeEventListener("scroll", checkScrollPosition);
2202
+ resizeObserver.disconnect();
2203
+ };
2204
+ }, [checkScrollPosition, getViewport, useWrapLayout]);
2205
+ const bleedStyle = contentPad || controlInset ? {
2206
+ ...contentPad ? { "--scrollable-list-content-pad": contentPad } : null,
2207
+ ...controlInset ? { "--scrollable-list-control-inset": controlInset } : null
2208
+ } : void 0;
2209
+ if (wrapLayoutBreakpoint && useWrapLayout) {
2210
+ return /* @__PURE__ */ jsx(
2211
+ "div",
2212
+ {
2213
+ className: cn("a63-ScrollableList", className),
2214
+ "data-disabled": disabled || void 0,
2215
+ "data-slot": "scrollable-list",
2216
+ ref: containerRef,
2217
+ style: bleedStyle,
2218
+ children: /* @__PURE__ */ jsx("div", { className: "a63-ScrollableList-content", "data-slot": "scrollable-list-content", children })
2219
+ }
2220
+ );
2221
+ }
2222
+ return /* @__PURE__ */ jsx(
2223
+ "div",
2224
+ {
2225
+ className: cn("a63-ScrollableList", className),
2226
+ "data-disabled": disabled || void 0,
2227
+ "data-draggable": draggable || void 0,
2228
+ "data-slot": "scrollable-list",
2229
+ ref: containerRef,
2230
+ style: bleedStyle,
2231
+ children: /* @__PURE__ */ jsxs("div", { className: "a63-ScrollableList-frame", "data-slot": "scrollable-list-frame", children: [
2232
+ /* @__PURE__ */ jsx(
2233
+ ScrollArea,
2234
+ {
2235
+ className: "[&_[data-slot=scroll-area-scrollbar][data-orientation=vertical]]:hidden",
2236
+ ref: scrollAreaRef,
2237
+ scrollFade: mask,
2238
+ viewportClassName: "overflow-y-hidden",
2239
+ children: /* @__PURE__ */ jsx("div", { className: "a63-ScrollableList-content", "data-slot": "scrollable-list-content", children })
2240
+ }
2241
+ ),
2242
+ showChevrons && canScrollLeft && !disabled && /* @__PURE__ */ jsx(
2243
+ "div",
2244
+ {
2245
+ className: "a63-ScrollableList-control",
2246
+ "data-side": "left",
2247
+ "data-slot": "scrollable-list-control",
2248
+ "data-visible": true,
2249
+ children: /* @__PURE__ */ jsx(
2250
+ Button,
2251
+ {
2252
+ "aria-label": "Scroll left",
2253
+ className: scrollableListControlClassNames.button,
2254
+ onClick: () => scrollContent("left"),
2255
+ size: "icon-lg",
2256
+ type: "button",
2257
+ variant: "secondary",
2258
+ children: /* @__PURE__ */ jsx(ChevronLeft, { className: scrollableListControlClassNames.icon })
2259
+ }
2260
+ )
2261
+ }
2262
+ ),
2263
+ showChevrons && canScrollRight && !disabled && /* @__PURE__ */ jsx(
2264
+ "div",
2265
+ {
2266
+ className: "a63-ScrollableList-control",
2267
+ "data-side": "right",
2268
+ "data-slot": "scrollable-list-control",
2269
+ "data-visible": true,
2270
+ children: /* @__PURE__ */ jsx(
2271
+ Button,
2272
+ {
2273
+ "aria-label": "Scroll right",
2274
+ className: scrollableListControlClassNames.button,
2275
+ onClick: () => scrollContent("right"),
2276
+ size: "icon-lg",
2277
+ type: "button",
2278
+ variant: "secondary",
2279
+ children: /* @__PURE__ */ jsx(ChevronRight, { className: scrollableListControlClassNames.icon })
2280
+ }
2281
+ )
2282
+ }
2283
+ )
2284
+ ] })
2285
+ }
2286
+ );
2287
+ }
2288
+ var Select = Select$1.Root;
2289
+ var selectTriggerDefaultClassName = "a63-Select-trigger";
2290
+ function SelectTrigger({
2291
+ children,
2292
+ className,
2293
+ size = selectContract.defaultSize,
2294
+ ...props
2295
+ }) {
2296
+ return /* @__PURE__ */ jsxs(
2297
+ Select$1.Trigger,
2298
+ {
2299
+ className: cn(selectTriggerDefaultClassName, className),
2300
+ "data-size": size,
2301
+ "data-slot": "select-trigger",
2302
+ ...props,
2303
+ children: [
2304
+ children,
2305
+ /* @__PURE__ */ jsx(Select$1.Icon, { className: "a63-Select-icon", "data-slot": "select-icon", children: /* @__PURE__ */ jsx(ChevronsUpDown, { "aria-hidden": "true" }) })
2306
+ ]
2307
+ }
2308
+ );
2309
+ }
2310
+ function SelectValue({
2311
+ className,
2312
+ ...props
2313
+ }) {
2314
+ return /* @__PURE__ */ jsx(
2315
+ Select$1.Value,
2316
+ {
2317
+ className: cn("a63-Select-value", className),
2318
+ "data-slot": "select-value",
2319
+ ...props
2320
+ }
2321
+ );
2322
+ }
2323
+ function SelectPopup({
2324
+ children,
2325
+ className,
2326
+ listClassName,
2327
+ portalContainer,
2328
+ sideOffset = 4,
2329
+ alignItemWithTrigger = true,
2330
+ ...props
2331
+ }) {
2332
+ const contextPortalContainer = usePortalContainer();
2333
+ const container = portalContainer ?? contextPortalContainer;
2334
+ return /* @__PURE__ */ jsx(Select$1.Portal, { container, children: /* @__PURE__ */ jsx(
2335
+ Select$1.Positioner,
2336
+ {
2337
+ alignItemWithTrigger,
2338
+ className: "a63-Select-positioner",
2339
+ "data-slot": "select-positioner",
2340
+ sideOffset,
2341
+ children: /* @__PURE__ */ jsxs(
2342
+ Select$1.Popup,
2343
+ {
2344
+ className: cn("a63-Select-popup", className),
2345
+ "data-slot": "select-popup",
2346
+ ...props,
2347
+ children: [
2348
+ /* @__PURE__ */ jsx(
2349
+ Select$1.ScrollUpArrow,
2350
+ {
2351
+ className: "a63-Select-scroll-arrow",
2352
+ "data-slot": "select-scroll-up-arrow",
2353
+ children: /* @__PURE__ */ jsx(ChevronUp, { "aria-hidden": "true" })
2354
+ }
2355
+ ),
2356
+ /* @__PURE__ */ jsx("div", { className: "a63-Select-surface a63-Menu-popup", "data-slot": "select-surface", children: /* @__PURE__ */ jsx(
2357
+ Select$1.List,
2358
+ {
2359
+ className: cn("a63-Select-list", listClassName),
2360
+ "data-slot": "select-list",
2361
+ children
2362
+ }
2363
+ ) }),
2364
+ /* @__PURE__ */ jsx(
2365
+ Select$1.ScrollDownArrow,
2366
+ {
2367
+ className: "a63-Select-scroll-arrow",
2368
+ "data-slot": "select-scroll-down-arrow",
2369
+ children: /* @__PURE__ */ jsx(ChevronDown, { "aria-hidden": "true" })
2370
+ }
2371
+ )
2372
+ ]
2373
+ }
2374
+ )
2375
+ }
2376
+ ) });
2377
+ }
2378
+ function SelectItem({
2379
+ children,
2380
+ className,
2381
+ ...props
2382
+ }) {
2383
+ return /* @__PURE__ */ jsxs(
2384
+ Select$1.Item,
2385
+ {
2386
+ className: cn("a63-Menu-item", "a63-Select-item", className),
2387
+ "data-slot": "select-item",
2388
+ ...props,
2389
+ children: [
2390
+ /* @__PURE__ */ jsx(
2391
+ Select$1.ItemIndicator,
2392
+ {
2393
+ className: "a63-Select-item-indicator",
2394
+ "data-slot": "select-item-indicator",
2395
+ children: /* @__PURE__ */ jsx(Check, { "aria-hidden": "true" })
2396
+ }
2397
+ ),
2398
+ /* @__PURE__ */ jsx(Select$1.ItemText, { className: "a63-Select-item-text", "data-slot": "select-item-text", children })
2399
+ ]
2400
+ }
2401
+ );
2402
+ }
2403
+ function SelectSeparator({
2404
+ className,
2405
+ ...props
2406
+ }) {
2407
+ return /* @__PURE__ */ jsx(
2408
+ Select$1.Separator,
2409
+ {
2410
+ className: cn("a63-Menu-separator", "a63-Select-separator", className),
2411
+ "data-slot": "select-separator",
2412
+ ...props
2413
+ }
2414
+ );
2415
+ }
2416
+ function SelectGroup(props) {
2417
+ return /* @__PURE__ */ jsx(Select$1.Group, { "data-slot": "select-group", ...props });
2418
+ }
2419
+ function SelectGroupLabel({
2420
+ className,
2421
+ ...props
2422
+ }) {
2423
+ return /* @__PURE__ */ jsx(
2424
+ Select$1.GroupLabel,
2425
+ {
2426
+ className: cn("a63-Menu-label", "a63-Select-group-label", className),
2427
+ "data-slot": "select-group-label",
2428
+ ...props
2429
+ }
2430
+ );
2431
+ }
2432
+ var SelectContent = SelectPopup;
2433
+ var openSheetCount = 0;
2434
+ function setSheetBodyState(open) {
2435
+ openSheetCount = Math.max(0, openSheetCount + (open ? 1 : -1));
2436
+ document.body.toggleAttribute("data-sheet-open", openSheetCount > 0);
2437
+ }
2438
+ function Sheet({ onOpenChange, open, defaultOpen, ...props }) {
2439
+ const isControlled = open !== void 0;
2440
+ const bodyStateRef = React2.useRef(false);
2441
+ const syncBodyState = React2.useCallback((nextOpen) => {
2442
+ if (bodyStateRef.current === nextOpen) return;
2443
+ bodyStateRef.current = nextOpen;
2444
+ setSheetBodyState(nextOpen);
2445
+ }, []);
2446
+ React2.useEffect(() => {
2447
+ if (isControlled) syncBodyState(open);
2448
+ }, [isControlled, open, syncBodyState]);
2449
+ React2.useEffect(() => {
2450
+ if (!isControlled && defaultOpen) syncBodyState(true);
2451
+ return () => syncBodyState(false);
2452
+ }, [defaultOpen, isControlled, syncBodyState]);
2453
+ const handleOpenChange = (open2, eventDetails) => {
2454
+ if (!isControlled) syncBodyState(open2);
2455
+ onOpenChange?.(open2, eventDetails);
2456
+ };
2457
+ return /* @__PURE__ */ jsx(
2458
+ Dialog$1.Root,
2459
+ {
2460
+ "data-slot": "sheet",
2461
+ defaultOpen,
2462
+ onOpenChange: handleOpenChange,
2463
+ open,
2464
+ ...props
2465
+ }
2466
+ );
2467
+ }
2468
+ function SheetPortal(props) {
2469
+ return /* @__PURE__ */ jsx(Dialog$1.Portal, { "data-slot": "sheet-portal", ...props });
2470
+ }
2471
+ function SheetTrigger({
2472
+ className,
2473
+ ...props
2474
+ }) {
2475
+ return /* @__PURE__ */ jsx(Dialog$1.Trigger, { className, "data-slot": "sheet-trigger", ...props });
2476
+ }
2477
+ function SheetClose({
2478
+ className,
2479
+ ...props
2480
+ }) {
2481
+ return /* @__PURE__ */ jsx(Dialog$1.Close, { className, "data-slot": "sheet-close", ...props });
2482
+ }
2483
+ function SheetBackdrop({
2484
+ className,
2485
+ ...props
2486
+ }) {
2487
+ return /* @__PURE__ */ jsx(
2488
+ Dialog$1.Backdrop,
2489
+ {
2490
+ className: cn("a63-Sheet-backdrop", className),
2491
+ "data-slot": "sheet-backdrop",
2492
+ ...props
2493
+ }
2494
+ );
2495
+ }
2496
+ function SheetViewport({
2497
+ className,
2498
+ side = sheetContract.defaultSide,
2499
+ variant = sheetContract.defaultVariant,
2500
+ ...props
2501
+ }) {
2502
+ return /* @__PURE__ */ jsx(
2503
+ Dialog$1.Viewport,
2504
+ {
2505
+ className: cn("a63-Sheet-viewport", className),
2506
+ "data-side": side,
2507
+ "data-slot": "sheet-viewport",
2508
+ "data-variant": variant,
2509
+ ...props
2510
+ }
2511
+ );
2512
+ }
2513
+ function SheetPopup({
2514
+ className,
2515
+ children,
2516
+ showCloseButton = true,
2517
+ side = sheetContract.defaultSide,
2518
+ variant = sheetContract.defaultVariant,
2519
+ closeProps,
2520
+ portalProps,
2521
+ ...props
2522
+ }) {
2523
+ return /* @__PURE__ */ jsxs(SheetPortal, { ...portalProps, children: [
2524
+ /* @__PURE__ */ jsx(SheetBackdrop, {}),
2525
+ /* @__PURE__ */ jsx(SheetViewport, { side, variant, children: /* @__PURE__ */ jsxs(
2526
+ Dialog$1.Popup,
2527
+ {
2528
+ className: cn("a63-Sheet-popup", className),
2529
+ "data-side": side,
2530
+ "data-slot": "sheet-popup",
2531
+ "data-variant": variant,
2532
+ ...props,
2533
+ children: [
2534
+ children,
2535
+ showCloseButton && /* @__PURE__ */ jsx(
2536
+ Dialog$1.Close,
2537
+ {
2538
+ "aria-label": "Close",
2539
+ className: "a63-Sheet-close-button",
2540
+ "data-slot": "sheet-close-button",
2541
+ render: /* @__PURE__ */ jsx(Button, { size: "icon", variant: "ghost" }),
2542
+ ...closeProps,
2543
+ children: /* @__PURE__ */ jsx(X, { "aria-hidden": "true" })
2544
+ }
2545
+ )
2546
+ ]
2547
+ }
2548
+ ) })
2549
+ ] });
2550
+ }
2551
+ function SheetHeader({
2552
+ className,
2553
+ render,
2554
+ ...props
2555
+ }) {
2556
+ const defaultProps = {
2557
+ className: cn("a63-Sheet-header", className),
2558
+ "data-slot": "sheet-header"
2559
+ };
2560
+ return useRender({
2561
+ defaultTagName: "div",
2562
+ props: mergeProps(defaultProps, props),
2563
+ render
2564
+ });
2565
+ }
2566
+ function SheetFooter({
2567
+ className,
2568
+ variant = sheetContract.defaultFooterVariant,
2569
+ render,
2570
+ ...props
2571
+ }) {
2572
+ const defaultProps = {
2573
+ className: cn("a63-Sheet-footer", className),
2574
+ "data-slot": "sheet-footer",
2575
+ "data-variant": variant
2576
+ };
2577
+ return useRender({
2578
+ defaultTagName: "div",
2579
+ props: mergeProps(defaultProps, props),
2580
+ render
2581
+ });
2582
+ }
2583
+ function SheetTitle({
2584
+ className,
2585
+ ...props
2586
+ }) {
2587
+ return /* @__PURE__ */ jsx(
2588
+ Dialog$1.Title,
2589
+ {
2590
+ className: cn("a63-Sheet-title", className),
2591
+ "data-slot": "sheet-title",
2592
+ ...props
2593
+ }
2594
+ );
2595
+ }
2596
+ function SheetDescription({
2597
+ className,
2598
+ ...props
2599
+ }) {
2600
+ return /* @__PURE__ */ jsx(
2601
+ Dialog$1.Description,
2602
+ {
2603
+ className: cn("a63-Sheet-description", className),
2604
+ "data-slot": "sheet-description",
2605
+ ...props
2606
+ }
2607
+ );
2608
+ }
2609
+ function SheetPanel({
2610
+ className,
2611
+ scrollFade = true,
2612
+ render,
2613
+ ...props
2614
+ }) {
2615
+ const defaultProps = {
2616
+ className: cn("a63-Sheet-panel", className),
2617
+ "data-slot": "sheet-panel"
2618
+ };
2619
+ return /* @__PURE__ */ jsx(ScrollArea, { scrollFade, children: useRender({
2620
+ defaultTagName: "div",
2621
+ props: mergeProps(defaultProps, props),
2622
+ render
2623
+ }) });
2624
+ }
2625
+ var TooltipCreateHandle = Tooltip$1.createHandle;
2626
+ var TooltipProvider = Tooltip$1.Provider;
2627
+ var Tooltip = Tooltip$1.Root;
2628
+ function TooltipTrigger(props) {
2629
+ return /* @__PURE__ */ jsx(Tooltip$1.Trigger, { "data-slot": "tooltip-trigger", ...props });
2630
+ }
2631
+ function TooltipPopup({
2632
+ align = "center",
2633
+ anchor,
2634
+ children,
2635
+ className,
2636
+ portalProps,
2637
+ side = "top",
2638
+ sideOffset = 4,
2639
+ ...props
2640
+ }) {
2641
+ const contextPortalContainer = usePortalContainer();
2642
+ const container = portalProps?.container ?? contextPortalContainer;
2643
+ return /* @__PURE__ */ jsx(Tooltip$1.Portal, { ...portalProps, container, children: /* @__PURE__ */ jsx(
2644
+ Tooltip$1.Positioner,
2645
+ {
2646
+ align,
2647
+ anchor,
2648
+ className: "a63-Tooltip-positioner",
2649
+ "data-slot": "tooltip-positioner",
2650
+ side,
2651
+ sideOffset,
2652
+ children: /* @__PURE__ */ jsx(
2653
+ Tooltip$1.Popup,
2654
+ {
2655
+ className: cn("a63-Tooltip-popup", className),
2656
+ "data-slot": "tooltip-popup",
2657
+ ...props,
2658
+ children: /* @__PURE__ */ jsx(Tooltip$1.Viewport, { className: "a63-Tooltip-viewport", "data-slot": "tooltip-viewport", children })
2659
+ }
2660
+ )
2661
+ }
2662
+ ) });
2663
+ }
2664
+
2665
+ export { AlertDialog, AlertDialogAction, AlertDialogBackdrop, AlertDialogCancel, AlertDialogClose, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, ButtonGroup, ButtonGroupProvider, ButtonGroupSeparator, ButtonGroupText, Card, CardAction, CardContent, CardCursorLabel, CardDescription, CardFooter, CardHeader, CardLabel, CardMedia, CardMediaOverlay, CardMediaOverlayBottom, CardMediaOverlayIconButton, CardMediaOverlayImage, CardMediaOverlayScrim, CardMediaOverlayTopRight, CardTags, CardTitle, Command, CommandCollection, CommandCreateHandle, CommandDialog, CommandDialogBackdrop, CommandDialogPopup, CommandDialogPortal, CommandDialogTrigger, CommandDialogViewport, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut, Dialog, DialogBackdrop, DialogClose, DialogCreateHandle, DialogDescription, DialogFooter, DialogHeader, DialogPanel, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, DialogViewport, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NavigationMenuViewport, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, ScrollableList, Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBackdrop, SheetClose, SheetDescription, SheetFooter, SheetHeader, SheetPanel, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, SheetViewport, Textarea, Tooltip, TooltipCreateHandle, TooltipPopup, TooltipProvider, TooltipTrigger, cardLinkClassName, getReactRendererConformance, navigationMenuTriggerStyle, reactRendererConformance, scrollableListControlClassNames, selectTriggerDefaultClassName, useAutocompleteFilter, useButtonGroupContext, useCardCursor };
2666
+ //# sourceMappingURL=chunk-JREAUE3E.js.map
2667
+ //# sourceMappingURL=chunk-JREAUE3E.js.map