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,27 @@
|
|
|
1
|
+
import { n as AccordionItem, r as AccordionContent, t as AccordionTrigger } from "../accordion-trigger-D5XnBMS6.js";
|
|
2
|
+
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/accordion/accordion.d.ts
|
|
6
|
+
declare const Accordion: {
|
|
7
|
+
({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: Accordion$1.Root.Props): react_jsx_runtime0.JSX.Element;
|
|
11
|
+
Content: ({
|
|
12
|
+
className,
|
|
13
|
+
children,
|
|
14
|
+
...props
|
|
15
|
+
}: Accordion$1.Panel.Props) => react_jsx_runtime0.JSX.Element;
|
|
16
|
+
Item: ({
|
|
17
|
+
className,
|
|
18
|
+
...props
|
|
19
|
+
}: Accordion$1.Item.Props) => react_jsx_runtime0.JSX.Element;
|
|
20
|
+
Trigger: ({
|
|
21
|
+
className,
|
|
22
|
+
children,
|
|
23
|
+
...props
|
|
24
|
+
}: Accordion$1.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { n as AccordionItem, r as AccordionContent, t as AccordionTrigger } from "../accordion-trigger-TjAe8JHy.js";
|
|
2
|
+
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
3
|
+
import { cn } from "tailwind-variants";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/accordion/accordion.tsx
|
|
7
|
+
const Accordion = ({ className, ...props }) => /* @__PURE__ */ jsx(Accordion$1.Root, {
|
|
8
|
+
className: cn("flex w-full flex-col", className),
|
|
9
|
+
"data-slot": "accordion",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Accordion.Content = AccordionContent;
|
|
13
|
+
Accordion.Item = AccordionItem;
|
|
14
|
+
Accordion.Trigger = AccordionTrigger;
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { BasePortalProps } from "./portal.js";
|
|
2
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
3
|
+
import { VariantProps } from "tailwind-variants";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
6
|
+
|
|
7
|
+
//#region src/components/affix/affix.d.ts
|
|
8
|
+
interface AffixPosition {
|
|
9
|
+
top?: number | string;
|
|
10
|
+
bottom?: number | string;
|
|
11
|
+
left?: number | string;
|
|
12
|
+
right?: number | string;
|
|
13
|
+
}
|
|
14
|
+
declare const affixVariants: tailwind_variants0.TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, tailwind_variants0.TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
|
|
15
|
+
type AffixVariants = VariantProps<typeof affixVariants>;
|
|
16
|
+
type AffixProps = AffixVariants & useRender.ComponentProps<"div"> & {
|
|
17
|
+
"data-slot"?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Position of the affix element
|
|
20
|
+
* @default { bottom: 0, right: 0 }
|
|
21
|
+
*/
|
|
22
|
+
position?: AffixPosition;
|
|
23
|
+
/**
|
|
24
|
+
* Props passed down to the Portal component. Ignored when `withinPortal` is `false`.
|
|
25
|
+
*/
|
|
26
|
+
portalProps?: BasePortalProps;
|
|
27
|
+
/**
|
|
28
|
+
* Whether to render the affix within a portal
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
withinPortal?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Custom z-index value
|
|
34
|
+
* @default 200
|
|
35
|
+
*/
|
|
36
|
+
zIndex?: number;
|
|
37
|
+
};
|
|
38
|
+
declare const Affix: ({
|
|
39
|
+
className,
|
|
40
|
+
position,
|
|
41
|
+
portalProps,
|
|
42
|
+
withinPortal,
|
|
43
|
+
zIndex,
|
|
44
|
+
render,
|
|
45
|
+
children,
|
|
46
|
+
...props
|
|
47
|
+
}: AffixProps) => react_jsx_runtime0.JSX.Element;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { Affix, AffixPosition, AffixProps, affixVariants };
|
package/dist/ui/affix.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { t as OptionalPortal } from "../optional-portal-C7TpYnOc.js";
|
|
4
|
+
import { cn, tv } from "tailwind-variants";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { mergeProps } from "@base-ui/react/merge-props";
|
|
7
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
8
|
+
|
|
9
|
+
//#region src/components/affix/affix.tsx
|
|
10
|
+
const getSpacing = (value) => {
|
|
11
|
+
if (value === void 0) return "";
|
|
12
|
+
if (typeof value === "number") return `${value}px`;
|
|
13
|
+
return value;
|
|
14
|
+
};
|
|
15
|
+
const affixVariants = tv({ base: [
|
|
16
|
+
"fixed",
|
|
17
|
+
"z-(--affix-z-index)",
|
|
18
|
+
"top-(--affix-top)",
|
|
19
|
+
"left-(--affix-left)",
|
|
20
|
+
"bottom-(--affix-bottom)",
|
|
21
|
+
"right-(--affix-right)"
|
|
22
|
+
] });
|
|
23
|
+
const DEFAULT_POSITION = {
|
|
24
|
+
bottom: 0,
|
|
25
|
+
right: 0
|
|
26
|
+
};
|
|
27
|
+
const buildPositionStyles = (position, zIndex) => {
|
|
28
|
+
const styles = { "--affix-z-index": zIndex.toString() };
|
|
29
|
+
if (position.top !== void 0) styles["--affix-top"] = getSpacing(position.top);
|
|
30
|
+
if (position.bottom !== void 0) styles["--affix-bottom"] = getSpacing(position.bottom);
|
|
31
|
+
if (position.left !== void 0) styles["--affix-left"] = getSpacing(position.left);
|
|
32
|
+
if (position.right !== void 0) styles["--affix-right"] = getSpacing(position.right);
|
|
33
|
+
return styles;
|
|
34
|
+
};
|
|
35
|
+
const Affix = ({ className, position = DEFAULT_POSITION, portalProps, withinPortal = true, zIndex = 200, render, children, ...props }) => {
|
|
36
|
+
const positionStyles = buildPositionStyles(position, zIndex);
|
|
37
|
+
const element = useRender({
|
|
38
|
+
defaultTagName: "div",
|
|
39
|
+
render,
|
|
40
|
+
props: mergeProps({
|
|
41
|
+
className: cn(affixVariants(), className),
|
|
42
|
+
style: positionStyles,
|
|
43
|
+
children
|
|
44
|
+
}, {
|
|
45
|
+
"data-slot": "affix",
|
|
46
|
+
...props
|
|
47
|
+
})
|
|
48
|
+
});
|
|
49
|
+
return /* @__PURE__ */ jsx(OptionalPortal, {
|
|
50
|
+
...portalProps,
|
|
51
|
+
withinPortal,
|
|
52
|
+
children: element
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
//#endregion
|
|
57
|
+
export { Affix, affixVariants };
|
|
@@ -0,0 +1,123 @@
|
|
|
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 { ButtonProps } from "./button.js";
|
|
8
|
+
import { a as AlertDialogMedia, c as AlertDialogDescription, d as AlertDialogAction, i as AlertDialogOverlay, l as AlertDialogContent, n as AlertDialogTitle, o as AlertDialogHeader, r as AlertDialogPortal, s as AlertDialogFooter, t as AlertDialogTrigger, u as AlertDialogCancel } from "../alert-dialog-trigger-BV0BsaVU.js";
|
|
9
|
+
import "../calendar-week-number-in2gpvA_.js";
|
|
10
|
+
import "../card-title-DSDluDoy.js";
|
|
11
|
+
import "../use-chart-BRpzPrMJ.js";
|
|
12
|
+
import "../collapsible-trigger-aZF7_mPR.js";
|
|
13
|
+
import "../use-combobox-anchor-ByuqnpKH.js";
|
|
14
|
+
import "../dialog-trigger-xeE4e96-.js";
|
|
15
|
+
import "../context-menu-trigger-Du2vcTco.js";
|
|
16
|
+
import "../drawer-trigger-H_Wv5R00.js";
|
|
17
|
+
import "../dropdown-menu-trigger-CFdruqOk.js";
|
|
18
|
+
import "../dropzone-context-BRX1K7nw.js";
|
|
19
|
+
import "../emoji-picker-skin-tone-selector-yMYxt4oJ.js";
|
|
20
|
+
import "../empty-title-CH3DhcfT.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 react_jsx_runtime0 from "react/jsx-runtime";
|
|
49
|
+
import * as react from "react";
|
|
50
|
+
import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
|
|
51
|
+
|
|
52
|
+
//#region src/components/alert-dialog/alert-dialog.d.ts
|
|
53
|
+
declare const AlertDialog: {
|
|
54
|
+
({
|
|
55
|
+
...props
|
|
56
|
+
}: AlertDialog$1.Root.Props): react_jsx_runtime0.JSX.Element;
|
|
57
|
+
Action: ({
|
|
58
|
+
className,
|
|
59
|
+
...props
|
|
60
|
+
}: react.ComponentProps<({
|
|
61
|
+
className,
|
|
62
|
+
variant,
|
|
63
|
+
size,
|
|
64
|
+
isLoading,
|
|
65
|
+
children,
|
|
66
|
+
disabled,
|
|
67
|
+
...props
|
|
68
|
+
}: ButtonProps) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
69
|
+
Cancel: ({
|
|
70
|
+
className,
|
|
71
|
+
variant,
|
|
72
|
+
size,
|
|
73
|
+
...props
|
|
74
|
+
}: AlertDialog$1.Close.Props & Pick<react.ComponentProps<({
|
|
75
|
+
className,
|
|
76
|
+
variant,
|
|
77
|
+
size,
|
|
78
|
+
isLoading,
|
|
79
|
+
children,
|
|
80
|
+
disabled,
|
|
81
|
+
...props
|
|
82
|
+
}: ButtonProps) => react_jsx_runtime0.JSX.Element>, "variant" | "size">) => react_jsx_runtime0.JSX.Element;
|
|
83
|
+
Content: ({
|
|
84
|
+
className,
|
|
85
|
+
size,
|
|
86
|
+
...props
|
|
87
|
+
}: AlertDialog$1.Popup.Props & {
|
|
88
|
+
size?: "default" | "sm";
|
|
89
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
90
|
+
Description: ({
|
|
91
|
+
className,
|
|
92
|
+
...props
|
|
93
|
+
}: react.ComponentProps<typeof AlertDialog$1.Description>) => react_jsx_runtime0.JSX.Element;
|
|
94
|
+
Footer: ({
|
|
95
|
+
className,
|
|
96
|
+
...props
|
|
97
|
+
}: react.ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
98
|
+
Header: ({
|
|
99
|
+
className,
|
|
100
|
+
...props
|
|
101
|
+
}: react.ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
102
|
+
Media: ({
|
|
103
|
+
className,
|
|
104
|
+
...props
|
|
105
|
+
}: react.ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
106
|
+
Overlay: ({
|
|
107
|
+
className,
|
|
108
|
+
...props
|
|
109
|
+
}: AlertDialog$1.Backdrop.Props) => react_jsx_runtime0.JSX.Element;
|
|
110
|
+
Portal: ({
|
|
111
|
+
...props
|
|
112
|
+
}: AlertDialog$1.Portal.Props) => react_jsx_runtime0.JSX.Element;
|
|
113
|
+
Title: ({
|
|
114
|
+
className,
|
|
115
|
+
...props
|
|
116
|
+
}: react.ComponentProps<typeof AlertDialog$1.Title>) => react_jsx_runtime0.JSX.Element;
|
|
117
|
+
Trigger: ({
|
|
118
|
+
className,
|
|
119
|
+
...props
|
|
120
|
+
}: AlertDialog$1.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
121
|
+
};
|
|
122
|
+
//#endregion
|
|
123
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { a as AlertDialogFooter, c as AlertDialogPortal, d as AlertDialogAction, i as AlertDialogHeader, l as AlertDialogOverlay, n as AlertDialogTitle, o as AlertDialogDescription, r as AlertDialogMedia, s as AlertDialogContent, t as AlertDialogTrigger, u as AlertDialogCancel } from "../alert-dialog-trigger-D5BRoizR.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
|
|
4
|
+
|
|
5
|
+
//#region src/components/alert-dialog/alert-dialog.tsx
|
|
6
|
+
const AlertDialog = ({ ...props }) => /* @__PURE__ */ jsx(AlertDialog$1.Root, {
|
|
7
|
+
"data-slot": "alert-dialog",
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
AlertDialog.Action = AlertDialogAction;
|
|
11
|
+
AlertDialog.Cancel = AlertDialogCancel;
|
|
12
|
+
AlertDialog.Content = AlertDialogContent;
|
|
13
|
+
AlertDialog.Description = AlertDialogDescription;
|
|
14
|
+
AlertDialog.Footer = AlertDialogFooter;
|
|
15
|
+
AlertDialog.Header = AlertDialogHeader;
|
|
16
|
+
AlertDialog.Media = AlertDialogMedia;
|
|
17
|
+
AlertDialog.Overlay = AlertDialogOverlay;
|
|
18
|
+
AlertDialog.Portal = AlertDialogPortal;
|
|
19
|
+
AlertDialog.Title = AlertDialogTitle;
|
|
20
|
+
AlertDialog.Trigger = AlertDialogTrigger;
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { n as AlertDescription, r as AlertAction, t as AlertTitle } from "../alert-title-CVC9G-Xf.js";
|
|
2
|
+
import * as tailwind_variants0 from "tailwind-variants";
|
|
3
|
+
import { VariantProps } from "tailwind-variants";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import { ComponentProps } from "react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/alert/alert.d.ts
|
|
8
|
+
declare const alertVariants: tailwind_variants0.TVReturnType<{
|
|
9
|
+
variant: {
|
|
10
|
+
default: string[];
|
|
11
|
+
destructive: string[];
|
|
12
|
+
warning: string[];
|
|
13
|
+
danger: string[];
|
|
14
|
+
info: string[];
|
|
15
|
+
success: string[];
|
|
16
|
+
};
|
|
17
|
+
}, undefined, string[], {
|
|
18
|
+
variant: {
|
|
19
|
+
default: string[];
|
|
20
|
+
destructive: string[];
|
|
21
|
+
warning: string[];
|
|
22
|
+
danger: string[];
|
|
23
|
+
info: string[];
|
|
24
|
+
success: string[];
|
|
25
|
+
};
|
|
26
|
+
}, undefined, tailwind_variants0.TVReturnType<{
|
|
27
|
+
variant: {
|
|
28
|
+
default: string[];
|
|
29
|
+
destructive: string[];
|
|
30
|
+
warning: string[];
|
|
31
|
+
danger: string[];
|
|
32
|
+
info: string[];
|
|
33
|
+
success: string[];
|
|
34
|
+
};
|
|
35
|
+
}, undefined, string[], unknown, unknown, undefined>>;
|
|
36
|
+
type AlertVariants = VariantProps<typeof alertVariants>;
|
|
37
|
+
type AlertProps = AlertVariants & ComponentProps<"div">;
|
|
38
|
+
declare const Alert: {
|
|
39
|
+
({
|
|
40
|
+
className,
|
|
41
|
+
variant,
|
|
42
|
+
...props
|
|
43
|
+
}: AlertProps): react_jsx_runtime0.JSX.Element;
|
|
44
|
+
Action: ({
|
|
45
|
+
className,
|
|
46
|
+
...props
|
|
47
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
48
|
+
Description: ({
|
|
49
|
+
className,
|
|
50
|
+
...props
|
|
51
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
52
|
+
Title: ({
|
|
53
|
+
className,
|
|
54
|
+
...props
|
|
55
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
56
|
+
};
|
|
57
|
+
//#endregion
|
|
58
|
+
export { Alert, AlertAction, AlertDescription, AlertProps, AlertTitle, alertVariants };
|
package/dist/ui/alert.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { n as AlertDescription, r as AlertAction, t as AlertTitle } from "../alert-title-CISzcj0X.js";
|
|
2
|
+
import { tv } from "tailwind-variants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/alert/alert.tsx
|
|
6
|
+
const alertVariants = tv({
|
|
7
|
+
base: [
|
|
8
|
+
"group/alert relative grid w-full gap-0.5 rounded-lg border px-4 py-3 text-left text-sm",
|
|
9
|
+
"has-data-[slot=alert-action]:relative",
|
|
10
|
+
"has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2.5",
|
|
11
|
+
"has-data-[slot=alert-action]:pr-18",
|
|
12
|
+
"*:[svg:not([class*='size-'])]:size-4",
|
|
13
|
+
"*:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current"
|
|
14
|
+
],
|
|
15
|
+
variants: { variant: {
|
|
16
|
+
default: ["bg-card text-card-foreground", "[&_*[data-slot=alert-description]]:text-muted-foreground"],
|
|
17
|
+
destructive: [
|
|
18
|
+
"bg-card text-destructive",
|
|
19
|
+
"*:data-[slot=alert-description]:text-destructive/90",
|
|
20
|
+
"*:[svg]:text-current"
|
|
21
|
+
],
|
|
22
|
+
warning: [
|
|
23
|
+
"border-warning-border",
|
|
24
|
+
"bg-warning text-warning-foreground",
|
|
25
|
+
"[&_*[data-slot=alert-description]]:text-warning-foreground/70"
|
|
26
|
+
],
|
|
27
|
+
danger: [
|
|
28
|
+
"border-danger-border",
|
|
29
|
+
"bg-danger text-danger-foreground",
|
|
30
|
+
"[&_*[data-slot=alert-description]]:text-danger-foreground/70"
|
|
31
|
+
],
|
|
32
|
+
info: [
|
|
33
|
+
"border-info-border",
|
|
34
|
+
"bg-info text-info-foreground",
|
|
35
|
+
"[&_*[data-slot=alert-description]]:text-info-foreground/70"
|
|
36
|
+
],
|
|
37
|
+
success: [
|
|
38
|
+
"border-success-border",
|
|
39
|
+
"bg-success text-success-foreground",
|
|
40
|
+
"[&_*[data-slot=alert-description]]:text-success-foreground/70"
|
|
41
|
+
]
|
|
42
|
+
} },
|
|
43
|
+
defaultVariants: { variant: "default" }
|
|
44
|
+
});
|
|
45
|
+
const Alert = ({ className, variant, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
46
|
+
className: alertVariants({
|
|
47
|
+
variant,
|
|
48
|
+
className
|
|
49
|
+
}),
|
|
50
|
+
"data-slot": "alert",
|
|
51
|
+
role: "alert",
|
|
52
|
+
...props
|
|
53
|
+
});
|
|
54
|
+
Alert.Action = AlertAction;
|
|
55
|
+
Alert.Description = AlertDescription;
|
|
56
|
+
Alert.Title = AlertTitle;
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
export { Alert, AlertAction, AlertDescription, AlertTitle, alertVariants };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { i as AnnouncementTagProps, n as AnnouncementTitleProps, r as AnnouncementTag, t as AnnouncementTitle } from "../announcement-title-CCZuGB1O.js";
|
|
2
|
+
import { Badge } from "./badge.js";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { ComponentProps } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/announcement/announcement.d.ts
|
|
7
|
+
type AnnouncementProps = ComponentProps<typeof Badge> & {
|
|
8
|
+
themed?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const Announcement: {
|
|
11
|
+
({
|
|
12
|
+
variant,
|
|
13
|
+
themed,
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}: AnnouncementProps): react_jsx_runtime0.JSX.Element;
|
|
17
|
+
Tag: ({
|
|
18
|
+
className,
|
|
19
|
+
...props
|
|
20
|
+
}: AnnouncementTagProps) => react_jsx_runtime0.JSX.Element;
|
|
21
|
+
Title: ({
|
|
22
|
+
className,
|
|
23
|
+
...props
|
|
24
|
+
}: AnnouncementTitleProps) => react_jsx_runtime0.JSX.Element;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Announcement, AnnouncementProps, AnnouncementTag, type AnnouncementTagProps, AnnouncementTitle, type AnnouncementTitleProps };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Badge } from "./badge.js";
|
|
2
|
+
import { n as AnnouncementTag, t as AnnouncementTitle } from "../announcement-title-CIwzt9Wl.js";
|
|
3
|
+
import { cn } from "tailwind-variants";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/announcement/announcement.tsx
|
|
7
|
+
const Announcement = ({ variant = "outline", themed = false, className, ...props }) => /* @__PURE__ */ jsx(Badge, {
|
|
8
|
+
className: cn("group max-w-full gap-2 rounded-full bg-background px-3 py-0.5 font-medium shadow-sm transition-all", "hover:shadow-md", themed && "announcement-themed border-foreground/5", className),
|
|
9
|
+
variant,
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Announcement.Tag = AnnouncementTag;
|
|
13
|
+
Announcement.Title = AnnouncementTitle;
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Announcement, AnnouncementTag, AnnouncementTitle };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/aspect-ratio/aspect-ratio.d.ts
|
|
5
|
+
declare const AspectRatio: ({
|
|
6
|
+
ratio,
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}: ComponentProps<"div"> & {
|
|
10
|
+
ratio: number;
|
|
11
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { AspectRatio };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { cn } from "tailwind-variants";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/aspect-ratio/aspect-ratio.tsx
|
|
5
|
+
const AspectRatio = ({ ratio, className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
6
|
+
className: cn("relative aspect-(--ratio)", className),
|
|
7
|
+
"data-slot": "aspect-ratio",
|
|
8
|
+
style: { "--ratio": ratio },
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { AspectRatio };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { A as AutocompleteContentProps, C as AutocompleteGroupLabel, D as AutocompleteEmpty, E as AutocompleteGroupProps, M as AutocompleteCollectionProps, N as AutocompleteClear, O as AutocompleteEmptyProps, P as AutocompleteClearProps, S as AutocompleteIconProps, T as AutocompleteGroup, _ as AutocompleteItem, a as AutocompleteStatus, b as AutocompleteInputProps, c as AutocompleteSeparatorProps, d as AutocompletePositioner, f as AutocompletePositionerProps, g as AutocompleteListProps, h as AutocompleteList, i as AutocompleteTriggerProps, j as AutocompleteCollection, k as AutocompleteContent, l as AutocompleteRow, m as AutocompletePortalProps, n as AutocompleteValueProps, o as AutocompleteStatusProps, p as AutocompletePortal, r as AutocompleteTrigger, s as AutocompleteSeparator, t as AutocompleteValue, u as AutocompleteRowProps, v as AutocompleteItemProps, w as AutocompleteGroupLabelProps, x as AutocompleteIcon, y as AutocompleteInput } from "../autocomplete-value-BhyszIrf.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import { Autocomplete as Autocomplete$1 } from "@base-ui/react/autocomplete";
|
|
5
|
+
import * as _base_ui_react0 from "@base-ui/react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/autocomplete/autocomplete.d.ts
|
|
8
|
+
type AutocompleteProps = ComponentProps<typeof Autocomplete$1.Root>;
|
|
9
|
+
declare const Autocomplete: {
|
|
10
|
+
(props: AutocompleteProps): react_jsx_runtime0.JSX.Element;
|
|
11
|
+
Clear: ({
|
|
12
|
+
className,
|
|
13
|
+
...props
|
|
14
|
+
}: AutocompleteClearProps) => react_jsx_runtime0.JSX.Element;
|
|
15
|
+
Collection: (props: AutocompleteCollectionProps) => react_jsx_runtime0.JSX.Element;
|
|
16
|
+
Content: ({
|
|
17
|
+
className,
|
|
18
|
+
children,
|
|
19
|
+
sideOffset,
|
|
20
|
+
...props
|
|
21
|
+
}: AutocompleteContentProps) => react_jsx_runtime0.JSX.Element;
|
|
22
|
+
Empty: ({
|
|
23
|
+
className,
|
|
24
|
+
...props
|
|
25
|
+
}: AutocompleteEmptyProps) => react_jsx_runtime0.JSX.Element;
|
|
26
|
+
Group: (props: AutocompleteGroupProps) => react_jsx_runtime0.JSX.Element;
|
|
27
|
+
GroupLabel: ({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: AutocompleteGroupLabelProps) => react_jsx_runtime0.JSX.Element;
|
|
31
|
+
Icon: (props: AutocompleteIconProps) => react_jsx_runtime0.JSX.Element;
|
|
32
|
+
Input: ({
|
|
33
|
+
className,
|
|
34
|
+
...props
|
|
35
|
+
}: AutocompleteInputProps) => react_jsx_runtime0.JSX.Element;
|
|
36
|
+
Item: ({
|
|
37
|
+
className,
|
|
38
|
+
children,
|
|
39
|
+
...props
|
|
40
|
+
}: AutocompleteItemProps) => react_jsx_runtime0.JSX.Element;
|
|
41
|
+
List: (props: AutocompleteListProps) => react_jsx_runtime0.JSX.Element;
|
|
42
|
+
Portal: (props: AutocompletePortalProps) => react_jsx_runtime0.JSX.Element;
|
|
43
|
+
Positioner: ({
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}: AutocompletePositionerProps) => react_jsx_runtime0.JSX.Element;
|
|
47
|
+
Row: ({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: AutocompleteRowProps) => react_jsx_runtime0.JSX.Element;
|
|
51
|
+
Separator: ({
|
|
52
|
+
className,
|
|
53
|
+
...props
|
|
54
|
+
}: AutocompleteSeparatorProps) => react_jsx_runtime0.JSX.Element;
|
|
55
|
+
Status: ({
|
|
56
|
+
className,
|
|
57
|
+
...props
|
|
58
|
+
}: AutocompleteStatusProps) => react_jsx_runtime0.JSX.Element;
|
|
59
|
+
Trigger: ({
|
|
60
|
+
className,
|
|
61
|
+
...props
|
|
62
|
+
}: AutocompleteTriggerProps) => react_jsx_runtime0.JSX.Element;
|
|
63
|
+
Value: (props: AutocompleteValueProps) => react_jsx_runtime0.JSX.Element;
|
|
64
|
+
};
|
|
65
|
+
declare const useFilter: (options?: _base_ui_react0.AutocompleteFilterOptions) => _base_ui_react0.AutocompleteFilter;
|
|
66
|
+
//#endregion
|
|
67
|
+
export { Autocomplete, AutocompleteClear, type AutocompleteClearProps, AutocompleteCollection, type AutocompleteCollectionProps, AutocompleteContent, type AutocompleteContentProps, AutocompleteEmpty, type AutocompleteEmptyProps, AutocompleteGroup, AutocompleteGroupLabel, type AutocompleteGroupLabelProps, type AutocompleteGroupProps, AutocompleteIcon, type AutocompleteIconProps, AutocompleteInput, type AutocompleteInputProps, AutocompleteItem, type AutocompleteItemProps, AutocompleteList, type AutocompleteListProps, AutocompletePortal, type AutocompletePortalProps, AutocompletePositioner, type AutocompletePositionerProps, AutocompleteProps, AutocompleteRow, type AutocompleteRowProps, AutocompleteSeparator, type AutocompleteSeparatorProps, AutocompleteStatus, type AutocompleteStatusProps, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteValue, type AutocompleteValueProps, useFilter };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { _ as AutocompleteClear, a as AutocompleteRow, c as AutocompleteInput, d as AutocompleteGroup, f as AutocompleteEmpty, g as AutocompleteCollection, h as AutocompletePortal, i as AutocompleteSeparator, l as AutocompleteIcon, m as AutocompletePositioner, n as AutocompleteTrigger, o as AutocompleteList, p as AutocompleteContent, r as AutocompleteStatus, s as AutocompleteItem, t as AutocompleteValue, u as AutocompleteGroupLabel } from "../autocomplete-value-DNJ3sAIH.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Autocomplete as Autocomplete$1 } from "@base-ui/react/autocomplete";
|
|
4
|
+
|
|
5
|
+
//#region src/components/autocomplete/autocomplete.tsx
|
|
6
|
+
const Autocomplete = (props) => /* @__PURE__ */ jsx(Autocomplete$1.Root, {
|
|
7
|
+
"data-slot": "autocomplete",
|
|
8
|
+
...props
|
|
9
|
+
});
|
|
10
|
+
Autocomplete.Clear = AutocompleteClear;
|
|
11
|
+
Autocomplete.Collection = AutocompleteCollection;
|
|
12
|
+
Autocomplete.Content = AutocompleteContent;
|
|
13
|
+
Autocomplete.Empty = AutocompleteEmpty;
|
|
14
|
+
Autocomplete.Group = AutocompleteGroup;
|
|
15
|
+
Autocomplete.GroupLabel = AutocompleteGroupLabel;
|
|
16
|
+
Autocomplete.Icon = AutocompleteIcon;
|
|
17
|
+
Autocomplete.Input = AutocompleteInput;
|
|
18
|
+
Autocomplete.Item = AutocompleteItem;
|
|
19
|
+
Autocomplete.List = AutocompleteList;
|
|
20
|
+
Autocomplete.Portal = AutocompletePortal;
|
|
21
|
+
Autocomplete.Positioner = AutocompletePositioner;
|
|
22
|
+
Autocomplete.Row = AutocompleteRow;
|
|
23
|
+
Autocomplete.Separator = AutocompleteSeparator;
|
|
24
|
+
Autocomplete.Status = AutocompleteStatus;
|
|
25
|
+
Autocomplete.Trigger = AutocompleteTrigger;
|
|
26
|
+
Autocomplete.Value = AutocompleteValue;
|
|
27
|
+
const { useFilter } = Autocomplete$1;
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
export { Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteContent, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteIcon, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePortal, AutocompletePositioner, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, useFilter };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { a as AvatarBadge, i as AvatarFallback, n as AvatarGroupCount, r as AvatarGroup, t as AvatarImage } from "../avatar-image-BKgKyzVw.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as react from "react";
|
|
4
|
+
import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
|
|
5
|
+
|
|
6
|
+
//#region src/components/avatar/avatar.d.ts
|
|
7
|
+
declare const Avatar: {
|
|
8
|
+
({
|
|
9
|
+
className,
|
|
10
|
+
size,
|
|
11
|
+
...props
|
|
12
|
+
}: Avatar$1.Root.Props & {
|
|
13
|
+
size?: "default" | "sm" | "lg";
|
|
14
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
15
|
+
Badge: ({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: react.ComponentProps<"span">) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
Fallback: ({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}: Avatar$1.Fallback.Props) => react_jsx_runtime0.JSX.Element;
|
|
23
|
+
Group: ({
|
|
24
|
+
className,
|
|
25
|
+
...props
|
|
26
|
+
}: react.ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
27
|
+
GroupCount: ({
|
|
28
|
+
className,
|
|
29
|
+
...props
|
|
30
|
+
}: react.ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
31
|
+
Image: ({
|
|
32
|
+
className,
|
|
33
|
+
...props
|
|
34
|
+
}: Avatar$1.Image.Props) => react_jsx_runtime0.JSX.Element;
|
|
35
|
+
};
|
|
36
|
+
//#endregion
|
|
37
|
+
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { a as AvatarBadge, i as AvatarFallback, n as AvatarGroupCount, r as AvatarGroup, t as AvatarImage } from "../avatar-image-Bw3G-Bl6.js";
|
|
4
|
+
import { cn } from "tailwind-variants";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
|
|
7
|
+
|
|
8
|
+
//#region src/components/avatar/avatar.tsx
|
|
9
|
+
const Avatar = ({ className, size = "default", ...props }) => /* @__PURE__ */ jsx(Avatar$1.Root, {
|
|
10
|
+
className: cn("group/avatar relative flex size-8 shrink-0 select-none rounded-full after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=lg]:size-10 data-[size=sm]:size-6 dark:after:mix-blend-lighten", className),
|
|
11
|
+
"data-size": size,
|
|
12
|
+
"data-slot": "avatar",
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
Avatar.Badge = AvatarBadge;
|
|
16
|
+
Avatar.Fallback = AvatarFallback;
|
|
17
|
+
Avatar.Group = AvatarGroup;
|
|
18
|
+
Avatar.GroupCount = AvatarGroupCount;
|
|
19
|
+
Avatar.Image = AvatarImage;
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage };
|