@krosoft/react 0.0.391 → 0.0.392
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/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/components/core/cards/DashboardCard.js +7 -8
- package/dist/components/core/cards/KpiCard.js +13 -14
- package/dist/components/core/cards/KpiCards.js +1 -2
- package/dist/components/core/cards/MetricCard.js +1 -2
- package/dist/components/core/cards/SkeletonCard.js +1 -2
- package/dist/components/core/cards/SkeletonCards.js +1 -2
- package/dist/components/core/changelog/AppChangelog.js +13 -14
- package/dist/components/core/changelog/AppChangelogEntry.js +19 -20
- package/dist/components/core/changelog/AppChangelogNav.js +1 -2
- package/dist/components/core/changelog/AppChangelogTagFilter.js +11 -12
- package/dist/components/core/charts/BarChartHorizontal.js +6 -7
- package/dist/components/core/charts/BarChartVertical.js +6 -7
- package/dist/components/core/charts/ChartCard.js +7 -8
- package/dist/components/core/charts/CircularGauge.js +1 -2
- package/dist/components/core/charts/LineChart.js +6 -7
- package/dist/components/core/charts/PieChart.js +12 -13
- package/dist/components/core/charts/chartColors.js +1 -2
- package/dist/components/core/charts/chartTooltip.helper.js +1 -2
- package/dist/components/core/dialogs/AboutDialog.js +11 -12
- package/dist/components/core/dialogs/AppDialog.js +27 -28
- package/dist/components/core/dialogs/ConfirmationDialog.js +15 -16
- package/dist/components/core/dialogs/FormDialog.js +7 -8
- package/dist/components/core/dialogs/index.js +4 -4
- package/dist/components/core/filters/ActiveFilters.js +1 -2
- package/dist/components/core/filters/AdvancedFilters.js +1 -2
- package/dist/components/core/filters/ConditionFilter.js +19 -20
- package/dist/components/core/filters/ConditionFilterGroup.js +1 -2
- package/dist/components/core/filters/FilterField.js +9 -10
- package/dist/components/core/filters/FilterPills.js +1 -2
- package/dist/components/core/filters/FilterPillsGroup.js +1 -2
- package/dist/components/core/filters/FiltersContainer.js +6 -7
- package/dist/components/core/filters/FiltersMobileDrawer.js +1 -2
- package/dist/components/core/filters/TableFilter.js +5 -6
- package/dist/components/core/filters/index.js +7 -7
- package/dist/components/core/forms/GenericForm.js +119 -120
- package/dist/components/core/icons/FlagFrIcon.js +1 -2
- package/dist/components/core/icons/FlagGbIcon.js +1 -2
- package/dist/components/core/inputs/DatePicker.js +9 -10
- package/dist/components/core/inputs/DateRangePicker.js +19 -20
- package/dist/components/core/inputs/FileDropzone.js +2 -3
- package/dist/components/core/inputs/ImageInput.js +9 -10
- package/dist/components/core/inputs/MultiSelect.js +89 -90
- package/dist/components/core/inputs/RatingInput.js +1 -2
- package/dist/components/core/inputs/SearchInput.js +7 -8
- package/dist/components/core/inputs/SingleSelect.js +36 -37
- package/dist/components/core/inputs/index.js +5 -5
- package/dist/components/core/inputs/select.helper.js +1 -2
- package/dist/components/core/language/LanguageSelector.js +1 -2
- package/dist/components/core/layouts/AppActions.js +44 -45
- package/dist/components/core/layouts/AppPageHeader.js +9 -10
- package/dist/components/core/layouts/AppSubTitle.js +1 -2
- package/dist/components/core/layouts/AppTitle.js +1 -2
- package/dist/components/core/layouts/KpiCardsLayout.js +1 -2
- package/dist/components/core/layouts/index.js +4 -4
- package/dist/components/core/markdown/AppMarkdown.js +1 -2
- package/dist/components/core/markdown/AppMarkdownHeading.js +4 -5
- package/dist/components/core/navbar/GlobalSearch.js +16 -17
- package/dist/components/core/navbar/NotificationsBell.js +21 -22
- package/dist/components/core/navbar/Sidebar.js +32 -33
- package/dist/components/core/navbar/SidebarHeader.js +1 -2
- package/dist/components/core/navbar/SidebarNavItem.js +20 -21
- package/dist/components/core/navbar/Topbar.js +5 -6
- package/dist/components/core/navbar/index.js +4 -4
- package/dist/components/core/states/ErrorAlert.js +1 -2
- package/dist/components/core/states/ErrorState.js +1 -2
- package/dist/components/core/states/LoadingState.js +1 -2
- package/dist/components/core/table/DataTable.js +1 -2
- package/dist/components/core/table/JsonTableOutput.js +17 -18
- package/dist/components/core/table/TableActions.js +31 -32
- package/dist/components/core/table/TableBody.js +25 -26
- package/dist/components/core/table/TableBulkActions.js +11 -12
- package/dist/components/core/table/TableHeader.js +15 -16
- package/dist/components/core/table/TablePagination.js +1 -2
- package/dist/components/core/table/TableSettings.js +20 -21
- package/dist/components/core/table/index.js +7 -7
- package/dist/components/core/tabs/AppTabContainer.js +1 -2
- package/dist/components/core/tabs/AppTabHeader.js +1 -2
- package/dist/components/core/tabs/AppTabs.js +10 -11
- package/dist/components/core/tabs/AppVerticalTabs.js +10 -11
- package/dist/components/core/tabs/index.js +3 -3
- package/dist/components/core/theme/ThemeSelector.js +1 -2
- package/dist/components/ui/accordion.js +1 -2
- package/dist/components/ui/alert-dialog.js +1 -2
- package/dist/components/ui/alert.js +1 -2
- package/dist/components/ui/aspect-ratio.js +1 -2
- package/dist/components/ui/avatar.js +1 -2
- package/dist/components/ui/badge.js +1 -2
- package/dist/components/ui/breadcrumb.js +1 -2
- package/dist/components/ui/button.js +1 -2
- package/dist/components/ui/calendar.js +8 -9
- package/dist/components/ui/card.js +1 -2
- package/dist/components/ui/carousel.js +1 -2
- package/dist/components/ui/chart.js +1 -2
- package/dist/components/ui/checkbox.js +1 -2
- package/dist/components/ui/collapsible.js +1 -2
- package/dist/components/ui/command.js +19 -20
- package/dist/components/ui/context-menu.js +1 -2
- package/dist/components/ui/control.js +1 -2
- package/dist/components/ui/dialog.js +1 -2
- package/dist/components/ui/drawer.js +1 -2
- package/dist/components/ui/dropdown-menu.js +1 -2
- package/dist/components/ui/form.js +1 -2
- package/dist/components/ui/hover-card.js +1 -2
- package/dist/components/ui/index.js +19 -19
- package/dist/components/ui/input-otp.js +1 -2
- package/dist/components/ui/input.js +1 -2
- package/dist/components/ui/label.js +1 -2
- package/dist/components/ui/menubar.js +1 -2
- package/dist/components/ui/navigation-menu.js +1 -2
- package/dist/components/ui/pagination.js +1 -2
- package/dist/components/ui/popover.js +1 -2
- package/dist/components/ui/progress.js +1 -2
- package/dist/components/ui/radio-group.js +1 -2
- package/dist/components/ui/resizable.js +1 -2
- package/dist/components/ui/scroll-area.js +1 -2
- package/dist/components/ui/select.js +1 -2
- package/dist/components/ui/separator.js +1 -2
- package/dist/components/ui/sheet.js +1 -2
- package/dist/components/ui/simple-table.js +1 -2
- package/dist/components/ui/skeleton.js +1 -2
- package/dist/components/ui/slider.js +1 -2
- package/dist/components/ui/sonner.js +1 -2
- package/dist/components/ui/switch.js +1 -2
- package/dist/components/ui/tabs.js +1 -2
- package/dist/components/ui/textarea.js +1 -2
- package/dist/components/ui/toast.js +1 -2
- package/dist/components/ui/toaster.js +10 -11
- package/dist/components/ui/toggle-group.js +1 -2
- package/dist/components/ui/toggle.js +1 -2
- package/dist/components/ui/tooltip.js +1 -2
- package/dist/constants/datatable.js +1 -2
- package/dist/constants/search.js +1 -2
- package/dist/contexts/page.context.js +1 -2
- package/dist/contexts/sidebar.context.js +1 -2
- package/dist/helpers/changelog.helper.js +1 -2
- package/dist/helpers/markdown.helper.js +1 -2
- package/dist/helpers/supabase.helper.js +1 -2
- package/dist/helpers/table.helper.js +1 -2
- package/dist/helpers/tailwind.helper.js +1 -2
- package/dist/hooks/behavior/index.js +6 -6
- package/dist/hooks/behavior/useConfirmDeleteDialog.js +1 -2
- package/dist/hooks/behavior/useConfirmationDialog.js +1 -2
- package/dist/hooks/behavior/useDebounce.js +1 -2
- package/dist/hooks/behavior/useDebouncedValue.js +1 -2
- package/dist/hooks/behavior/useDialog.js +1 -2
- package/dist/hooks/behavior/usePage.js +1 -2
- package/dist/hooks/behavior/useSidebar.js +1 -2
- package/dist/hooks/behavior/useTable.js +1 -2
- package/dist/hooks/behavior/useUrlState.js +1 -2
- package/dist/hooks/ui/index.js +10 -10
- package/dist/hooks/ui/useDataTable.js +1 -2
- package/dist/hooks/ui/useDocumentTitle.js +1 -2
- package/dist/hooks/ui/useFixedColumns.js +1 -2
- package/dist/hooks/ui/useLanguage.js +1 -2
- package/dist/hooks/ui/useMobile.js +1 -2
- package/dist/hooks/ui/useNotifications.js +1 -2
- package/dist/hooks/ui/useScrollFade.js +1 -2
- package/dist/hooks/ui/useServerTable.js +1 -2
- package/dist/hooks/ui/useTheme.js +1 -2
- package/dist/hooks/ui/useToast.js +1 -2
- package/dist/i18n/krosoftLocales.js +1 -2
- package/dist/i18n/translateKrosoft.js +1 -2
- package/dist/i18n/useDateFnsLocale.js +1 -2
- package/dist/i18n/useKrosoftTranslation.js +1 -2
- package/dist/locales/en.json.js +1 -2
- package/dist/locales/fr.json.js +1 -2
- package/dist/providers/SidebarProvider.js +5 -6
- package/dist/pwa/PwaUpdater.js +1 -2
- package/dist/pwa/index.js +3 -3
- package/dist/pwa/pwaUpdateToast.js +1 -2
- package/dist/query/createQueryClient.js +1 -2
- package/dist/seasonal/EffectSwitch.js +1 -2
- package/dist/seasonal/EmojiSnowfall.js +1 -2
- package/dist/seasonal/HalloweenEffect.js +5 -6
- package/dist/seasonal/SeasonalEffects.js +4 -5
- package/dist/seasonal/SeasonalEffectsSettings.js +8 -9
- package/dist/seasonal/SnowEffect.js +5 -6
- package/dist/seasonal/overlayStyle.js +1 -2
- package/dist/seasonal/seasons.js +1 -2
- package/dist/seasonal/useSeasonalEffects.js +1 -2
- package/dist/seasonal/useStoredToggle.js +1 -2
- package/dist/tailwind/index.js +1 -2
- package/dist/tokens/apply.js +1 -2
- package/dist/tokens/radius.js +1 -2
- package/dist/vendor/tailwindcss/lib/public/create-plugin.js +1 -2
- package/dist/vendor/tailwindcss/lib/util/createPlugin.js +1 -2
- package/dist/vendor/tailwindcss/plugin.js +1 -2
- package/package.json +2 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { useKrosoftTranslation as e } from "../../i18n/useKrosoftTranslation.js";
|
|
2
|
+
import { cn as t } from "../../helpers/tailwind.helper.js";
|
|
3
3
|
import { Dialog as n, DialogContent as r, DialogDescription as i, DialogTitle as a } from "./dialog.js";
|
|
4
4
|
import * as o from "react";
|
|
5
5
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
6
|
import { SearchIcon as l } from "lucide-react";
|
|
7
7
|
import { Command as u } from "cmdk";
|
|
8
|
-
|
|
9
|
-
var d = o.forwardRef(({ className:
|
|
8
|
+
// src/components/ui/command.tsx
|
|
9
|
+
var d = o.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ s(u, {
|
|
10
10
|
ref: r,
|
|
11
|
-
className:
|
|
11
|
+
className: t("flex h-full w-full flex-col overflow-hidden rounded-surface bg-popover text-popover-foreground", e),
|
|
12
12
|
...n
|
|
13
13
|
}));
|
|
14
14
|
d.displayName = u.displayName;
|
|
15
15
|
var f = ({ title: o, description: l, shouldFilter: u, className: f, children: p, ...m }) => {
|
|
16
|
-
let { t: h } =
|
|
16
|
+
let { t: h } = e();
|
|
17
17
|
return /* @__PURE__ */ s(n, {
|
|
18
18
|
...m,
|
|
19
19
|
children: /* @__PURE__ */ c(r, {
|
|
@@ -29,25 +29,25 @@ var f = ({ title: o, description: l, shouldFilter: u, className: f, children: p,
|
|
|
29
29
|
}),
|
|
30
30
|
/* @__PURE__ */ s(d, {
|
|
31
31
|
shouldFilter: u,
|
|
32
|
-
className:
|
|
32
|
+
className: t("[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3", "[&_[cmdk-list]]:max-h-none [&_[cmdk-list]]:min-h-0 [&_[cmdk-list]]:flex-1 sm:[&_[cmdk-list]]:max-h-[300px] sm:[&_[cmdk-list]]:flex-none", f),
|
|
33
33
|
children: p
|
|
34
34
|
})
|
|
35
35
|
]
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
|
-
}, p = o.forwardRef(({ className:
|
|
38
|
+
}, p = o.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ c("div", {
|
|
39
39
|
className: "flex items-center border-b px-3",
|
|
40
40
|
"cmdk-input-wrapper": "",
|
|
41
41
|
children: [/* @__PURE__ */ s(l, { className: "mr-2 size-4 shrink-0 opacity-50" }), /* @__PURE__ */ s(u.Input, {
|
|
42
42
|
ref: r,
|
|
43
|
-
className:
|
|
43
|
+
className: t("flex h-11 w-full rounded-control bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", e),
|
|
44
44
|
...n
|
|
45
45
|
})]
|
|
46
46
|
}));
|
|
47
47
|
p.displayName = u.Input.displayName;
|
|
48
|
-
var m = o.forwardRef(({ className:
|
|
48
|
+
var m = o.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ s(u.List, {
|
|
49
49
|
ref: r,
|
|
50
|
-
className:
|
|
50
|
+
className: t("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
51
51
|
...n
|
|
52
52
|
}));
|
|
53
53
|
m.displayName = u.List.displayName;
|
|
@@ -57,28 +57,27 @@ var h = o.forwardRef((e, t) => /* @__PURE__ */ s(u.Empty, {
|
|
|
57
57
|
...e
|
|
58
58
|
}));
|
|
59
59
|
h.displayName = u.Empty.displayName;
|
|
60
|
-
var g = o.forwardRef(({ className:
|
|
60
|
+
var g = o.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ s(u.Group, {
|
|
61
61
|
ref: r,
|
|
62
|
-
className:
|
|
62
|
+
className: t("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", e),
|
|
63
63
|
...n
|
|
64
64
|
}));
|
|
65
65
|
g.displayName = u.Group.displayName;
|
|
66
|
-
var _ = o.forwardRef(({ className:
|
|
66
|
+
var _ = o.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ s(u.Separator, {
|
|
67
67
|
ref: r,
|
|
68
|
-
className:
|
|
68
|
+
className: t("-mx-1 h-px bg-border", e),
|
|
69
69
|
...n
|
|
70
70
|
}));
|
|
71
71
|
_.displayName = u.Separator.displayName;
|
|
72
|
-
var v = o.forwardRef(({ className:
|
|
72
|
+
var v = o.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ s(u.Item, {
|
|
73
73
|
ref: r,
|
|
74
|
-
className:
|
|
74
|
+
className: t("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50", e),
|
|
75
75
|
...n
|
|
76
76
|
}));
|
|
77
77
|
v.displayName = u.Item.displayName;
|
|
78
|
-
var y = ({ className:
|
|
79
|
-
className:
|
|
78
|
+
var y = ({ className: e, ...n }) => /* @__PURE__ */ s("span", {
|
|
79
|
+
className: t("ml-auto text-xs tracking-widest text-muted-foreground", e),
|
|
80
80
|
...n
|
|
81
81
|
});
|
|
82
82
|
y.displayName = "CommandShortcut";
|
|
83
|
-
//#endregion
|
|
84
83
|
export { d as Command, f as CommandDialog, h as CommandEmpty, g as CommandGroup, p as CommandInput, v as CommandItem, m as CommandList, _ as CommandSeparator, y as CommandShortcut };
|
|
@@ -3,7 +3,7 @@ import * as t from "react";
|
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { Check as i, ChevronRight as a, Circle as o } from "lucide-react";
|
|
5
5
|
import * as s from "@radix-ui/react-context-menu";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/context-menu.tsx
|
|
7
7
|
var c = s.Root, l = s.Trigger, u = s.Group, d = s.Portal, f = s.Sub, p = s.RadioGroup, m = t.forwardRef(({ className: t, inset: i, children: o, ...c }, l) => /* @__PURE__ */ r(s.SubTrigger, {
|
|
8
8
|
ref: l,
|
|
9
9
|
className: e("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground", i && "pl-8", t),
|
|
@@ -67,5 +67,4 @@ var S = ({ className: t, ...r }) => /* @__PURE__ */ n("span", {
|
|
|
67
67
|
...r
|
|
68
68
|
});
|
|
69
69
|
S.displayName = "ContextMenuShortcut";
|
|
70
|
-
//#endregion
|
|
71
70
|
export { c as ContextMenu, v as ContextMenuCheckboxItem, g as ContextMenuContent, u as ContextMenuGroup, _ as ContextMenuItem, b as ContextMenuLabel, d as ContextMenuPortal, p as ContextMenuRadioGroup, y as ContextMenuRadioItem, x as ContextMenuSeparator, S as ContextMenuShortcut, f as ContextMenuSub, h as ContextMenuSubContent, m as ContextMenuSubTrigger, l as ContextMenuTrigger };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
2
|
-
|
|
2
|
+
// src/components/ui/control.ts
|
|
3
3
|
var t = "h-10 rounded-control border border-input bg-background px-3 py-2 text-sm ring-offset-background disabled:cursor-not-allowed disabled:opacity-50", n = e(t, "flex items-center justify-between outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 [&>span]:line-clamp-1"), r = "w-full md:w-[200px]";
|
|
4
|
-
//#endregion
|
|
5
4
|
export { t as controlBaseClass, r as controlFilterWidthClass, n as controlTriggerClass };
|
|
@@ -3,7 +3,7 @@ import * as t from "react";
|
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { X as i } from "lucide-react";
|
|
5
5
|
import * as a from "@radix-ui/react-dialog";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/dialog.tsx
|
|
7
7
|
var o = a.Root, s = a.Trigger, c = a.Portal, l = a.Close, u = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(a.Overlay, {
|
|
8
8
|
ref: i,
|
|
9
9
|
className: e("fixed inset-0 z-[70] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", t),
|
|
@@ -45,5 +45,4 @@ var g = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(a.Descript
|
|
|
45
45
|
...r
|
|
46
46
|
}));
|
|
47
47
|
g.displayName = a.Description.displayName;
|
|
48
|
-
//#endregion
|
|
49
48
|
export { o as Dialog, l as DialogClose, f as DialogContent, g as DialogDescription, m as DialogFooter, p as DialogHeader, u as DialogOverlay, c as DialogPortal, h as DialogTitle, s as DialogTrigger };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { Drawer as i } from "vaul";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/drawer.tsx
|
|
6
6
|
var a = ({ shouldScaleBackground: e = !0, ...t }) => /* @__PURE__ */ n(i.Root, {
|
|
7
7
|
shouldScaleBackground: e,
|
|
8
8
|
...t
|
|
@@ -43,5 +43,4 @@ var m = t.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ n(i.Descript
|
|
|
43
43
|
...r
|
|
44
44
|
}));
|
|
45
45
|
m.displayName = i.Description.displayName;
|
|
46
|
-
//#endregion
|
|
47
46
|
export { a as Drawer, c as DrawerClose, u as DrawerContent, m as DrawerDescription, f as DrawerFooter, d as DrawerHeader, l as DrawerOverlay, s as DrawerPortal, p as DrawerTitle, o as DrawerTrigger };
|
|
@@ -3,7 +3,7 @@ import * as t from "react";
|
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { CheckIcon as i, ChevronRightIcon as a, CircleIcon as o } from "lucide-react";
|
|
5
5
|
import * as s from "@radix-ui/react-dropdown-menu";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/dropdown-menu.tsx
|
|
7
7
|
var c = s.Root, l = s.Trigger, u = s.Group, d = s.Portal, f = s.Sub, p = s.RadioGroup, m = t.forwardRef(({ className: t, inset: i, children: o, ...c }, l) => /* @__PURE__ */ r(s.SubTrigger, {
|
|
8
8
|
ref: l,
|
|
9
9
|
className: e("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[state=open]:bg-accent focus:bg-accent", i === !0 && "pl-8", t),
|
|
@@ -68,5 +68,4 @@ var S = ({ className: t, ...r }) => /* @__PURE__ */ n("span", {
|
|
|
68
68
|
...r
|
|
69
69
|
});
|
|
70
70
|
S.displayName = "DropdownMenuShortcut";
|
|
71
|
-
//#endregion
|
|
72
71
|
export { c as DropdownMenu, v as DropdownMenuCheckboxItem, g as DropdownMenuContent, u as DropdownMenuGroup, _ as DropdownMenuItem, b as DropdownMenuLabel, d as DropdownMenuPortal, p as DropdownMenuRadioGroup, y as DropdownMenuRadioItem, x as DropdownMenuSeparator, S as DropdownMenuShortcut, f as DropdownMenuSub, h as DropdownMenuSubContent, m as DropdownMenuSubTrigger, l as DropdownMenuTrigger };
|
|
@@ -4,7 +4,7 @@ import * as n from "react";
|
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { Slot as i } from "@radix-ui/react-slot";
|
|
6
6
|
import { Controller as a, FormProvider as o, useFormContext as s } from "react-hook-form";
|
|
7
|
-
|
|
7
|
+
// src/components/ui/form.tsx
|
|
8
8
|
var c = o, l = n.createContext({}), u = ({ ...e }) => /* @__PURE__ */ r(l.Provider, {
|
|
9
9
|
value: { name: e.name },
|
|
10
10
|
children: /* @__PURE__ */ r(a, { ...e })
|
|
@@ -74,5 +74,4 @@ var _ = n.forwardRef(({ className: t, children: n, ...i }, a) => {
|
|
|
74
74
|
}) : null;
|
|
75
75
|
});
|
|
76
76
|
_.displayName = "FormMessage";
|
|
77
|
-
//#endregion
|
|
78
77
|
export { c as Form, h as FormControl, g as FormDescription, u as FormField, p as FormItem, m as FormLabel, _ as FormMessage, d as useFormField };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import * as r from "@radix-ui/react-hover-card";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/hover-card.tsx
|
|
6
6
|
var i = r.Root, a = r.Trigger, o = t.forwardRef(({ className: t, align: i = "center", sideOffset: a = 4, ...o }, s) => /* @__PURE__ */ n(r.Content, {
|
|
7
7
|
ref: s,
|
|
8
8
|
align: i,
|
|
@@ -11,5 +11,4 @@ var i = r.Root, a = r.Trigger, o = t.forwardRef(({ className: t, align: i = "cen
|
|
|
11
11
|
...o
|
|
12
12
|
}));
|
|
13
13
|
o.displayName = r.Content.displayName;
|
|
14
|
-
//#endregion
|
|
15
14
|
export { i as HoverCard, o as HoverCardContent, a as HoverCardTrigger };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { Accordion as e, AccordionContent as t, AccordionItem as n, AccordionTrigger as r } from "./accordion.js";
|
|
2
|
+
import { Alert as i, AlertDescription as a, AlertTitle as o } from "./alert.js";
|
|
3
|
+
import { AlertDialog as s, AlertDialogAction as c, AlertDialogCancel as l, AlertDialogContent as u, AlertDialogDescription as d, AlertDialogFooter as f, AlertDialogHeader as p, AlertDialogTitle as m, AlertDialogTrigger as h } from "./alert-dialog.js";
|
|
4
|
+
import { AspectRatio as g } from "./aspect-ratio.js";
|
|
5
|
+
import { Avatar as _, AvatarFallback as v, AvatarImage as y } from "./avatar.js";
|
|
6
|
+
import { Badge as b, badgeVariants as x } from "./badge.js";
|
|
7
|
+
import { Breadcrumb as S, BreadcrumbEllipsis as C, BreadcrumbItem as w, BreadcrumbLink as T, BreadcrumbList as E, BreadcrumbPage as D, BreadcrumbSeparator as O } from "./breadcrumb.js";
|
|
8
|
+
import { Button as k, buttonVariants as A } from "./button.js";
|
|
9
|
+
import { Calendar as j } from "./calendar.js";
|
|
10
|
+
import { Card as M, CardContent as N, CardDescription as P, CardFooter as F, CardHeader as I, CardTitle as L } from "./card.js";
|
|
11
11
|
import { Carousel as R, CarouselContent as z, CarouselItem as B, CarouselNext as V, CarouselPrevious as H } from "./carousel.js";
|
|
12
12
|
import { ChartContainer as U, ChartLegend as W, ChartLegendContent as G, ChartStyle as K, ChartTooltip as q, ChartTooltipContent as J } from "./chart.js";
|
|
13
13
|
import { Checkbox as Y } from "./checkbox.js";
|
|
14
14
|
import { Collapsible as X, CollapsibleContent as Z, CollapsibleTrigger as Q } from "./collapsible.js";
|
|
15
15
|
import { controlBaseClass as $, controlFilterWidthClass as ee, controlTriggerClass as te } from "./control.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
16
|
+
import { Command as ne, CommandDialog as re, CommandEmpty as ie, CommandGroup as ae, CommandInput as oe, CommandItem as se, CommandList as ce, CommandSeparator as le, CommandShortcut as ue } from "./command.js";
|
|
17
|
+
import { ContextMenu as de, ContextMenuCheckboxItem as fe, ContextMenuContent as pe, ContextMenuGroup as me, ContextMenuItem as he, ContextMenuLabel as ge, ContextMenuPortal as _e, ContextMenuRadioGroup as ve, ContextMenuRadioItem as ye, ContextMenuSeparator as be, ContextMenuShortcut as xe, ContextMenuSub as Se, ContextMenuSubContent as Ce, ContextMenuSubTrigger as we, ContextMenuTrigger as Te } from "./context-menu.js";
|
|
18
|
+
import { Dialog as Ee, DialogClose as De, DialogContent as Oe, DialogDescription as ke, DialogFooter as Ae, DialogHeader as je, DialogOverlay as Me, DialogPortal as Ne, DialogTitle as Pe, DialogTrigger as Fe } from "./dialog.js";
|
|
19
19
|
import { Drawer as Ie, DrawerClose as Le, DrawerContent as Re, DrawerDescription as ze, DrawerFooter as Be, DrawerHeader as Ve, DrawerOverlay as He, DrawerPortal as Ue, DrawerTitle as We, DrawerTrigger as Ge } from "./drawer.js";
|
|
20
20
|
import { DropdownMenu as Ke, DropdownMenuCheckboxItem as qe, DropdownMenuContent as Je, DropdownMenuGroup as Ye, DropdownMenuItem as Xe, DropdownMenuLabel as Ze, DropdownMenuPortal as Qe, DropdownMenuRadioGroup as $e, DropdownMenuRadioItem as et, DropdownMenuSeparator as tt, DropdownMenuShortcut as nt, DropdownMenuSub as rt, DropdownMenuSubContent as it, DropdownMenuSubTrigger as at, DropdownMenuTrigger as ot } from "./dropdown-menu.js";
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
21
|
+
import { Form as st, FormControl as ct, FormDescription as lt, FormField as ut, FormItem as dt, FormLabel as ft, FormMessage as pt, useFormField as mt } from "./form.js";
|
|
22
|
+
import { HoverCard as ht, HoverCardContent as gt, HoverCardTrigger as _t } from "./hover-card.js";
|
|
23
|
+
import { Input as vt } from "./input.js";
|
|
24
|
+
import { InputOTP as yt, InputOTPGroup as bt, InputOTPSeparator as xt, InputOTPSlot as St } from "./input-otp.js";
|
|
25
|
+
import { Label as Ct } from "./label.js";
|
|
26
26
|
import { Menubar as wt, MenubarCheckboxItem as Tt, MenubarContent as Et, MenubarGroup as Dt, MenubarItem as Ot, MenubarLabel as kt, MenubarMenu as At, MenubarPortal as jt, MenubarRadioGroup as Mt, MenubarRadioItem as Nt, MenubarSeparator as Pt, MenubarShortcut as Ft, MenubarSub as It, MenubarSubContent as Lt, MenubarSubTrigger as Rt, MenubarTrigger as zt } from "./menubar.js";
|
|
27
27
|
import { NavigationMenu as Bt, NavigationMenuContent as Vt, NavigationMenuIndicator as Ht, NavigationMenuItem as Ut, NavigationMenuLink as Wt, NavigationMenuList as Gt, NavigationMenuTrigger as Kt, NavigationMenuViewport as qt, navigationMenuTriggerStyle as Jt } from "./navigation-menu.js";
|
|
28
28
|
import { Pagination as Yt, PaginationContent as Xt, PaginationEllipsis as Zt, PaginationItem as Qt, PaginationLink as $t, PaginationNext as en, PaginationPrevious as tn } from "./pagination.js";
|
|
@@ -46,4 +46,4 @@ import { Toaster as or } from "./toaster.js";
|
|
|
46
46
|
import { Toggle as sr, toggleVariants as cr } from "./toggle.js";
|
|
47
47
|
import { ToggleGroup as lr, ToggleGroupItem as ur } from "./toggle-group.js";
|
|
48
48
|
import { Tooltip as dr, TooltipContent as fr, TooltipProvider as pr, TooltipTrigger as mr } from "./tooltip.js";
|
|
49
|
-
export {
|
|
49
|
+
export { e as Accordion, t as AccordionContent, n as AccordionItem, r as AccordionTrigger, i as Alert, a as AlertDescription, s as AlertDialog, c as AlertDialogAction, l as AlertDialogCancel, u as AlertDialogContent, d as AlertDialogDescription, f as AlertDialogFooter, p as AlertDialogHeader, m as AlertDialogTitle, h as AlertDialogTrigger, o as AlertTitle, g as AspectRatio, _ as Avatar, v as AvatarFallback, y as AvatarImage, b as Badge, S as Breadcrumb, C as BreadcrumbEllipsis, w as BreadcrumbItem, T as BreadcrumbLink, E as BreadcrumbList, D as BreadcrumbPage, O as BreadcrumbSeparator, k as Button, j as Calendar, M as Card, N as CardContent, P as CardDescription, F as CardFooter, I as CardHeader, L as CardTitle, R as Carousel, z as CarouselContent, B as CarouselItem, V as CarouselNext, H as CarouselPrevious, U as ChartContainer, W as ChartLegend, G as ChartLegendContent, K as ChartStyle, q as ChartTooltip, J as ChartTooltipContent, Y as Checkbox, X as Collapsible, Z as CollapsibleContent, Q as CollapsibleTrigger, ne as Command, re as CommandDialog, ie as CommandEmpty, ae as CommandGroup, oe as CommandInput, se as CommandItem, ce as CommandList, le as CommandSeparator, ue as CommandShortcut, de as ContextMenu, fe as ContextMenuCheckboxItem, pe as ContextMenuContent, me as ContextMenuGroup, he as ContextMenuItem, ge as ContextMenuLabel, _e as ContextMenuPortal, ve as ContextMenuRadioGroup, ye as ContextMenuRadioItem, be as ContextMenuSeparator, xe as ContextMenuShortcut, Se as ContextMenuSub, Ce as ContextMenuSubContent, we as ContextMenuSubTrigger, Te as ContextMenuTrigger, Ee as Dialog, De as DialogClose, Oe as DialogContent, ke as DialogDescription, Ae as DialogFooter, je as DialogHeader, Me as DialogOverlay, Ne as DialogPortal, Pe as DialogTitle, Fe as DialogTrigger, Ie as Drawer, Le as DrawerClose, Re as DrawerContent, ze as DrawerDescription, Be as DrawerFooter, Ve as DrawerHeader, He as DrawerOverlay, Ue as DrawerPortal, We as DrawerTitle, Ge as DrawerTrigger, Ke as DropdownMenu, qe as DropdownMenuCheckboxItem, Je as DropdownMenuContent, Ye as DropdownMenuGroup, Xe as DropdownMenuItem, Ze as DropdownMenuLabel, Qe as DropdownMenuPortal, $e as DropdownMenuRadioGroup, et as DropdownMenuRadioItem, tt as DropdownMenuSeparator, nt as DropdownMenuShortcut, rt as DropdownMenuSub, it as DropdownMenuSubContent, at as DropdownMenuSubTrigger, ot as DropdownMenuTrigger, st as Form, ct as FormControl, lt as FormDescription, ut as FormField, dt as FormItem, ft as FormLabel, pt as FormMessage, ht as HoverCard, gt as HoverCardContent, _t as HoverCardTrigger, vt as Input, yt as InputOTP, bt as InputOTPGroup, xt as InputOTPSeparator, St as InputOTPSlot, Ct as Label, wt as Menubar, Tt as MenubarCheckboxItem, Et as MenubarContent, Dt as MenubarGroup, Ot as MenubarItem, kt as MenubarLabel, At as MenubarMenu, jt as MenubarPortal, Mt as MenubarRadioGroup, Nt as MenubarRadioItem, Pt as MenubarSeparator, Ft as MenubarShortcut, It as MenubarSub, Lt as MenubarSubContent, Rt as MenubarSubTrigger, zt as MenubarTrigger, Bt as NavigationMenu, Vt as NavigationMenuContent, Ht as NavigationMenuIndicator, Ut as NavigationMenuItem, Wt as NavigationMenuLink, Gt as NavigationMenuList, Kt as NavigationMenuTrigger, qt as NavigationMenuViewport, Yt as Pagination, Xt as PaginationContent, Zt as PaginationEllipsis, Qt as PaginationItem, $t as PaginationLink, en as PaginationNext, tn as PaginationPrevious, nn as Popover, rn as PopoverContent, an as PopoverTrigger, on as Progress, sn as RadioGroup, cn as RadioGroupItem, ln as ResizableHandle, un as ResizablePanel, dn as ResizablePanelGroup, fn as ScrollArea, pn as ScrollBar, mn as Select, hn as SelectContent, gn as SelectGroup, _n as SelectItem, vn as SelectLabel, yn as SelectScrollDownButton, bn as SelectScrollUpButton, xn as SelectSeparator, Sn as SelectTrigger, Cn as SelectValue, wn as Separator, Tn as Sheet, En as SheetClose, Dn as SheetContent, On as SheetDescription, kn as SheetFooter, An as SheetHeader, jn as SheetOverlay, Mn as SheetPortal, Nn as SheetTitle, Pn as SheetTrigger, Fn as SimpleTable, In as SimpleTableBody, Ln as SimpleTableCaption, Rn as SimpleTableCell, zn as SimpleTableFooter, Bn as SimpleTableHead, Vn as SimpleTableHeader, Hn as SimpleTableRow, Un as Skeleton, Wn as Slider, Gn as Sonner, qn as Switch, Jn as Tabs, Yn as TabsContent, Xn as TabsList, Zn as TabsTrigger, Qn as Textarea, $n as Toast, er as ToastAction, tr as ToastClose, nr as ToastDescription, rr as ToastProvider, ir as ToastTitle, ar as ToastViewport, or as Toaster, sr as Toggle, lr as ToggleGroup, ur as ToggleGroupItem, dr as Tooltip, fr as TooltipContent, pr as TooltipProvider, mr as TooltipTrigger, x as badgeVariants, A as buttonVariants, $ as controlBaseClass, ee as controlFilterWidthClass, te as controlTriggerClass, Jt as navigationMenuTriggerStyle, Kn as toast, cr as toggleVariants, mt as useFormField };
|
|
@@ -3,7 +3,7 @@ import * as t from "react";
|
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { Dot as i } from "lucide-react";
|
|
5
5
|
import { OTPInput as a, OTPInputContext as o } from "input-otp";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/input-otp.tsx
|
|
7
7
|
var s = t.forwardRef(({ className: t, containerClassName: r, ...i }, o) => /* @__PURE__ */ n(a, {
|
|
8
8
|
ref: o,
|
|
9
9
|
containerClassName: e("flex items-center gap-2 has-[:disabled]:opacity-50", r),
|
|
@@ -37,5 +37,4 @@ var u = t.forwardRef(({ ...e }, t) => /* @__PURE__ */ n("div", {
|
|
|
37
37
|
children: /* @__PURE__ */ n(i, {})
|
|
38
38
|
}));
|
|
39
39
|
u.displayName = "InputOTPSeparator";
|
|
40
|
-
//#endregion
|
|
41
40
|
export { s as InputOTP, c as InputOTPGroup, u as InputOTPSeparator, l as InputOTPSlot };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import { controlBaseClass as t } from "./control.js";
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/input.tsx
|
|
6
6
|
var i = n.forwardRef(({ className: n, type: i, ...a }, o) => /* @__PURE__ */ r("input", {
|
|
7
7
|
type: i,
|
|
8
8
|
className: e(t, "flex w-full text-base file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:text-sm", n),
|
|
@@ -10,5 +10,4 @@ var i = n.forwardRef(({ className: n, type: i, ...a }, o) => /* @__PURE__ */ r("
|
|
|
10
10
|
...a
|
|
11
11
|
}));
|
|
12
12
|
i.displayName = "Input";
|
|
13
|
-
//#endregion
|
|
14
13
|
export { i as Input };
|
|
@@ -3,12 +3,11 @@ import * as t from "react";
|
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import { cva as r } from "class-variance-authority";
|
|
5
5
|
import * as i from "@radix-ui/react-label";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/label.tsx
|
|
7
7
|
var a = r("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), o = t.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n(i.Root, {
|
|
8
8
|
ref: o,
|
|
9
9
|
className: e(a(), t),
|
|
10
10
|
...r
|
|
11
11
|
}));
|
|
12
12
|
o.displayName = "Label";
|
|
13
|
-
//#endregion
|
|
14
13
|
export { o as Label };
|
|
@@ -3,7 +3,7 @@ import * as t from "react";
|
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import { Check as i, ChevronRight as a, Circle as o } from "lucide-react";
|
|
5
5
|
import * as s from "@radix-ui/react-menubar";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/menubar.tsx
|
|
7
7
|
var c = s.Menu, l = s.Group, u = s.Portal, d = s.Sub, f = s.RadioGroup, p = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(s.Root, {
|
|
8
8
|
ref: i,
|
|
9
9
|
className: e("flex h-10 items-center space-x-1 rounded-surface border bg-background p-1", t),
|
|
@@ -82,5 +82,4 @@ var C = ({ className: t, ...r }) => /* @__PURE__ */ n("span", {
|
|
|
82
82
|
...r
|
|
83
83
|
});
|
|
84
84
|
C.displayname = "MenubarShortcut";
|
|
85
|
-
//#endregion
|
|
86
85
|
export { p as Menubar, y as MenubarCheckboxItem, _ as MenubarContent, l as MenubarGroup, v as MenubarItem, x as MenubarLabel, c as MenubarMenu, u as MenubarPortal, f as MenubarRadioGroup, b as MenubarRadioItem, S as MenubarSeparator, C as MenubarShortcut, d as MenubarSub, g as MenubarSubContent, h as MenubarSubTrigger, m as MenubarTrigger };
|
|
@@ -4,7 +4,7 @@ import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
|
4
4
|
import { ChevronDown as i } from "lucide-react";
|
|
5
5
|
import { cva as a } from "class-variance-authority";
|
|
6
6
|
import * as o from "@radix-ui/react-navigation-menu";
|
|
7
|
-
|
|
7
|
+
// src/components/ui/navigation-menu.tsx
|
|
8
8
|
var s = t.forwardRef(({ className: t, children: i, ...a }, s) => /* @__PURE__ */ r(o.Root, {
|
|
9
9
|
ref: s,
|
|
10
10
|
className: e("relative z-10 flex max-w-max flex-1 items-center justify-center", t),
|
|
@@ -54,5 +54,4 @@ var h = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(o.Indicato
|
|
|
54
54
|
children: /* @__PURE__ */ n("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
55
55
|
}));
|
|
56
56
|
h.displayName = o.Indicator.displayName;
|
|
57
|
-
//#endregion
|
|
58
57
|
export { s as NavigationMenu, f as NavigationMenuContent, h as NavigationMenuIndicator, l as NavigationMenuItem, p as NavigationMenuLink, c as NavigationMenuList, d as NavigationMenuTrigger, m as NavigationMenuViewport, u as navigationMenuTriggerStyle };
|
|
@@ -3,7 +3,7 @@ import { buttonVariants as t } from "./button.js";
|
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
import { ChevronLeftIcon as a, ChevronRightIcon as o, MoreHorizontalIcon as s } from "lucide-react";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/pagination.tsx
|
|
7
7
|
var c = ({ className: t, ...n }) => /* @__PURE__ */ r("nav", {
|
|
8
8
|
role: "navigation",
|
|
9
9
|
"aria-label": "pagination",
|
|
@@ -58,5 +58,4 @@ var m = ({ className: t, ...n }) => /* @__PURE__ */ i("span", {
|
|
|
58
58
|
})]
|
|
59
59
|
});
|
|
60
60
|
m.displayName = "PaginationEllipsis";
|
|
61
|
-
//#endregion
|
|
62
61
|
export { c as Pagination, l as PaginationContent, m as PaginationEllipsis, u as PaginationItem, d as PaginationLink, p as PaginationNext, f as PaginationPrevious };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import * as r from "@radix-ui/react-popover";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/popover.tsx
|
|
6
6
|
var i = r.Root, a = r.Trigger, o = t.forwardRef(({ className: t, align: i = "center", sideOffset: a = 4, ...o }, s) => /* @__PURE__ */ n(r.Portal, { children: /* @__PURE__ */ n(r.Content, {
|
|
7
7
|
ref: s,
|
|
8
8
|
align: i,
|
|
@@ -11,5 +11,4 @@ var i = r.Root, a = r.Trigger, o = t.forwardRef(({ className: t, align: i = "cen
|
|
|
11
11
|
...o
|
|
12
12
|
}) }));
|
|
13
13
|
o.displayName = r.Content.displayName;
|
|
14
|
-
//#endregion
|
|
15
14
|
export { i as Popover, o as PopoverContent, a as PopoverTrigger };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import * as r from "@radix-ui/react-progress";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/progress.tsx
|
|
6
6
|
var i = t.forwardRef(({ className: t, value: i, indeterminate: a = !1, ...o }, s) => /* @__PURE__ */ n(r.Root, {
|
|
7
7
|
ref: s,
|
|
8
8
|
className: e("relative h-4 w-full overflow-hidden rounded-full bg-secondary", t),
|
|
@@ -13,5 +13,4 @@ var i = t.forwardRef(({ className: t, value: i, indeterminate: a = !1, ...o }, s
|
|
|
13
13
|
})
|
|
14
14
|
}));
|
|
15
15
|
i.displayName = r.Root.displayName;
|
|
16
|
-
//#endregion
|
|
17
16
|
export { i as Progress };
|
|
@@ -3,7 +3,7 @@ import * as t from "react";
|
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import { Circle as r } from "lucide-react";
|
|
5
5
|
import * as i from "@radix-ui/react-radio-group";
|
|
6
|
-
|
|
6
|
+
// src/components/ui/radio-group.tsx
|
|
7
7
|
var a = t.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ n(i.Root, {
|
|
8
8
|
className: e("grid gap-2", t),
|
|
9
9
|
...r,
|
|
@@ -20,5 +20,4 @@ var o = t.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ n(i.Item, {
|
|
|
20
20
|
})
|
|
21
21
|
}));
|
|
22
22
|
o.displayName = i.Item.displayName;
|
|
23
|
-
//#endregion
|
|
24
23
|
export { a as RadioGroup, o as RadioGroupItem };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
import { GripVertical as n } from "lucide-react";
|
|
4
4
|
import * as r from "react-resizable-panels";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/resizable.tsx
|
|
6
6
|
var i = ({ className: n, ...i }) => /* @__PURE__ */ t(r.Group, {
|
|
7
7
|
className: e(n),
|
|
8
8
|
...i
|
|
@@ -14,5 +14,4 @@ var i = ({ className: n, ...i }) => /* @__PURE__ */ t(r.Group, {
|
|
|
14
14
|
children: /* @__PURE__ */ t(n, { className: "h-2.5 w-2.5" })
|
|
15
15
|
})
|
|
16
16
|
});
|
|
17
|
-
//#endregion
|
|
18
17
|
export { o as ResizableHandle, a as ResizablePanel, i as ResizablePanelGroup };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import * as i from "@radix-ui/react-scroll-area";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/scroll-area.tsx
|
|
6
6
|
var a = t.forwardRef(({ className: t, viewportClassName: a, children: s, ...c }, l) => /* @__PURE__ */ r(i.Root, {
|
|
7
7
|
ref: l,
|
|
8
8
|
className: e("relative overflow-hidden", t),
|
|
@@ -25,5 +25,4 @@ var o = t.forwardRef(({ className: t, orientation: r = "vertical", ...a }, o) =>
|
|
|
25
25
|
children: /* @__PURE__ */ n(i.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
26
26
|
}));
|
|
27
27
|
o.displayName = i.ScrollAreaScrollbar.displayName;
|
|
28
|
-
//#endregion
|
|
29
28
|
export { a as ScrollArea, o as ScrollBar };
|
|
@@ -4,7 +4,7 @@ import * as n from "react";
|
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
import { CheckIcon as a, ChevronDownIcon as o, ChevronUpIcon as s, XIcon as c } from "lucide-react";
|
|
6
6
|
import * as l from "@radix-ui/react-select";
|
|
7
|
-
|
|
7
|
+
// src/components/ui/select.tsx
|
|
8
8
|
var u = l.Root, d = l.Group, f = l.Value, p = n.forwardRef(({ className: n, children: a, onClear: s, ...u }, d) => /* @__PURE__ */ i(l.Trigger, {
|
|
9
9
|
ref: d,
|
|
10
10
|
className: e(t, "w-full placeholder:text-muted-foreground", n),
|
|
@@ -77,5 +77,4 @@ var y = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r(l.Separato
|
|
|
77
77
|
...n
|
|
78
78
|
}));
|
|
79
79
|
y.displayName = l.Separator.displayName;
|
|
80
|
-
//#endregion
|
|
81
80
|
export { u as Select, g as SelectContent, d as SelectGroup, v as SelectItem, _ as SelectLabel, h as SelectScrollDownButton, m as SelectScrollUpButton, y as SelectSeparator, p as SelectTrigger, f as SelectValue };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import * as r from "@radix-ui/react-separator";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/separator.tsx
|
|
6
6
|
var i = t.forwardRef(({ className: t, orientation: i = "horizontal", decorative: a = !0, ...o }, s) => /* @__PURE__ */ n(r.Root, {
|
|
7
7
|
ref: s,
|
|
8
8
|
decorative: a,
|
|
@@ -11,5 +11,4 @@ var i = t.forwardRef(({ className: t, orientation: i = "horizontal", decorative:
|
|
|
11
11
|
...o
|
|
12
12
|
}));
|
|
13
13
|
i.displayName = r.Root.displayName;
|
|
14
|
-
//#endregion
|
|
15
14
|
export { i as Separator };
|
|
@@ -4,7 +4,7 @@ import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
|
4
4
|
import { X as i } from "lucide-react";
|
|
5
5
|
import { cva as a } from "class-variance-authority";
|
|
6
6
|
import * as o from "@radix-ui/react-dialog";
|
|
7
|
-
|
|
7
|
+
// src/components/ui/sheet.tsx
|
|
8
8
|
var s = o.Root, c = o.Trigger, l = o.Close, u = o.Portal, d = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(o.Overlay, {
|
|
9
9
|
className: e("fixed inset-0 z-[70] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", t),
|
|
10
10
|
...r,
|
|
@@ -54,5 +54,4 @@ var _ = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n(o.Descript
|
|
|
54
54
|
...r
|
|
55
55
|
}));
|
|
56
56
|
_.displayName = o.Description.displayName;
|
|
57
|
-
//#endregion
|
|
58
57
|
export { s as Sheet, l as SheetClose, p as SheetContent, _ as SheetDescription, h as SheetFooter, m as SheetHeader, d as SheetOverlay, u as SheetPortal, g as SheetTitle, c as SheetTrigger };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/ui/simple-table.tsx
|
|
5
5
|
var r = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
|
|
6
6
|
className: "relative w-full max-w-full overflow-auto",
|
|
7
7
|
children: /* @__PURE__ */ n("table", {
|
|
@@ -53,5 +53,4 @@ var u = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("caption",
|
|
|
53
53
|
...r
|
|
54
54
|
}));
|
|
55
55
|
u.displayName = "SimpleTableCaption";
|
|
56
|
-
//#endregion
|
|
57
56
|
export { r as SimpleTable, a as SimpleTableBody, u as SimpleTableCaption, l as SimpleTableCell, o as SimpleTableFooter, c as SimpleTableHead, i as SimpleTableHeader, s as SimpleTableRow };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
-
|
|
3
|
+
// src/components/ui/skeleton.tsx
|
|
4
4
|
function n({ className: n, ...r }) {
|
|
5
5
|
return /* @__PURE__ */ t("div", {
|
|
6
6
|
className: e("animate-pulse rounded-control bg-muted", n),
|
|
7
7
|
...r
|
|
8
8
|
});
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as Skeleton };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
import * as i from "@radix-ui/react-slider";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/slider.tsx
|
|
6
6
|
var a = t.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ r(i.Root, {
|
|
7
7
|
ref: o,
|
|
8
8
|
className: e("relative flex w-full touch-none select-none items-center", t),
|
|
@@ -13,5 +13,4 @@ var a = t.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ r(i.Root, {
|
|
|
13
13
|
}), /* @__PURE__ */ n(i.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-primary bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })]
|
|
14
14
|
}));
|
|
15
15
|
a.displayName = i.Root.displayName;
|
|
16
|
-
//#endregion
|
|
17
16
|
export { a as Slider };
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { XIcon as t } from "lucide-react";
|
|
3
3
|
import { useTheme as n } from "next-themes";
|
|
4
4
|
import { Toaster as r, toast as i } from "sonner";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/sonner.tsx
|
|
6
6
|
var a = ({ ...i }) => {
|
|
7
7
|
let { theme: a = "system" } = n();
|
|
8
8
|
return /* @__PURE__ */ e(r, {
|
|
@@ -19,5 +19,4 @@ var a = ({ ...i }) => {
|
|
|
19
19
|
...i
|
|
20
20
|
});
|
|
21
21
|
};
|
|
22
|
-
//#endregion
|
|
23
22
|
export { a as Toaster, i as toast };
|
|
@@ -2,7 +2,7 @@ import { cn as e } from "../../helpers/tailwind.helper.js";
|
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import * as r from "@radix-ui/react-switch";
|
|
5
|
-
|
|
5
|
+
// src/components/ui/switch.tsx
|
|
6
6
|
var i = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Root, {
|
|
7
7
|
className: e("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", t),
|
|
8
8
|
...i,
|
|
@@ -10,5 +10,4 @@ var i = t.forwardRef(({ className: t, ...i }, a) => /* @__PURE__ */ n(r.Root, {
|
|
|
10
10
|
children: /* @__PURE__ */ n(r.Thumb, { className: e("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0") })
|
|
11
11
|
}));
|
|
12
12
|
i.displayName = r.Root.displayName;
|
|
13
|
-
//#endregion
|
|
14
13
|
export { i as Switch };
|
|
@@ -4,7 +4,7 @@ import * as n from "react";
|
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { cva as i } from "class-variance-authority";
|
|
6
6
|
import * as a from "@radix-ui/react-tabs";
|
|
7
|
-
|
|
7
|
+
// src/components/ui/tabs.tsx
|
|
8
8
|
var o = a.Root, s = i("text-muted-foreground [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", {
|
|
9
9
|
variants: { variant: {
|
|
10
10
|
line: "inline-flex h-10 w-full items-center justify-start gap-6 overflow-x-auto overscroll-x-contain border-b border-border bg-transparent p-0",
|
|
@@ -54,5 +54,4 @@ var f = n.forwardRef(({ className: t, ...n }, i) => /* @__PURE__ */ r(a.Content,
|
|
|
54
54
|
...n
|
|
55
55
|
}));
|
|
56
56
|
f.displayName = a.Content.displayName;
|
|
57
|
-
//#endregion
|
|
58
57
|
export { o as Tabs, f as TabsContent, u as TabsList, d as TabsTrigger, s as tabsListVariants, c as tabsTriggerVariants };
|