@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,24 +1,24 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
2
  import { useFormField as t } from "./FormField.js";
3
- import * as n from "react";
4
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
- import { cva as a } from "class-variance-authority";
6
- import * as o from "@radix-ui/react-label";
3
+ import "react";
4
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
+ import { cva as i } from "class-variance-authority";
6
+ import * as a from "@radix-ui/react-label";
7
7
  //#region src/form/FormLabel.tsx
8
- var s = a("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), c = n.forwardRef(({ className: n, required: a, children: c, ...l }, u) => {
8
+ var o = i("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
9
+ function s({ ref: i, className: s, required: c, children: l, ...u }) {
9
10
  let { error: d, formItemId: f } = t();
10
- return /* @__PURE__ */ i(o.Root, {
11
- ref: u,
12
- className: e(s(), d && "text-destructive", n),
11
+ return /* @__PURE__ */ r(a.Root, {
12
+ ref: i,
13
+ className: e(o(), d && "text-destructive", s),
13
14
  htmlFor: f,
14
- ...l,
15
- children: [c, a && /* @__PURE__ */ r("span", {
15
+ ...u,
16
+ children: [l, c && /* @__PURE__ */ n("span", {
16
17
  className: "ml-1 text-destructive",
17
18
  "aria-label": "required",
18
19
  children: "*"
19
20
  })]
20
21
  });
21
- });
22
- c.displayName = "FormLabel";
22
+ }
23
23
  //#endregion
24
- export { c as FormLabel };
24
+ export { s as FormLabel };
@@ -1,20 +1,19 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
2
  import { useFormField as t } from "./FormField.js";
3
- import * as n from "react";
4
- import { jsx as r } from "react/jsx-runtime";
3
+ import "react";
4
+ import { jsx as n } from "react/jsx-runtime";
5
5
  //#region src/form/FormMessage.tsx
6
- var i = n.forwardRef(({ className: n, children: i, ...a }, o) => {
7
- let { error: s, formMessageId: c } = t(), l = s ? String(s?.message) : i;
8
- return l ? /* @__PURE__ */ r("p", {
9
- ref: o,
6
+ function r({ ref: r, className: i, children: a, ...o }) {
7
+ let { error: s, formMessageId: c } = t(), l = s ? String(s?.message) : a;
8
+ return l ? /* @__PURE__ */ n("p", {
9
+ ref: r,
10
10
  id: c,
11
- className: e("text-sm font-medium text-destructive", n),
11
+ className: e("text-sm font-medium text-destructive", i),
12
12
  role: "alert",
13
13
  "aria-live": "polite",
14
- ...a,
14
+ ...o,
15
15
  children: l
16
16
  }) : null;
17
- });
18
- i.displayName = "FormMessage";
17
+ }
19
18
  //#endregion
20
- export { i as FormMessage };
19
+ export { r as FormMessage };
@@ -1,13 +1,14 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
- import * as t from "react";
3
- import { jsx as n } from "react/jsx-runtime";
2
+ import "react";
3
+ import { jsx as t } from "react/jsx-runtime";
4
4
  //#region src/form/Input.tsx
5
- var r = t.forwardRef(({ className: t, type: r, ...i }, a) => /* @__PURE__ */ n("input", {
6
- type: r,
7
- className: e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors", "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-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", t),
8
- ref: a,
9
- ...i
10
- }));
11
- r.displayName = "Input";
5
+ function n({ ref: n, className: r, type: i, ...a }) {
6
+ return /* @__PURE__ */ t("input", {
7
+ type: i,
8
+ className: e("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors", "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-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", r),
9
+ ref: n,
10
+ ...a
11
+ });
12
+ }
12
13
  //#endregion
13
- export { r as Input };
14
+ export { n as Input };
@@ -1,24 +1,28 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
- import * as t from "react";
3
- import { Circle as n } from "lucide-react";
4
- import { jsx as r } from "react/jsx-runtime";
5
- import * as i from "@radix-ui/react-radio-group";
2
+ import "react";
3
+ import { Circle as t } from "lucide-react";
4
+ import { jsx as n } from "react/jsx-runtime";
5
+ import * as r from "@radix-ui/react-radio-group";
6
6
  //#region src/form/Radio.tsx
7
- var a = t.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ r(i.Root, {
8
- className: e("grid gap-2", t),
9
- ...n,
10
- ref: a
11
- }));
12
- a.displayName = i.Root.displayName;
13
- var o = t.forwardRef(({ className: t, ...a }, o) => /* @__PURE__ */ r(i.Item, {
14
- ref: o,
15
- className: e("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow", "focus:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", t),
16
- ...a,
17
- children: /* @__PURE__ */ r(i.Indicator, {
18
- className: "flex items-center justify-center",
19
- children: /* @__PURE__ */ r(n, { className: "h-3.5 w-3.5 fill-primary" })
20
- })
21
- }));
22
- o.displayName = i.Item.displayName;
7
+ function i({ ref: t, className: i, ...a }) {
8
+ return /* @__PURE__ */ n(r.Root, {
9
+ className: e("grid gap-2", i),
10
+ ...a,
11
+ ref: t
12
+ });
13
+ }
14
+ i.displayName = r.Root.displayName;
15
+ function a({ ref: i, className: a, ...o }) {
16
+ return /* @__PURE__ */ n(r.Item, {
17
+ ref: i,
18
+ className: e("aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow", "focus:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", a),
19
+ ...o,
20
+ children: /* @__PURE__ */ n(r.Indicator, {
21
+ className: "flex items-center justify-center",
22
+ children: /* @__PURE__ */ n(t, { className: "size-3.5 fill-primary" })
23
+ })
24
+ });
25
+ }
26
+ a.displayName = r.Item.displayName;
23
27
  //#endregion
24
- export { a as RadioGroup, o as RadioGroupItem };
28
+ export { i as RadioGroup, a as RadioGroupItem };
@@ -1,69 +1,84 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
- import * 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 "react";
3
+ import { Check as t, ChevronDown as n, ChevronUp as r } from "lucide-react";
4
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
+ import * as o from "@radix-ui/react-select";
6
6
  //#region src/form/Select.tsx
7
- var c = s.Root, l = s.Group, u = s.Value, d = t.forwardRef(({ className: t, children: n, ...i }, c) => /* @__PURE__ */ o(s.Trigger, {
8
- ref: c,
9
- className: e("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm", "placeholder:text-muted-foreground", "focus:outline-none focus:ring-1 focus:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", "[&>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.forwardRef(({ 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.forwardRef(({ 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.forwardRef(({ 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.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ a(s.Label, {
47
- ref: r,
48
- className: e("px-2 py-1.5 text-sm font-semibold", t),
49
- ...n
50
- }));
51
- h.displayName = s.Label.displayName;
52
- var g = t.forwardRef(({ 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-2 pr-8 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 right-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.forwardRef(({ 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;
7
+ var s = o.Root, c = o.Group, l = o.Value;
8
+ function u({ ref: t, className: r, children: s, ...c }) {
9
+ return /* @__PURE__ */ a(o.Trigger, {
10
+ ref: t,
11
+ className: e("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm", "placeholder:text-muted-foreground", "focus:outline-none focus:ring-1 focus:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", "[&>span]:line-clamp-1", r),
12
+ ...c,
13
+ children: [s, /* @__PURE__ */ i(o.Icon, {
14
+ asChild: !0,
15
+ children: /* @__PURE__ */ i(n, { className: "size-4 opacity-50" })
16
+ })]
17
+ });
18
+ }
19
+ u.displayName = o.Trigger.displayName;
20
+ function d({ ref: t, className: n, ...a }) {
21
+ return /* @__PURE__ */ i(o.ScrollUpButton, {
22
+ ref: t,
23
+ className: e("flex cursor-default items-center justify-center py-1", n),
24
+ ...a,
25
+ children: /* @__PURE__ */ i(r, { className: "size-4" })
26
+ });
27
+ }
28
+ d.displayName = o.ScrollUpButton.displayName;
29
+ function f({ ref: t, className: r, ...a }) {
30
+ return /* @__PURE__ */ i(o.ScrollDownButton, {
31
+ ref: t,
32
+ className: e("flex cursor-default items-center justify-center py-1", r),
33
+ ...a,
34
+ children: /* @__PURE__ */ i(n, { className: "size-4" })
35
+ });
36
+ }
37
+ f.displayName = o.ScrollDownButton.displayName;
38
+ function p({ ref: t, className: n, children: r, position: s = "popper", ...c }) {
39
+ return /* @__PURE__ */ i(o.Portal, { children: /* @__PURE__ */ a(o.Content, {
40
+ ref: t,
41
+ 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),
42
+ position: s,
43
+ ...c,
44
+ children: [
45
+ /* @__PURE__ */ i(d, {}),
46
+ /* @__PURE__ */ i(o.Viewport, {
47
+ className: e("p-1", s === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
48
+ children: r
49
+ }),
50
+ /* @__PURE__ */ i(f, {})
51
+ ]
52
+ }) });
53
+ }
54
+ p.displayName = o.Content.displayName;
55
+ function m({ ref: t, className: n, ...r }) {
56
+ return /* @__PURE__ */ i(o.Label, {
57
+ ref: t,
58
+ className: e("px-2 py-1.5 text-sm font-semibold", n),
59
+ ...r
60
+ });
61
+ }
62
+ m.displayName = o.Label.displayName;
63
+ function h({ ref: n, className: r, children: s, ...c }) {
64
+ return /* @__PURE__ */ a(o.Item, {
65
+ ref: n,
66
+ className: e("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none", "focus:bg-accent focus:text-accent-foreground", "data-[disabled]:pointer-events-none data-[disabled]:opacity-50", r),
67
+ ...c,
68
+ children: [/* @__PURE__ */ i("span", {
69
+ className: "absolute right-2 flex size-3.5 items-center justify-center",
70
+ children: /* @__PURE__ */ i(o.ItemIndicator, { children: /* @__PURE__ */ i(t, { className: "size-4" }) })
71
+ }), /* @__PURE__ */ i(o.ItemText, { children: s })]
72
+ });
73
+ }
74
+ h.displayName = o.Item.displayName;
75
+ function g({ ref: t, className: n, ...r }) {
76
+ return /* @__PURE__ */ i(o.Separator, {
77
+ ref: t,
78
+ className: e("-mx-1 my-1 h-px bg-muted", n),
79
+ ...r
80
+ });
81
+ }
82
+ g.displayName = o.Separator.displayName;
68
83
  //#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 };
84
+ 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 };
@@ -1,12 +1,13 @@
1
1
  import { cn as e } from "../shared-utils.js";
2
- import * as t from "react";
3
- import { jsx as n } from "react/jsx-runtime";
2
+ import "react";
3
+ import { jsx as t } from "react/jsx-runtime";
4
4
  //#region src/form/Textarea.tsx
5
- var r = t.forwardRef(({ className: t, ...r }, i) => /* @__PURE__ */ n("textarea", {
6
- className: e("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm", "placeholder:text-muted-foreground", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", "resize-y", t),
7
- ref: i,
8
- ...r
9
- }));
10
- r.displayName = "Textarea";
5
+ function n({ ref: n, className: r, ...i }) {
6
+ return /* @__PURE__ */ t("textarea", {
7
+ className: e("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm", "placeholder:text-muted-foreground", "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring", "disabled:cursor-not-allowed disabled:opacity-50", "aria-[invalid=true]:border-destructive", "resize-y", r),
8
+ ref: n,
9
+ ...i
10
+ });
11
+ }
11
12
  //#endregion
12
- export { r as Textarea };
13
+ export { n as Textarea };
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
2
  //#region src/shared/components/AccessDenied.tsx
3
3
  function n() {
4
4
  return /* @__PURE__ */ e("svg", {
5
- className: "w-12 h-12 text-status-error-text",
5
+ className: "size-12 text-status-error-text",
6
6
  fill: "none",
7
7
  viewBox: "0 0 24 24",
8
8
  stroke: "currentColor",
@@ -16,7 +16,7 @@ function n() {
16
16
  }
17
17
  function r() {
18
18
  return /* @__PURE__ */ e("svg", {
19
- className: "w-5 h-5 text-status-error-text",
19
+ className: "size-5 text-status-error-text",
20
20
  fill: "none",
21
21
  viewBox: "0 0 24 24",
22
22
  stroke: "currentColor",
@@ -35,7 +35,7 @@ function i({ title: i = "Access Denied", description: a = "You don't have permis
35
35
  className: "bg-bg-surface border border-border-default rounded-lg p-8 max-w-md w-full text-center shadow-sm",
36
36
  children: [
37
37
  /* @__PURE__ */ e("div", {
38
- className: "w-16 h-16 mx-auto mb-6 rounded-full bg-status-error-bg-subtle flex items-center justify-center",
38
+ className: "size-16 mx-auto mb-6 rounded-full bg-status-error-bg-subtle flex items-center justify-center",
39
39
  children: s ?? /* @__PURE__ */ e(n, {})
40
40
  }),
41
41
  /* @__PURE__ */ e("h1", {
@@ -53,10 +53,12 @@ function i({ title: i = "Access Denied", description: a = "You don't have permis
53
53
  (c || l) && /* @__PURE__ */ t("div", {
54
54
  className: "flex flex-col sm:flex-row gap-3 justify-center mt-6",
55
55
  children: [l && /* @__PURE__ */ e("button", {
56
+ type: "button",
56
57
  onClick: l.onClick,
57
58
  className: "px-4 py-2 text-action-secondary-text bg-action-secondary-bg border border-border-default rounded-md hover:bg-action-secondary-bg-hover transition-colors",
58
59
  children: l.label
59
60
  }), c && /* @__PURE__ */ e("button", {
61
+ type: "button",
60
62
  onClick: c.onClick,
61
63
  className: "px-4 py-2 text-action-primary-text bg-action-primary-bg rounded-md hover:bg-action-primary-bg-hover transition-colors",
62
64
  children: c.label
@@ -75,7 +77,7 @@ function i({ title: i = "Access Denied", description: a = "You don't have permis
75
77
  className: `bg-bg-surface border border-border-default rounded-lg p-6 text-center ${d}`,
76
78
  children: [
77
79
  /* @__PURE__ */ e("div", {
78
- className: "w-12 h-12 mx-auto mb-4 rounded-full bg-status-error-bg-subtle flex items-center justify-center",
80
+ className: "size-12 mx-auto mb-4 rounded-full bg-status-error-bg-subtle flex items-center justify-center",
79
81
  children: s ?? /* @__PURE__ */ e(n, {})
80
82
  }),
81
83
  /* @__PURE__ */ e("h2", {
@@ -93,10 +95,12 @@ function i({ title: i = "Access Denied", description: a = "You don't have permis
93
95
  (c || l) && /* @__PURE__ */ t("div", {
94
96
  className: "flex flex-col sm:flex-row gap-2 justify-center mt-4",
95
97
  children: [l && /* @__PURE__ */ e("button", {
98
+ type: "button",
96
99
  onClick: l.onClick,
97
100
  className: "px-3 py-1.5 text-sm text-action-secondary-text bg-action-secondary-bg border border-border-default rounded hover:bg-action-secondary-bg-hover transition-colors",
98
101
  children: l.label
99
102
  }), c && /* @__PURE__ */ e("button", {
103
+ type: "button",
100
104
  onClick: c.onClick,
101
105
  className: "px-3 py-1.5 text-sm text-action-primary-text bg-action-primary-bg rounded hover:bg-action-primary-bg-hover transition-colors",
102
106
  children: c.label
@@ -134,6 +134,7 @@ var i = class extends e {
134
134
  justifyContent: "center"
135
135
  },
136
136
  children: [/* @__PURE__ */ t("button", {
137
+ type: "button",
137
138
  onClick: this.handleReload,
138
139
  style: {
139
140
  padding: "0.75rem 1.5rem",
@@ -153,6 +154,7 @@ var i = class extends e {
153
154
  },
154
155
  children: "Reload Application"
155
156
  }), r() && /* @__PURE__ */ t("button", {
157
+ type: "button",
156
158
  onClick: () => {
157
159
  this.setState({
158
160
  hasError: !1,