@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TIMEZONE_TO_COUNTRY as e, getCountryByCode as t } from "./countries.js";
|
|
2
|
-
import { createContext as n,
|
|
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 =
|
|
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:
|
|
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 =
|
|
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
|
|
73
|
+
async function i() {
|
|
74
74
|
w(!0);
|
|
75
|
-
let
|
|
76
|
-
if (
|
|
75
|
+
let i = p(n);
|
|
76
|
+
if (i && t(i.country)) {
|
|
77
77
|
if (e) return;
|
|
78
|
-
D(
|
|
79
|
-
currency:
|
|
80
|
-
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(
|
|
94
|
+
let a = D(r);
|
|
95
95
|
E(!1), a && m(n, a), w(!1);
|
|
96
96
|
}
|
|
97
|
-
return
|
|
97
|
+
return i(), () => {
|
|
98
98
|
e = !0;
|
|
99
99
|
};
|
|
100
100
|
}, [
|
|
101
101
|
n,
|
|
102
102
|
u,
|
|
103
|
-
|
|
103
|
+
r,
|
|
104
104
|
D
|
|
105
105
|
]);
|
|
106
|
-
let O =
|
|
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 =
|
|
116
|
+
}, [n, d]), k = i((e) => {
|
|
117
117
|
b(e);
|
|
118
118
|
let t = {
|
|
119
|
-
country: _ ??
|
|
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
|
-
|
|
128
|
+
r,
|
|
129
129
|
d
|
|
130
|
-
]), A =
|
|
130
|
+
]), A = i((e) => {
|
|
131
131
|
S(e);
|
|
132
132
|
let t = {
|
|
133
|
-
country: _ ??
|
|
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
|
-
|
|
142
|
+
r,
|
|
143
143
|
d
|
|
144
144
|
]), j = o(() => ({
|
|
145
145
|
country: f,
|
|
@@ -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,
|
|
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: "
|
|
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: "
|
|
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: "
|
|
70
|
+
children: [/* @__PURE__ */ i("span", { className: "size-1.5 rounded-full bg-amber-500 animate-pulse" }), "Coming Soon"]
|
|
71
71
|
})
|
|
72
72
|
})
|
|
73
73
|
]
|