@burdenoff/fe-libs 2026.1119.4 → 2026.1119.6

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 (69) hide show
  1. package/dist/chrome/HeaderThemeSwitcher.js +1 -1
  2. package/dist/chrome/ThemePreferences.js +16 -16
  3. package/dist/chrome/appearance/AppearanceColourSection.d.ts +17 -0
  4. package/dist/chrome/appearance/AppearanceColourSection.js +337 -0
  5. package/dist/chrome/appearance/AppearanceDisplaySection.d.ts +7 -0
  6. package/dist/chrome/appearance/AppearanceDisplaySection.js +137 -0
  7. package/dist/chrome/appearance/AppearanceModeDepth.d.ts +11 -0
  8. package/dist/chrome/appearance/AppearanceModeDepth.js +158 -0
  9. package/dist/chrome/appearance/AppearancePreferences.d.ts +13 -0
  10. package/dist/chrome/appearance/AppearancePreferences.js +308 -0
  11. package/dist/chrome/appearance/AppearancePreview.d.ts +23 -0
  12. package/dist/chrome/appearance/AppearancePreview.js +218 -0
  13. package/dist/chrome/appearance/AppearanceThemeSection.d.ts +14 -0
  14. package/dist/chrome/appearance/AppearanceThemeSection.js +162 -0
  15. package/dist/chrome/appearance/ColourPanel.d.ts +37 -0
  16. package/dist/chrome/appearance/ColourPanel.js +264 -0
  17. package/dist/chrome/appearance/ThemeDialog.d.ts +21 -0
  18. package/dist/chrome/appearance/ThemeDialog.js +378 -0
  19. package/dist/chrome/appearance/appearanceShared.d.ts +24 -0
  20. package/dist/chrome/appearance/appearanceShared.js +46 -0
  21. package/dist/chrome/appearance/appearanceUi.d.ts +49 -0
  22. package/dist/chrome/appearance/appearanceUi.js +98 -0
  23. package/dist/chrome/appearance/useAppearanceLabels.d.ts +181 -0
  24. package/dist/chrome/appearance/useAppearanceLabels.js +259 -0
  25. package/dist/chrome/index.d.ts +1 -0
  26. package/dist/chrome/shell/ShellSidebar.js +2 -0
  27. package/dist/chrome/shellLabelManifest.d.ts +6 -0
  28. package/dist/chrome.js +26 -25
  29. package/dist/platform-pages/AppearanceSettingsPage.d.ts +11 -1
  30. package/dist/platform-pages/AppearanceSettingsPage.js +15 -8
  31. package/dist/shared/assistant/ui/composer/AssistantComposer.js +346 -345
  32. package/dist/shared/backgrounds/useBackgroundColors.js +3 -2
  33. package/dist/shared/providers/AppShellProvider.d.ts +20 -1
  34. package/dist/shared/providers/AppShellProvider.js +230 -222
  35. package/dist/shared/providers/shell/PaletteThemeProvider.d.ts +13 -0
  36. package/dist/shared/providers/shell/PaletteThemeProvider.js +366 -0
  37. package/dist/shared/providers/shell/ThemeProvider.d.ts +9 -76
  38. package/dist/shared/providers/shell/ThemeProvider.js +63 -55
  39. package/dist/shared/providers/shell/appearance/colour.d.ts +29 -0
  40. package/dist/shared/providers/shell/appearance/colour.js +79 -0
  41. package/dist/shared/providers/shell/appearance/contrastFix.d.ts +70 -0
  42. package/dist/shared/providers/shell/appearance/contrastFix.js +117 -0
  43. package/dist/shared/providers/shell/appearance/index.d.ts +9 -0
  44. package/dist/shared/providers/shell/appearance/model.d.ts +68 -0
  45. package/dist/shared/providers/shell/appearance/model.js +92 -0
  46. package/dist/shared/providers/shell/appearance/operations.d.ts +70 -0
  47. package/dist/shared/providers/shell/appearance/operations.js +160 -0
  48. package/dist/shared/providers/shell/appearance/palettes.d.ts +111 -0
  49. package/dist/shared/providers/shell/appearance/palettes.js +460 -0
  50. package/dist/shared/providers/shell/appearance/storage.d.ts +39 -0
  51. package/dist/shared/providers/shell/appearance/storage.js +186 -0
  52. package/dist/shared/providers/shell/appearance/tokens.d.ts +5 -0
  53. package/dist/shared/providers/shell/appearance/tokens.js +43 -0
  54. package/dist/shared/providers/shell/appearance/types.d.ts +80 -0
  55. package/dist/shared/providers/shell/appearance/types.js +28 -0
  56. package/dist/shared/providers/shell/index.d.ts +1 -1
  57. package/dist/shared/providers/shell/responsiveDisplaySettings.d.ts +27 -0
  58. package/dist/shared/providers/shell/responsiveDisplaySettings.js +6 -0
  59. package/dist/shared/providers/shell/themeContext.d.ts +162 -0
  60. package/dist/shared/providers/shell/themeContext.js +4 -0
  61. package/dist/shell-native/system-bars.d.ts +5 -1
  62. package/dist/shell-native/system-bars.js +1 -1
  63. package/dist/ui/dropdown-menu.js +2 -0
  64. package/dist/ui/popover.js +1 -0
  65. package/dist/ui/select.js +1 -0
  66. package/package.json +1 -1
  67. package/src/shared/tokens/build/themes.css +266 -0
  68. package/src/shared/tokens/display-settings.css +569 -0
  69. package/src/shared/tokens/tokens.css +4 -0
