@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,10 +1,10 @@
1
1
  import { TIMEZONE_TO_COUNTRY as e, getCountryByCode as t } from "./countries.js";
2
- import { createContext as n, useCallback as r, useContext as i, useEffect as a, useMemo as o, useState as s } from "react";
2
+ import { createContext as n, use as r, useCallback as i, useEffect as a, useMemo as o, useState as s } from "react";
3
3
  import { jsx as c } from "react/jsx-runtime";
4
4
  //#region src/shared/geography/GeographyProvider.tsx
5
5
  var l = n(null);
6
6
  function u() {
7
- let e = i(l);
7
+ let e = r(l);
8
8
  if (!e) throw Error("useGeography must be used within a GeographyProvider");
9
9
  return e;
10
10
  }
@@ -57,8 +57,8 @@ async function h() {
57
57
  } catch {}
58
58
  return null;
59
59
  }
60
- function g({ children: e, profileId: n, defaultCountry: i = "US", enableAutoDetect: u = !0, onGeographyChange: d }) {
61
- let [f, g] = s(null), [_, v] = s(null), [y, b] = s("USD"), [x, S] = s("UTC"), [C, w] = s(!0), [T, E] = s(!1), D = r((e, n) => {
60
+ function g({ children: e, profileId: n, defaultCountry: r = "US", enableAutoDetect: u = !0, onGeographyChange: d }) {
61
+ let [f, g] = s(null), [_, v] = s(null), [y, b] = s("USD"), [x, S] = s("UTC"), [C, w] = s(!0), [T, E] = s(!1), D = i((e, n) => {
62
62
  let r = t(e);
63
63
  if (!r) return null;
64
64
  let i = n?.currency ?? r.currency, a = n?.timezone ?? r.timezone;
@@ -70,14 +70,14 @@ function g({ children: e, profileId: n, defaultCountry: i = "US", enableAutoDete
70
70
  }, []);
71
71
  a(() => {
72
72
  let e = !1;
73
- async function r() {
73
+ async function i() {
74
74
  w(!0);
75
- let r = p(n);
76
- if (r && t(r.country)) {
75
+ let i = p(n);
76
+ if (i && t(i.country)) {
77
77
  if (e) return;
78
- D(r.country, {
79
- currency: r.currency,
80
- timezone: r.timezone
78
+ D(i.country, {
79
+ currency: i.currency,
80
+ timezone: i.timezone
81
81
  }), E(!1), w(!1);
82
82
  return;
83
83
  }
@@ -91,19 +91,19 @@ function g({ children: e, profileId: n, defaultCountry: i = "US", enableAutoDete
91
91
  }
92
92
  } catch {}
93
93
  if (e) return;
94
- let a = D(i);
94
+ let a = D(r);
95
95
  E(!1), a && m(n, a), w(!1);
96
96
  }
97
- return r(), () => {
97
+ return i(), () => {
98
98
  e = !0;
99
99
  };
100
100
  }, [
101
101
  n,
102
102
  u,
103
- i,
103
+ r,
104
104
  D
105
105
  ]);
106
- let O = r((e) => {
106
+ let O = i((e) => {
107
107
  let r = t(e);
108
108
  if (!r) return;
109
109
  g(r), v(r.code), b(r.currency), S(r.timezone), E(!1);
@@ -113,10 +113,10 @@ function g({ children: e, profileId: n, defaultCountry: i = "US", enableAutoDete
113
113
  timezone: r.timezone
114
114
  };
115
115
  m(n, i), d?.(i);
116
- }, [n, d]), k = r((e) => {
116
+ }, [n, d]), k = i((e) => {
117
117
  b(e);
118
118
  let t = {
119
- country: _ ?? i,
119
+ country: _ ?? r,
120
120
  currency: e,
121
121
  timezone: x
122
122
  };
@@ -125,12 +125,12 @@ function g({ children: e, profileId: n, defaultCountry: i = "US", enableAutoDete
125
125
  n,
126
126
  _,
127
127
  x,
128
- i,
128
+ r,
129
129
  d
130
- ]), A = r((e) => {
130
+ ]), A = i((e) => {
131
131
  S(e);
132
132
  let t = {
133
- country: _ ?? i,
133
+ country: _ ?? r,
134
134
  currency: y,
135
135
  timezone: e
136
136
  };
@@ -139,7 +139,7 @@ function g({ children: e, profileId: n, defaultCountry: i = "US", enableAutoDete
139
139
  n,
140
140
  _,
141
141
  y,
142
- i,
142
+ r,
143
143
  d
144
144
  ]), j = o(() => ({
145
145
  country: f,
@@ -1,4 +1,4 @@
1
- import { createContext as e, useContext as t } from "react";
1
+ import { createContext as e, use as t } from "react";
2
2
  import { jsx as n } from "react/jsx-runtime";
3
3
  //#region src/shared/graphql/GatewayContext.tsx
4
4
  var r = e(null);
@@ -1,6 +1,6 @@
1
1
  import { useHasAnimated as e } from "../hooks/useHasAnimated.js";
2
2
  import { DURATION as t, staggerContainer as n } from "./variants.js";
3
- import { createContext as r, useContext as i } from "react";
3
+ import { createContext as r, use as i } from "react";
4
4
  import { jsx as a } from "react/jsx-runtime";
5
5
  import { motion as o, useReducedMotion as s } from "framer-motion";
6
6
  //#region src/shared/motion/MotionList.tsx
@@ -29,7 +29,7 @@ function s({ productName: t, productId: n }) {
29
29
  className: "flex justify-center",
30
30
  children: /* @__PURE__ */ i("div", {
31
31
  className: "rounded-2xl bg-action-primary-bg/10 p-4",
32
- children: /* @__PURE__ */ i(e, { className: "h-12 w-12 text-action-primary-bg" })
32
+ children: /* @__PURE__ */ i(e, { className: "size-12 text-action-primary-bg" })
33
33
  })
34
34
  }),
35
35
  /* @__PURE__ */ a("div", {
@@ -51,7 +51,7 @@ function s({ productName: t, productId: n }) {
51
51
  children: o.map((e) => /* @__PURE__ */ a("div", {
52
52
  className: "rounded-xl border border-border bg-card p-5 text-left space-y-2",
53
53
  children: [
54
- /* @__PURE__ */ i(e.icon, { className: "h-5 w-5 text-action-primary-bg" }),
54
+ /* @__PURE__ */ i(e.icon, { className: "size-5 text-action-primary-bg" }),
55
55
  /* @__PURE__ */ i("h3", {
56
56
  className: "text-sm font-semibold text-foreground",
57
57
  children: e.title
@@ -67,7 +67,7 @@ function s({ productName: t, productId: n }) {
67
67
  className: "flex justify-center pt-2",
68
68
  children: /* @__PURE__ */ a("span", {
69
69
  className: "inline-flex items-center gap-1.5 rounded-full bg-amber-500/10 px-3 py-1 text-xs font-medium text-amber-600 dark:text-amber-400",
70
- children: [/* @__PURE__ */ i("span", { className: "h-1.5 w-1.5 rounded-full bg-amber-500 animate-pulse" }), "Coming Soon"]
70
+ children: [/* @__PURE__ */ i("span", { className: "size-1.5 rounded-full bg-amber-500 animate-pulse" }), "Coming Soon"]
71
71
  })
72
72
  })
73
73
  ]