sage-nexus-ui 1.2.6 → 1.3.0

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.
@@ -1,6 +1,6 @@
1
1
  type LogoProps = {
2
2
  size?: "sm" | "md" | "lg";
3
3
  };
4
- /** Option 10 — Arial Medium, NEXUS all-caps, shimmer on X glyph */
4
+ /** Option 10 — Sage UI Light, NEXUS all-caps, shimmer on whole word */
5
5
  export declare const LogoOption10: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -1,6 +1,5 @@
1
1
  type LogoProps = {
2
2
  size?: "sm" | "md" | "lg";
3
3
  };
4
- /** Option 11 — Arial Medium, NEXUS all-caps, shimmer on node icon */
5
4
  export declare const LogoOption11: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
6
5
  export {};
@@ -1,6 +1,6 @@
1
1
  type LogoProps = {
2
2
  size?: "sm" | "md" | "lg";
3
3
  };
4
- /** Option 12 — Arial Medium, NEXUS all-caps, shimmer on whole word */
4
+ /** Option 12 — Arial Bold, NEXUS all-caps, shimmer on node icon */
5
5
  export declare const LogoOption12: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -0,0 +1,6 @@
1
+ type LogoProps = {
2
+ size?: "sm" | "md" | "lg";
3
+ };
4
+ /** Option 13 — Arial Medium, NEXUS all-caps, shimmer on X glyph */
5
+ export declare const LogoOption13: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ type LogoProps = {
2
+ size?: "sm" | "md" | "lg";
3
+ };
4
+ /** Option 14 — Arial Medium, NEXUS all-caps, shimmer on node icon */
5
+ export declare const LogoOption14: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ type LogoProps = {
2
+ size?: "sm" | "md" | "lg";
3
+ };
4
+ /** Option 15 — Arial Medium, NEXUS all-caps, shimmer on whole word */
5
+ export declare const LogoOption15: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -1,5 +1,6 @@
1
1
  type LogoProps = {
2
2
  size?: "sm" | "md" | "lg";
3
3
  };
4
+ /** Option 8 — Sage UI Light, NEXUS all-caps, shimmer on X glyph */
4
5
  export declare const LogoOption8: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
5
6
  export {};
@@ -1,6 +1,6 @@
1
1
  type LogoProps = {
2
2
  size?: "sm" | "md" | "lg";
3
3
  };
4
- /** Option 9 — Arial Bold, NEXUS all-caps, shimmer on node icon */
4
+ /** Option 9 — Sage UI Light, NEXUS all-caps, shimmer on node icon */
5
5
  export declare const LogoOption9: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
6
6
  export {};
@@ -11,6 +11,9 @@ export * from "./LogoOption9";
11
11
  export * from "./LogoOption10";
12
12
  export * from "./LogoOption11";
13
13
  export * from "./LogoOption12";