@@ -54,3 +54,9 @@ export declare const SHELL_LABELS_ADDED_BOFF_11842: readonly string[];
54
54
  * in `shell/profileHelpWords.ts`), and English for any other.
55
55
  */
56
56
  export declare const SHELL_LABELS_ADDED_BOFF_15027: readonly string[];
57
+ /**
58
+ * The keys the palette appearance model's Settings › Appearance added (BOFF-15524, opt-in:
59
+ * FluidGrids). Not in any dictionary yet: seed them into `workspaces` (FluidGrids bundles its
60
+ * six languages meanwhile). Until then each renders its English.
61
+ */
62
+ export declare const SHELL_LABELS_ADDED_BOFF_15524: readonly string[];
package/dist/chrome.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { AppShellLayout as e } from "./chrome/AppShellLayout.js";
2
- import { SHELL_SIDEBAR_WIDTH_VAR as t } from "./shared/constants/shellCssVars.js";
3
- import { PageHeader as n } from "./chrome/PageHeader.js";
2
+ import { PageHeader as t } from "./chrome/PageHeader.js";
3
+ import { SHELL_SIDEBAR_WIDTH_VAR as n } from "./shared/constants/shellCssVars.js";
4
4
  import { HeaderBar as r } from "./chrome/HeaderBar.js";
5
5
  import { FooterBar as i } from "./chrome/FooterBar.js";
6
6
  import { DEFAULT_FOOTER_COLUMNS as a, DEFAULT_SOCIAL_LINKS as o, Footer as s } from "./chrome/Footer.js";
@@ -41,26 +41,27 @@ import { PluginWidgetGrid as $ } from "./chrome/PluginWidgetGrid.js";
41
41
  import { PluginContextMenuTarget as ee } from "./chrome/PluginContextMenuTarget.js";
42
42
  import { PluginFooterStrip as te } from "./chrome/PluginFooterStrip.js";
43
43
  import { ThemePreferences as ne } from "./chrome/ThemePreferences.js";
