@m5kdev/web-ui 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/AvatarUpload.js +2 -2
- package/dist/src/components/AvatarUpload.mjs +3 -3
- package/dist/src/components/AvatarUpload.mjs.map +1 -1
- package/dist/src/components/Calendar.d.mts +1 -1
- package/dist/src/components/CardsSelect.js +2 -2
- package/dist/src/components/CardsSelect.mjs +2 -2
- package/dist/src/components/CollapsibleSidebarMenuItem.d.mts +1 -1
- package/dist/src/components/CollapsibleSidebarMenuItem.js +1 -1
- package/dist/src/components/CollapsibleSidebarMenuItem.mjs +1 -1
- package/dist/src/components/ColorPicker.js +2 -2
- package/dist/src/components/ColorPicker.mjs +2 -2
- package/dist/src/components/CopyButton.js +3 -3
- package/dist/src/components/CopyButton.mjs +4 -4
- package/dist/src/components/CopyButton.mjs.map +1 -1
- package/dist/src/components/CropDialog.js +2 -2
- package/dist/src/components/CropDialog.mjs +2 -2
- package/dist/src/components/DialogProvider.js +1 -1
- package/dist/src/components/DialogProvider.mjs +2 -2
- package/dist/src/components/DialogProvider.mjs.map +1 -1
- package/dist/src/components/FileDropzone.js +2 -2
- package/dist/src/components/FileDropzone.mjs +4 -4
- package/dist/src/components/FileDropzone.mjs.map +1 -1
- package/dist/src/components/MultiSelectDropdown.js +2 -2
- package/dist/src/components/MultiSelectDropdown.mjs +8 -8
- package/dist/src/components/MultiSelectDropdown.mjs.map +1 -1
- package/dist/src/components/Orb.js +1 -1
- package/dist/src/components/Orb.mjs +1 -1
- package/dist/src/components/PageAlert.d.mts +1 -1
- package/dist/src/components/PageAlert.d.ts +1 -1
- package/dist/src/components/PageAlert.js +4 -3
- package/dist/src/components/PageAlert.js.map +1 -1
- package/dist/src/components/PageAlert.mjs +2 -2
- package/dist/src/components/SidebarItem.d.mts +1 -1
- package/dist/src/components/Steps.js +1 -1
- package/dist/src/components/Steps.mjs +1 -1
- package/dist/src/components/app-header.js +1 -1
- package/dist/src/components/app-header.mjs +2 -2
- package/dist/src/components/app-header.mjs.map +1 -1
- package/dist/src/components/blur-card.d.mts +1 -1
- package/dist/src/components/blur-card.js +1 -1
- package/dist/src/components/blur-card.mjs +1 -1
- package/dist/src/components/features-section-demo-1.js +1 -1
- package/dist/src/components/features-section-demo-1.mjs +1 -1
- package/dist/src/components/features-section-demo-3.js +1 -1
- package/dist/src/components/features-section-demo-3.mjs +1 -1
- package/dist/src/components/mode-toggle.js +1 -1
- package/dist/src/components/mode-toggle.mjs +1 -1
- package/dist/src/components/nav-main.d.mts +1 -1
- package/dist/src/components/nav-main.js +1 -1
- package/dist/src/components/nav-main.mjs +1 -1
- package/dist/src/components/pricing-cards.js +1 -1
- package/dist/src/components/pricing-cards.mjs +1 -1
- package/dist/src/components/shared/ButtonCopy.js +2 -2
- package/dist/src/components/shared/ButtonCopy.mjs +3 -3
- package/dist/src/components/shared/ButtonCopy.mjs.map +1 -1
- package/dist/src/components/team-switcher.d.mts +1 -1
- package/dist/src/components/team-switcher.js +2 -2
- package/dist/src/components/team-switcher.mjs +2 -2
- package/dist/src/components/theme-provider.js +1 -1
- package/dist/src/components/theme-provider.mjs +1 -1
- package/dist/src/components/typewriter.js +1 -1
- package/dist/src/components/typewriter.mjs +1 -1
- package/dist/src/components/ui/alert-dialog.d.mts +1 -1
- package/dist/src/components/ui/alert.d.mts +1 -1
- package/dist/src/components/ui/alert.js +2 -1
- package/dist/src/components/ui/alert.js.map +1 -1
- package/dist/src/components/ui/alert.mjs +1 -1
- package/dist/src/components/ui/avatar.js +1 -1
- package/dist/src/components/ui/avatar.mjs +1 -1
- package/dist/src/components/ui/badge.d.mts +1 -1
- package/dist/src/components/ui/badge.js +2 -1
- package/dist/src/components/ui/badge.js.map +1 -1
- package/dist/src/components/ui/badge.mjs +1 -1
- package/dist/src/components/ui/bento-grid2.d.mts +1 -1
- package/dist/src/components/ui/breadcrumb.d.mts +1 -1
- package/dist/src/components/ui/breadcrumb.js +2 -2
- package/dist/src/components/ui/breadcrumb.mjs +2 -2
- package/dist/src/components/ui/button.js +3 -2
- package/dist/src/components/ui/button.js.map +1 -1
- package/dist/src/components/ui/button.mjs +1 -1
- package/dist/src/components/ui/card.js +1 -1
- package/dist/src/components/ui/card.mjs +1 -1
- package/dist/src/components/ui/checkbox.js +2 -2
- package/dist/src/components/ui/checkbox.mjs +2 -2
- package/dist/src/components/ui/dialog.d.mts +1 -1
- package/dist/src/components/ui/dialog.js +1 -1
- package/dist/src/components/ui/dialog.mjs +1 -1
- package/dist/src/components/ui/dropdown-menu.d.mts +1 -1
- package/dist/src/components/ui/dropdown-menu.js +2 -2
- package/dist/src/components/ui/dropdown-menu.mjs +2 -2
- package/dist/src/components/ui/floating-navbar.d.mts +1 -1
- package/dist/src/components/ui/floating-navbar.js +1 -1
- package/dist/src/components/ui/floating-navbar.mjs +1 -1
- package/dist/src/components/ui/form.d.mts +1 -1
- package/dist/src/components/ui/form.js +1 -1
- package/dist/src/components/ui/form.mjs +1 -1
- package/dist/src/components/ui/image.js +1 -1
- package/dist/src/components/ui/image.mjs +1 -1
- package/dist/src/components/ui/input.js +1 -1
- package/dist/src/components/ui/input.mjs +1 -1
- package/dist/src/components/ui/label.js +1 -1
- package/dist/src/components/ui/label.mjs +1 -1
- package/dist/src/components/ui/pagination.d.mts +1 -1
- package/dist/src/components/ui/pagination.js +1 -1
- package/dist/src/components/ui/pagination.mjs +1 -1
- package/dist/src/components/ui/progress.js +1 -1
- package/dist/src/components/ui/progress.mjs +1 -1
- package/dist/src/components/ui/resizable-navbar.d.mts +1 -1
- package/dist/src/components/ui/resizable-navbar.js +2 -2
- package/dist/src/components/ui/resizable-navbar.mjs +2 -2
- package/dist/src/components/ui/segment-control.js +1 -1
- package/dist/src/components/ui/segment-control.mjs +3 -3
- package/dist/src/components/ui/segment-control.mjs.map +1 -1
- package/dist/src/components/ui/select.js +2 -2
- package/dist/src/components/ui/select.mjs +2 -2
- package/dist/src/components/ui/separator.js +1 -1
- package/dist/src/components/ui/separator.mjs +1 -1
- package/dist/src/components/ui/sheet.d.mts +1 -1
- package/dist/src/components/ui/sheet.js +2 -2
- package/dist/src/components/ui/sheet.mjs +2 -2
- package/dist/src/components/ui/sidebar.js +3 -3
- package/dist/src/components/ui/sidebar.mjs +3 -3
- package/dist/src/components/ui/slider.js +1 -1
- package/dist/src/components/ui/slider.mjs +1 -1
- package/dist/src/components/ui/spinner.d.mts +1 -1
- package/dist/src/components/ui/spinner.js +1 -1
- package/dist/src/components/ui/spinner.mjs +1 -1
- package/dist/src/components/ui/switch.js +1 -1
- package/dist/src/components/ui/switch.mjs +1 -1
- package/dist/src/components/ui/table.d.mts +1 -1
- package/dist/src/components/ui/tabs.d.mts +1 -1
- package/dist/src/components/ui/textarea.d.mts +1 -1
- package/dist/src/components/ui/timeline.d.mts +1 -1
- package/dist/src/components/ui/timeline.js +1 -1
- package/dist/src/components/ui/timeline.mjs +1 -1
- package/dist/src/components/ui/toast.js +2 -2
- package/dist/src/components/ui/toast.mjs +2 -2
- package/dist/src/components/ui/tooltip.d.mts +1 -1
- package/dist/src/components/ui/typewriter-effect.js +1 -1
- package/dist/src/components/ui/typewriter-effect.mjs +1 -1
- package/dist/src/icons/GoogleIcon.d.mts +1 -1
- package/dist/src/icons/LinkedInIcon.d.mts +1 -1
- package/dist/src/icons/MicrosoftIcon.d.mts +1 -1
- package/dist/src/modules/app/components/AppShell.d.mts +1 -1
- package/dist/src/modules/app/components/AppSidebar.d.mts +1 -1
- package/dist/src/modules/app/components/AppSidebarHeader.js +2 -2
- package/dist/src/modules/app/components/AppSidebarHeader.mjs +3 -3
- package/dist/src/modules/app/components/AppSidebarHeader.mjs.map +1 -1
- package/dist/src/modules/app/components/AppSidebarInvites.js +2 -2
- package/dist/src/modules/app/components/AppSidebarInvites.mjs +4 -4
- package/dist/src/modules/app/components/AppSidebarInvites.mjs.map +1 -1
- package/dist/src/modules/app/components/AppSidebarUser.js +1 -1
- package/dist/src/modules/app/components/AppSidebarUser.mjs +1 -1
- package/dist/src/modules/auth/components/AdminUserManagement.js +4 -4
- package/dist/src/modules/auth/components/AdminUserManagement.mjs +8 -8
- package/dist/src/modules/auth/components/AdminUserManagement.mjs.map +1 -1
- package/dist/src/modules/auth/components/AdminWaitlist.js +2 -2
- package/dist/src/modules/auth/components/AdminWaitlist.mjs +4 -4
- package/dist/src/modules/auth/components/AdminWaitlist.mjs.map +1 -1
- package/dist/src/modules/auth/components/AuthLayout.d.mts +1 -1
- package/dist/src/modules/auth/components/AuthProviders.js +1 -1
- package/dist/src/modules/auth/components/AuthProviders.mjs +1 -1
- package/dist/src/modules/auth/components/AuthRouter.d.mts +1 -1
- package/dist/src/modules/auth/components/ClaimAccountRoute.js +2 -2
- package/dist/src/modules/auth/components/ClaimAccountRoute.mjs +2 -2
- package/dist/src/modules/auth/components/ErrorAuthRoute.js +2 -2
- package/dist/src/modules/auth/components/ErrorAuthRoute.mjs +5 -5
- package/dist/src/modules/auth/components/ErrorAuthRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/ForgotPasswordForm.js +2 -2
- package/dist/src/modules/auth/components/ForgotPasswordForm.mjs +2 -2
- package/dist/src/modules/auth/components/ForgotPasswordRoute.js +2 -2
- package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs +3 -3
- package/dist/src/modules/auth/components/ForgotPasswordRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/InviteFriends.js +2 -2
- package/dist/src/modules/auth/components/InviteFriends.mjs +2 -2
- package/dist/src/modules/auth/components/LastUsedBadge.d.mts +1 -1
- package/dist/src/modules/auth/components/LastUsedBadge.js +1 -1
- package/dist/src/modules/auth/components/LastUsedBadge.mjs +1 -1
- package/dist/src/modules/auth/components/LoginForm.js +2 -2
- package/dist/src/modules/auth/components/LoginForm.mjs +4 -4
- package/dist/src/modules/auth/components/LoginForm.mjs.map +1 -1
- package/dist/src/modules/auth/components/LoginRoute.js +2 -2
- package/dist/src/modules/auth/components/LoginRoute.mjs +4 -4
- package/dist/src/modules/auth/components/LoginRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/LogoutRoute.js +2 -2
- package/dist/src/modules/auth/components/LogoutRoute.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.js +2 -2
- package/dist/src/modules/auth/components/OrganizationAcceptInvitationRoute.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationMembersRoute.js +4 -4
- package/dist/src/modules/auth/components/OrganizationMembersRoute.mjs +4 -4
- package/dist/src/modules/auth/components/OrganizationPreferences.js +2 -2
- package/dist/src/modules/auth/components/OrganizationPreferences.mjs +2 -2
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.js +3 -3
- package/dist/src/modules/auth/components/OrganizationSettingsRoute.mjs +3 -3
- package/dist/src/modules/auth/components/OrganizationSwitcher.js +4 -4
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs +6 -6
- package/dist/src/modules/auth/components/OrganizationSwitcher.mjs.map +1 -1
- package/dist/src/modules/auth/components/ProfileRoute.js +1 -1
- package/dist/src/modules/auth/components/ProfileRoute.mjs +1 -1
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.js +2 -2
- package/dist/src/modules/auth/components/RangeNuqsDatePicker.mjs +2 -2
- package/dist/src/modules/auth/components/ResetPasswordForm.js +2 -2
- package/dist/src/modules/auth/components/ResetPasswordForm.mjs +3 -3
- package/dist/src/modules/auth/components/ResetPasswordForm.mjs.map +1 -1
- package/dist/src/modules/auth/components/ResetPasswordRoute.js +2 -2
- package/dist/src/modules/auth/components/ResetPasswordRoute.mjs +3 -3
- package/dist/src/modules/auth/components/ResetPasswordRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/SignupFormRoute.js +2 -2
- package/dist/src/modules/auth/components/SignupFormRoute.mjs +2 -2
- package/dist/src/modules/auth/components/SignupRoute.js +2 -2
- package/dist/src/modules/auth/components/SignupRoute.mjs +3 -3
- package/dist/src/modules/auth/components/SignupRoute.mjs.map +1 -1
- package/dist/src/modules/auth/components/UserPreferences.js +1 -1
- package/dist/src/modules/auth/components/UserPreferences.mjs +1 -1
- package/dist/src/modules/auth/components/WaitlistCard.js +2 -2
- package/dist/src/modules/auth/components/WaitlistCard.mjs +2 -2
- package/dist/src/modules/auth/components/WaitlistCodeValidation.js +1 -1
- package/dist/src/modules/auth/components/WaitlistCodeValidation.mjs +1 -1
- package/dist/src/modules/billing/components/BillingBetaPage.d.mts +1 -1
- package/dist/src/modules/billing/components/BillingBetaPage.js +1 -1
- package/dist/src/modules/billing/components/BillingBetaPage.mjs +1 -1
- package/dist/src/modules/billing/components/BillingInvoicePage.js +2 -2
- package/dist/src/modules/billing/components/BillingInvoicePage.mjs +2 -2
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.js +3 -3
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs +5 -5
- package/dist/src/modules/billing/components/BillingSinglePlanSelect.mjs.map +1 -1
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.js +2 -2
- package/dist/src/modules/table/components/ColumnOrderAndVisibility.mjs +2 -2
- package/dist/src/modules/table/components/NuqsTable.js +2 -2
- package/dist/src/modules/table/components/NuqsTable.mjs +4 -4
- package/dist/src/modules/table/components/NuqsTable.mjs.map +1 -1
- package/dist/src/modules/table/components/TableFiltering.js +2 -2
- package/dist/src/modules/table/components/TableFiltering.mjs +2 -2
- package/dist/src/modules/table/components/TableGroupBy.js +1 -1
- package/dist/src/modules/table/components/TableGroupBy.mjs +1 -1
- package/dist/src/modules/table/components/TablePagination.js +1 -1
- package/dist/src/modules/table/components/TablePagination.mjs +1 -1
- package/package.json +5 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let
|
|
4
|
+
let lucide_react = require("lucide-react");
|
|
5
5
|
let react = require("react");
|
|
6
6
|
react = require_runtime.__toESM(react);
|
|
7
|
-
let
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let _radix_ui_react_checkbox = require("@radix-ui/react-checkbox");
|
|
9
9
|
_radix_ui_react_checkbox = require_runtime.__toESM(_radix_ui_react_checkbox);
|
|
10
10
|
//#region src/components/ui/checkbox.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import * as React$1 from "react";
|
|
4
2
|
import { Check } from "lucide-react";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
6
6
|
//#region src/components/ui/checkbox.tsx
|
|
7
7
|
const Checkbox = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(CheckboxPrimitive.Root, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let lucide_react = require("lucide-react");
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
let _radix_ui_react_dialog = require("@radix-ui/react-dialog");
|
|
7
7
|
_radix_ui_react_dialog = require_runtime.__toESM(_radix_ui_react_dialog);
|
|
8
8
|
//#region src/components/ui/dialog.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
2
|
import { XIcon } from "lucide-react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
5
5
|
//#region src/components/ui/dialog.tsx
|
|
6
6
|
function Dialog({ ...props }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React$1 from "react";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/dropdown-menu.d.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let
|
|
4
|
+
let lucide_react = require("lucide-react");
|
|
5
5
|
let react = require("react");
|
|
6
6
|
react = require_runtime.__toESM(react);
|
|
7
|
-
let
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let _radix_ui_react_dropdown_menu = require("@radix-ui/react-dropdown-menu");
|
|
9
9
|
_radix_ui_react_dropdown_menu = require_runtime.__toESM(_radix_ui_react_dropdown_menu);
|
|
10
10
|
//#region src/components/ui/dropdown-menu.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import * as React$1 from "react";
|
|
4
2
|
import { Check, ChevronRight, Circle } from "lucide-react";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
6
6
|
//#region src/components/ui/dropdown-menu.tsx
|
|
7
7
|
const DropdownMenu = DropdownMenuPrimitive.Root;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
require("../../../_virtual/_rolldown/runtime.js");
|
|
4
4
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
let react = require("react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let motion_react = require("motion/react");
|
|
8
8
|
//#region src/components/ui/floating-navbar.tsx
|
|
9
9
|
const FloatingNav = ({ navItems, className }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../../lib/utils.mjs";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { useState } from "react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { AnimatePresence, motion, useMotionValueEvent, useScroll } from "motion/react";
|
|
6
6
|
//#region src/components/ui/floating-navbar.tsx
|
|
7
7
|
const FloatingNav = ({ navItems, className }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React$1 from "react";
|
|
3
2
|
import * as _$_radix_ui_react_slot0 from "@radix-ui/react-slot";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import * as _$react_hook_form0 from "react-hook-form";
|
|
5
5
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
6
6
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
4
|
const require_src_components_ui_label = require("./label.js");
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
let react = require("react");
|
|
7
6
|
react = require_runtime.__toESM(react);
|
|
8
7
|
let _radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let react_hook_form = require("react-hook-form");
|
|
10
10
|
//#region src/components/ui/form.tsx
|
|
11
11
|
const Form = react_hook_form.FormProvider;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
2
|
import { Label } from "./label.mjs";
|
|
3
|
-
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import * as React$1 from "react";
|
|
5
4
|
import { Slot } from "@radix-ui/react-slot";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { Controller, FormProvider, useFormContext } from "react-hook-form";
|
|
7
7
|
//#region src/components/ui/form.tsx
|
|
8
8
|
const Form = FormProvider;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
2
2
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
3
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
4
3
|
let react = require("react");
|
|
5
4
|
react = require_runtime.__toESM(react);
|
|
5
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
//#region src/components/ui/image.tsx
|
|
7
7
|
const Image = react.default.forwardRef(({ className, src, alt, fallback, ...props }, ref) => {
|
|
8
8
|
const [error, setError] = react.default.useState(false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
2
|
import React from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/ui/image.tsx
|
|
5
5
|
const Image = React.forwardRef(({ className, src, alt, fallback, ...props }, ref) => {
|
|
6
6
|
const [error, setError] = React.useState(false);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
react = require_runtime.__toESM(react);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
//#region src/components/ui/input.tsx
|
|
8
8
|
const Input = react.forwardRef(({ className, type, ...props }, ref) => {
|
|
9
9
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/ui/input.tsx
|
|
5
5
|
const Input = React$1.forwardRef(({ className, type, ...props }, ref) => {
|
|
6
6
|
return /* @__PURE__ */ jsx("input", {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
react = require_runtime.__toESM(react);
|
|
7
6
|
let class_variance_authority = require("class-variance-authority");
|
|
7
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
8
8
|
let _radix_ui_react_label = require("@radix-ui/react-label");
|
|
9
9
|
_radix_ui_react_label = require_runtime.__toESM(_radix_ui_react_label);
|
|
10
10
|
//#region src/components/ui/label.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import * as React$1 from "react";
|
|
4
3
|
import { cva } from "class-variance-authority";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
6
6
|
//#region src/components/ui/label.tsx
|
|
7
7
|
const labelVariants = cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button } from "./button.mjs";
|
|
2
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/pagination.d.ts
|
|
6
6
|
declare function Pagination({
|
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
4
|
const require_src_components_ui_button = require("./button.js");
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
let lucide_react = require("lucide-react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
//#region src/components/ui/pagination.tsx
|
|
8
8
|
function Pagination({ className, ...props }) {
|
|
9
9
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("nav", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
2
|
import { buttonVariants } from "./button.mjs";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/ui/pagination.tsx
|
|
6
6
|
function Pagination({ className, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsx("nav", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
react = require_runtime.__toESM(react);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _radix_ui_react_progress = require("@radix-ui/react-progress");
|
|
8
8
|
_radix_ui_react_progress = require_runtime.__toESM(_radix_ui_react_progress);
|
|
9
9
|
//#region src/components/ui/progress.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import * as ProgressPrimitive from "@radix-ui/react-progress";
|
|
5
5
|
//#region src/components/ui/progress.tsx
|
|
6
6
|
const Progress = React$1.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(ProgressPrimitive.Root, {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
4
4
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
5
|
-
let
|
|
5
|
+
let lucide_react = require("lucide-react");
|
|
6
6
|
let react = require("react");
|
|
7
7
|
react = require_runtime.__toESM(react);
|
|
8
|
-
let
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let motion_react = require("motion/react");
|
|
10
10
|
//#region src/components/ui/resizable-navbar.tsx
|
|
11
11
|
const Navbar = ({ children, className }) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../../lib/utils.mjs";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import React, { useRef, useState } from "react";
|
|
5
3
|
import { MenuIcon, XIcon } from "lucide-react";
|
|
4
|
+
import React, { useRef, useState } from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { AnimatePresence, motion, useMotionValueEvent, useScroll } from "motion/react";
|
|
7
7
|
//#region src/components/ui/resizable-navbar.tsx
|
|
8
8
|
const Navbar = ({ children, className }) => {
|
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_components_ui_button = require("./button.js");
|
|
4
4
|
const require_src_components_ui_dropdown_menu = require("./dropdown-menu.js");
|
|
5
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
let react = require("react");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _tabler_icons_react = require("@tabler/icons-react");
|
|
8
8
|
//#region src/components/ui/segment-control.tsx
|
|
9
9
|
const SegmentDropdown = ({ options, value, resetButton, onChange }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "./button.mjs";
|
|
2
2
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "./dropdown-menu.mjs";
|
|
3
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
3
|
import { useLayoutEffect, useRef, useState } from "react";
|
|
4
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { IconChevronDown } from "@tabler/icons-react";
|
|
6
6
|
//#region src/components/ui/segment-control.tsx
|
|
7
7
|
const SegmentDropdown = ({ options, value, resetButton, onChange }) => {
|
|
@@ -51,7 +51,7 @@ const SegmentDropdown = ({ options, value, resetButton, onChange }) => {
|
|
|
51
51
|
});
|
|
52
52
|
};
|
|
53
53
|
const SegmentControl = ({ options, value, onChange, className = "", resetButton = false }) => {
|
|
54
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
|
|
54
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
55
55
|
className: "block sm:hidden w-full " + className,
|
|
56
56
|
children: /* @__PURE__ */ jsx(SegmentDropdown, {
|
|
57
57
|
options,
|
|
@@ -71,7 +71,7 @@ const SegmentControl = ({ options, value, onChange, className = "", resetButton
|
|
|
71
71
|
"aria-pressed": selected,
|
|
72
72
|
children: option
|
|
73
73
|
}, option);
|
|
74
|
-
}), resetButton && /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", { className: "border-l border-muted-foreground/20 h-4 sm:h-6 mx-1 sm:mx-2" }), /* @__PURE__ */ jsx(Button, {
|
|
74
|
+
}), resetButton && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", { className: "border-l border-muted-foreground/20 h-4 sm:h-6 mx-1 sm:mx-2" }), /* @__PURE__ */ jsx(Button, {
|
|
75
75
|
type: "button",
|
|
76
76
|
variant: "ghost",
|
|
77
77
|
onClick: () => onChange(null),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segment-control.mjs","names":[],"sources":["../../../../src/components/ui/segment-control.tsx"],"sourcesContent":["import { IconChevronDown } from \"@tabler/icons-react\";\r\nimport { useLayoutEffect, useRef, useState } from \"react\";\r\nimport { Button } from \"./button\";\r\nimport {\r\n DropdownMenu,\r\n DropdownMenuContent,\r\n DropdownMenuItem,\r\n DropdownMenuTrigger,\r\n} from \"./dropdown-menu\";\r\n\r\ninterface SegmentControlProps {\r\n options: string[];\r\n value: string | null;\r\n onChange: (value: string | null) => void;\r\n className?: string;\r\n resetButton: boolean;\r\n}\r\n\r\nconst SegmentDropdown = ({ options, value, resetButton, onChange }: SegmentControlProps) => {\r\n const [triggerWidth, setTriggerWidth] = useState<number>();\r\n const triggerRef = useRef<HTMLButtonElement>(null);\r\n const [open, setOpen] = useState(false);\r\n\r\n useLayoutEffect(() => {\r\n if (triggerRef.current) {\r\n console.log(triggerRef.current.offsetWidth);\r\n setTriggerWidth(triggerRef.current.offsetWidth);\r\n }\r\n }, []);\r\n return (\r\n <DropdownMenu open={open} onOpenChange={setOpen}>\r\n <DropdownMenuTrigger asChild ref={triggerRef}>\r\n <Button className=\"w-full justify-between rounded-full border border-muted bg-muted/70 px-4 py-2 text-sm font-medium text-white\">\r\n {value ?? resetButton ?? options[0]}\r\n <IconChevronDown className=\"ml-2 h-4 w-4 opacity-60\" />\r\n </Button>\r\n </DropdownMenuTrigger>\r\n <DropdownMenuContent\r\n style={{ width: triggerWidth }}\r\n onInteractOutside={(e) => {\r\n e.preventDefault();\r\n setOpen(false);\r\n }}\r\n >\r\n {resetButton && (\r\n <DropdownMenuItem\r\n onSelect={(e) => {\r\n e.preventDefault();\r\n onChange(null);\r\n setOpen(false);\r\n }}\r\n className={value === null ? \"bg-primary text-primary-foreground\" : \"\"}\r\n >\r\n {resetButton}\r\n </DropdownMenuItem>\r\n )}\r\n {options.map((option) => (\r\n <DropdownMenuItem\r\n key={option}\r\n onSelect={(e) => {\r\n e.preventDefault();\r\n onChange(option);\r\n setOpen(false);\r\n }}\r\n className={value === option ? \"bg-primary text-primary-foreground\" : \"\"}\r\n >\r\n {option}\r\n </DropdownMenuItem>\r\n ))}\r\n </DropdownMenuContent>\r\n </DropdownMenu>\r\n );\r\n};\r\n\r\nexport const SegmentControl: React.FC<SegmentControlProps> = ({\r\n options,\r\n value,\r\n onChange,\r\n className = \"\",\r\n resetButton = false,\r\n}) => {\r\n // Dropdown for mobile (below sm)\r\n return (\r\n <>\r\n {/* Mobile: Dropdown */}\r\n <div className={\"block sm:hidden w-full \" + className}>\r\n <SegmentDropdown\r\n options={options}\r\n value={value}\r\n resetButton={resetButton}\r\n onChange={onChange}\r\n />\r\n </div>\r\n {/* Desktop: Segmented buttons */}\r\n <fieldset\r\n className={\r\n \"hidden sm:inline-flex flex-wrap items-center justify-center gap-1 sm:gap-2 bg-muted/70 rounded-full px-2 py-1.5 sm:px-4 sm:py-2 border-0 \" +\r\n className\r\n }\r\n >\r\n {options.map((option) => {\r\n const selected = value === option;\r\n return (\r\n <Button\r\n key={option}\r\n type=\"button\"\r\n variant=\"ghost\"\r\n onClick={() => onChange(option)}\r\n className={\r\n \"transition px-2 py-1.5 sm:px-4 sm:py-2 rounded-full text-xs sm:text-sm font-medium min-w-[60px] sm:min-w-[80px] \" +\r\n (selected\r\n ? \"bg-primary text-primary-foreground shadow hover:bg-primary hover:text-primary-foreground\"\r\n : \"bg-transparent text-muted-foreground hover:bg-muted hover:text-foreground hover:shadow\")\r\n }\r\n aria-pressed={selected}\r\n >\r\n {option}\r\n </Button>\r\n );\r\n })}\r\n {resetButton && (\r\n <>\r\n <div className=\"border-l border-muted-foreground/20 h-4 sm:h-6 mx-1 sm:mx-2\" />\r\n <Button\r\n type=\"button\"\r\n variant=\"ghost\"\r\n onClick={() => onChange(null)}\r\n className={\r\n \"transition px-2 py-1.5 sm:px-4 sm:py-2 rounded-full text-xs sm:text-sm font-medium min-w-[60px] sm:min-w-[80px] \" +\r\n (value === null\r\n ? \"bg-primary text-primary-foreground shadow hover:bg-primary hover:text-primary-foreground\"\r\n : \"bg-transparent text-muted-foreground hover:bg-muted hover:text-foreground hover:shadow\")\r\n }\r\n aria-label=\"Reset\"\r\n >\r\n {resetButton}\r\n </Button>\r\n </>\r\n )}\r\n </fieldset>\r\n </>\r\n );\r\n};\r\n"],"mappings":";;;;;;AAkBA,MAAM,mBAAmB,EAAE,SAAS,OAAO,aAAa,eAAoC;CAC1F,MAAM,CAAC,cAAc,mBAAmB,UAAkB;CAC1D,MAAM,aAAa,OAA0B,KAAK;CAClD,MAAM,CAAC,MAAM,WAAW,SAAS,MAAM;AAEvC,uBAAsB;AACpB,MAAI,WAAW,SAAS;AACtB,WAAQ,IAAI,WAAW,QAAQ,YAAY;AAC3C,mBAAgB,WAAW,QAAQ,YAAY;;IAEhD,EAAE,CAAC;AACN,QACE,qBAAC,cAAD;EAAoB;EAAM,cAAc;YAAxC,CACE,oBAAC,qBAAD;GAAqB,SAAA;GAAQ,KAAK;aAChC,qBAAC,QAAD;IAAQ,WAAU;cAAlB,CACG,SAAS,eAAe,QAAQ,IACjC,oBAAC,iBAAD,EAAiB,WAAU,2BAA4B,CAAA,CAChD;;GACW,CAAA,EACtB,qBAAC,qBAAD;GACE,OAAO,EAAE,OAAO,cAAc;GAC9B,oBAAoB,MAAM;AACxB,MAAE,gBAAgB;AAClB,YAAQ,MAAM;;aAJlB,CAOG,eACC,oBAAC,kBAAD;IACE,WAAW,MAAM;AACf,OAAE,gBAAgB;AAClB,cAAS,KAAK;AACd,aAAQ,MAAM;;IAEhB,WAAW,UAAU,OAAO,uCAAuC;cAElE;IACgB,CAAA,EAEpB,QAAQ,KAAK,WACZ,oBAAC,kBAAD;IAEE,WAAW,MAAM;AACf,OAAE,gBAAgB;AAClB,cAAS,OAAO;AAChB,aAAQ,MAAM;;IAEhB,WAAW,UAAU,SAAS,uCAAuC;cAEpE;IACgB,EATZ,OASY,CACnB,CACkB;KACT;;;AAInB,MAAa,kBAAiD,EAC5D,SACA,OACA,UACA,YAAY,IACZ,cAAc,YACV;AAEJ,QACE,qBAAA,
|
|
1
|
+
{"version":3,"file":"segment-control.mjs","names":[],"sources":["../../../../src/components/ui/segment-control.tsx"],"sourcesContent":["import { IconChevronDown } from \"@tabler/icons-react\";\r\nimport { useLayoutEffect, useRef, useState } from \"react\";\r\nimport { Button } from \"./button\";\r\nimport {\r\n DropdownMenu,\r\n DropdownMenuContent,\r\n DropdownMenuItem,\r\n DropdownMenuTrigger,\r\n} from \"./dropdown-menu\";\r\n\r\ninterface SegmentControlProps {\r\n options: string[];\r\n value: string | null;\r\n onChange: (value: string | null) => void;\r\n className?: string;\r\n resetButton: boolean;\r\n}\r\n\r\nconst SegmentDropdown = ({ options, value, resetButton, onChange }: SegmentControlProps) => {\r\n const [triggerWidth, setTriggerWidth] = useState<number>();\r\n const triggerRef = useRef<HTMLButtonElement>(null);\r\n const [open, setOpen] = useState(false);\r\n\r\n useLayoutEffect(() => {\r\n if (triggerRef.current) {\r\n console.log(triggerRef.current.offsetWidth);\r\n setTriggerWidth(triggerRef.current.offsetWidth);\r\n }\r\n }, []);\r\n return (\r\n <DropdownMenu open={open} onOpenChange={setOpen}>\r\n <DropdownMenuTrigger asChild ref={triggerRef}>\r\n <Button className=\"w-full justify-between rounded-full border border-muted bg-muted/70 px-4 py-2 text-sm font-medium text-white\">\r\n {value ?? resetButton ?? options[0]}\r\n <IconChevronDown className=\"ml-2 h-4 w-4 opacity-60\" />\r\n </Button>\r\n </DropdownMenuTrigger>\r\n <DropdownMenuContent\r\n style={{ width: triggerWidth }}\r\n onInteractOutside={(e) => {\r\n e.preventDefault();\r\n setOpen(false);\r\n }}\r\n >\r\n {resetButton && (\r\n <DropdownMenuItem\r\n onSelect={(e) => {\r\n e.preventDefault();\r\n onChange(null);\r\n setOpen(false);\r\n }}\r\n className={value === null ? \"bg-primary text-primary-foreground\" : \"\"}\r\n >\r\n {resetButton}\r\n </DropdownMenuItem>\r\n )}\r\n {options.map((option) => (\r\n <DropdownMenuItem\r\n key={option}\r\n onSelect={(e) => {\r\n e.preventDefault();\r\n onChange(option);\r\n setOpen(false);\r\n }}\r\n className={value === option ? \"bg-primary text-primary-foreground\" : \"\"}\r\n >\r\n {option}\r\n </DropdownMenuItem>\r\n ))}\r\n </DropdownMenuContent>\r\n </DropdownMenu>\r\n );\r\n};\r\n\r\nexport const SegmentControl: React.FC<SegmentControlProps> = ({\r\n options,\r\n value,\r\n onChange,\r\n className = \"\",\r\n resetButton = false,\r\n}) => {\r\n // Dropdown for mobile (below sm)\r\n return (\r\n <>\r\n {/* Mobile: Dropdown */}\r\n <div className={\"block sm:hidden w-full \" + className}>\r\n <SegmentDropdown\r\n options={options}\r\n value={value}\r\n resetButton={resetButton}\r\n onChange={onChange}\r\n />\r\n </div>\r\n {/* Desktop: Segmented buttons */}\r\n <fieldset\r\n className={\r\n \"hidden sm:inline-flex flex-wrap items-center justify-center gap-1 sm:gap-2 bg-muted/70 rounded-full px-2 py-1.5 sm:px-4 sm:py-2 border-0 \" +\r\n className\r\n }\r\n >\r\n {options.map((option) => {\r\n const selected = value === option;\r\n return (\r\n <Button\r\n key={option}\r\n type=\"button\"\r\n variant=\"ghost\"\r\n onClick={() => onChange(option)}\r\n className={\r\n \"transition px-2 py-1.5 sm:px-4 sm:py-2 rounded-full text-xs sm:text-sm font-medium min-w-[60px] sm:min-w-[80px] \" +\r\n (selected\r\n ? \"bg-primary text-primary-foreground shadow hover:bg-primary hover:text-primary-foreground\"\r\n : \"bg-transparent text-muted-foreground hover:bg-muted hover:text-foreground hover:shadow\")\r\n }\r\n aria-pressed={selected}\r\n >\r\n {option}\r\n </Button>\r\n );\r\n })}\r\n {resetButton && (\r\n <>\r\n <div className=\"border-l border-muted-foreground/20 h-4 sm:h-6 mx-1 sm:mx-2\" />\r\n <Button\r\n type=\"button\"\r\n variant=\"ghost\"\r\n onClick={() => onChange(null)}\r\n className={\r\n \"transition px-2 py-1.5 sm:px-4 sm:py-2 rounded-full text-xs sm:text-sm font-medium min-w-[60px] sm:min-w-[80px] \" +\r\n (value === null\r\n ? \"bg-primary text-primary-foreground shadow hover:bg-primary hover:text-primary-foreground\"\r\n : \"bg-transparent text-muted-foreground hover:bg-muted hover:text-foreground hover:shadow\")\r\n }\r\n aria-label=\"Reset\"\r\n >\r\n {resetButton}\r\n </Button>\r\n </>\r\n )}\r\n </fieldset>\r\n </>\r\n );\r\n};\r\n"],"mappings":";;;;;;AAkBA,MAAM,mBAAmB,EAAE,SAAS,OAAO,aAAa,eAAoC;CAC1F,MAAM,CAAC,cAAc,mBAAmB,UAAkB;CAC1D,MAAM,aAAa,OAA0B,KAAK;CAClD,MAAM,CAAC,MAAM,WAAW,SAAS,MAAM;AAEvC,uBAAsB;AACpB,MAAI,WAAW,SAAS;AACtB,WAAQ,IAAI,WAAW,QAAQ,YAAY;AAC3C,mBAAgB,WAAW,QAAQ,YAAY;;IAEhD,EAAE,CAAC;AACN,QACE,qBAAC,cAAD;EAAoB;EAAM,cAAc;YAAxC,CACE,oBAAC,qBAAD;GAAqB,SAAA;GAAQ,KAAK;aAChC,qBAAC,QAAD;IAAQ,WAAU;cAAlB,CACG,SAAS,eAAe,QAAQ,IACjC,oBAAC,iBAAD,EAAiB,WAAU,2BAA4B,CAAA,CAChD;;GACW,CAAA,EACtB,qBAAC,qBAAD;GACE,OAAO,EAAE,OAAO,cAAc;GAC9B,oBAAoB,MAAM;AACxB,MAAE,gBAAgB;AAClB,YAAQ,MAAM;;aAJlB,CAOG,eACC,oBAAC,kBAAD;IACE,WAAW,MAAM;AACf,OAAE,gBAAgB;AAClB,cAAS,KAAK;AACd,aAAQ,MAAM;;IAEhB,WAAW,UAAU,OAAO,uCAAuC;cAElE;IACgB,CAAA,EAEpB,QAAQ,KAAK,WACZ,oBAAC,kBAAD;IAEE,WAAW,MAAM;AACf,OAAE,gBAAgB;AAClB,cAAS,OAAO;AAChB,aAAQ,MAAM;;IAEhB,WAAW,UAAU,SAAS,uCAAuC;cAEpE;IACgB,EATZ,OASY,CACnB,CACkB;KACT;;;AAInB,MAAa,kBAAiD,EAC5D,SACA,OACA,UACA,YAAY,IACZ,cAAc,YACV;AAEJ,QACE,qBAAA,YAAA,EAAA,UAAA,CAEE,oBAAC,OAAD;EAAK,WAAW,4BAA4B;YAC1C,oBAAC,iBAAD;GACW;GACF;GACM;GACH;GACV,CAAA;EACE,CAAA,EAEN,qBAAC,YAAD;EACE,WACE,8IACA;YAHJ,CAMG,QAAQ,KAAK,WAAW;GACvB,MAAM,WAAW,UAAU;AAC3B,UACE,oBAAC,QAAD;IAEE,MAAK;IACL,SAAQ;IACR,eAAe,SAAS,OAAO;IAC/B,WACE,sHACC,WACG,6FACA;IAEN,gBAAc;cAEb;IACM,EAbF,OAaE;IAEX,EACD,eACC,qBAAA,YAAA,EAAA,UAAA,CACE,oBAAC,OAAD,EAAK,WAAU,+DAAgE,CAAA,EAC/E,oBAAC,QAAD;GACE,MAAK;GACL,SAAQ;GACR,eAAe,SAAS,KAAK;GAC7B,WACE,sHACC,UAAU,OACP,6FACA;GAEN,cAAW;aAEV;GACM,CAAA,CACR,EAAA,CAAA,CAEI;IACV,EAAA,CAAA"}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
4
4
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
5
|
-
let
|
|
5
|
+
let lucide_react = require("lucide-react");
|
|
6
6
|
let react = require("react");
|
|
7
7
|
react = require_runtime.__toESM(react);
|
|
8
|
-
let
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
9
|
let _radix_ui_react_select = require("@radix-ui/react-select");
|
|
10
10
|
_radix_ui_react_select = require_runtime.__toESM(_radix_ui_react_select);
|
|
11
11
|
//#region src/components/ui/select.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../../lib/utils.mjs";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import * as React$1 from "react";
|
|
5
3
|
import { Check, ChevronDown, ChevronUp } from "lucide-react";
|
|
4
|
+
import * as React$1 from "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
7
7
|
//#region src/components/ui/select.tsx
|
|
8
8
|
const Select = SelectPrimitive.Root;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
react = require_runtime.__toESM(react);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _radix_ui_react_separator = require("@radix-ui/react-separator");
|
|
8
8
|
_radix_ui_react_separator = require_runtime.__toESM(_radix_ui_react_separator);
|
|
9
9
|
//#region src/components/ui/separator.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
5
5
|
//#region src/components/ui/separator.tsx
|
|
6
6
|
const Separator = React$1.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(SeparatorPrimitive.Root, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import * as React$1 from "react";
|
|
3
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
5
5
|
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
6
6
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
4
4
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
5
|
-
let
|
|
5
|
+
let lucide_react = require("lucide-react");
|
|
6
6
|
let react = require("react");
|
|
7
7
|
react = require_runtime.__toESM(react);
|
|
8
|
-
let lucide_react = require("lucide-react");
|
|
9
8
|
let class_variance_authority = require("class-variance-authority");
|
|
9
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
10
10
|
let _radix_ui_react_dialog = require("@radix-ui/react-dialog");
|
|
11
11
|
_radix_ui_react_dialog = require_runtime.__toESM(_radix_ui_react_dialog);
|
|
12
12
|
//#region src/components/ui/sheet.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../../lib/utils.mjs";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import * as React$1 from "react";
|
|
5
3
|
import { X } from "lucide-react";
|
|
4
|
+
import * as React$1 from "react";
|
|
6
5
|
import { cva } from "class-variance-authority";
|
|
6
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
8
8
|
//#region src/components/ui/sheet.tsx
|
|
9
9
|
const Sheet = SheetPrimitive.Root;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
4
|
-
const require_src_hooks_use_mobile = require("../../hooks/use-mobile.js");
|
|
5
4
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
6
5
|
const require_src_components_ui_button = require("./button.js");
|
|
7
6
|
const require_src_components_ui_input = require("./input.js");
|
|
@@ -9,12 +8,13 @@ const require_src_components_ui_separator = require("./separator.js");
|
|
|
9
8
|
const require_src_components_ui_sheet = require("./sheet.js");
|
|
10
9
|
const require_src_components_ui_skeleton = require("./skeleton.js");
|
|
11
10
|
const require_src_components_ui_tooltip = require("./tooltip.js");
|
|
12
|
-
|
|
11
|
+
const require_src_hooks_use_mobile = require("../../hooks/use-mobile.js");
|
|
12
|
+
let lucide_react = require("lucide-react");
|
|
13
13
|
let react = require("react");
|
|
14
14
|
react = require_runtime.__toESM(react);
|
|
15
|
-
let lucide_react = require("lucide-react");
|
|
16
15
|
let _radix_ui_react_slot = require("@radix-ui/react-slot");
|
|
17
16
|
let class_variance_authority = require("class-variance-authority");
|
|
17
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
18
18
|
//#region src/components/ui/sidebar.tsx
|
|
19
19
|
const SIDEBAR_COOKIE_NAME = "sidebar:state";
|
|
20
20
|
const SIDEBAR_COOKIE_MAX_AGE = 3600 * 24 * 7;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useIsMobile } from "../../hooks/use-mobile.mjs";
|
|
3
2
|
import { cn } from "../../lib/utils.mjs";
|
|
4
3
|
import { Button } from "./button.mjs";
|
|
5
4
|
import { Input } from "./input.mjs";
|
|
@@ -7,11 +6,12 @@ import { Separator } from "./separator.mjs";
|
|
|
7
6
|
import { Sheet, SheetContent } from "./sheet.mjs";
|
|
8
7
|
import { Skeleton } from "./skeleton.mjs";
|
|
9
8
|
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tooltip.mjs";
|
|
10
|
-
import {
|
|
11
|
-
import * as React$1 from "react";
|
|
9
|
+
import { useIsMobile } from "../../hooks/use-mobile.mjs";
|
|
12
10
|
import { PanelLeft } from "lucide-react";
|
|
11
|
+
import * as React$1 from "react";
|
|
13
12
|
import { Slot } from "@radix-ui/react-slot";
|
|
14
13
|
import { cva } from "class-variance-authority";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/ui/sidebar.tsx
|
|
16
16
|
const SIDEBAR_COOKIE_NAME = "sidebar:state";
|
|
17
17
|
const SIDEBAR_COOKIE_MAX_AGE = 3600 * 24 * 7;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
react = require_runtime.__toESM(react);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _radix_ui_react_slider = require("@radix-ui/react-slider");
|
|
8
8
|
_radix_ui_react_slider = require_runtime.__toESM(_radix_ui_react_slider);
|
|
9
9
|
//#region src/components/ui/slider.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
import * as SliderPrimitive from "@radix-ui/react-slider";
|
|
5
5
|
//#region src/components/ui/slider.tsx
|
|
6
6
|
const Slider = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(SliderPrimitive.Root, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/spinner.d.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let lucide_react = require("lucide-react");
|
|
6
5
|
let class_variance_authority = require("class-variance-authority");
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
//#region src/components/ui/spinner.tsx
|
|
8
8
|
const spinnerVariants = (0, class_variance_authority.cva)("flex-col items-center justify-center", {
|
|
9
9
|
variants: { show: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
2
|
import { Loader2 } from "lucide-react";
|
|
4
3
|
import { cva } from "class-variance-authority";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/ui/spinner.tsx
|
|
6
6
|
const spinnerVariants = cva("flex-col items-center justify-center", {
|
|
7
7
|
variants: { show: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
|
|
3
3
|
const require_src_lib_utils = require("../../lib/utils.js");
|
|
4
|
-
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
4
|
let react = require("react");
|
|
6
5
|
react = require_runtime.__toESM(react);
|
|
6
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let _radix_ui_react_switch = require("@radix-ui/react-switch");
|
|
8
8
|
_radix_ui_react_switch = require_runtime.__toESM(_radix_ui_react_switch);
|
|
9
9
|
//#region src/components/ui/switch.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { cn } from "../../lib/utils.mjs";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import * as React$1 from "react";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import * as SwitchPrimitives from "@radix-ui/react-switch";
|
|
5
5
|
//#region src/components/ui/switch.tsx
|
|
6
6
|
const Switch = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(SwitchPrimitives.Root, {
|