@burdenoff/fe-libs 2026.1119.5 → 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.
- package/dist/chrome/HeaderThemeSwitcher.js +1 -1
- package/dist/chrome/ThemePreferences.js +16 -16
- package/dist/chrome/appearance/AppearanceColourSection.d.ts +17 -0
- package/dist/chrome/appearance/AppearanceColourSection.js +337 -0
- package/dist/chrome/appearance/AppearanceDisplaySection.d.ts +7 -0
- package/dist/chrome/appearance/AppearanceDisplaySection.js +137 -0
- package/dist/chrome/appearance/AppearanceModeDepth.d.ts +11 -0
- package/dist/chrome/appearance/AppearanceModeDepth.js +158 -0
- package/dist/chrome/appearance/AppearancePreferences.d.ts +13 -0
- package/dist/chrome/appearance/AppearancePreferences.js +308 -0
- package/dist/chrome/appearance/AppearancePreview.d.ts +23 -0
- package/dist/chrome/appearance/AppearancePreview.js +218 -0
- package/dist/chrome/appearance/AppearanceThemeSection.d.ts +14 -0
- package/dist/chrome/appearance/AppearanceThemeSection.js +162 -0
- package/dist/chrome/appearance/ColourPanel.d.ts +37 -0
- package/dist/chrome/appearance/ColourPanel.js +264 -0
- package/dist/chrome/appearance/ThemeDialog.d.ts +21 -0
- package/dist/chrome/appearance/ThemeDialog.js +378 -0
- package/dist/chrome/appearance/appearanceShared.d.ts +24 -0
- package/dist/chrome/appearance/appearanceShared.js +46 -0
- package/dist/chrome/appearance/appearanceUi.d.ts +49 -0
- package/dist/chrome/appearance/appearanceUi.js +98 -0
- package/dist/chrome/appearance/useAppearanceLabels.d.ts +181 -0
- package/dist/chrome/appearance/useAppearanceLabels.js +259 -0
- package/dist/chrome/index.d.ts +1 -0
- package/dist/chrome/shell/ShellSidebar.js +2 -0
- package/dist/chrome/shellLabelManifest.d.ts +6 -0
- package/dist/chrome.js +26 -25
- package/dist/platform-pages/AppearanceSettingsPage.d.ts +11 -1
- package/dist/platform-pages/AppearanceSettingsPage.js +15 -8
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +346 -345
- package/dist/shared/backgrounds/useBackgroundColors.js +3 -2
- package/dist/shared/providers/AppShellProvider.d.ts +20 -1
- package/dist/shared/providers/AppShellProvider.js +230 -222
- package/dist/shared/providers/shell/PaletteThemeProvider.d.ts +13 -0
- package/dist/shared/providers/shell/PaletteThemeProvider.js +366 -0
- package/dist/shared/providers/shell/ThemeProvider.d.ts +9 -76
- package/dist/shared/providers/shell/ThemeProvider.js +63 -55
- package/dist/shared/providers/shell/appearance/colour.d.ts +29 -0
- package/dist/shared/providers/shell/appearance/colour.js +79 -0
- package/dist/shared/providers/shell/appearance/contrastFix.d.ts +70 -0
- package/dist/shared/providers/shell/appearance/contrastFix.js +117 -0
- package/dist/shared/providers/shell/appearance/index.d.ts +9 -0
- package/dist/shared/providers/shell/appearance/model.d.ts +68 -0
- package/dist/shared/providers/shell/appearance/model.js +92 -0
- package/dist/shared/providers/shell/appearance/operations.d.ts +70 -0
- package/dist/shared/providers/shell/appearance/operations.js +160 -0
- package/dist/shared/providers/shell/appearance/palettes.d.ts +111 -0
- package/dist/shared/providers/shell/appearance/palettes.js +460 -0
- package/dist/shared/providers/shell/appearance/storage.d.ts +39 -0
- package/dist/shared/providers/shell/appearance/storage.js +186 -0
- package/dist/shared/providers/shell/appearance/tokens.d.ts +5 -0
- package/dist/shared/providers/shell/appearance/tokens.js +43 -0
- package/dist/shared/providers/shell/appearance/types.d.ts +80 -0
- package/dist/shared/providers/shell/appearance/types.js +28 -0
- package/dist/shared/providers/shell/index.d.ts +1 -1
- package/dist/shared/providers/shell/responsiveDisplaySettings.d.ts +27 -0
- package/dist/shared/providers/shell/responsiveDisplaySettings.js +6 -0
- package/dist/shared/providers/shell/themeContext.d.ts +162 -0
- package/dist/shared/providers/shell/themeContext.js +4 -0
- package/dist/shell-native/system-bars.d.ts +5 -1
- package/dist/shell-native/system-bars.js +1 -1
- package/dist/ui/dropdown-menu.js +2 -0
- package/dist/ui/popover.js +1 -0
- package/dist/ui/select.js +1 -0
- package/package.json +1 -1
- package/src/shared/tokens/build/themes.css +266 -0
- package/src/shared/tokens/display-settings.css +569 -0
- 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 {
|
|
3
|
-
import {
|
|
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 {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
|
|
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 {
|
|
2
|
-
import {
|
|
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
|
|
5
|
-
|
|
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__ */
|
|
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:
|
|
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
|
|
18
|
+
children: [/* @__PURE__ */ r(t, {}), a]
|
|
12
19
|
})
|
|
13
20
|
})
|
|
14
21
|
});
|
|
15
22
|
}
|
|
16
|
-
export {
|
|
23
|
+
export { a as AppearanceSettingsPage, a as default };
|