sage-nexus-ui 1.1.3 → 1.2.1
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/components/LogoOptions/LogoOption1.d.ts +9 -0
- package/dist/components/LogoOptions/LogoOption2.d.ts +5 -0
- package/dist/components/LogoOptions/LogoOption3.d.ts +6 -0
- package/dist/components/LogoOptions/LogoOption4.d.ts +6 -0
- package/dist/components/LogoOptions/LogoOption5.d.ts +6 -0
- package/dist/components/LogoOptions/LogoOption6.d.ts +6 -0
- package/dist/components/LogoOptions/LogoOption7.d.ts +6 -0
- package/dist/components/LogoOptions/LogoOption8.d.ts +6 -0
- package/dist/components/LogoOptions/LogoOptionBase.d.ts +24 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/stories/LogoOptions.stories.d.ts +12 -0
- package/dist/theme/MuiAppThemeProvider.d.ts +3 -3
- package/dist/theme/fontFaces.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type LogoProps = {
|
|
2
|
+
size?: "sm" | "md" | "lg";
|
|
3
|
+
};
|
|
4
|
+
/**
|
|
5
|
+
* Option 1 — original NexusLogo style (gradient + glow node, Sage Headline)
|
|
6
|
+
* with the Sage wordmark and pipe prepended.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LogoOption1: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const SagePaths: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export type NodeShimmerMode = {
|
|
3
|
+
shimmer: "text";
|
|
4
|
+
} | {
|
|
5
|
+
shimmer: "fullText";
|
|
6
|
+
} | {
|
|
7
|
+
shimmer: "node";
|
|
8
|
+
};
|
|
9
|
+
export type LogoOptionBaseProps = {
|
|
10
|
+
size?: "sm" | "md" | "lg";
|
|
11
|
+
fontFamily: string;
|
|
12
|
+
fontWeight: string | number;
|
|
13
|
+
text: string;
|
|
14
|
+
letterSpacing?: string;
|
|
15
|
+
nodeShimmerMode?: NodeShimmerMode;
|
|
16
|
+
/**
|
|
17
|
+
* Fraction of fontSize added to H/2 to position the text baseline at the
|
|
18
|
+
* optical vertical centre. Use ~0.35 for all-caps / cap-height, ~0.26 for
|
|
19
|
+
* lowercase (x-height is shorter so the baseline sits higher).
|
|
20
|
+
*/
|
|
21
|
+
baselineOffset?: number;
|
|
22
|
+
ariaLabel: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const LogoOptionBase: ({ size, fontFamily, fontWeight, text, letterSpacing, nodeShimmerMode, baselineOffset, ariaLabel, }: LogoOptionBaseProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -335,7 +335,7 @@ declare const useTokens: () => ModeTokens;
|
|
|
335
335
|
type MuiAppThemeProviderProps = PropsWithChildren<{
|
|
336
336
|
mode?: ThemeMode;
|
|
337
337
|
}>;
|
|
338
|
-
declare const MuiAppThemeProvider: ({ children, mode }: MuiAppThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
338
|
+
declare const MuiAppThemeProvider: ({ children, mode, }: MuiAppThemeProviderProps) => react_jsx_runtime.JSX.Element;
|
|
339
339
|
|
|
340
340
|
type ThemeModeContextValue = {
|
|
341
341
|
mode: ThemeMode;
|