44
- import { BrandMark as re, DecorativeBrandMarkScope as ie } from "./chrome/BrandMark.js";
45
- import { MobileTabBar as ae } from "./chrome/MobileTabBar.js";
46
- import { useMobileTabBarVisible as oe } from "./chrome/mobileTabBar/useMobileTabBarVisible.js";
47
- import { resolveTabLabel as se, selectMobileTabs as ce } from "./chrome/mobileTabBar/selectTabs.js";
48
- import { NativeTopBar as le } from "./chrome/NativeTopBar.js";
49
- import { SwipeNavigation as ue } from "./chrome/SwipeNavigation.js";
50
- import { NativePageTransition as de } from "./chrome/NativePageTransition.js";
51
- import { findNavTitle as fe, useNativeTopBarTitle as pe } from "./chrome/nativeTopBarTitle.js";
52
- import { shellPathMatchScore as me, useProfileBoundJson as he, useShellNavViews as ge } from "./chrome/shell/useShellNavViews.js";
53
- import { applyShellNavSurface as _e, isShellNavMoreEntry as ve } from "./chrome/shell/shellNavVisibility.js";
54
- import { ShellKbd as ye, ShellRailTooltipLabel as be, ShellSidebar as xe, ShellSidebarCompactRow as Se, ShellSidebarRail as Ce, ShellSidebarSection as we } from "./chrome/shell/ShellSidebar.js";
55
- import { publishShellSidebarWidth as Te, usePublishShellSidebarWidth as Ee } from "./chrome/shell/shellSidebarWidth.js";
56
- import { ShellTopBar as De } from "./chrome/shell/ShellTopBar.js";
57
- import { SegmentedTabs as Oe } from "./chrome/shell/SegmentedTabs.js";
58
- import { WorkspaceMenu as ke } from "./chrome/shell/WorkspaceMenu.js";
59
- import { NewMenu as Ae } from "./chrome/shell/NewMenu.js";
60
- import { SidebarSearchTrigger as je } from "./chrome/shell/SidebarSearchTrigger.js";
61
- import { PlanUsageCard as Me, SidebarProfileMenu as Ne } from "./chrome/shell/SidebarProfileMenu.js";
62
- import { MAX_PINNED_PAGES as Pe, usePinSuggestion as Fe, usePinnedPages as Ie } from "./chrome/shell/usePinnedPages.js";
63
- import { PinSuggestionToast as Le } from "./chrome/shell/PinSuggestionToast.js";
64
- import { ShellBellButton as Re } from "./chrome/notificationCenter/ShellBellButton.js";
65
- import { NotificationPopoverPanel as ze } from "./chrome/notificationCenter/NotificationPopoverPanel.js";
66
- export { E as AccountSwitcher, e as AppShellLayout, P as AutoBreadcrumbs, re as BrandMark, p as Breadcrumbs, u as COMMAND_PALETTE_HELP_SHORTCUT, d as COMMAND_PALETTE_SHORTCUT, f as CommandPalette, b as ContextSwitcher, a as DEFAULT_FOOTER_COLUMNS, o as DEFAULT_SOCIAL_LINKS, ie as DecorativeBrandMarkScope, K as DynamicFooter, s as Footer, i as FooterBar, x as GeographySwitcher, l as GlobalSearch, r as HeaderBar, w as LanguagePickerSheet, y as LanguageSwitcher, Pe as MAX_PINNED_PAGES, ae as MobileTabBar, V as NAV_MORE_ID_PREFIX, de as NativePageTransition, le as NativeTopBar, B as NavCustomizeDialog, m as NavLink, Ae as NewMenu, S as NotificationCenter, ze as NotificationPopoverPanel, n as PageHeader, q as PanelContainer, J as PanelTabs, R as PersonaSimulationPill, z as PersonaSurfaceControls, Le as PinSuggestionToast, Me as PlanUsageCard, ee as PluginContextMenuTarget, te as PluginFooterStrip, X as PluginRoutes, Z as PluginSettingsPage, Q as PluginToolbar, $ as PluginWidgetGrid, T as ProductPickerSheet, L as ProductSideNav, v as ProductSwitcher, _ as ProfileSwitcher, C as PushOptInToggle, t as SHELL_SIDEBAR_WIDTH_VAR, Oe as SegmentedTabs, Re as ShellBellButton, ye as ShellKbd, be as ShellRailTooltipLabel, xe as ShellSidebar, Se as ShellSidebarCompactRow, Ce as ShellSidebarRail, we as ShellSidebarSection, De as ShellTopBar, D as ShortcutHelpDialog, c as SideNavigation, g as Sidebar, Ne as SidebarProfileMenu, je as SidebarSearchTrigger, Y as StatusBar, ue as SwipeNavigation, h as Tabs, ne as ThemePreferences, ke as WorkspaceMenu, H as applyNavVisibility, U as applyPermissionFilter, _e as applyShellNavSurface, W as applySurfaceVisibility, fe as findNavTitle, k as firstProjectOfWorkspace, G as isItemEffectivelyShown, ve as isShellNavMoreEntry, Te as publishShellSidebarWidth, F as registerBreadcrumbName, M as resolveSwitchTarget, se as resolveTabLabel, N as sectionLandingRule, ce as selectMobileTabs, me as shellPathMatchScore, A as switchOrganization, j as switchWorkspace, I as unregisterBreadcrumbName, O as useContextSwitchController, oe as useMobileTabBarVisible, pe as useNativeTopBarTitle, Fe as usePinSuggestion, Ie as usePinnedPages, he as useProfileBoundJson, Ee as usePublishShellSidebarWidth, ge as useShellNavViews };
44
+ import { AppearancePreferences as re } from "./chrome/appearance/AppearancePreferences.js";
45
+ import { BrandMark as ie, DecorativeBrandMarkScope as ae } from "./chrome/BrandMark.js";
46
+ import { MobileTabBar as oe } from "./chrome/MobileTabBar.js";
47
+ import { useMobileTabBarVisible as se } from "./chrome/mobileTabBar/useMobileTabBarVisible.js";
48
+ import { resolveTabLabel as ce, selectMobileTabs as le } from "./chrome/mobileTabBar/selectTabs.js";
49
+ import { NativeTopBar as ue } from "./chrome/NativeTopBar.js";
50
+ import { SwipeNavigation as de } from "./chrome/SwipeNavigation.js";
51
+ import { NativePageTransition as fe } from "./chrome/NativePageTransition.js";
52
+ import { findNavTitle as pe, useNativeTopBarTitle as me } from "./chrome/nativeTopBarTitle.js";
53
+ import { shellPathMatchScore as he, useProfileBoundJson as ge, useShellNavViews as _e } from "./chrome/shell/useShellNavViews.js";
54
+ import { applyShellNavSurface as ve, isShellNavMoreEntry as ye } from "./chrome/shell/shellNavVisibility.js";
55
+ import { ShellKbd as be, ShellRailTooltipLabel as xe, ShellSidebar as Se, ShellSidebarCompactRow as Ce, ShellSidebarRail as we, ShellSidebarSection as Te } from "./chrome/shell/ShellSidebar.js";
56
+ import { publishShellSidebarWidth as Ee, usePublishShellSidebarWidth as De } from "./chrome/shell/shellSidebarWidth.js";
57
+ import { ShellTopBar as Oe } from "./chrome/shell/ShellTopBar.js";
58
+ import { SegmentedTabs as ke } from "./chrome/shell/SegmentedTabs.js";
59
+ import { WorkspaceMenu as Ae } from "./chrome/shell/WorkspaceMenu.js";
60
+ import { NewMenu as je } from "./chrome/shell/NewMenu.js";
61
+ import { SidebarSearchTrigger as Me } from "./chrome/shell/SidebarSearchTrigger.js";
62
+ import { PlanUsageCard as Ne, SidebarProfileMenu as Pe } from "./chrome/shell/SidebarProfileMenu.js";
63
+ import { MAX_PINNED_PAGES as Fe, usePinSuggestion as Ie, usePinnedPages as Le } from "./chrome/shell/usePinnedPages.js";
64
+ import { PinSuggestionToast as Re } from "./chrome/shell/PinSuggestionToast.js";
65
+ import { ShellBellButton as ze } from "./chrome/notificationCenter/ShellBellButton.js";
66
+ import { NotificationPopoverPanel as Be } from "./chrome/notificationCenter/NotificationPopoverPanel.js";
67
+ export { E as AccountSwitcher, e as AppShellLayout, re as AppearancePreferences, P as AutoBreadcrumbs, ie as BrandMark, p as Breadcrumbs, u as COMMAND_PALETTE_HELP_SHORTCUT, d as COMMAND_PALETTE_SHORTCUT, f as CommandPalette, b as ContextSwitcher, a as DEFAULT_FOOTER_COLUMNS, o as DEFAULT_SOCIAL_LINKS, ae as DecorativeBrandMarkScope, K as DynamicFooter, s as Footer, i as FooterBar, x as GeographySwitcher, l as GlobalSearch, r as HeaderBar, w as LanguagePickerSheet, y as LanguageSwitcher, Fe as MAX_PINNED_PAGES, oe as MobileTabBar, V as NAV_MORE_ID_PREFIX, fe as NativePageTransition, ue as NativeTopBar, B as NavCustomizeDialog, m as NavLink, je as NewMenu, S as NotificationCenter, Be as NotificationPopoverPanel, t as PageHeader, q as PanelContainer, J as PanelTabs, R as PersonaSimulationPill, z as PersonaSurfaceControls, Re as PinSuggestionToast, Ne as PlanUsageCard, ee as PluginContextMenuTarget, te as PluginFooterStrip, X as PluginRoutes, Z as PluginSettingsPage, Q as PluginToolbar, $ as PluginWidgetGrid, T as ProductPickerSheet, L as ProductSideNav, v as ProductSwitcher, _ as ProfileSwitcher, C as PushOptInToggle, n as SHELL_SIDEBAR_WIDTH_VAR, ke as SegmentedTabs, ze as ShellBellButton, be as ShellKbd, xe as ShellRailTooltipLabel, Se as ShellSidebar, Ce as ShellSidebarCompactRow, we as ShellSidebarRail, Te as ShellSidebarSection, Oe as ShellTopBar, D as ShortcutHelpDialog, c as SideNavigation, g as Sidebar, Pe as SidebarProfileMenu, Me as SidebarSearchTrigger, Y as StatusBar, de as SwipeNavigation, h as Tabs, ne as ThemePreferences, Ae as WorkspaceMenu, H as applyNavVisibility, U as applyPermissionFilter, ve as applyShellNavSurface, W as applySurfaceVisibility, pe as findNavTitle, k as firstProjectOfWorkspace, G as isItemEffectivelyShown, ye as isShellNavMoreEntry, Ee as publishShellSidebarWidth, F as registerBreadcrumbName, M as resolveSwitchTarget, ce as resolveTabLabel, N as sectionLandingRule, le as selectMobileTabs, he as shellPathMatchScore, A as switchOrganization, j as switchWorkspace, I as unregisterBreadcrumbName, O as useContextSwitchController, se as useMobileTabBarVisible, me as useNativeTopBarTitle, Ie as usePinSuggestion, Le as usePinnedPages, ge as useProfileBoundJson, De as usePublishShellSidebarWidth, _e as useShellNavViews };
@@ -5,6 +5,16 @@ export interface AppearanceSettingsPageProps {
5
5
  * in the same column and spacing. Absent: the page exactly as before.
6
6
  */
7
7
  children?: ReactNode;
8
+ /**
9
+ * BOFF-15524, palette model only: resets the product's own sections with the rest (Reset to
10
+ * defaults) and returns how to put them back (Undo).
11
+ */
12
+ onResetDefaults?: () => () => void;
13
+ /**
14
+ * BOFF-15524, palette model only: what the live preview shows behind the Assistant start
15
+ * page (FluidGrids: its animated background).
16
+ */
17
+ previewBackground?: ReactNode;
8
18
  }
