kuzenbo 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +185 -0
- package/dist/accordion-trigger-D5XnBMS6.d.ts +24 -0
- package/dist/accordion-trigger-TjAe8JHy.js +53 -0
- package/dist/alert-dialog-trigger-BV0BsaVU.d.ts +638 -0
- package/dist/alert-dialog-trigger-D5BRoizR.js +98 -0
- package/dist/alert-title-CISzcj0X.js +28 -0
- package/dist/alert-title-CVC9G-Xf.d.ts +22 -0
- package/dist/announcement-title-CCZuGB1O.d.ts +18 -0
- package/dist/announcement-title-CIwzt9Wl.js +18 -0
- package/dist/autocomplete-value-BhyszIrf.d.ts +111 -0
- package/dist/autocomplete-value-DNJ3sAIH.js +141 -0
- package/dist/avatar-image-BKgKyzVw.d.ts +35 -0
- package/dist/avatar-image-Bw3G-Bl6.js +45 -0
- package/dist/breadcrumb-separator-D66-B1DA.d.ts +44 -0
- package/dist/breadcrumb-separator-Do-19Uow.js +74 -0
- package/dist/button-group-text-D98w78rH.js +25 -0
- package/dist/calendar-week-number-6AXvZ4Ij.js +72 -0
- package/dist/calendar-week-number-in2gpvA_.d.ts +36 -0
- package/dist/card-title-CbRPAh3M.js +52 -0
- package/dist/card-title-DSDluDoy.d.ts +40 -0
- package/dist/carousel-previous-B_jysGv_.js +89 -0
- package/dist/chart-tooltip-content-h5oLtil-.js +144 -0
- package/dist/collapsible-trigger-DcQWODN-.js +20 -0
- package/dist/collapsible-trigger-aZF7_mPR.d.ts +15 -0
- package/dist/command-shortcut-DoWM7Mnm.js +97 -0
- package/dist/context-menu-trigger-CYBhdcpg.js +147 -0
- package/dist/context-menu-trigger-Du2vcTco.d.ts +103 -0
- package/dist/dialog-trigger-CR23tYql.js +97 -0
- package/dist/dialog-trigger-xeE4e96-.d.ts +74 -0
- package/dist/drawer-trigger-7jI4Zmqs.js +79 -0
- package/dist/drawer-trigger-H_Wv5R00.d.ts +67 -0
- package/dist/dropdown-menu-trigger-CFdruqOk.d.ts +108 -0
- package/dist/dropdown-menu-trigger-IKeAoU_a.js +152 -0
- package/dist/dropzone-context-BRX1K7nw.d.ts +45 -0
- package/dist/dropzone-status-CW-3AXuh.js +33 -0
- package/dist/emoji-picker-skin-tone-selector-Cmv-1vDO.js +117 -0
- package/dist/emoji-picker-skin-tone-selector-yMYxt4oJ.d.ts +67 -0
- package/dist/empty-title-CH3DhcfT.d.ts +53 -0
- package/dist/empty-title-CHNBH7WJ.js +53 -0
- package/dist/form-field-title-CNrq8v88.js +101 -0
- package/dist/hooks/use-isomorphic-effect.d.ts +7 -0
- package/dist/hooks/use-isomorphic-effect.js +7 -0
- package/dist/hooks/use-mobile.d.ts +4 -0
- package/dist/hooks/use-mobile.js +20 -0
- package/dist/hover-card-trigger-B9jf3FEB.js +31 -0
- package/dist/hover-card-trigger-BqVoZ7h4.d.ts +20 -0
- package/dist/index.d.ts +122 -0
- package/dist/index.js +130 -0
- package/dist/input-group-textarea-voYOV11-.js +79 -0
- package/dist/input-otp-slot-DWbXhUmU.js +45 -0
- package/dist/input-otp-slot-eVdOjx8C.d.ts +24 -0
- package/dist/item-title-BYrYJZpa.js +89 -0
- package/dist/kbd-group-CT-Xtgug.js +12 -0
- package/dist/kbd-group-D3yVrb2D.d.ts +10 -0
- package/dist/marquee-item-BGJ5NSiz.js +29 -0
- package/dist/marquee-item-DD6JuLJ4.d.ts +32 -0
- package/dist/menubar-trigger-BLg3XdRv.d.ts +104 -0
- package/dist/menubar-trigger-aKMWAxdz.js +146 -0
- package/dist/meter-value-BmxUICOA.js +37 -0
- package/dist/meter-value-DYkZLCtx.d.ts +30 -0
- package/dist/navigation-menu-trigger-Bf60DnIz.d.ts +53 -0
- package/dist/navigation-menu-trigger-D80wiliM.js +82 -0
- package/dist/number-field-scrub-area-CXSyafBE.js +80 -0
- package/dist/optional-portal-C7TpYnOc.js +15 -0
- package/dist/pagination-previous-DPZrRgiD.js +88 -0
- package/dist/pagination-previous-qJeZZTou.d.ts +45 -0
- package/dist/pill-status-CD9XXuE7.js +74 -0
- package/dist/pill-status-rg-3AMSI.d.ts +77 -0
- package/dist/popover-trigger-B9PVErig.d.ts +39 -0
- package/dist/popover-trigger-C8dP_u7N.js +52 -0
- package/dist/progress-value-CFlgP0nv.d.ts +28 -0
- package/dist/progress-value-CfCodKnX.js +37 -0
- package/dist/radio-group-item-09fw05Va.d.ts +10 -0
- package/dist/radio-group-item-CQjCazjw.js +24 -0
- package/dist/rating-star-6ov3lbpn.d.ts +57 -0
- package/dist/rating-star-BuLQfAnZ.js +110 -0
- package/dist/resizable-panel-B4lAr8Vb.d.ts +19 -0
- package/dist/resizable-panel-BO97wcPj.js +21 -0
- package/dist/scroll-bar-BQzpb5hF.js +19 -0
- package/dist/scroll-bar-vYvxEOph.d.ts +11 -0
- package/dist/select-value-BUnWentK.js +117 -0
- package/dist/select-value-DG31IHy3.d.ts +70 -0
- package/dist/sheet-trigger-CLgKANrf.d.ts +64 -0
- package/dist/sheet-trigger-CUU7xwUn.js +95 -0
- package/dist/sidebar-trigger-BCjVuIqi.js +366 -0
- package/dist/styles.css +145 -0
- package/dist/table-row-BxhKJPfE.d.ts +46 -0
- package/dist/table-row-D63xalkM.js +60 -0
- package/dist/tabs-trigger-B2mBxFgq.js +38 -0
- package/dist/tabs-trigger-BGo2XGvh.d.ts +41 -0
- package/dist/timeline-title-BH8JxX2n.js +389 -0
- package/dist/toggle-group-item-Bz_ohmnY.d.ts +53 -0
- package/dist/toggle-group-item-aggwtgam.js +34 -0
- package/dist/toolbar-separator-7CgKz2aX.d.ts +40 -0
- package/dist/toolbar-separator-Bre5OtBI.js +41 -0
- package/dist/tooltip-trigger-CrAGfaqr.d.ts +27 -0
- package/dist/tooltip-trigger-Z-aPDRog.js +37 -0
- package/dist/ui/accordion.d.ts +27 -0
- package/dist/ui/accordion.js +17 -0
- package/dist/ui/affix.d.ts +49 -0
- package/dist/ui/affix.js +57 -0
- package/dist/ui/alert-dialog.d.ts +123 -0
- package/dist/ui/alert-dialog.js +23 -0
- package/dist/ui/alert.d.ts +58 -0
- package/dist/ui/alert.js +59 -0
- package/dist/ui/announcement.d.ts +27 -0
- package/dist/ui/announcement.js +16 -0
- package/dist/ui/aspect-ratio.d.ts +13 -0
- package/dist/ui/aspect-ratio.js +13 -0
- package/dist/ui/autocomplete.d.ts +67 -0
- package/dist/ui/autocomplete.js +30 -0
- package/dist/ui/avatar.d.ts +37 -0
- package/dist/ui/avatar.js +22 -0
- package/dist/ui/badge.d.ts +54 -0
- package/dist/ui/badge.js +33 -0
- package/dist/ui/breadcrumb.d.ts +41 -0
- package/dist/ui/breadcrumb.js +20 -0
- package/dist/ui/button-group.d.ts +94 -0
- package/dist/ui/button-group.js +24 -0
- package/dist/ui/button.d.ts +91 -0
- package/dist/ui/button.js +64 -0
- package/dist/ui/calendar.d.ts +52 -0
- package/dist/ui/calendar.js +64 -0
- package/dist/ui/card.d.ts +40 -0
- package/dist/ui/card.js +20 -0
- package/dist/ui/carousel.d.ts +100 -0
- package/dist/ui/carousel.js +76 -0
- package/dist/ui/chart.d.ts +61 -0
- package/dist/ui/chart.js +34 -0
- package/dist/ui/checkbox-group.d.ts +12 -0
- package/dist/ui/checkbox-group.js +13 -0
- package/dist/ui/checkbox.d.ts +12 -0
- package/dist/ui/checkbox.js +27 -0
- package/dist/ui/collapsible.d.ts +19 -0
- package/dist/ui/collapsible.js +16 -0
- package/dist/ui/combobox.d.ts +95 -0
- package/dist/ui/combobox.js +31 -0
- package/dist/ui/command.d.ts +146 -0
- package/dist/ui/command.js +24 -0
- package/dist/ui/context-menu.d.ts +83 -0
- package/dist/ui/context-menu.js +26 -0
- package/dist/ui/country-flag.d.ts +18 -0
- package/dist/ui/country-flag.js +36 -0
- package/dist/ui/dialog.d.ts +53 -0
- package/dist/ui/dialog.js +23 -0
- package/dist/ui/drawer.d.ts +52 -0
- package/dist/ui/drawer.js +24 -0
- package/dist/ui/dropdown-menu.d.ts +88 -0
- package/dist/ui/dropdown-menu.js +26 -0
- package/dist/ui/dropzone.d.ts +233 -0
- package/dist/ui/dropzone.js +180 -0
- package/dist/ui/emoji-picker.d.ts +46 -0
- package/dist/ui/emoji-picker.js +23 -0
- package/dist/ui/empty.d.ts +50 -0
- package/dist/ui/empty.js +18 -0
- package/dist/ui/form-field.d.ts +134 -0
- package/dist/ui/form-field.js +33 -0
- package/dist/ui/google-logo.d.ts +13 -0
- package/dist/ui/google-logo.js +36 -0
- package/dist/ui/hover-card.d.ts +24 -0
- package/dist/ui/hover-card.js +16 -0
- package/dist/ui/input-group.d.ts +141 -0
- package/dist/ui/input-group.js +21 -0
- package/dist/ui/input-otp.d.ts +31 -0
- package/dist/ui/input-otp.js +19 -0
- package/dist/ui/input.d.ts +12 -0
- package/dist/ui/input.js +14 -0
- package/dist/ui/item.d.ts +158 -0
- package/dist/ui/item.js +50 -0
- package/dist/ui/kbd.d.ts +18 -0
- package/dist/ui/kbd.js +14 -0
- package/dist/ui/label.d.ts +12 -0
- package/dist/ui/label.js +15 -0
- package/dist/ui/marquee.d.ts +30 -0
- package/dist/ui/marquee.js +17 -0
- package/dist/ui/menubar.d.ts +228 -0
- package/dist/ui/menubar.js +29 -0
- package/dist/ui/meter.d.ts +29 -0
- package/dist/ui/meter.js +19 -0
- package/dist/ui/navigation-menu.d.ts +12 -0
- package/dist/ui/navigation-menu.js +15 -0
- package/dist/ui/number-field.d.ts +41 -0
- package/dist/ui/number-field.js +33 -0
- package/dist/ui/pagination.d.ts +38 -0
- package/dist/ui/pagination.js +20 -0
- package/dist/ui/pill.d.ts +49 -0
- package/dist/ui/pill.js +21 -0
- package/dist/ui/popover.d.ts +37 -0
- package/dist/ui/popover.js +19 -0
- package/dist/ui/portal.d.ts +29 -0
- package/dist/ui/portal.js +52 -0
- package/dist/ui/progress.d.ts +31 -0
- package/dist/ui/progress.js +22 -0
- package/dist/ui/qr-code.d.ts +20 -0
- package/dist/ui/qr-code.js +78 -0
- package/dist/ui/radio-group.d.ts +18 -0
- package/dist/ui/radio-group.js +15 -0
- package/dist/ui/rating.d.ts +80 -0
- package/dist/ui/rating.js +59 -0
- package/dist/ui/resizable.d.ts +25 -0
- package/dist/ui/resizable.js +18 -0
- package/dist/ui/scroll-area.d.ts +19 -0
- package/dist/ui/scroll-area.js +24 -0
- package/dist/ui/select.d.ts +65 -0
- package/dist/ui/select.js +23 -0
- package/dist/ui/separator.d.ts +12 -0
- package/dist/ui/separator.js +14 -0
- package/dist/ui/sheet.d.ts +54 -0
- package/dist/ui/sheet.js +23 -0
- package/dist/ui/sidebar.d.ts +247 -0
- package/dist/ui/sidebar.js +83 -0
- package/dist/ui/skeleton.d.ts +11 -0
- package/dist/ui/skeleton.js +12 -0
- package/dist/ui/slider.d.ts +15 -0
- package/dist/ui/slider.js +47 -0
- package/dist/ui/spacer.d.ts +18 -0
- package/dist/ui/spacer.js +25 -0
- package/dist/ui/spinner.d.ts +12 -0
- package/dist/ui/spinner.js +17 -0
- package/dist/ui/surface.d.ts +41 -0
- package/dist/ui/surface.js +31 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/switch.js +20 -0
- package/dist/ui/table.d.ts +41 -0
- package/dist/ui/table.js +34 -0
- package/dist/ui/tabs.d.ts +43 -0
- package/dist/ui/tabs.js +20 -0
- package/dist/ui/textarea.d.ts +13 -0
- package/dist/ui/textarea.js +14 -0
- package/dist/ui/theme-icon.d.ts +77 -0
- package/dist/ui/theme-icon.js +56 -0
- package/dist/ui/timeline.d.ts +96 -0
- package/dist/ui/timeline.js +88 -0
- package/dist/ui/toast.d.ts +50 -0
- package/dist/ui/toast.js +23 -0
- package/dist/ui/toggle-group.d.ts +31 -0
- package/dist/ui/toggle-group.js +31 -0
- package/dist/ui/toggle.d.ts +46 -0
- package/dist/ui/toggle.js +34 -0
- package/dist/ui/toolbar.d.ts +33 -0
- package/dist/ui/toolbar.js +19 -0
- package/dist/ui/tooltip.d.ts +29 -0
- package/dist/ui/tooltip.js +17 -0
- package/dist/ui/video-player.d.ts +48 -0
- package/dist/ui/video-player.js +37 -0
- package/dist/use-chart-BRpzPrMJ.d.ts +77 -0
- package/dist/use-combobox-anchor-2KUf_cBk.js +198 -0
- package/dist/use-combobox-anchor-ByuqnpKH.d.ts +120 -0
- package/dist/use-number-field-Dzl9JLNK.d.ts +55 -0
- package/dist/use-timeline-BRlmxoQ7.d.ts +81 -0
- package/dist/use-toast-BGG4leSx.d.ts +118 -0
- package/dist/use-toast-DjRKuQG6.js +129 -0
- package/dist/video-player-volume-range-D971L6mz.d.ts +65 -0
- package/dist/video-player-volume-range-V7x0b1-r.js +66 -0
- package/package.json +128 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { Spinner } from "./spinner.js";
|
|
4
|
+
import { a as useDropzoneContext, i as DropzoneContext, n as DropzoneIdle, r as DropzoneReject, t as DropzoneAccept } from "../dropzone-status-CW-3AXuh.js";
|
|
5
|
+
import { cn, tv } from "tailwind-variants";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
|
+
import { useImperativeHandle } from "react";
|
|
8
|
+
import { useDropzone } from "react-dropzone";
|
|
9
|
+
|
|
10
|
+
//#region src/components/dropzone/dropzone.tsx
|
|
11
|
+
const dropzoneVariants = tv({
|
|
12
|
+
slots: {
|
|
13
|
+
root: [
|
|
14
|
+
"relative",
|
|
15
|
+
"cursor-pointer",
|
|
16
|
+
"select-none",
|
|
17
|
+
"rounded-lg",
|
|
18
|
+
"border",
|
|
19
|
+
"border-dashed",
|
|
20
|
+
"border-input",
|
|
21
|
+
"bg-background",
|
|
22
|
+
"p-4",
|
|
23
|
+
"outline-none",
|
|
24
|
+
"transition-colors",
|
|
25
|
+
"focus-visible:ring-2",
|
|
26
|
+
"focus-visible:ring-ring",
|
|
27
|
+
"focus-visible:ring-offset-2"
|
|
28
|
+
],
|
|
29
|
+
inner: [
|
|
30
|
+
"pointer-events-none",
|
|
31
|
+
"select-none",
|
|
32
|
+
"data-enable-pointer-events:pointer-events-auto"
|
|
33
|
+
],
|
|
34
|
+
overlay: [
|
|
35
|
+
"absolute",
|
|
36
|
+
"inset-0",
|
|
37
|
+
"z-10",
|
|
38
|
+
"flex",
|
|
39
|
+
"items-center",
|
|
40
|
+
"justify-center",
|
|
41
|
+
"rounded-lg",
|
|
42
|
+
"bg-background/80",
|
|
43
|
+
"backdrop-blur-sm"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
variants: {
|
|
47
|
+
variant: {
|
|
48
|
+
default: { root: [] },
|
|
49
|
+
filled: { root: ["bg-muted"] },
|
|
50
|
+
light: { root: ["bg-muted/50"] }
|
|
51
|
+
},
|
|
52
|
+
status: {
|
|
53
|
+
idle: { root: [] },
|
|
54
|
+
accept: { root: [
|
|
55
|
+
"border-primary",
|
|
56
|
+
"bg-primary/10",
|
|
57
|
+
"text-primary"
|
|
58
|
+
] },
|
|
59
|
+
reject: { root: [
|
|
60
|
+
"border-destructive",
|
|
61
|
+
"bg-destructive/10",
|
|
62
|
+
"text-destructive"
|
|
63
|
+
] }
|
|
64
|
+
},
|
|
65
|
+
disabled: { true: { root: ["cursor-default", "opacity-50"] } },
|
|
66
|
+
loading: { true: { root: ["cursor-default"] } },
|
|
67
|
+
activateOnClick: {
|
|
68
|
+
true: {},
|
|
69
|
+
false: { root: ["cursor-default"] }
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
compoundVariants: [
|
|
73
|
+
{
|
|
74
|
+
status: "accept",
|
|
75
|
+
variant: "filled",
|
|
76
|
+
class: { root: "border-primary bg-primary/20" }
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
status: "accept",
|
|
80
|
+
variant: "light",
|
|
81
|
+
class: { root: "border-primary bg-primary/10" }
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
status: "reject",
|
|
85
|
+
variant: "filled",
|
|
86
|
+
class: { root: "border-destructive bg-destructive/20" }
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
status: "reject",
|
|
90
|
+
variant: "light",
|
|
91
|
+
class: { root: "border-destructive bg-destructive/10" }
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
defaultVariants: {
|
|
95
|
+
variant: "light",
|
|
96
|
+
status: "idle",
|
|
97
|
+
disabled: false,
|
|
98
|
+
loading: false,
|
|
99
|
+
activateOnClick: true
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
const Dropzone = ({ className, variant, status: statusProp, disabled: disabledProp, loading, multiple = true, maxSize = Number.POSITIVE_INFINITY, accept, children, onDropAny, onDrop, onReject, openRef, name, maxFiles, autoFocus, activateOnClick = true, activateOnDrag = true, dragEventsBubbling = true, activateOnKeyboard = true, onDragEnter, onDragLeave, onDragOver, onFileDialogCancel, onFileDialogOpen, preventDropOnDocument, useFsAccessApi = true, getFilesFromEvent, validator, enablePointerEvents, inputProps, ref, ...props }) => {
|
|
103
|
+
const { getRootProps, getInputProps, isDragAccept, isDragReject, isDragActive, open } = useDropzone({
|
|
104
|
+
onDrop: onDropAny,
|
|
105
|
+
onDropAccepted: onDrop,
|
|
106
|
+
onDropRejected: onReject,
|
|
107
|
+
disabled: disabledProp || loading,
|
|
108
|
+
accept: Array.isArray(accept) ? Object.fromEntries(accept.map((key) => [key, []])) : accept,
|
|
109
|
+
multiple,
|
|
110
|
+
maxSize,
|
|
111
|
+
maxFiles,
|
|
112
|
+
autoFocus,
|
|
113
|
+
noClick: !activateOnClick,
|
|
114
|
+
noDrag: !activateOnDrag,
|
|
115
|
+
noDragEventsBubbling: !dragEventsBubbling,
|
|
116
|
+
noKeyboard: !activateOnKeyboard,
|
|
117
|
+
onDragEnter,
|
|
118
|
+
onDragLeave,
|
|
119
|
+
onDragOver,
|
|
120
|
+
onFileDialogCancel,
|
|
121
|
+
onFileDialogOpen,
|
|
122
|
+
preventDropOnDocument,
|
|
123
|
+
useFsAccessApi,
|
|
124
|
+
validator,
|
|
125
|
+
...getFilesFromEvent ? { getFilesFromEvent } : null
|
|
126
|
+
});
|
|
127
|
+
useImperativeHandle(openRef, () => open, [open]);
|
|
128
|
+
const isAccepted = isDragActive && isDragAccept;
|
|
129
|
+
const isRejected = isDragActive && isDragReject;
|
|
130
|
+
const isIdle = isDragActive ? isAccepted === false && isRejected === false : true;
|
|
131
|
+
let status = "idle";
|
|
132
|
+
if (statusProp) status = statusProp;
|
|
133
|
+
else if (isAccepted) status = "accept";
|
|
134
|
+
else if (isRejected) status = "reject";
|
|
135
|
+
const disabled = disabledProp || loading;
|
|
136
|
+
const { root, inner, overlay } = dropzoneVariants({
|
|
137
|
+
variant,
|
|
138
|
+
status,
|
|
139
|
+
disabled,
|
|
140
|
+
loading,
|
|
141
|
+
activateOnClick
|
|
142
|
+
});
|
|
143
|
+
return /* @__PURE__ */ jsx(DropzoneContext.Provider, {
|
|
144
|
+
value: {
|
|
145
|
+
accept: isAccepted,
|
|
146
|
+
reject: isRejected,
|
|
147
|
+
idle: isIdle
|
|
148
|
+
},
|
|
149
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
150
|
+
...getRootProps(),
|
|
151
|
+
className: cn(root(), className),
|
|
152
|
+
"data-disabled": disabled || void 0,
|
|
153
|
+
"data-loading": loading || void 0,
|
|
154
|
+
"data-slot": "dropzone",
|
|
155
|
+
ref,
|
|
156
|
+
...props,
|
|
157
|
+
children: [
|
|
158
|
+
loading && /* @__PURE__ */ jsx("div", {
|
|
159
|
+
className: overlay(),
|
|
160
|
+
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
161
|
+
}),
|
|
162
|
+
/* @__PURE__ */ jsx("input", {
|
|
163
|
+
...getInputProps(inputProps),
|
|
164
|
+
name
|
|
165
|
+
}),
|
|
166
|
+
/* @__PURE__ */ jsx("div", {
|
|
167
|
+
className: inner(),
|
|
168
|
+
"data-enable-pointer-events": enablePointerEvents || void 0,
|
|
169
|
+
children
|
|
170
|
+
})
|
|
171
|
+
]
|
|
172
|
+
})
|
|
173
|
+
});
|
|
174
|
+
};
|
|
175
|
+
Dropzone.Accept = DropzoneAccept;
|
|
176
|
+
Dropzone.Idle = DropzoneIdle;
|
|
177
|
+
Dropzone.Reject = DropzoneReject;
|
|
178
|
+
|
|
179
|
+
//#endregion
|
|
180
|
+
export { Dropzone, DropzoneAccept, DropzoneContext, DropzoneIdle, DropzoneReject, dropzoneVariants, useDropzoneContext };
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { _ as EmojiPickerActiveEmoji, a as EmojiPickerSearch, c as EmojiPickerLoadingProps, d as EmojiPickerEmpty, f as EmojiPickerEmptyProps, g as EmojiPickerActiveEmojiPreviewProps, h as EmojiPickerActiveEmojiPreview, i as EmojiPickerSkinToneProps, l as EmojiPickerList, m as EmojiPickerContentProps, n as EmojiPickerSkinToneSelectorProps, o as EmojiPickerSearchProps, p as EmojiPickerContent, r as EmojiPickerSkinTone, s as EmojiPickerLoading, t as EmojiPickerSkinToneSelector, u as EmojiPickerListProps, v as EmojiPickerActiveEmojiProps } from "../emoji-picker-skin-tone-selector-yMYxt4oJ.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import { EmojiPicker as EmojiPicker$1 } from "frimousse";
|
|
5
|
+
|
|
6
|
+
//#region src/components/emoji-picker/emoji-picker.d.ts
|
|
7
|
+
type EmojiPickerProps = ComponentProps<typeof EmojiPicker$1.Root>;
|
|
8
|
+
declare const EmojiPicker: {
|
|
9
|
+
({
|
|
10
|
+
className,
|
|
11
|
+
...props
|
|
12
|
+
}: EmojiPickerProps): react_jsx_runtime0.JSX.Element;
|
|
13
|
+
ActiveEmoji: (props: EmojiPickerActiveEmojiProps) => react_jsx_runtime0.JSX.Element;
|
|
14
|
+
ActiveEmojiPreview: ({
|
|
15
|
+
emptyText,
|
|
16
|
+
...props
|
|
17
|
+
}: EmojiPickerActiveEmojiPreviewProps) => react_jsx_runtime0.JSX.Element;
|
|
18
|
+
Content: ({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: EmojiPickerContentProps) => react_jsx_runtime0.JSX.Element;
|
|
22
|
+
Empty: ({
|
|
23
|
+
className,
|
|
24
|
+
...props
|
|
25
|
+
}: EmojiPickerEmptyProps) => react_jsx_runtime0.JSX.Element;
|
|
26
|
+
List: ({
|
|
27
|
+
className,
|
|
28
|
+
...props
|
|
29
|
+
}: EmojiPickerListProps) => react_jsx_runtime0.JSX.Element;
|
|
30
|
+
Loading: ({
|
|
31
|
+
className,
|
|
32
|
+
...props
|
|
33
|
+
}: EmojiPickerLoadingProps) => react_jsx_runtime0.JSX.Element;
|
|
34
|
+
Search: ({
|
|
35
|
+
className,
|
|
36
|
+
wrapperClassName,
|
|
37
|
+
...props
|
|
38
|
+
}: EmojiPickerSearchProps) => react_jsx_runtime0.JSX.Element;
|
|
39
|
+
SkinTone: (props: EmojiPickerSkinToneProps) => react_jsx_runtime0.JSX.Element;
|
|
40
|
+
SkinToneSelector: ({
|
|
41
|
+
className,
|
|
42
|
+
...props
|
|
43
|
+
}: EmojiPickerSkinToneSelectorProps) => react_jsx_runtime0.JSX.Element;
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
export { EmojiPicker, EmojiPickerActiveEmoji, EmojiPickerActiveEmojiPreview, type EmojiPickerActiveEmojiPreviewProps, type EmojiPickerActiveEmojiProps, EmojiPickerContent, type EmojiPickerContentProps, EmojiPickerEmpty, type EmojiPickerEmptyProps, EmojiPickerList, type EmojiPickerListProps, EmojiPickerLoading, type EmojiPickerLoadingProps, EmojiPickerProps, EmojiPickerSearch, type EmojiPickerSearchProps, EmojiPickerSkinTone, type EmojiPickerSkinToneProps, EmojiPickerSkinToneSelector, type EmojiPickerSkinToneSelectorProps };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { a as EmojiPickerList, c as EmojiPickerActiveEmojiPreview, i as EmojiPickerLoading, l as EmojiPickerActiveEmoji, n as EmojiPickerSkinTone, o as EmojiPickerEmpty, r as EmojiPickerSearch, s as EmojiPickerContent, t as EmojiPickerSkinToneSelector } from "../emoji-picker-skin-tone-selector-Cmv-1vDO.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { EmojiPicker as EmojiPicker$1 } from "frimousse";
|
|
5
|
+
|
|
6
|
+
//#region src/components/emoji-picker/emoji-picker.tsx
|
|
7
|
+
const EmojiPicker = ({ className, ...props }) => /* @__PURE__ */ jsx(EmojiPicker$1.Root, {
|
|
8
|
+
className: cn("isolate flex h-80 w-fit flex-col rounded-md border bg-popover shadow-md", className),
|
|
9
|
+
"data-slot": "emoji-picker",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
EmojiPicker.ActiveEmoji = EmojiPickerActiveEmoji;
|
|
13
|
+
EmojiPicker.ActiveEmojiPreview = EmojiPickerActiveEmojiPreview;
|
|
14
|
+
EmojiPicker.Content = EmojiPickerContent;
|
|
15
|
+
EmojiPicker.Empty = EmojiPickerEmpty;
|
|
16
|
+
EmojiPicker.List = EmojiPickerList;
|
|
17
|
+
EmojiPicker.Loading = EmojiPickerLoading;
|
|
18
|
+
EmojiPicker.Search = EmojiPickerSearch;
|
|
19
|
+
EmojiPicker.SkinTone = EmojiPickerSkinTone;
|
|
20
|
+
EmojiPicker.SkinToneSelector = EmojiPickerSkinToneSelector;
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { EmojiPicker, EmojiPickerActiveEmoji, EmojiPickerActiveEmojiPreview, EmojiPickerContent, EmojiPickerEmpty, EmojiPickerList, EmojiPickerLoading, EmojiPickerSearch, EmojiPickerSkinTone, EmojiPickerSkinToneSelector };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { a as EmptyContent, i as EmptyDescription, n as EmptyMedia, r as EmptyHeader, t as EmptyTitle } from "../empty-title-CH3DhcfT.js";
|
|
2
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { ComponentProps } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/empty/empty.d.ts
|
|
7
|
+
declare const Empty: {
|
|
8
|
+
({
|
|
9
|
+
className,
|
|
10
|
+
...props
|
|
11
|
+
}: ComponentProps<"div">): react_jsx_runtime0.JSX.Element;
|
|
12
|
+
Content: ({
|
|
13
|
+
className,
|
|
14
|
+
...props
|
|
15
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
16
|
+
Description: ({
|
|
17
|
+
className,
|
|
18
|
+
...props
|
|
19
|
+
}: ComponentProps<"p">) => react_jsx_runtime0.JSX.Element;
|
|
20
|
+
Header: ({
|
|
21
|
+
className,
|
|
22
|
+
...props
|
|
23
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
24
|
+
Media: ({
|
|
25
|
+
className,
|
|
26
|
+
variant,
|
|
27
|
+
...props
|
|
28
|
+
}: ComponentProps<"div"> & tailwind_variants0.VariantProps<tailwind_variants0.TVReturnType<{
|
|
29
|
+
variant: {
|
|
30
|
+
default: string;
|
|
31
|
+
icon: string;
|
|
32
|
+
};
|
|
33
|
+
}, undefined, "mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
|
|
34
|
+
variant: {
|
|
35
|
+
default: string;
|
|
36
|
+
icon: string;
|
|
37
|
+
};
|
|
38
|
+
}, undefined, tailwind_variants0.TVReturnType<{
|
|
39
|
+
variant: {
|
|
40
|
+
default: string;
|
|
41
|
+
icon: string;
|
|
42
|
+
};
|
|
43
|
+
}, undefined, "mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", unknown, unknown, undefined>>>) => react_jsx_runtime0.JSX.Element;
|
|
44
|
+
Title: ({
|
|
45
|
+
className,
|
|
46
|
+
...props
|
|
47
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
48
|
+
};
|
|
49
|
+
//#endregion
|
|
50
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
package/dist/ui/empty.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { a as EmptyContent, i as EmptyDescription, n as EmptyMedia, r as EmptyHeader, t as EmptyTitle } from "../empty-title-CHNBH7WJ.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/empty/empty.tsx
|
|
6
|
+
const Empty = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
7
|
+
className: cn("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 text-balance rounded-lg border-dashed p-12 text-center", className),
|
|
8
|
+
"data-slot": "empty",
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
Empty.Content = EmptyContent;
|
|
12
|
+
Empty.Description = EmptyDescription;
|
|
13
|
+
Empty.Header = EmptyHeader;
|
|
14
|
+
Empty.Media = EmptyMedia;
|
|
15
|
+
Empty.Title = EmptyTitle;
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import "../accordion-trigger-D5XnBMS6.js";
|
|
2
|
+
import "../alert-title-CVC9G-Xf.js";
|
|
3
|
+
import "../announcement-title-CCZuGB1O.js";
|
|
4
|
+
import "../autocomplete-value-BhyszIrf.js";
|
|
5
|
+
import "../avatar-image-BKgKyzVw.js";
|
|
6
|
+
import "../breadcrumb-separator-D66-B1DA.js";
|
|
7
|
+
import { $ as FormFieldLabel, Q as FormFieldLegend, X as FormFieldSet, Y as FormFieldTitle, Z as FormFieldSeparator, et as FormFieldGroup, nt as FormFieldDescription, rt as FormFieldContent, tt as FormFieldError } from "../alert-dialog-trigger-BV0BsaVU.js";
|
|
8
|
+
import "../calendar-week-number-in2gpvA_.js";
|
|
9
|
+
import "../card-title-DSDluDoy.js";
|
|
10
|
+
import "../use-chart-BRpzPrMJ.js";
|
|
11
|
+
import "../collapsible-trigger-aZF7_mPR.js";
|
|
12
|
+
import "../use-combobox-anchor-ByuqnpKH.js";
|
|
13
|
+
import "../dialog-trigger-xeE4e96-.js";
|
|
14
|
+
import "../context-menu-trigger-Du2vcTco.js";
|
|
15
|
+
import "../drawer-trigger-H_Wv5R00.js";
|
|
16
|
+
import "../dropdown-menu-trigger-CFdruqOk.js";
|
|
17
|
+
import "../dropzone-context-BRX1K7nw.js";
|
|
18
|
+
import "../emoji-picker-skin-tone-selector-yMYxt4oJ.js";
|
|
19
|
+
import "../empty-title-CH3DhcfT.js";
|
|
20
|
+
import { LabelProps } from "./label.js";
|
|
21
|
+
import "../hover-card-trigger-BqVoZ7h4.js";
|
|
22
|
+
import "../input-otp-slot-eVdOjx8C.js";
|
|
23
|
+
import "../kbd-group-D3yVrb2D.js";
|
|
24
|
+
import "../marquee-item-DD6JuLJ4.js";
|
|
25
|
+
import "../menubar-trigger-BLg3XdRv.js";
|
|
26
|
+
import "../meter-value-DYkZLCtx.js";
|
|
27
|
+
import "../navigation-menu-trigger-Bf60DnIz.js";
|
|
28
|
+
import "../use-number-field-Dzl9JLNK.js";
|
|
29
|
+
import "../pagination-previous-qJeZZTou.js";
|
|
30
|
+
import "../pill-status-rg-3AMSI.js";
|
|
31
|
+
import "../popover-trigger-B9PVErig.js";
|
|
32
|
+
import "../progress-value-CFlgP0nv.js";
|
|
33
|
+
import "../radio-group-item-09fw05Va.js";
|
|
34
|
+
import "../rating-star-6ov3lbpn.js";
|
|
35
|
+
import "../resizable-panel-B4lAr8Vb.js";
|
|
36
|
+
import "../scroll-bar-vYvxEOph.js";
|
|
37
|
+
import "../select-value-DG31IHy3.js";
|
|
38
|
+
import "../sheet-trigger-CLgKANrf.js";
|
|
39
|
+
import "../tooltip-trigger-CrAGfaqr.js";
|
|
40
|
+
import "../table-row-BxhKJPfE.js";
|
|
41
|
+
import "../tabs-trigger-BGo2XGvh.js";
|
|
42
|
+
import "../use-timeline-BRlmxoQ7.js";
|
|
43
|
+
import "../use-toast-BGG4leSx.js";
|
|
44
|
+
import "../toggle-group-item-Bz_ohmnY.js";
|
|
45
|
+
import "../toolbar-separator-7CgKz2aX.js";
|
|
46
|
+
import "../video-player-volume-range-D971L6mz.js";
|
|
47
|
+
import "../index.js";
|
|
48
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
49
|
+
import { VariantProps } from "tailwind-variants";
|
|
50
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
51
|
+
import * as react from "react";
|
|
52
|
+
import { ComponentProps } from "react";
|
|
53
|
+
|
|
54
|
+
//#region src/components/form-field/form-field.d.ts
|
|
55
|
+
declare const fieldVariants: tailwind_variants0.TVReturnType<{
|
|
56
|
+
orientation: {
|
|
57
|
+
vertical: string;
|
|
58
|
+
horizontal: string;
|
|
59
|
+
responsive: string;
|
|
60
|
+
};
|
|
61
|
+
}, undefined, "group/field flex w-full gap-3 data-[invalid=true]:text-destructive", {
|
|
62
|
+
orientation: {
|
|
63
|
+
vertical: string;
|
|
64
|
+
horizontal: string;
|
|
65
|
+
responsive: string;
|
|
66
|
+
};
|
|
67
|
+
}, undefined, tailwind_variants0.TVReturnType<{
|
|
68
|
+
orientation: {
|
|
69
|
+
vertical: string;
|
|
70
|
+
horizontal: string;
|
|
71
|
+
responsive: string;
|
|
72
|
+
};
|
|
73
|
+
}, undefined, "group/field flex w-full gap-3 data-[invalid=true]:text-destructive", unknown, unknown, undefined>>;
|
|
74
|
+
declare const FormField: {
|
|
75
|
+
({
|
|
76
|
+
className,
|
|
77
|
+
orientation,
|
|
78
|
+
...props
|
|
79
|
+
}: ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime0.JSX.Element;
|
|
80
|
+
Content: ({
|
|
81
|
+
className,
|
|
82
|
+
...props
|
|
83
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
84
|
+
Description: ({
|
|
85
|
+
className,
|
|
86
|
+
...props
|
|
87
|
+
}: ComponentProps<"p">) => react_jsx_runtime0.JSX.Element;
|
|
88
|
+
Error: ({
|
|
89
|
+
className,
|
|
90
|
+
children,
|
|
91
|
+
errors,
|
|
92
|
+
...props
|
|
93
|
+
}: ComponentProps<"div"> & {
|
|
94
|
+
errors?: ({
|
|
95
|
+
message?: string;
|
|
96
|
+
} | undefined)[];
|
|
97
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
98
|
+
Group: ({
|
|
99
|
+
className,
|
|
100
|
+
...props
|
|
101
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
102
|
+
Label: ({
|
|
103
|
+
className,
|
|
104
|
+
...props
|
|
105
|
+
}: ComponentProps<({
|
|
106
|
+
className,
|
|
107
|
+
htmlFor,
|
|
108
|
+
...props
|
|
109
|
+
}: LabelProps) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
110
|
+
Legend: ({
|
|
111
|
+
className,
|
|
112
|
+
variant,
|
|
113
|
+
...props
|
|
114
|
+
}: ComponentProps<"legend"> & {
|
|
115
|
+
variant?: "legend" | "label";
|
|
116
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
117
|
+
Separator: ({
|
|
118
|
+
children,
|
|
119
|
+
className,
|
|
120
|
+
...props
|
|
121
|
+
}: ComponentProps<"div"> & {
|
|
122
|
+
children?: react.ReactNode;
|
|
123
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
124
|
+
Set: ({
|
|
125
|
+
className,
|
|
126
|
+
...props
|
|
127
|
+
}: ComponentProps<"fieldset">) => react_jsx_runtime0.JSX.Element;
|
|
128
|
+
Title: ({
|
|
129
|
+
className,
|
|
130
|
+
...props
|
|
131
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
132
|
+
};
|
|
133
|
+
//#endregion
|
|
134
|
+
export { FormField, FormFieldContent, FormFieldDescription, FormFieldError, FormFieldGroup, FormFieldLabel, FormFieldLegend, FormFieldSeparator, FormFieldSet, FormFieldTitle, fieldVariants };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { a as FormFieldLabel, c as FormFieldDescription, i as FormFieldLegend, l as FormFieldContent, n as FormFieldSet, o as FormFieldGroup, r as FormFieldSeparator, s as FormFieldError, t as FormFieldTitle } from "../form-field-title-CNrq8v88.js";
|
|
2
|
+
import { cn, tv } from "tailwind-variants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/form-field/form-field.tsx
|
|
6
|
+
const fieldVariants = tv({
|
|
7
|
+
base: "group/field flex w-full gap-3 data-[invalid=true]:text-destructive",
|
|
8
|
+
variants: { orientation: {
|
|
9
|
+
vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
|
|
10
|
+
horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
|
|
11
|
+
responsive: "@md/field-group:flex-row flex-col @md/field-group:items-center *:w-full @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
12
|
+
} },
|
|
13
|
+
defaultVariants: { orientation: "vertical" }
|
|
14
|
+
});
|
|
15
|
+
const FormField = ({ className, orientation = "vertical", ...props }) => /* @__PURE__ */ jsx("div", {
|
|
16
|
+
className: cn(fieldVariants({ orientation }), className),
|
|
17
|
+
"data-orientation": orientation,
|
|
18
|
+
"data-slot": "field",
|
|
19
|
+
role: "group",
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
22
|
+
FormField.Content = FormFieldContent;
|
|
23
|
+
FormField.Description = FormFieldDescription;
|
|
24
|
+
FormField.Error = FormFieldError;
|
|
25
|
+
FormField.Group = FormFieldGroup;
|
|
26
|
+
FormField.Label = FormFieldLabel;
|
|
27
|
+
FormField.Legend = FormFieldLegend;
|
|
28
|
+
FormField.Separator = FormFieldSeparator;
|
|
29
|
+
FormField.Set = FormFieldSet;
|
|
30
|
+
FormField.Title = FormFieldTitle;
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { FormField, FormFieldContent, FormFieldDescription, FormFieldError, FormFieldGroup, FormFieldLabel, FormFieldLegend, FormFieldSeparator, FormFieldSet, FormFieldTitle, fieldVariants };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { SVGProps } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/google-logo/google-logo.d.ts
|
|
5
|
+
type GoogleLogoProps = SVGProps<SVGSVGElement> & {
|
|
6
|
+
size?: number;
|
|
7
|
+
};
|
|
8
|
+
declare const GoogleLogo: ({
|
|
9
|
+
size,
|
|
10
|
+
...props
|
|
11
|
+
}: GoogleLogoProps) => react_jsx_runtime0.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { GoogleLogo, type GoogleLogoProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
|
|
3
|
+
//#region src/components/google-logo/google-logo.tsx
|
|
4
|
+
const GoogleLogo = ({ size = 24, ...props }) => /* @__PURE__ */ jsxs("svg", {
|
|
5
|
+
height: size,
|
|
6
|
+
viewBox: "0 0 24 24",
|
|
7
|
+
width: size,
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
...props,
|
|
10
|
+
children: [
|
|
11
|
+
/* @__PURE__ */ jsx("title", { children: "Google logo" }),
|
|
12
|
+
/* @__PURE__ */ jsx("path", {
|
|
13
|
+
d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",
|
|
14
|
+
fill: "#4285F4"
|
|
15
|
+
}),
|
|
16
|
+
/* @__PURE__ */ jsx("path", {
|
|
17
|
+
d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",
|
|
18
|
+
fill: "#34A853"
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ jsx("path", {
|
|
21
|
+
d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",
|
|
22
|
+
fill: "#FBBC05"
|
|
23
|
+
}),
|
|
24
|
+
/* @__PURE__ */ jsx("path", {
|
|
25
|
+
d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",
|
|
26
|
+
fill: "#EA4335"
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ jsx("path", {
|
|
29
|
+
d: "M1 1h22v22H1z",
|
|
30
|
+
fill: "none"
|
|
31
|
+
})
|
|
32
|
+
]
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { GoogleLogo };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { n as HoverCardContent, t as HoverCardTrigger } from "../hover-card-trigger-BqVoZ7h4.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
4
|
+
|
|
5
|
+
//#region src/components/hover-card/hover-card.d.ts
|
|
6
|
+
declare const HoverCard: {
|
|
7
|
+
({
|
|
8
|
+
...props
|
|
9
|
+
}: PreviewCard.Root.Props): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
Content: ({
|
|
11
|
+
className,
|
|
12
|
+
side,
|
|
13
|
+
sideOffset,
|
|
14
|
+
align,
|
|
15
|
+
alignOffset,
|
|
16
|
+
...props
|
|
17
|
+
}: PreviewCard.Popup.Props & Pick<PreviewCard.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">) => react_jsx_runtime0.JSX.Element;
|
|
18
|
+
Trigger: ({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: PreviewCard.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { n as HoverCardContent, t as HoverCardTrigger } from "../hover-card-trigger-B9jf3FEB.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
6
|
+
|
|
7
|
+
//#region src/components/hover-card/hover-card.tsx
|
|
8
|
+
const HoverCard = ({ ...props }) => /* @__PURE__ */ jsx(PreviewCard.Root, {
|
|
9
|
+
"data-slot": "hover-card",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
HoverCard.Content = HoverCardContent;
|
|
13
|
+
HoverCard.Trigger = HoverCardTrigger;
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { HoverCard, HoverCardContent, HoverCardTrigger };
|