@burdenoff/fe-libs 2026.527.2 → 2026.527.4
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/button/Button.js +18 -16
- package/dist/chrome/AccountSwitcher.js +10 -7
- package/dist/chrome/AutoBreadcrumbs.js +2 -0
- package/dist/chrome/Breadcrumbs.js +2 -0
- package/dist/chrome/CommandPalette.js +5 -3
- package/dist/chrome/ContextSwitcher.js +90 -338
- package/dist/chrome/DynamicFooter.js +7 -7
- package/dist/chrome/Footer.js +5 -5
- package/dist/chrome/GeographySwitcher.js +3 -3
- package/dist/chrome/GlobalSearch.js +73 -448
- package/dist/chrome/HeaderBar.js +6 -1
- package/dist/chrome/LanguagePickerSheet.js +1 -1
- package/dist/chrome/LanguageSwitcher.js +2 -2
- package/dist/chrome/NotificationCenter.js +69 -694
- package/dist/chrome/PanelTabs.js +7 -4
- package/dist/chrome/PluginContextMenuTarget.js +1 -1
- package/dist/chrome/ProductPickerSheet.js +4 -4
- package/dist/chrome/ProductSideNav.js +1 -1
- package/dist/chrome/ProductSwitcher.js +3 -3
- package/dist/chrome/ProfileSwitcher.js +13 -8
- package/dist/chrome/ShortcutHelpDialog.js +2 -1
- package/dist/chrome/SideNavigation.js +75 -239
- package/dist/chrome/Sidebar.js +1 -0
- package/dist/chrome/contextSwitcher/EmptyState.js +32 -0
- package/dist/chrome/contextSwitcher/OrganizationList.js +34 -0
- package/dist/chrome/contextSwitcher/ProjectList.js +34 -0
- package/dist/chrome/contextSwitcher/SearchInput.js +50 -0
- package/dist/chrome/contextSwitcher/TabButton.js +9 -0
- package/dist/chrome/contextSwitcher/TriggerButton.js +38 -0
- package/dist/chrome/contextSwitcher/WorkspaceList.js +34 -0
- package/dist/chrome/contextSwitcher/icons.js +58 -0
- package/dist/chrome/contextSwitcher/useIsMobile.js +11 -0
- package/dist/chrome/globalSearch/AdvancedFiltersPanel.js +253 -0
- package/dist/chrome/globalSearch/CategoryTabs.js +28 -0
- package/dist/chrome/globalSearch/ResultsList.js +58 -0
- package/dist/chrome/globalSearch/SearchInput.js +28 -0
- package/dist/chrome/globalSearch/SearchModeBar.js +36 -0
- package/dist/chrome/globalSearch/useAdvancedFilters.js +78 -0
- package/dist/chrome/globalSearch/utils.js +22 -0
- package/dist/chrome/notificationCenter/BellButton.js +27 -0
- package/dist/chrome/notificationCenter/NotificationCardItem.js +129 -0
- package/dist/chrome/notificationCenter/NotificationFilters.js +67 -0
- package/dist/chrome/notificationCenter/NotificationFooter.js +23 -0
- package/dist/chrome/notificationCenter/NotificationHeader.js +75 -0
- package/dist/chrome/notificationCenter/NotificationList.js +75 -0
- package/dist/chrome/notificationCenter/NotificationPanel.js +19 -0
- package/dist/chrome/notificationCenter/SkeletonCard.js +18 -0
- package/dist/chrome/notificationCenter/constants.js +93 -0
- package/dist/chrome/notificationCenter/gql.js +58 -0
- package/dist/chrome/notificationCenter/useNotificationCenter.js +149 -0
- package/dist/chrome/notificationCenter/usePanelChrome.js +36 -0
- package/dist/chrome/sideNavigation/CollapseToggle.js +29 -0
- package/dist/chrome/sideNavigation/MobileActionsBar.js +25 -0
- package/dist/chrome/sideNavigation/NavItemRenderer.js +79 -0
- package/dist/chrome/sideNavigation/SidebarHeader.js +29 -0
- package/dist/chrome/sideNavigation/helpers.js +19 -0
- package/dist/chrome/sideNavigation/useSideNavigationState.js +45 -0
- package/dist/form/Checkbox.js +17 -15
- package/dist/form/FormDescription.js +9 -10
- package/dist/form/FormField.js +11 -12
- package/dist/form/FormLabel.js +13 -13
- package/dist/form/FormMessage.js +10 -11
- package/dist/form/Input.js +11 -10
- package/dist/form/Radio.js +25 -21
- package/dist/form/Select.js +81 -66
- package/dist/form/Textarea.js +10 -9
- package/dist/shared/components/AccessDenied.js +8 -4
- package/dist/shared/components/AppErrorBoundary.js +2 -0
- package/dist/shared/components/ContextConversationWidget.js +173 -767
- package/dist/shared/components/ErrorFallback.js +3 -0
- package/dist/shared/components/PWAInstallBanner.js +8 -4
- package/dist/shared/components/RequireAuth.js +4 -4
- package/dist/shared/components/SSORedirectGuard.js +1 -1
- package/dist/shared/components/contextConversationWidget/Composer.js +66 -0
- package/dist/shared/components/contextConversationWidget/MessageItem.js +124 -0
- package/dist/shared/components/contextConversationWidget/MessageList.js +32 -0
- package/dist/shared/components/contextConversationWidget/NoWorkspaceCard.js +19 -0
- package/dist/shared/components/contextConversationWidget/PendingAttachmentsBar.js +28 -0
- package/dist/shared/components/contextConversationWidget/ReplyBanner.js +32 -0
- package/dist/shared/components/contextConversationWidget/WidgetHeader.js +70 -0
- package/dist/shared/components/contextConversationWidget/queries.js +197 -0
- package/dist/shared/components/contextConversationWidget/types.js +10 -0
- package/dist/shared/components/contextConversationWidget/useAttachmentUpload.js +57 -0
- package/dist/shared/components/contextConversationWidget/useConversationSubscriptions.js +26 -0
- package/dist/shared/components/contextConversationWidget/useMessageActions.js +34 -0
- package/dist/shared/components/contextConversationWidget/useSendMessage.js +45 -0
- package/dist/shared/components/contextConversationWidget/useWidgetMessages.js +44 -0
- package/dist/shared/components/contextConversationWidget/utils.js +56 -0
- package/dist/shared/feature-flags/FeatureFlagProvider.js +21 -21
- package/dist/shared/geography/GeographyProvider.js +20 -20
- package/dist/shared/graphql/GatewayContext.js +1 -1
- package/dist/shared/motion/MotionList.js +1 -1
- package/dist/shared/pages/AiPage.js +3 -3
- package/dist/shared/pages/SearchPage.js +293 -1071
- package/dist/shared/pages/searchPage/ActiveFilterChips.js +176 -0
- package/dist/shared/pages/searchPage/FiltersPanel.js +329 -0
- package/dist/shared/pages/searchPage/ResultsList.js +119 -0
- package/dist/shared/pages/searchPage/ResultsStatus.js +32 -0
- package/dist/shared/pages/searchPage/SearchInput.js +31 -0
- package/dist/shared/pages/searchPage/SearchPagination.js +37 -0
- package/dist/shared/pages/searchPage/SearchToolbar.js +58 -0
- package/dist/shared/pages/searchPage/constants.js +155 -0
- package/dist/shared/pages/searchPage/utils.js +24 -0
- package/dist/shared/plugins/PluginRuntimeProvider.js +1 -1
- package/dist/shared/providers/shell/ActiveContextProvider.js +12 -12
- package/dist/shared/providers/shell/AppShellContext.js +1 -1
- package/dist/shared/providers/shell/AuthProvider.js +130 -384
- package/dist/shared/providers/shell/AuthTokenProvider.js +6 -6
- package/dist/shared/providers/shell/ContextManagerProvider.js +1 -1
- package/dist/shared/providers/shell/FeatureFlagsProvider.js +5 -5
- package/dist/shared/providers/shell/GlobalUiProvider.js +17 -17
- package/dist/shared/providers/shell/I18nProvider.js +15 -15
- package/dist/shared/providers/shell/PageConversationContextProvider.js +14 -14
- package/dist/shared/providers/shell/PermissionProvider.js +16 -16
- package/dist/shared/providers/shell/ShellUiProvider.js +13 -13
- package/dist/shared/providers/shell/ThemeProvider.js +9 -9
- package/dist/shared/providers/shell/authProvider/bridgeStateSync.js +34 -0
- package/dist/shared/providers/shell/authProvider/jwt.js +13 -0
- package/dist/shared/providers/shell/authProvider/ssoRelay.js +38 -0
- package/dist/shared/providers/shell/authProvider/useAuthActions.js +170 -0
- package/dist/shared/providers/shell/authProvider/useBridgeInitialization.js +86 -0
- package/dist/shared/providers/shell/authProvider/useRemoteSLO.js +32 -0
- package/dist/shared/providers/shell/authProvider/useStorageSync.js +35 -0
- package/dist/shared/providers/shell/authProvider/useTokenExpiryTimer.js +37 -0
- package/dist/shared/tours/TourPlayer.js +1 -0
- package/dist/shared/tours/TourPlayerProvider.js +1 -1
- package/dist/shared/tours/TourTooltip.js +3 -0
- package/dist/shared/tours/TourTrigger.js +86 -259
- package/dist/shared/tours/ToursContext.js +108 -398
- package/dist/shared/tours/tourTrigger/DesktopTourDropdown.js +48 -0
- package/dist/shared/tours/tourTrigger/MobileTourSheet.js +68 -0
- package/dist/shared/tours/tourTrigger/TourListItemDesktop.js +36 -0
- package/dist/shared/tours/tourTrigger/TourListItemMobile.js +47 -0
- package/dist/shared/tours/tourTrigger/TourStatusChip.js +30 -0
- package/dist/shared/tours/tourTrigger/TourTriggerButton.js +22 -0
- package/dist/shared/tours/toursContext/errors.js +18 -0
- package/dist/shared/tours/toursContext/gql.js +152 -0
- package/dist/shared/tours/toursContext/route.js +20 -0
- package/dist/shared/tours/toursContext/session.js +19 -0
- package/dist/shared/tours/toursContext/useIdleReady.js +18 -0
- package/dist/shared/tours/toursContext/useTourMutations.js +118 -0
- package/dist/shared-events.js +3 -3
- package/dist/shared-hooks.js +1 -1
- package/dist/storage/SaveToFilesButton.js +3 -3
- package/dist/storage/SaveToFilesDialog.js +1 -1
- package/dist/tag/TagBadge.js +1 -1
- package/dist/tag/TagsWidget.js +81 -226
- package/dist/tag/tagsWidget/AddTagTrigger.js +14 -0
- package/dist/tag/tagsWidget/TagBadgeList.js +17 -0
- package/dist/tag/tagsWidget/TagSearchPopover.js +80 -0
- package/dist/tag/tagsWidget/operations.js +64 -0
- package/dist/tag/tagsWidget/useVocabResolver.js +30 -0
- package/dist/ui/card.js +44 -39
- package/dist/ui/dropdown-menu.js +82 -66
- package/dist/ui/input.js +10 -10
- package/dist/ui/label.js +13 -11
- package/dist/ui/select.js +80 -66
- package/dist/ui/table.js +61 -54
- package/dist/ui/textarea.js +9 -9
- package/dist/ui/tooltip.js +13 -11
- package/package.json +1 -1
package/dist/ui/dropdown-menu.js
CHANGED
|
@@ -1,72 +1,88 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import * as s from "@radix-ui/react-dropdown-menu";
|
|
2
|
+
import { Check as t, ChevronRight as n, Circle as r } from "lucide-react";
|
|
3
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import * as o from "@radix-ui/react-dropdown-menu";
|
|
6
5
|
//#region src/ui/dropdown-menu.tsx
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}));
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
})
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
})
|
|
65
|
-
|
|
66
|
-
|
|
6
|
+
var s = o.Root, c = o.Trigger, l = o.Group, u = o.Portal, d = o.Sub, f = o.RadioGroup;
|
|
7
|
+
function p({ ref: t, className: r, inset: s, children: c, ...l }) {
|
|
8
|
+
return /* @__PURE__ */ a(o.SubTrigger, {
|
|
9
|
+
ref: t,
|
|
10
|
+
className: e("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent", s && "pl-8", r),
|
|
11
|
+
...l,
|
|
12
|
+
children: [c, /* @__PURE__ */ i(n, { className: "ml-auto size-4" })]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
p.displayName = o.SubTrigger.displayName;
|
|
16
|
+
function m({ ref: t, className: n, ...r }) {
|
|
17
|
+
return /* @__PURE__ */ i(o.SubContent, {
|
|
18
|
+
ref: t,
|
|
19
|
+
className: e("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", n),
|
|
20
|
+
...r
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
m.displayName = o.SubContent.displayName;
|
|
24
|
+
function h({ ref: t, className: n, sideOffset: r = 4, ...a }) {
|
|
25
|
+
return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ i(o.Content, {
|
|
26
|
+
ref: t,
|
|
27
|
+
sideOffset: r,
|
|
28
|
+
className: e("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", n),
|
|
29
|
+
...a
|
|
30
|
+
}) });
|
|
31
|
+
}
|
|
32
|
+
h.displayName = o.Content.displayName;
|
|
33
|
+
function g({ ref: t, className: n, inset: r, ...a }) {
|
|
34
|
+
return /* @__PURE__ */ i(o.Item, {
|
|
35
|
+
ref: t,
|
|
36
|
+
className: e("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", r && "pl-8", n),
|
|
37
|
+
...a
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
g.displayName = o.Item.displayName;
|
|
41
|
+
function _({ ref: n, className: r, children: s, checked: c, ...l }) {
|
|
42
|
+
return /* @__PURE__ */ a(o.CheckboxItem, {
|
|
43
|
+
ref: n,
|
|
44
|
+
className: e("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", r),
|
|
45
|
+
checked: c,
|
|
46
|
+
...l,
|
|
47
|
+
children: [/* @__PURE__ */ i("span", {
|
|
48
|
+
className: "absolute left-2 flex size-3.5 items-center justify-center",
|
|
49
|
+
children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(t, { className: "size-4" }) })
|
|
50
|
+
}), s]
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
_.displayName = o.CheckboxItem.displayName;
|
|
54
|
+
function v({ ref: t, className: n, children: s, ...c }) {
|
|
55
|
+
return /* @__PURE__ */ a(o.RadioItem, {
|
|
56
|
+
ref: t,
|
|
57
|
+
className: e("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", n),
|
|
58
|
+
...c,
|
|
59
|
+
children: [/* @__PURE__ */ i("span", {
|
|
60
|
+
className: "absolute left-2 flex size-3.5 items-center justify-center",
|
|
61
|
+
children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(r, { className: "size-2 fill-current" }) })
|
|
62
|
+
}), s]
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
v.displayName = o.RadioItem.displayName;
|
|
66
|
+
function y({ ref: t, className: n, inset: r, ...a }) {
|
|
67
|
+
return /* @__PURE__ */ i(o.Label, {
|
|
68
|
+
ref: t,
|
|
69
|
+
className: e("px-2 py-1.5 text-sm font-semibold", r && "pl-8", n),
|
|
70
|
+
...a
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
y.displayName = o.Label.displayName;
|
|
74
|
+
function b({ ref: t, className: n, ...r }) {
|
|
75
|
+
return /* @__PURE__ */ i(o.Separator, {
|
|
76
|
+
ref: t,
|
|
77
|
+
className: e("-mx-1 my-1 h-px bg-muted", n),
|
|
78
|
+
...r
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
b.displayName = o.Separator.displayName;
|
|
82
|
+
var x = ({ className: t, ...n }) => /* @__PURE__ */ i("span", {
|
|
67
83
|
className: e("ml-auto text-xs tracking-widest opacity-60", t),
|
|
68
84
|
...n
|
|
69
85
|
});
|
|
70
|
-
|
|
86
|
+
x.displayName = "DropdownMenuShortcut";
|
|
71
87
|
//#endregion
|
|
72
|
-
export {
|
|
88
|
+
export { s as DropdownMenu, _ as DropdownMenuCheckboxItem, h as DropdownMenuContent, l as DropdownMenuGroup, g as DropdownMenuItem, y as DropdownMenuLabel, u as DropdownMenuPortal, f as DropdownMenuRadioGroup, v as DropdownMenuRadioItem, b as DropdownMenuSeparator, x as DropdownMenuShortcut, d as DropdownMenuSub, m as DropdownMenuSubContent, p as DropdownMenuSubTrigger, c as DropdownMenuTrigger };
|
package/dist/ui/input.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
3
|
//#region src/ui/input.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
function n({ ref: n, className: r, type: i, ...a }) {
|
|
5
|
+
return /* @__PURE__ */ t("input", {
|
|
6
|
+
type: i,
|
|
7
|
+
className: e("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background 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 disabled:cursor-not-allowed disabled:opacity-50", r),
|
|
8
|
+
ref: n,
|
|
9
|
+
...a
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
12
|
//#endregion
|
|
13
|
-
export {
|
|
13
|
+
export { n as Input };
|
package/dist/ui/label.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import * as i from "@radix-ui/react-label";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { cva as n } from "class-variance-authority";
|
|
4
|
+
import * as r from "@radix-ui/react-label";
|
|
6
5
|
//#region src/ui/label.tsx
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
o
|
|
6
|
+
var i = n("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
|
|
7
|
+
function a({ ref: n, className: a, ...o }) {
|
|
8
|
+
return /* @__PURE__ */ t(r.Root, {
|
|
9
|
+
ref: n,
|
|
10
|
+
className: e(i(), a),
|
|
11
|
+
...o
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
a.displayName = r.Root.displayName;
|
|
13
15
|
//#endregion
|
|
14
|
-
export {
|
|
16
|
+
export { a as Label };
|
package/dist/ui/select.js
CHANGED
|
@@ -1,69 +1,83 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import * as s from "@radix-ui/react-select";
|
|
2
|
+
import { Check as t, ChevronDown as n, ChevronUp as r } from "lucide-react";
|
|
3
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import * as o from "@radix-ui/react-select";
|
|
6
5
|
//#region src/ui/select.tsx
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
children: /* @__PURE__ */
|
|
14
|
-
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
})
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
})
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
6
|
+
var s = o.Root, c = o.Group, l = o.Value;
|
|
7
|
+
function u({ ref: t, className: r, children: s, ...c }) {
|
|
8
|
+
return /* @__PURE__ */ a(o.Trigger, {
|
|
9
|
+
ref: t,
|
|
10
|
+
className: e("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", r),
|
|
11
|
+
...c,
|
|
12
|
+
children: [s, /* @__PURE__ */ i(o.Icon, {
|
|
13
|
+
asChild: !0,
|
|
14
|
+
children: /* @__PURE__ */ i(n, { className: "size-4 opacity-50" })
|
|
15
|
+
})]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
u.displayName = o.Trigger.displayName;
|
|
19
|
+
function d({ ref: t, className: n, ...a }) {
|
|
20
|
+
return /* @__PURE__ */ i(o.ScrollUpButton, {
|
|
21
|
+
ref: t,
|
|
22
|
+
className: e("flex cursor-default items-center justify-center py-1", n),
|
|
23
|
+
...a,
|
|
24
|
+
children: /* @__PURE__ */ i(r, { className: "size-4" })
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
d.displayName = o.ScrollUpButton.displayName;
|
|
28
|
+
function f({ ref: t, className: r, ...a }) {
|
|
29
|
+
return /* @__PURE__ */ i(o.ScrollDownButton, {
|
|
30
|
+
ref: t,
|
|
31
|
+
className: e("flex cursor-default items-center justify-center py-1", r),
|
|
32
|
+
...a,
|
|
33
|
+
children: /* @__PURE__ */ i(n, { className: "size-4" })
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
f.displayName = o.ScrollDownButton.displayName;
|
|
37
|
+
function p({ ref: t, className: n, children: r, position: s = "popper", ...c }) {
|
|
38
|
+
return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ a(o.Content, {
|
|
39
|
+
ref: t,
|
|
40
|
+
className: e("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", s === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", n),
|
|
41
|
+
position: s,
|
|
42
|
+
...c,
|
|
43
|
+
children: [
|
|
44
|
+
/* @__PURE__ */ i(d, {}),
|
|
45
|
+
/* @__PURE__ */ i(o.Viewport, {
|
|
46
|
+
className: e("p-1", s === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
47
|
+
children: r
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ i(f, {})
|
|
50
|
+
]
|
|
51
|
+
}) });
|
|
52
|
+
}
|
|
53
|
+
p.displayName = o.Content.displayName;
|
|
54
|
+
function m({ ref: t, className: n, ...r }) {
|
|
55
|
+
return /* @__PURE__ */ i(o.Label, {
|
|
56
|
+
ref: t,
|
|
57
|
+
className: e("py-1.5 pl-8 pr-2 text-sm font-semibold", n),
|
|
58
|
+
...r
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
m.displayName = o.Label.displayName;
|
|
62
|
+
function h({ ref: n, className: r, children: s, ...c }) {
|
|
63
|
+
return /* @__PURE__ */ a(o.Item, {
|
|
64
|
+
ref: n,
|
|
65
|
+
className: e("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", r),
|
|
66
|
+
...c,
|
|
67
|
+
children: [/* @__PURE__ */ i("span", {
|
|
68
|
+
className: "absolute left-2 flex size-3.5 items-center justify-center",
|
|
69
|
+
children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(t, { className: "size-4" }) })
|
|
70
|
+
}), /* @__PURE__ */ i(o.ItemText, { children: s })]
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
h.displayName = o.Item.displayName;
|
|
74
|
+
function g({ ref: t, className: n, ...r }) {
|
|
75
|
+
return /* @__PURE__ */ i(o.Separator, {
|
|
76
|
+
ref: t,
|
|
77
|
+
className: e("-mx-1 my-1 h-px bg-muted", n),
|
|
78
|
+
...r
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
g.displayName = o.Separator.displayName;
|
|
68
82
|
//#endregion
|
|
69
|
-
export {
|
|
83
|
+
export { s as Select, p as SelectContent, c as SelectGroup, h as SelectItem, m as SelectLabel, f as SelectScrollDownButton, d as SelectScrollUpButton, g as SelectSeparator, u as SelectTrigger, l as SelectValue };
|
package/dist/ui/table.js
CHANGED
|
@@ -1,57 +1,64 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
3
|
//#region src/ui/table.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
i
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
})
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
4
|
+
function n({ ref: n, className: r, ...i }) {
|
|
5
|
+
return /* @__PURE__ */ t("div", {
|
|
6
|
+
className: "relative w-full overflow-auto",
|
|
7
|
+
children: /* @__PURE__ */ t("table", {
|
|
8
|
+
ref: n,
|
|
9
|
+
className: e("w-full caption-bottom text-sm", r),
|
|
10
|
+
...i
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function r({ ref: n, className: r, ...i }) {
|
|
15
|
+
return /* @__PURE__ */ t("thead", {
|
|
16
|
+
ref: n,
|
|
17
|
+
className: e("[&_tr]:border-b", r),
|
|
18
|
+
...i
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function i({ ref: n, className: r, ...i }) {
|
|
22
|
+
return /* @__PURE__ */ t("tbody", {
|
|
23
|
+
ref: n,
|
|
24
|
+
className: e("[&_tr:last-child]:border-0", r),
|
|
25
|
+
...i
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
function a({ ref: n, className: r, ...i }) {
|
|
29
|
+
return /* @__PURE__ */ t("tfoot", {
|
|
30
|
+
ref: n,
|
|
31
|
+
className: e("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", r),
|
|
32
|
+
...i
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function o({ ref: n, className: r, ...i }) {
|
|
36
|
+
return /* @__PURE__ */ t("tr", {
|
|
37
|
+
ref: n,
|
|
38
|
+
className: e("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", r),
|
|
39
|
+
...i
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
function s({ ref: n, className: r, ...i }) {
|
|
43
|
+
return /* @__PURE__ */ t("th", {
|
|
44
|
+
ref: n,
|
|
45
|
+
className: e("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", r),
|
|
46
|
+
...i
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
function c({ ref: n, className: r, ...i }) {
|
|
50
|
+
return /* @__PURE__ */ t("td", {
|
|
51
|
+
ref: n,
|
|
52
|
+
className: e("p-4 align-middle [&:has([role=checkbox])]:pr-0", r),
|
|
53
|
+
...i
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function l({ ref: n, className: r, ...i }) {
|
|
57
|
+
return /* @__PURE__ */ t("caption", {
|
|
58
|
+
ref: n,
|
|
59
|
+
className: e("mt-4 text-sm text-muted-foreground", r),
|
|
60
|
+
...i
|
|
61
|
+
});
|
|
62
|
+
}
|
|
56
63
|
//#endregion
|
|
57
|
-
export {
|
|
64
|
+
export { n as Table, i as TableBody, l as TableCaption, c as TableCell, a as TableFooter, s as TableHead, r as TableHeader, o as TableRow };
|
package/dist/ui/textarea.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
3
|
//#region src/ui/textarea.tsx
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
function n({ ref: n, className: r, ...i }) {
|
|
5
|
+
return /* @__PURE__ */ t("textarea", {
|
|
6
|
+
className: e("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", r),
|
|
7
|
+
ref: n,
|
|
8
|
+
...i
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
11
|
//#endregion
|
|
12
|
-
export {
|
|
12
|
+
export { n as Textarea };
|
package/dist/ui/tooltip.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { cn as e } from "../shared-utils.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import * as r from "@radix-ui/react-tooltip";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import * as n from "@radix-ui/react-tooltip";
|
|
5
4
|
//#region src/ui/tooltip.tsx
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
var r = n.Provider, i = n.Root, a = n.Trigger;
|
|
6
|
+
function o({ ref: r, className: i, sideOffset: a = 4, ...o }) {
|
|
7
|
+
return /* @__PURE__ */ t(n.Content, {
|
|
8
|
+
ref: r,
|
|
9
|
+
sideOffset: a,
|
|
10
|
+
className: e("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", i),
|
|
11
|
+
...o
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
o.displayName = n.Content.displayName;
|
|
13
15
|
//#endregion
|
|
14
|
-
export {
|
|
16
|
+
export { i as Tooltip, o as TooltipContent, r as TooltipProvider, a as TooltipTrigger };
|