UNPKG

@mikezimm/fps-library-v2

Version:

Library of reusable typescript/javascript functions, interfaces and constants

28 lines (27 loc) 1.98 kB
/** * CodeAnalizerComment: Updated 5 imports on 2024-09-21 23:07:24 * Update:: import { createBannerStyleStr } to '@mikezimm/fps-core-v7/lib/common/commandStyles/defaults;' * Update:: import { IConfigurationProp } to '@mikezimm/fps-core-v7/lib/common/PropPaneHelp/preconfig/IPreConfig;' * Update:: import { doesObjectExistInArray } to '@mikezimm/fps-core-v7/lib/logic/Arrays/searching/objectfind;' * Update:: import { IMinBannerThemeProps } to '@mikezimm/fps-core-v7/lib/banner/interfaces/Theme/Interfaces;' * Update:: import { IPinMeState } to '@mikezimm/fps-core-v7/lib/banner/features/PinMe/Interfaces;' */ import { IConfigurationProp } from "@mikezimm/fps-core-v7/lib/common/PropPaneHelp/preconfig/IPreConfig"; import { IMinBannerThemeProps } from "@mikezimm/fps-core-v7/lib/banner/interfaces/Theme/Interfaces"; import { IPinMeState } from "@mikezimm/fps-core-v7/lib/banner/features/PinMe/Interfaces"; /** * This will update bannerStyle and bannerCmdStyle in the following way * Typically the appPresetCollectionDefaults run before this so it's possible the defBannerTheme is already preset. * If for some reason the bannerStyle or bannerCmdStyle are not properly set in the Pre-ConfiguredProps, this will udpate them based on the bannerStyleChoice * * Then it will adjust bannerCmdStyle fontSize, margins and paddings down so that the PinMe buttons are larger. * NOTE This may have to be adjusted when PinMe is not activated. * * @param thisProps * @param serverRelativeUrl * @param bannerStyleChoice * @returns */ export declare function updateBannerThemeStyles(thisProps: IMinBannerThemeProps, bannerStyleChoice: string, forceUpdate: boolean, defPinState: IPinMeState, forcedProps: IConfigurationProp[]): IMinBannerThemeProps; export declare function refreshBannerStylesOnPropChange(thisProps: IMinBannerThemeProps, propertyPath: string, newValue: string, refreshPane: any): void; //# sourceMappingURL=bannerThemes.d.ts.map