14
+ export * from "./LogoOption13";
15
+ export * from "./LogoOption14";
16
+ export * from "./LogoOption15";
14
17
  export declare const LogoOptions: {
15
18
  LogoOptionBase: ({ size, fontFamily, fontWeight, text, letterSpacing, nodeShimmerMode, baselineOffset, ariaLabel, }: import("./LogoOptionBase").LogoOptionBaseProps) => import("react/jsx-runtime").JSX.Element;
16
19
  LogoOption1: ({ size }: {
@@ -49,5 +52,14 @@ export declare const LogoOptions: {
49
52
  LogoOption12: ({ size }: {
50
53
  size?: "sm" | "md" | "lg";
51
54
  }) => import("react/jsx-runtime").JSX.Element;
55
+ LogoOption13: ({ size }: {
56
+ size?: "sm" | "md" | "lg";
57
+ }) => import("react/jsx-runtime").JSX.Element;
58
+ LogoOption14: ({ size }: {
59
+ size?: "sm" | "md" | "lg";
60
+ }) => import("react/jsx-runtime").JSX.Element;
61
+ LogoOption15: ({ size }: {
62
+ size?: "sm" | "md" | "lg";
63
+ }) => import("react/jsx-runtime").JSX.Element;
52
64
  };
53
65
  export default LogoOptions;
@@ -0,0 +1,28 @@
1
+ import { type SxProps, type Theme } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ export interface SideBladeProps {
4
+ /** Whether the blade is currently expanded */
5
+ open: boolean;
6
+ /** Called when the toggle button is clicked, or when the mobile backdrop is clicked */
7
+ onToggle: () => void;
8
+ /** Content shown when the blade is expanded */
9
+ children?: ReactNode;
10
+ /**
11
+ * Optional content shown when the blade is collapsed (e.g. icon-only navigation).
12
+ * When omitted the blade shows only the toggle button in its collapsed state.
13
+ */
14
+ collapsedContent?: ReactNode;
15
+ /** Width of the blade when expanded (px). Default: 240 */
16
+ expandedWidth?: number;
17
+ /** Width of the blade when collapsed (px). Default: 64 */
18
+ collapsedWidth?: number;
19
+ /** Additional sx overrides applied to the Drawer Paper */
20
+ sx?: SxProps<Theme>;
21
+ }
22
+ /**
23
+ * SideBlade — a mini-variant persistent Drawer that expands/collapses.
24
+ *
25
+ * On mobile (< sm) it becomes a full temporary overlay drawer.
26
+ * Content is fully customisable via `children`.
27
+ */
28
+ export declare const SideBlade: ({ open, onToggle, children, collapsedContent, expandedWidth, collapsedWidth, sx, }: SideBladeProps) => import("react/jsx-runtime").JSX.Element;
@@ -61,6 +61,8 @@ export { RagChip } from "./RagChip";
61
61
  export { SecondaryButtonLink } from "./SecondaryButtonLink";
62
62
  export type { SecondaryButtonLinkProps } from "./SecondaryButtonLink";
63
63
  export { SearchInput } from "./SearchInput";
64
+ export { SideBlade } from "./SideBlade";
65
+ export type { SideBladeProps } from "./SideBlade";
64
66
  export { Skeleton } from "./Skeleton";
65
67
  export type { SkeletonProps } from "./Skeleton";
66
68
  export { SkillChip } from "./SkillChip";
package/dist/index.d.ts CHANGED
@@ -241,6 +241,15 @@ declare const LogoOptions: {
241
241
  LogoOption12: ({ size }: {
242
242
  size?: "sm" | "md" | "lg";
243
243
  }) => react_jsx_runtime.JSX.Element;
244
+ LogoOption13: ({ size }: {
245
+ size?: "sm" | "md" | "lg";
246
+ }) => react_jsx_runtime.JSX.Element;
247
+ LogoOption14: ({ size }: {
248
+ size?: "sm" | "md" | "lg";
249
+ }) => react_jsx_runtime.JSX.Element;
250
+ LogoOption15: ({ size }: {
251
+ size?: "sm" | "md" | "lg";
252
+ }) => react_jsx_runtime.JSX.Element;
244
253
  };
245
254
 
246
255
  interface NexusHomeProps {
@@ -301,6 +310,33 @@ interface SearchInputProps {
301
310
  }
302
311
  declare const SearchInput: react__default.FC<SearchInputProps>;
303
312
 
313
+ interface SideBladeProps {
314
+ /** Whether the blade is currently expanded */
315
+ open: boolean;
316
+ /** Called when the toggle button is clicked, or when the mobile backdrop is clicked */
317
+ onToggle: () => void;
318
+ /** Content shown when the blade is expanded */
319
+ children?: ReactNode;
320
+ /**
321
+ * Optional content shown when the blade is collapsed (e.g. icon-only navigation).
322
+ * When omitted the blade shows only the toggle button in its collapsed state.
323
+ */
324
+ collapsedContent?: ReactNode;
325
+ /** Width of the blade when expanded (px). Default: 240 */
326
+ expandedWidth?: number;
327
+ /** Width of the blade when collapsed (px). Default: 64 */
328
+ collapsedWidth?: number;
329
+ /** Additional sx overrides applied to the Drawer Paper */
330
+ sx?: SxProps<Theme>;
331
+ }
332
+ /**
333
+ * SideBlade — a mini-variant persistent Drawer that expands/collapses.
334
+ *
335
+ * On mobile (< sm) it becomes a full temporary overlay drawer.
336
+ * Content is fully customisable via `children`.
337
+ */
338
+ declare const SideBlade: ({ open, onToggle, children, collapsedContent, expandedWidth, collapsedWidth, sx, }: SideBladeProps) => react_jsx_runtime.JSX.Element;
339
+
304
340
  type SkeletonProps = SkeletonProps$1;
305
341
  /**
306
342
  * A themed wrapper around MUI Skeleton.
@@ -450,5 +486,5 @@ declare const getGradientBorderStyles: (theme: Theme$1, options?: GradientBorder
450
486
  declare const leftPipe: SxProps$2<Theme$1>;
451
487
  declare const expandableText: (isExpanded: boolean) => SxProps$2<Theme$1>;
452
488
 
453
- export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, AiButton, AiCard, AiGlassCard, AiGlassPaper, AiPaper, Body1, Body2, Box, ButtonBase, Caption, Card, CheckboxGroup, Chip, Collapse, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, H1, H2, H3, H4, IconButton, LoadingSpinnerNexus, LocationMultiSelect, LogoOptions, MuiAppThemeProvider, NexusDataGrid, NexusHome, NexusLogo, Paper, PrimaryButton, PrimaryButtonLink, RagChip, RagDot, SearchInput, SecondaryButton, SecondaryButtonLink, Skeleton, SkillChip, Stack, StatusChip, Tab, Tabs, TextField, ThemeModeProvider, ThemeToggle, Tooltip, colours, createSageTheme, expandableText, fontSageHeadline, fontSageText, fontSageUI, formatDate, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, leftPipe, useThemeMode, useTokens };
454
- export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, AiButtonProps, AiCardProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, CardProps, CardTrend, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, LoadingSpinnerNexusProps, ModeTokens, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SkeletonProps, ThemeMode, TooltipProps };
489
+ export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, AiButton, AiCard, AiGlassCard, AiGlassPaper, AiPaper, Body1, Body2, Box, ButtonBase, Caption, Card, CheckboxGroup, Chip, Collapse, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, H1, H2, H3, H4, IconButton, LoadingSpinnerNexus, LocationMultiSelect, LogoOptions, MuiAppThemeProvider, NexusDataGrid, NexusHome, NexusLogo, Paper, PrimaryButton, PrimaryButtonLink, RagChip, RagDot, SearchInput, SecondaryButton, SecondaryButtonLink, SideBlade, Skeleton, SkillChip, Stack, StatusChip, Tab, Tabs, TextField, ThemeModeProvider, ThemeToggle, Tooltip, colours, createSageTheme, expandableText, fontSageHeadline, fontSageText, fontSageUI, formatDate, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, leftPipe, useThemeMode, useTokens };
490
+ export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, AiButtonProps, AiCardProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, CardProps, CardTrend, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, LoadingSpinnerNexusProps, ModeTokens, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SideBladeProps, SkeletonProps, ThemeMode, TooltipProps };