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,81 @@
|
|
|
1
|
+
import "tailwind-variants";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
4
|
+
import * as react from "react";
|
|
5
|
+
import { ComponentProps, ReactNode } from "react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/timeline/timeline-connector.d.ts
|
|
8
|
+
interface TimelineConnectorProps extends useRender.ComponentProps<"div"> {
|
|
9
|
+
forceMount?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const TimelineConnector: ({
|
|
12
|
+
className,
|
|
13
|
+
render,
|
|
14
|
+
forceMount,
|
|
15
|
+
...props
|
|
16
|
+
}: TimelineConnectorProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/components/timeline/timeline-content.d.ts
|
|
19
|
+
type TimelineContentProps = useRender.ComponentProps<"div">;
|
|
20
|
+
declare const TimelineContent: ({
|
|
21
|
+
className,
|
|
22
|
+
render,
|
|
23
|
+
...props
|
|
24
|
+
}: TimelineContentProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/components/timeline/timeline-description.d.ts
|
|
27
|
+
type TimelineDescriptionProps = useRender.ComponentProps<"div">;
|
|
28
|
+
declare const TimelineDescription: ({
|
|
29
|
+
className,
|
|
30
|
+
render,
|
|
31
|
+
...props
|
|
32
|
+
}: TimelineDescriptionProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/timeline/timeline-dot.d.ts
|
|
35
|
+
type TimelineDotProps = useRender.ComponentProps<"div">;
|
|
36
|
+
declare const TimelineDot: ({
|
|
37
|
+
className,
|
|
38
|
+
render,
|
|
39
|
+
...props
|
|
40
|
+
}: TimelineDotProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/components/timeline/timeline-header.d.ts
|
|
43
|
+
type TimelineHeaderProps = useRender.ComponentProps<"div">;
|
|
44
|
+
declare const TimelineHeader: ({
|
|
45
|
+
className,
|
|
46
|
+
render,
|
|
47
|
+
...props
|
|
48
|
+
}: TimelineHeaderProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
49
|
+
//#endregion
|
|
50
|
+
//#region src/components/timeline/timeline-item.d.ts
|
|
51
|
+
interface TimelineItemProps extends ComponentProps<"li"> {
|
|
52
|
+
index: number;
|
|
53
|
+
children?: ReactNode;
|
|
54
|
+
}
|
|
55
|
+
declare const TimelineItem: ({
|
|
56
|
+
index,
|
|
57
|
+
className,
|
|
58
|
+
children,
|
|
59
|
+
...props
|
|
60
|
+
}: TimelineItemProps) => react_jsx_runtime0.JSX.Element;
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/components/timeline/timeline-time.d.ts
|
|
63
|
+
type TimelineTimeProps = useRender.ComponentProps<"time"> & Pick<ComponentProps<"time">, "dateTime">;
|
|
64
|
+
declare const TimelineTime: ({
|
|
65
|
+
className,
|
|
66
|
+
render,
|
|
67
|
+
...props
|
|
68
|
+
}: TimelineTimeProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/components/timeline/timeline-title.d.ts
|
|
71
|
+
type TimelineTitleProps = useRender.ComponentProps<"div">;
|
|
72
|
+
declare const TimelineTitle: ({
|
|
73
|
+
className,
|
|
74
|
+
render,
|
|
75
|
+
...props
|
|
76
|
+
}: TimelineTitleProps) => react.ReactElement<unknown, string | react.JSXElementConstructor<any>>;
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/timeline/use-timeline.d.ts
|
|
79
|
+
type Direction = "ltr" | "rtl";
|
|
80
|
+
//#endregion
|
|
81
|
+
export { TimelineConnectorProps as _, TimelineTimeProps as a, TimelineHeader as c, TimelineDotProps as d, TimelineDescription as f, TimelineConnector as g, TimelineContentProps as h, TimelineTime as i, TimelineHeaderProps as l, TimelineContent as m, TimelineTitle as n, TimelineItem as o, TimelineDescriptionProps as p, TimelineTitleProps as r, TimelineItemProps as s, Direction as t, TimelineDot as u };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { ComponentProps, ReactNode } from "react";
|
|
3
|
+
import { Toast } from "@base-ui/react/toast";
|
|
4
|
+
|
|
5
|
+
//#region src/components/toast/toast-action.d.ts
|
|
6
|
+
type ToastActionProps = ComponentProps<typeof Toast.Action>;
|
|
7
|
+
declare const ToastAction: ({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: ToastActionProps) => react_jsx_runtime0.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/components/toast/toast-close.d.ts
|
|
13
|
+
type ToastCloseProps = ComponentProps<typeof Toast.Close>;
|
|
14
|
+
declare const ToastClose: ({
|
|
15
|
+
className,
|
|
16
|
+
children,
|
|
17
|
+
...props
|
|
18
|
+
}: ToastCloseProps) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/components/toast/toast-content.d.ts
|
|
21
|
+
type ToastContentProps = ComponentProps<typeof Toast.Content>;
|
|
22
|
+
declare const ToastContent: ({
|
|
23
|
+
className,
|
|
24
|
+
...props
|
|
25
|
+
}: ToastContentProps) => react_jsx_runtime0.JSX.Element;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/toast/toast-description.d.ts
|
|
28
|
+
type ToastDescriptionProps = ComponentProps<typeof Toast.Description>;
|
|
29
|
+
declare const ToastDescription: ({
|
|
30
|
+
className,
|
|
31
|
+
...props
|
|
32
|
+
}: ToastDescriptionProps) => react_jsx_runtime0.JSX.Element;
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/toast/toast-portal.d.ts
|
|
35
|
+
type ToastPortalProps = ComponentProps<typeof Toast.Portal>;
|
|
36
|
+
declare const ToastPortal: (props: ToastPortalProps) => react_jsx_runtime0.JSX.Element;
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/toast/toast-root.d.ts
|
|
39
|
+
type ToastRootProps = ComponentProps<typeof Toast.Root>;
|
|
40
|
+
declare const ToastRoot: ({
|
|
41
|
+
className,
|
|
42
|
+
...props
|
|
43
|
+
}: ToastRootProps) => react_jsx_runtime0.JSX.Element;
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/toast/toast-title.d.ts
|
|
46
|
+
type ToastTitleProps = ComponentProps<typeof Toast.Title>;
|
|
47
|
+
declare const ToastTitle: ({
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}: ToastTitleProps) => react_jsx_runtime0.JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/components/toast/toast-viewport.d.ts
|
|
53
|
+
type ToastViewportProps = ComponentProps<typeof Toast.Viewport>;
|
|
54
|
+
declare const ToastViewport: ({
|
|
55
|
+
className,
|
|
56
|
+
...props
|
|
57
|
+
}: ToastViewportProps) => react_jsx_runtime0.JSX.Element;
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/components/toast/toast-provider.d.ts
|
|
60
|
+
declare const ToastProvider: ({
|
|
61
|
+
children
|
|
62
|
+
}: {
|
|
63
|
+
children: ReactNode;
|
|
64
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/components/toast/use-toast.d.ts
|
|
67
|
+
type ToastManager = ReturnType<typeof Toast.useToastManager>;
|
|
68
|
+
type AddOptions = Parameters<ToastManager["add"]>[0];
|
|
69
|
+
type UpdateOptions = Parameters<ToastManager["update"]>[1];
|
|
70
|
+
type PromiseOptions = Parameters<ToastManager["promise"]>[1];
|
|
71
|
+
type ToastOptions = Omit<AddOptions, "type"> & {
|
|
72
|
+
type?: AddOptions["type"] | "success" | "error" | "info" | "warning";
|
|
73
|
+
};
|
|
74
|
+
interface UseToastReturn {
|
|
75
|
+
/**
|
|
76
|
+
* Add a toast with custom options
|
|
77
|
+
*/
|
|
78
|
+
add: (options: ToastOptions) => string;
|
|
79
|
+
/**
|
|
80
|
+
* Show a success toast
|
|
81
|
+
*/
|
|
82
|
+
success: (options: Omit<ToastOptions, "type">) => string;
|
|
83
|
+
/**
|
|
84
|
+
* Show an error toast
|
|
85
|
+
*/
|
|
86
|
+
error: (options: Omit<ToastOptions, "type">) => string;
|
|
87
|
+
/**
|
|
88
|
+
* Show an info toast
|
|
89
|
+
*/
|
|
90
|
+
info: (options: Omit<ToastOptions, "type">) => string;
|
|
91
|
+
/**
|
|
92
|
+
* Show a warning toast
|
|
93
|
+
*/
|
|
94
|
+
warning: (options: Omit<ToastOptions, "type">) => string;
|
|
95
|
+
/**
|
|
96
|
+
* Show a loading toast
|
|
97
|
+
*/
|
|
98
|
+
loading: (options: Omit<ToastOptions, "type">) => string;
|
|
99
|
+
/**
|
|
100
|
+
* Create a promise toast with loading, success, and error states
|
|
101
|
+
*/
|
|
102
|
+
promise: <Value>(promise: Promise<Value>, options: PromiseOptions) => Promise<Value>;
|
|
103
|
+
/**
|
|
104
|
+
* Update an existing toast
|
|
105
|
+
*/
|
|
106
|
+
update: (toastId: string, options: UpdateOptions) => void;
|
|
107
|
+
/**
|
|
108
|
+
* Close a toast
|
|
109
|
+
*/
|
|
110
|
+
close: (toastId: string) => void;
|
|
111
|
+
/**
|
|
112
|
+
* Get all active toasts
|
|
113
|
+
*/
|
|
114
|
+
readonly toasts: ToastManager["toasts"];
|
|
115
|
+
}
|
|
116
|
+
declare const useToast: () => UseToastReturn;
|
|
117
|
+
//#endregion
|
|
118
|
+
export { ToastAction as _, ToastTitle as a, ToastRootProps as c, ToastDescription as d, ToastDescriptionProps as f, ToastCloseProps as g, ToastClose as h, ToastViewportProps as i, ToastPortal as l, ToastContentProps as m, ToastProvider as n, ToastTitleProps as o, ToastContent as p, ToastViewport as r, ToastRoot as s, useToast as t, ToastPortalProps as u, ToastActionProps as v };
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { cn } from "tailwind-variants";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Cancel01Icon } from "@hugeicons/core-free-icons";
|
|
4
|
+
import { HugeiconsIcon } from "@hugeicons/react";
|
|
5
|
+
import { Toast } from "@base-ui/react/toast";
|
|
6
|
+
|
|
7
|
+
//#region src/components/toast/toast-action.tsx
|
|
8
|
+
const ToastAction = ({ className, ...props }) => /* @__PURE__ */ jsx(Toast.Action, {
|
|
9
|
+
className: cn(className),
|
|
10
|
+
"data-slot": "toast-action",
|
|
11
|
+
...props
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/components/toast/toast-close.tsx
|
|
16
|
+
const ToastClose = ({ className, children, ...props }) => /* @__PURE__ */ jsx(Toast.Close, {
|
|
17
|
+
className: cn("absolute top-2 right-2 flex h-5 w-5 items-center justify-center rounded border-none bg-transparent text-muted-foreground hover:bg-accent hover:text-accent-foreground", className),
|
|
18
|
+
"data-slot": "toast-close",
|
|
19
|
+
...props,
|
|
20
|
+
children: children ?? /* @__PURE__ */ jsx(HugeiconsIcon, {
|
|
21
|
+
color: "currentColor",
|
|
22
|
+
icon: Cancel01Icon,
|
|
23
|
+
size: 16,
|
|
24
|
+
strokeWidth: 1.5
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/components/toast/toast-content.tsx
|
|
30
|
+
const ToastContent = ({ className, ...props }) => /* @__PURE__ */ jsx(Toast.Content, {
|
|
31
|
+
className: cn("overflow-hidden transition-opacity duration-250 data-behind:pointer-events-none data-expanded:pointer-events-auto data-behind:opacity-0 data-expanded:opacity-100", className),
|
|
32
|
+
"data-slot": "toast-content",
|
|
33
|
+
...props
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/components/toast/toast-description.tsx
|
|
38
|
+
const ToastDescription = ({ className, ...props }) => /* @__PURE__ */ jsx(Toast.Description, {
|
|
39
|
+
className: cn("text-muted-foreground text-sm leading-5", className),
|
|
40
|
+
"data-slot": "toast-description",
|
|
41
|
+
...props
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/toast/toast-portal.tsx
|
|
46
|
+
const ToastPortal = (props) => /* @__PURE__ */ jsx(Toast.Portal, {
|
|
47
|
+
"data-slot": "toast-portal",
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/components/toast/toast-root.tsx
|
|
53
|
+
const ToastRoot = ({ className, ...props }) => /* @__PURE__ */ jsx(Toast.Root, {
|
|
54
|
+
className: cn("absolute right-0 bottom-0 left-auto z-[calc(1000-var(--toast-index))] mr-0 h-[var(--height)] w-full origin-bottom select-none rounded-lg border border-border bg-popover bg-clip-padding p-4 text-popover-foreground shadow-lg [--gap:0.75rem] [--height:var(--toast-frontmost-height,var(--toast-height))] [--offset-y:calc(var(--toast-offset-y)*-1+calc(var(--toast-index)*var(--gap)*-1)+var(--toast-swipe-movement-y))] [--peek:0.75rem] [--scale:calc(max(0,1-(var(--toast-index)*0.1)))] [--shrink:calc(1-var(--scale))] [transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--toast-swipe-movement-y)-(var(--toast-index)*var(--peek))-(var(--shrink)*var(--height))))_scale(var(--scale))] [transition:transform_0.5s_cubic-bezier(0.22,1,0.36,1),opacity_0.5s,height_0.15s] after:absolute after:top-full after:left-0 after:h-[calc(var(--gap)+1px)] after:w-full after:content-[''] data-[expanded]:h-[var(--toast-height)] data-[ending-style]:opacity-0 data-[limited]:opacity-0 data-[ending-style]:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))] data-[ending-style]:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))] data-[ending-style]:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))] data-[ending-style]:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))] data-[expanded]:[transform:translateX(var(--toast-swipe-movement-x))_translateY(calc(var(--offset-y)))] data-[expanded]:data-[ending-style]:data-[swipe-direction=down]:[transform:translateY(calc(var(--toast-swipe-movement-y)+150%))] data-[expanded]:data-[ending-style]:data-[swipe-direction=left]:[transform:translateX(calc(var(--toast-swipe-movement-x)-150%))_translateY(var(--offset-y))] data-[expanded]:data-[ending-style]:data-[swipe-direction=right]:[transform:translateX(calc(var(--toast-swipe-movement-x)+150%))_translateY(var(--offset-y))] data-[expanded]:data-[ending-style]:data-[swipe-direction=up]:[transform:translateY(calc(var(--toast-swipe-movement-y)-150%))] data-[starting-style]:[transform:translateY(150%)] [&[data-ending-style]:not([data-limited]):not([data-swipe-direction])]:[transform:translateY(150%)]", className),
|
|
55
|
+
"data-slot": "toast-root",
|
|
56
|
+
...props
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/components/toast/toast-title.tsx
|
|
61
|
+
const ToastTitle = ({ className, ...props }) => /* @__PURE__ */ jsx(Toast.Title, {
|
|
62
|
+
className: cn("font-medium text-sm leading-5", className),
|
|
63
|
+
"data-slot": "toast-title",
|
|
64
|
+
...props
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
//#endregion
|
|
68
|
+
//#region src/components/toast/toast-viewport.tsx
|
|
69
|
+
const ToastViewport = ({ className, ...props }) => /* @__PURE__ */ jsx(Toast.Viewport, {
|
|
70
|
+
className: cn("fixed top-auto right-4 bottom-4 z-[100] mx-auto flex w-[250px] sm:right-8 sm:bottom-8 sm:w-[300px]", className),
|
|
71
|
+
"data-slot": "toast-viewport",
|
|
72
|
+
...props
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/components/toast/toast-provider.tsx
|
|
77
|
+
const ToastProvider = ({ children }) => /* @__PURE__ */ jsxs(Toast.Provider, {
|
|
78
|
+
"data-slot": "toast",
|
|
79
|
+
children: [children, /* @__PURE__ */ jsx(ToastPortal, { children: /* @__PURE__ */ jsx(ToastViewport, { children: /* @__PURE__ */ jsx(ToastList, {}) }) })]
|
|
80
|
+
});
|
|
81
|
+
const ToastList = () => {
|
|
82
|
+
const { toasts } = Toast.useToastManager();
|
|
83
|
+
return toasts.map((toast) => /* @__PURE__ */ jsx(ToastRoot, {
|
|
84
|
+
toast,
|
|
85
|
+
children: /* @__PURE__ */ jsxs(ToastContent, { children: [
|
|
86
|
+
/* @__PURE__ */ jsx(ToastTitle, {}),
|
|
87
|
+
/* @__PURE__ */ jsx(ToastDescription, {}),
|
|
88
|
+
/* @__PURE__ */ jsx(ToastClose, {})
|
|
89
|
+
] })
|
|
90
|
+
}, toast.id));
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
//#endregion
|
|
94
|
+
//#region src/components/toast/use-toast.ts
|
|
95
|
+
const useToast = () => {
|
|
96
|
+
const toastManager = Toast.useToastManager();
|
|
97
|
+
return {
|
|
98
|
+
add: (options) => toastManager.add(options),
|
|
99
|
+
success: (options) => toastManager.add({
|
|
100
|
+
...options,
|
|
101
|
+
type: "success"
|
|
102
|
+
}),
|
|
103
|
+
error: (options) => toastManager.add({
|
|
104
|
+
...options,
|
|
105
|
+
type: "error"
|
|
106
|
+
}),
|
|
107
|
+
info: (options) => toastManager.add({
|
|
108
|
+
...options,
|
|
109
|
+
type: "info"
|
|
110
|
+
}),
|
|
111
|
+
warning: (options) => toastManager.add({
|
|
112
|
+
...options,
|
|
113
|
+
type: "warning"
|
|
114
|
+
}),
|
|
115
|
+
loading: (options) => toastManager.add({
|
|
116
|
+
...options,
|
|
117
|
+
type: "loading"
|
|
118
|
+
}),
|
|
119
|
+
promise: (promise, options) => toastManager.promise(promise, options),
|
|
120
|
+
update: (toastId, options) => toastManager.update(toastId, options),
|
|
121
|
+
close: (toastId) => toastManager.close(toastId),
|
|
122
|
+
get toasts() {
|
|
123
|
+
return toastManager.toasts;
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
//#endregion
|
|
129
|
+
export { ToastRoot as a, ToastContent as c, ToastTitle as i, ToastClose as l, ToastProvider as n, ToastPortal as o, ToastViewport as r, ToastDescription as s, useToast as t, ToastAction as u };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
import { MediaControlBar, MediaMuteButton, MediaPlayButton, MediaSeekBackwardButton, MediaSeekForwardButton, MediaTimeDisplay, MediaTimeRange, MediaVolumeRange } from "media-chrome/react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/video-player/video-player-content.d.ts
|
|
6
|
+
type VideoPlayerContentProps = ComponentProps<"video">;
|
|
7
|
+
declare const VideoPlayerContent: ({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: VideoPlayerContentProps) => react_jsx_runtime0.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/components/video-player/video-player-control-bar.d.ts
|
|
13
|
+
type VideoPlayerControlBarProps = ComponentProps<typeof MediaControlBar>;
|
|
14
|
+
declare const VideoPlayerControlBar: (props: VideoPlayerControlBarProps) => react_jsx_runtime0.JSX.Element;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/components/video-player/video-player-mute-button.d.ts
|
|
17
|
+
type VideoPlayerMuteButtonProps = ComponentProps<typeof MediaMuteButton>;
|
|
18
|
+
declare const VideoPlayerMuteButton: ({
|
|
19
|
+
className,
|
|
20
|
+
...props
|
|
21
|
+
}: VideoPlayerMuteButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/video-player/video-player-play-button.d.ts
|
|
24
|
+
type VideoPlayerPlayButtonProps = ComponentProps<typeof MediaPlayButton>;
|
|
25
|
+
declare const VideoPlayerPlayButton: ({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}: VideoPlayerPlayButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/video-player/video-player-seek-backward-button.d.ts
|
|
31
|
+
type VideoPlayerSeekBackwardButtonProps = ComponentProps<typeof MediaSeekBackwardButton>;
|
|
32
|
+
declare const VideoPlayerSeekBackwardButton: ({
|
|
33
|
+
className,
|
|
34
|
+
...props
|
|
35
|
+
}: VideoPlayerSeekBackwardButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/components/video-player/video-player-seek-forward-button.d.ts
|
|
38
|
+
type VideoPlayerSeekForwardButtonProps = ComponentProps<typeof MediaSeekForwardButton>;
|
|
39
|
+
declare const VideoPlayerSeekForwardButton: ({
|
|
40
|
+
className,
|
|
41
|
+
...props
|
|
42
|
+
}: VideoPlayerSeekForwardButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/video-player/video-player-time-display.d.ts
|
|
45
|
+
type VideoPlayerTimeDisplayProps = ComponentProps<typeof MediaTimeDisplay>;
|
|
46
|
+
declare const VideoPlayerTimeDisplay: ({
|
|
47
|
+
className,
|
|
48
|
+
...props
|
|
49
|
+
}: VideoPlayerTimeDisplayProps) => react_jsx_runtime0.JSX.Element;
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/components/video-player/video-player-time-range.d.ts
|
|
52
|
+
type VideoPlayerTimeRangeProps = ComponentProps<typeof MediaTimeRange>;
|
|
53
|
+
declare const VideoPlayerTimeRange: ({
|
|
54
|
+
className,
|
|
55
|
+
...props
|
|
56
|
+
}: VideoPlayerTimeRangeProps) => react_jsx_runtime0.JSX.Element;
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/components/video-player/video-player-volume-range.d.ts
|
|
59
|
+
type VideoPlayerVolumeRangeProps = ComponentProps<typeof MediaVolumeRange>;
|
|
60
|
+
declare const VideoPlayerVolumeRange: ({
|
|
61
|
+
className,
|
|
62
|
+
...props
|
|
63
|
+
}: VideoPlayerVolumeRangeProps) => react_jsx_runtime0.JSX.Element;
|
|
64
|
+
//#endregion
|
|
65
|
+
export { VideoPlayerContent as _, VideoPlayerTimeDisplay as a, VideoPlayerSeekForwardButtonProps as c, VideoPlayerPlayButton as d, VideoPlayerPlayButtonProps as f, VideoPlayerControlBarProps as g, VideoPlayerControlBar as h, VideoPlayerTimeRangeProps as i, VideoPlayerSeekBackwardButton as l, VideoPlayerMuteButtonProps as m, VideoPlayerVolumeRangeProps as n, VideoPlayerTimeDisplayProps as o, VideoPlayerMuteButton as p, VideoPlayerTimeRange as r, VideoPlayerSeekForwardButton as s, VideoPlayerVolumeRange as t, VideoPlayerSeekBackwardButtonProps as u, VideoPlayerContentProps as v };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { cn } from "tailwind-variants";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { MediaControlBar, MediaMuteButton, MediaPlayButton, MediaSeekBackwardButton, MediaSeekForwardButton, MediaTimeDisplay, MediaTimeRange, MediaVolumeRange } from "media-chrome/react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/video-player/video-player-content.tsx
|
|
6
|
+
const VideoPlayerContent = ({ className, ...props }) => /* @__PURE__ */ jsx("video", {
|
|
7
|
+
className: cn("mt-0 mb-0", className),
|
|
8
|
+
...props,
|
|
9
|
+
children: /* @__PURE__ */ jsx("track", { kind: "captions" })
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/video-player/video-player-control-bar.tsx
|
|
14
|
+
const VideoPlayerControlBar = (props) => /* @__PURE__ */ jsx(MediaControlBar, { ...props });
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/components/video-player/video-player-mute-button.tsx
|
|
18
|
+
const VideoPlayerMuteButton = ({ className, ...props }) => /* @__PURE__ */ jsx(MediaMuteButton, {
|
|
19
|
+
className: cn("cursor-pointer p-2.5", className),
|
|
20
|
+
...props
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/components/video-player/video-player-play-button.tsx
|
|
25
|
+
const VideoPlayerPlayButton = ({ className, ...props }) => /* @__PURE__ */ jsx(MediaPlayButton, {
|
|
26
|
+
className: cn("cursor-pointer p-2.5", className),
|
|
27
|
+
...props
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/video-player/video-player-seek-backward-button.tsx
|
|
32
|
+
const VideoPlayerSeekBackwardButton = ({ className, ...props }) => /* @__PURE__ */ jsx(MediaSeekBackwardButton, {
|
|
33
|
+
className: cn("cursor-pointer p-2.5", className),
|
|
34
|
+
...props
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/video-player/video-player-seek-forward-button.tsx
|
|
39
|
+
const VideoPlayerSeekForwardButton = ({ className, ...props }) => /* @__PURE__ */ jsx(MediaSeekForwardButton, {
|
|
40
|
+
className: cn("cursor-pointer p-2.5", className),
|
|
41
|
+
...props
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/video-player/video-player-time-display.tsx
|
|
46
|
+
const VideoPlayerTimeDisplay = ({ className, ...props }) => /* @__PURE__ */ jsx(MediaTimeDisplay, {
|
|
47
|
+
className: cn("p-2.5", className),
|
|
48
|
+
...props
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/components/video-player/video-player-time-range.tsx
|
|
53
|
+
const VideoPlayerTimeRange = ({ className, ...props }) => /* @__PURE__ */ jsx(MediaTimeRange, {
|
|
54
|
+
className: cn("p-2.5", className),
|
|
55
|
+
...props
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/components/video-player/video-player-volume-range.tsx
|
|
60
|
+
const VideoPlayerVolumeRange = ({ className, ...props }) => /* @__PURE__ */ jsx(MediaVolumeRange, {
|
|
61
|
+
className: cn("p-2.5", className),
|
|
62
|
+
...props
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
//#endregion
|
|
66
|
+
export { VideoPlayerSeekBackwardButton as a, VideoPlayerControlBar as c, VideoPlayerSeekForwardButton as i, VideoPlayerContent as l, VideoPlayerTimeRange as n, VideoPlayerPlayButton as o, VideoPlayerTimeDisplay as r, VideoPlayerMuteButton as s, VideoPlayerVolumeRange as t };
|
package/package.json
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kuzenbo",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "React UI components, hooks, and utilities library.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"react-components",
|
|
8
|
+
"react-hooks",
|
|
9
|
+
"react-library",
|
|
10
|
+
"typescript",
|
|
11
|
+
"ui-components",
|
|
12
|
+
"utilities"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/DobroslavRadosavljevic/kuzenbo#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/DobroslavRadosavljevic/kuzenbo/issues"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"author": "Dobroslav Radosavljevic <dobroslav.radosavljevic@gmail.com>",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/DobroslavRadosavljevic/kuzenbo"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"sideEffects": [
|
|
29
|
+
"*.css"
|
|
30
|
+
],
|
|
31
|
+
"main": "./dist/index.js",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"types": "./dist/index.d.ts",
|
|
36
|
+
"default": "./dist/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./*": {
|
|
39
|
+
"types": "./dist/*.d.ts",
|
|
40
|
+
"default": "./dist/*.js"
|
|
41
|
+
},
|
|
42
|
+
"./styles.css": "./dist/styles.css",
|
|
43
|
+
"./package.json": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
"scripts": {
|
|
46
|
+
"build": "tsdown && cp src/styles.css dist/styles.css",
|
|
47
|
+
"dev": "tsdown --watch",
|
|
48
|
+
"test": "bun test",
|
|
49
|
+
"lint": "bun ultracite check",
|
|
50
|
+
"format": "bun ultracite fix",
|
|
51
|
+
"typecheck": "tsc --noEmit",
|
|
52
|
+
"prepare": "husky",
|
|
53
|
+
"prepublishOnly": "bun run build",
|
|
54
|
+
"bump": "bumpp --changelog",
|
|
55
|
+
"storybook": "storybook dev -p 6006",
|
|
56
|
+
"build-storybook": "storybook build"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"@base-ui/react": "^1.1.0",
|
|
60
|
+
"@hugeicons/core-free-icons": "^3.1.1",
|
|
61
|
+
"@hugeicons/react": "^1.1.5",
|
|
62
|
+
"tailwind-variants": "^3.2.2"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@commitlint/cli": "^20.4.1",
|
|
66
|
+
"@commitlint/config-conventional": "^20.4.1",
|
|
67
|
+
"@happy-dom/global-registrator": "^20.5.0",
|
|
68
|
+
"@storybook/addon-a11y": "^10.2.7",
|
|
69
|
+
"@storybook/addon-themes": "^10.2.7",
|
|
70
|
+
"@storybook/react-vite": "^10.2.7",
|
|
71
|
+
"@tailwindcss/postcss": "^4.1.18",
|
|
72
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
73
|
+
"@testing-library/react": "^16.3.2",
|
|
74
|
+
"@testing-library/user-event": "^14.6.1",
|
|
75
|
+
"@total-typescript/ts-reset": "^0.6.1",
|
|
76
|
+
"@types/bun": "^1.3.8",
|
|
77
|
+
"@types/culori": "^4.0.1",
|
|
78
|
+
"@types/qrcode": "^1.5.6",
|
|
79
|
+
"@types/react": "^19.2.13",
|
|
80
|
+
"@types/react-dom": "^19.2.3",
|
|
81
|
+
"bumpp": "^10.4.1",
|
|
82
|
+
"husky": "^9.1.7",
|
|
83
|
+
"lint-staged": "^16.2.7",
|
|
84
|
+
"motion": "^12.33.0",
|
|
85
|
+
"oxfmt": "^0.28.0",
|
|
86
|
+
"oxlint": "^1.43.0",
|
|
87
|
+
"react": "^19.2.4",
|
|
88
|
+
"react-dom": "^19.2.4",
|
|
89
|
+
"storybook": "^10.2.7",
|
|
90
|
+
"tailwind-merge": "^3.4.0",
|
|
91
|
+
"tailwindcss": "^4.1.18",
|
|
92
|
+
"tsdown": "^0.20.3",
|
|
93
|
+
"typescript": "^5.9.3",
|
|
94
|
+
"ultracite": "7.1.5"
|
|
95
|
+
},
|
|
96
|
+
"peerDependencies": {
|
|
97
|
+
"cmdk": "^1.1.1",
|
|
98
|
+
"country-flag-icons": "^1.6.12",
|
|
99
|
+
"culori": "^4.0.2",
|
|
100
|
+
"embla-carousel": "^8.6.0",
|
|
101
|
+
"embla-carousel-react": "^8.6.0",
|
|
102
|
+
"frimousse": "^0.3.0",
|
|
103
|
+
"input-otp": "^1.4.2",
|
|
104
|
+
"media-chrome": "^4.17.2",
|
|
105
|
+
"qrcode": "^1.5.4",
|
|
106
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
107
|
+
"react-day-picker": "^9.13.0",
|
|
108
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
109
|
+
"react-dropzone": "^14.4.0",
|
|
110
|
+
"react-fast-marquee": "^1.6.5",
|
|
111
|
+
"react-resizable-panels": "^4.6.1",
|
|
112
|
+
"react-textarea-autosize": "^8.5.9",
|
|
113
|
+
"recharts": "^2.11.0",
|
|
114
|
+
"vaul": "^1.1.2"
|
|
115
|
+
},
|
|
116
|
+
"lint-staged": {
|
|
117
|
+
"*.{ts,tsx,js,jsx,mjs,cjs}": [
|
|
118
|
+
"bun run format"
|
|
119
|
+
],
|
|
120
|
+
"*.{json,md,yml,yaml}": [
|
|
121
|
+
"bun run format"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
"engines": {
|
|
125
|
+
"bun": ">=1.3.6",
|
|
126
|
+
"node": ">=22"
|
|
127
|
+
}
|
|
128
|
+
}
|