@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.
Files changed (161) hide show
  1. package/dist/button/Button.js +18 -16
  2. package/dist/chrome/AccountSwitcher.js +10 -7
  3. package/dist/chrome/AutoBreadcrumbs.js +2 -0
  4. package/dist/chrome/Breadcrumbs.js +2 -0
  5. package/dist/chrome/CommandPalette.js +5 -3
  6. package/dist/chrome/ContextSwitcher.js +90 -338
  7. package/dist/chrome/DynamicFooter.js +7 -7
  8. package/dist/chrome/Footer.js +5 -5
  9. package/dist/chrome/GeographySwitcher.js +3 -3
  10. package/dist/chrome/GlobalSearch.js +73 -448
  11. package/dist/chrome/HeaderBar.js +6 -1
  12. package/dist/chrome/LanguagePickerSheet.js +1 -1
  13. package/dist/chrome/LanguageSwitcher.js +2 -2
  14. package/dist/chrome/NotificationCenter.js +69 -694
  15. package/dist/chrome/PanelTabs.js +7 -4
  16. package/dist/chrome/PluginContextMenuTarget.js +1 -1
  17. package/dist/chrome/ProductPickerSheet.js +4 -4
  18. package/dist/chrome/ProductSideNav.js +1 -1
  19. package/dist/chrome/ProductSwitcher.js +3 -3
  20. package/dist/chrome/ProfileSwitcher.js +13 -8
  21. package/dist/chrome/ShortcutHelpDialog.js +2 -1
  22. package/dist/chrome/SideNavigation.js +75 -239
  23. package/dist/chrome/Sidebar.js +1 -0
  24. package/dist/chrome/contextSwitcher/EmptyState.js +32 -0
  25. package/dist/chrome/contextSwitcher/OrganizationList.js +34 -0
  26. package/dist/chrome/contextSwitcher/ProjectList.js +34 -0
  27. package/dist/chrome/contextSwitcher/SearchInput.js +50 -0
  28. package/dist/chrome/contextSwitcher/TabButton.js +9 -0
  29. package/dist/chrome/contextSwitcher/TriggerButton.js +38 -0
  30. package/dist/chrome/contextSwitcher/WorkspaceList.js +34 -0
  31. package/dist/chrome/contextSwitcher/icons.js +58 -0
  32. package/dist/chrome/contextSwitcher/useIsMobile.js +11 -0
  33. package/dist/chrome/globalSearch/AdvancedFiltersPanel.js +253 -0
  34. package/dist/chrome/globalSearch/CategoryTabs.js +28 -0
  35. package/dist/chrome/globalSearch/ResultsList.js +58 -0
  36. package/dist/chrome/globalSearch/SearchInput.js +28 -0
  37. package/dist/chrome/globalSearch/SearchModeBar.js +36 -0
  38. package/dist/chrome/globalSearch/useAdvancedFilters.js +78 -0
  39. package/dist/chrome/globalSearch/utils.js +22 -0
  40. package/dist/chrome/notificationCenter/BellButton.js +27 -0
  41. package/dist/chrome/notificationCenter/NotificationCardItem.js +129 -0
  42. package/dist/chrome/notificationCenter/NotificationFilters.js +67 -0
  43. package/dist/chrome/notificationCenter/NotificationFooter.js +23 -0
  44. package/dist/chrome/notificationCenter/NotificationHeader.js +75 -0
  45. package/dist/chrome/notificationCenter/NotificationList.js +75 -0
  46. package/dist/chrome/notificationCenter/NotificationPanel.js +19 -0
  47. package/dist/chrome/notificationCenter/SkeletonCard.js +18 -0
  48. package/dist/chrome/notificationCenter/constants.js +93 -0
  49. package/dist/chrome/notificationCenter/gql.js +58 -0
  50. package/dist/chrome/notificationCenter/useNotificationCenter.js +149 -0
  51. package/dist/chrome/notificationCenter/usePanelChrome.js +36 -0
  52. package/dist/chrome/sideNavigation/CollapseToggle.js +29 -0
  53. package/dist/chrome/sideNavigation/MobileActionsBar.js +25 -0
  54. package/dist/chrome/sideNavigation/NavItemRenderer.js +79 -0
  55. package/dist/chrome/sideNavigation/SidebarHeader.js +29 -0
  56. package/dist/chrome/sideNavigation/helpers.js +19 -0
  57. package/dist/chrome/sideNavigation/useSideNavigationState.js +45 -0
  58. package/dist/form/Checkbox.js +17 -15
  59. package/dist/form/FormDescription.js +9 -10
  60. package/dist/form/FormField.js +11 -12
  61. package/dist/form/FormLabel.js +13 -13
  62. package/dist/form/FormMessage.js +10 -11
  63. package/dist/form/Input.js +11 -10
  64. package/dist/form/Radio.js +25 -21
  65. package/dist/form/Select.js +81 -66
  66. package/dist/form/Textarea.js +10 -9
  67. package/dist/shared/components/AccessDenied.js +8 -4
  68. package/dist/shared/components/AppErrorBoundary.js +2 -0
  69. package/dist/shared/components/ContextConversationWidget.js +173 -767
  70. package/dist/shared/components/ErrorFallback.js +3 -0
  71. package/dist/shared/components/PWAInstallBanner.js +8 -4
  72. package/dist/shared/components/RequireAuth.js +4 -4
  73. package/dist/shared/components/SSORedirectGuard.js +1 -1
  74. package/dist/shared/components/contextConversationWidget/Composer.js +66 -0
  75. package/dist/shared/components/contextConversationWidget/MessageItem.js +124 -0
  76. package/dist/shared/components/contextConversationWidget/MessageList.js +32 -0
  77. package/dist/shared/components/contextConversationWidget/NoWorkspaceCard.js +19 -0
  78. package/dist/shared/components/contextConversationWidget/PendingAttachmentsBar.js +28 -0
  79. package/dist/shared/components/contextConversationWidget/ReplyBanner.js +32 -0
  80. package/dist/shared/components/contextConversationWidget/WidgetHeader.js +70 -0
  81. package/dist/shared/components/contextConversationWidget/queries.js +197 -0
  82. package/dist/shared/components/contextConversationWidget/types.js +10 -0
  83. package/dist/shared/components/contextConversationWidget/useAttachmentUpload.js +57 -0
  84. package/dist/shared/components/contextConversationWidget/useConversationSubscriptions.js +26 -0
  85. package/dist/shared/components/contextConversationWidget/useMessageActions.js +34 -0
  86. package/dist/shared/components/contextConversationWidget/useSendMessage.js +45 -0
  87. package/dist/shared/components/contextConversationWidget/useWidgetMessages.js +44 -0
  88. package/dist/shared/components/contextConversationWidget/utils.js +56 -0
  89. package/dist/shared/feature-flags/FeatureFlagProvider.js +21 -21
  90. package/dist/shared/geography/GeographyProvider.js +20 -20
  91. package/dist/shared/graphql/GatewayContext.js +1 -1
  92. package/dist/shared/motion/MotionList.js +1 -1
  93. package/dist/shared/pages/AiPage.js +3 -3
  94. package/dist/shared/pages/SearchPage.js +293 -1071
  95. package/dist/shared/pages/searchPage/ActiveFilterChips.js +176 -0
  96. package/dist/shared/pages/searchPage/FiltersPanel.js +329 -0
  97. package/dist/shared/pages/searchPage/ResultsList.js +119 -0
  98. package/dist/shared/pages/searchPage/ResultsStatus.js +32 -0
  99. package/dist/shared/pages/searchPage/SearchInput.js +31 -0
  100. package/dist/shared/pages/searchPage/SearchPagination.js +37 -0
  101. package/dist/shared/pages/searchPage/SearchToolbar.js +58 -0
  102. package/dist/shared/pages/searchPage/constants.js +155 -0
  103. package/dist/shared/pages/searchPage/utils.js +24 -0
  104. package/dist/shared/plugins/PluginRuntimeProvider.js +1 -1
  105. package/dist/shared/providers/shell/ActiveContextProvider.js +12 -12
  106. package/dist/shared/providers/shell/AppShellContext.js +1 -1
  107. package/dist/shared/providers/shell/AuthProvider.js +130 -384
  108. package/dist/shared/providers/shell/AuthTokenProvider.js +6 -6
  109. package/dist/shared/providers/shell/ContextManagerProvider.js +1 -1
  110. package/dist/shared/providers/shell/FeatureFlagsProvider.js +5 -5
  111. package/dist/shared/providers/shell/GlobalUiProvider.js +17 -17
  112. package/dist/shared/providers/shell/I18nProvider.js +15 -15
  113. package/dist/shared/providers/shell/PageConversationContextProvider.js +14 -14
  114. package/dist/shared/providers/shell/PermissionProvider.js +16 -16
  115. package/dist/shared/providers/shell/ShellUiProvider.js +13 -13
  116. package/dist/shared/providers/shell/ThemeProvider.js +9 -9
  117. package/dist/shared/providers/shell/authProvider/bridgeStateSync.js +34 -0
  118. package/dist/shared/providers/shell/authProvider/jwt.js +13 -0
  119. package/dist/shared/providers/shell/authProvider/ssoRelay.js +38 -0
  120. package/dist/shared/providers/shell/authProvider/useAuthActions.js +170 -0
  121. package/dist/shared/providers/shell/authProvider/useBridgeInitialization.js +86 -0
  122. package/dist/shared/providers/shell/authProvider/useRemoteSLO.js +32 -0
  123. package/dist/shared/providers/shell/authProvider/useStorageSync.js +35 -0
  124. package/dist/shared/providers/shell/authProvider/useTokenExpiryTimer.js +37 -0
  125. package/dist/shared/tours/TourPlayer.js +1 -0
  126. package/dist/shared/tours/TourPlayerProvider.js +1 -1
  127. package/dist/shared/tours/TourTooltip.js +3 -0
  128. package/dist/shared/tours/TourTrigger.js +86 -259
  129. package/dist/shared/tours/ToursContext.js +108 -398
  130. package/dist/shared/tours/tourTrigger/DesktopTourDropdown.js +48 -0
  131. package/dist/shared/tours/tourTrigger/MobileTourSheet.js +68 -0
  132. package/dist/shared/tours/tourTrigger/TourListItemDesktop.js +36 -0
  133. package/dist/shared/tours/tourTrigger/TourListItemMobile.js +47 -0
  134. package/dist/shared/tours/tourTrigger/TourStatusChip.js +30 -0
  135. package/dist/shared/tours/tourTrigger/TourTriggerButton.js +22 -0
  136. package/dist/shared/tours/toursContext/errors.js +18 -0
  137. package/dist/shared/tours/toursContext/gql.js +152 -0
  138. package/dist/shared/tours/toursContext/route.js +20 -0
  139. package/dist/shared/tours/toursContext/session.js +19 -0
  140. package/dist/shared/tours/toursContext/useIdleReady.js +18 -0
  141. package/dist/shared/tours/toursContext/useTourMutations.js +118 -0
  142. package/dist/shared-events.js +3 -3
  143. package/dist/shared-hooks.js +1 -1
  144. package/dist/storage/SaveToFilesButton.js +3 -3
  145. package/dist/storage/SaveToFilesDialog.js +1 -1
  146. package/dist/tag/TagBadge.js +1 -1
  147. package/dist/tag/TagsWidget.js +81 -226
  148. package/dist/tag/tagsWidget/AddTagTrigger.js +14 -0
  149. package/dist/tag/tagsWidget/TagBadgeList.js +17 -0
  150. package/dist/tag/tagsWidget/TagSearchPopover.js +80 -0
  151. package/dist/tag/tagsWidget/operations.js +64 -0
  152. package/dist/tag/tagsWidget/useVocabResolver.js +30 -0
  153. package/dist/ui/card.js +44 -39
  154. package/dist/ui/dropdown-menu.js +82 -66
  155. package/dist/ui/input.js +10 -10
  156. package/dist/ui/label.js +13 -11
  157. package/dist/ui/select.js +80 -66
  158. package/dist/ui/table.js +61 -54
  159. package/dist/ui/textarea.js +9 -9
  160. package/dist/ui/tooltip.js +13 -11
  161. package/package.json +1 -1