9
- export declare function AppearanceSettingsPage({ children }?: AppearanceSettingsPageProps): import('react').JSX.Element;
19
+ export declare function AppearanceSettingsPage({ children, onResetDefaults, previewBackground, }?: AppearanceSettingsPageProps): import('react').JSX.Element;
10
20
  export default AppearanceSettingsPage;
@@ -1,16 +1,23 @@
1
- import { ThemePreferences as e } from "../chrome/ThemePreferences.js";
2
- import { jsx as t, jsxs as n } from "react/jsx-runtime";
1
+ import { AppearancePreferences as e } from "../chrome/appearance/AppearancePreferences.js";
2
+ import { ThemePreferences as t } from "../chrome/ThemePreferences.js";
3
+ import { useThemeOrNull as n } from "../shared/providers/shell/ThemeProvider.js";
4
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
3
5
  // src/platform-pages/AppearanceSettingsPage.tsx
4
- function r({ children: r } = {}) {
5
- return /* @__PURE__ */ t("div", {
6
+ function a({ children: a, onResetDefaults: o, previewBackground: s } = {}) {
7
+ let c = n()?.appearance ?? null;
8
+ return /* @__PURE__ */ r("div", {
6
9
  className: "min-h-full bg-bg-canvas",
7
- children: /* @__PURE__ */ t("div", {
10
+ children: /* @__PURE__ */ r("div", {
8
11
  className: "mx-auto w-full max-w-6xl px-4 py-6 md:px-6 lg:px-8",
9
- children: r === void 0 ? /* @__PURE__ */ t(e, {}) : /* @__PURE__ */ n("div", {
12
+ children: c ? /* @__PURE__ */ r(e, {
13
+ onResetDefaults: o,
14
+ previewBackground: s,
15
+ children: a
16
+ }) : a === void 0 ? /* @__PURE__ */ r(t, {}) : /* @__PURE__ */ i("div", {
10
17
  className: "flex flex-col gap-6",
11
- children: [/* @__PURE__ */ t(e, {}), r]
18
+ children: [/* @__PURE__ */ r(t, {}), a]
12
19
  })
13
20
  })
14
21
  });
15
22
  }
16
- export { r as AppearanceSettingsPage, r as default };
23
+ export { a as AppearanceSettingsPage, a as default };