@@ -1,72 +1,88 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
- import { forwardRef as t } from "react";
3
- import { Check as n, ChevronRight as r, Circle as i } from "lucide-react";
4
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
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 c = s.Root, l = s.Trigger, u = s.Group, d = s.Portal, f = s.Sub, p = s.RadioGroup, m = t(({ className: t, inset: n, children: i, ...c }, l) => /* @__PURE__ */ o(s.SubTrigger, {
8
- ref: l,
9
- 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", n && "pl-8", t),
10
- ...c,
11
- children: [i, /* @__PURE__ */ a(r, { className: "ml-auto h-4 w-4" })]
12
- }));
13
- m.displayName = s.SubTrigger.displayName;
14
- var h = t(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.SubContent, {
15
- ref: r,
16
- 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", t),
17
- ...n
18
- }));
19
- h.displayName = s.SubContent.displayName;
20
- var g = t(({ className: t, sideOffset: n = 4, ...r }, i) => /* @__PURE__ */ a(s.Portal, { children: /* @__PURE__ */ a(s.Content, {
21
- ref: i,
22
- sideOffset: n,
23
- 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", t),
24
- ...r
25
- }) }));
26
- g.displayName = s.Content.displayName;
27
- var _ = t(({ className: t, inset: n, ...r }, i) => /* @__PURE__ */ a(s.Item, {
28
- ref: i,
29
- 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", n && "pl-8", t),
30
- ...r
31
- }));
32
- _.displayName = s.Item.displayName;
33
- var v = t(({ className: t, children: r, checked: i, ...c }, l) => /* @__PURE__ */ o(s.CheckboxItem, {
34
- ref: l,
35
- 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", t),
36
- checked: i,
37
- ...c,
38
- children: [/* @__PURE__ */ a("span", {
39
- className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
40
- children: /* @__PURE__ */ a(s.ItemIndicator, { children: /* @__PURE__ */ a(n, { className: "h-4 w-4" }) })
41
- }), r]
42
- }));
43
- v.displayName = s.CheckboxItem.displayName;
44
- var y = t(({ className: t, children: n, ...r }, c) => /* @__PURE__ */ o(s.RadioItem, {
45
- ref: c,
46
- 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", t),
47
- ...r,
48
- children: [/* @__PURE__ */ a("span", {
49
- className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
50
- children: /* @__PURE__ */ a(s.ItemIndicator, { children: /* @__PURE__ */ a(i, { className: "h-2 w-2 fill-current" }) })
51
- }), n]
52
- }));
53
- y.displayName = s.RadioItem.displayName;
54
- var b = t(({ className: t, inset: n, ...r }, i) => /* @__PURE__ */ a(s.Label, {
55
- ref: i,
56
- className: e("px-2 py-1.5 text-sm font-semibold", n && "pl-8", t),
57
- ...r
58
- }));
59
- b.displayName = s.Label.displayName;
60
- var x = t(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.Separator, {
61
- ref: r,
62
- className: e("-mx-1 my-1 h-px bg-muted", t),
63
- ...n
64
- }));
65
- x.displayName = s.Separator.displayName;
66
- var S = ({ className: t, ...n }) => /* @__PURE__ */ a("span", {
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
- S.displayName = "DropdownMenuShortcut";
86
+ x.displayName = "DropdownMenuShortcut";
71
87
  //#endregion
72
- 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 };
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 { forwardRef as t } from "react";
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
- var r = t(({ className: t, type: r, ...i }, a) => /* @__PURE__ */ n("input", {
6
- type: r,
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", t),
8
- ref: a,
9
- ...i
10
- }));
11
- r.displayName = "Input";
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 { r as Input };
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 { forwardRef as t } from "react";
3
- import { jsx as n } from "react/jsx-runtime";
4
- import { cva as r } from "class-variance-authority";
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 a = r("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), o = t(({ className: t, ...r }, o) => /* @__PURE__ */ n(i.Root, {
8
- ref: o,
9
- className: e(a(), t),
10
- ...r
11
- }));
12
- o.displayName = i.Root.displayName;
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 { o as Label };
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 { forwardRef as t } from "react";
3
- import { Check as n, ChevronDown as r, ChevronUp as i } from "lucide-react";
4
- import { jsx as a, jsxs as o } from "react/jsx-runtime";
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 c = s.Root, l = s.Group, u = s.Value, d = t(({ className: t, children: n, ...i }, c) => /* @__PURE__ */ o(s.Trigger, {
8
- ref: c,
9
- 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", t),
10
- ...i,
11
- children: [n, /* @__PURE__ */ a(s.Icon, {
12
- asChild: !0,
13
- children: /* @__PURE__ */ a(r, { className: "h-4 w-4 opacity-50" })
14
- })]
15
- }));
16
- d.displayName = s.Trigger.displayName;
17
- var f = t(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.ScrollUpButton, {
18
- ref: r,
19
- className: e("flex cursor-default items-center justify-center py-1", t),
20
- ...n,
21
- children: /* @__PURE__ */ a(i, { className: "h-4 w-4" })
22
- }));
23
- f.displayName = s.ScrollUpButton.displayName;
24
- var p = t(({ className: t, ...n }, i) => /* @__PURE__ */ a(s.ScrollDownButton, {
25
- ref: i,
26
- className: e("flex cursor-default items-center justify-center py-1", t),
27
- ...n,
28
- children: /* @__PURE__ */ a(r, { className: "h-4 w-4" })
29
- }));
30
- p.displayName = s.ScrollDownButton.displayName;
31
- var m = t(({ className: t, children: n, position: r = "popper", ...i }, c) => /* @__PURE__ */ a(s.Portal, { children: /* @__PURE__ */ o(s.Content, {
32
- ref: c,
33
- 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", r === "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", t),
34
- position: r,
35
- ...i,
36
- children: [
37
- /* @__PURE__ */ a(f, {}),
38
- /* @__PURE__ */ a(s.Viewport, {
39
- className: e("p-1", r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
40
- children: n
41
- }),
42
- /* @__PURE__ */ a(p, {})
43
- ]
44
- }) }));
45
- m.displayName = s.Content.displayName;
46
- var h = t(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.Label, {
47
- ref: r,
48
- className: e("py-1.5 pl-8 pr-2 text-sm font-semibold", t),
49
- ...n
50
- }));
51
- h.displayName = s.Label.displayName;
52
- var g = t(({ className: t, children: r, ...i }, c) => /* @__PURE__ */ o(s.Item, {
53
- ref: c,
54
- 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", t),
55
- ...i,
56
- children: [/* @__PURE__ */ a("span", {
57
- className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
58
- children: /* @__PURE__ */ a(s.ItemIndicator, { children: /* @__PURE__ */ a(n, { className: "h-4 w-4" }) })
59
- }), /* @__PURE__ */ a(s.ItemText, { children: r })]
60
- }));
61
- g.displayName = s.Item.displayName;
62
- var _ = t(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.Separator, {
63
- ref: r,
64
- className: e("-mx-1 my-1 h-px bg-muted", t),
65
- ...n
66
- }));
67
- _.displayName = s.Separator.displayName;
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 { c as Select, m as SelectContent, l as SelectGroup, g as SelectItem, h as SelectLabel, p as SelectScrollDownButton, f as SelectScrollUpButton, _ as SelectSeparator, d as SelectTrigger, u as SelectValue };
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 { forwardRef as t } from "react";
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
- var r = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("div", {
6
- className: "relative w-full overflow-auto",
7
- children: /* @__PURE__ */ n("table", {
8
- ref: i,
9
- className: e("w-full caption-bottom text-sm", t),
10
- ...r
11
- })
12
- }));
13
- r.displayName = "Table";
14
- var i = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("thead", {
15
- ref: i,
16
- className: e("[&_tr]:border-b", t),
17
- ...r
18
- }));
19
- i.displayName = "TableHeader";
20
- var a = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("tbody", {
21
- ref: i,
22
- className: e("[&_tr:last-child]:border-0", t),
23
- ...r
24
- }));
25
- a.displayName = "TableBody";
26
- var o = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("tfoot", {
27
- ref: i,
28
- className: e("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", t),
29
- ...r
30
- }));
31
- o.displayName = "TableFooter";
32
- var s = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("tr", {
33
- ref: i,
34
- className: e("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", t),
35
- ...r
36
- }));
37
- s.displayName = "TableRow";
38
- var c = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("th", {
39
- ref: i,
40
- className: e("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", t),
41
- ...r
42
- }));
43
- c.displayName = "TableHead";
44
- var l = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("td", {
45
- ref: i,
46
- className: e("p-4 align-middle [&:has([role=checkbox])]:pr-0", t),
47
- ...r
48
- }));
49
- l.displayName = "TableCell";
50
- var u = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("caption", {
51
- ref: i,
52
- className: e("mt-4 text-sm text-muted-foreground", t),
53
- ...r
54
- }));
55
- u.displayName = "TableCaption";
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 { r as Table, a as TableBody, u as TableCaption, l as TableCell, o as TableFooter, c as TableHead, i as TableHeader, s as TableRow };
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 };
@@ -1,12 +1,12 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
- import { forwardRef as t } from "react";
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
- var r = t(({ className: t, ...r }, i) => /* @__PURE__ */ n("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", t),
7
- ref: i,
8
- ...r
9
- }));
10
- r.displayName = "Textarea";
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 { r as Textarea };
12
+ export { n as Textarea };
@@ -1,14 +1,16 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
- import { forwardRef as t } from "react";
3
- import { jsx as n } from "react/jsx-runtime";
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 i = r.Provider, a = r.Root, o = r.Trigger, s = t(({ className: t, sideOffset: i = 4, ...a }, o) => /* @__PURE__ */ n(r.Content, {
7
- ref: o,
8
- sideOffset: i,
9
- 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", t),
10
- ...a
11
- }));
12
- s.displayName = r.Content.displayName;
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 { a as Tooltip, s as TooltipContent, i as TooltipProvider, o as TooltipTrigger };
16
+ export { i as Tooltip, o as TooltipContent, r as TooltipProvider, a as TooltipTrigger };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/fe-libs",
3
- "version": "2026.527.2",
3
+ "version": "2026.527.4",
4
4
  "description": "Burdenoff frontend primitives and domain libraries",
5
5
  "type": "module",
6
6
  "imports": {