sage-nexus-ui 1.2.0 → 1.2.2

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.
@@ -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,5 @@
1
+ type LogoProps = {
2
+ size?: "sm" | "md" | "lg";
3
+ };
4
+ export declare const LogoOption2: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,6 @@
1
+ type LogoProps = {
2
+ size?: "sm" | "md" | "lg";
3
+ };
4
+ /** Option 3 — Sage Text Medium font, NEXUS all-caps, shimmer on X */
5
+ export declare const LogoOption3: ({ 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 4 — Sage UI Medium weight, NEXUS all-caps, shimmer on X */
5
+ export declare const LogoOption4: ({ 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 5 — Sage Headline font, NEXUS all-caps, shimmer on X */
5
+ export declare const LogoOption5: ({ 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 6 — Sage Headline font, nexus lower-case, shimmer on x */
5
+ export declare const LogoOption6: ({ 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 7 — Arial Bold, NEXUS, shimmer on node icon */
5
+ export declare const LogoOption7: ({ 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 8 — Sage UI Medium weight, NEXUS all-caps, shimmer on whole word */
5
+ export declare const LogoOption8: ({ size }: LogoProps) => import("react/jsx-runtime").JSX.Element;
6
+ 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;
@@ -0,0 +1,8 @@
1
+ type ColourProp = "jade" | "amber" | "cherry" | string;
2
+ export interface RagChipProps {
3
+ label?: string;
4
+ status?: string;
5
+ colour?: ColourProp;
6
+ }
7
+ export declare const RagChip: ({ label, status, colour }: RagChipProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default RagChip;
@@ -56,6 +56,7 @@ export type { PrimaryButtonLinkProps } from "./PrimaryButtonLink";
56
56
  export { SecondaryButton } from "./SecondaryButton";
57
57
  export type { SecondaryButtonProps } from "./SecondaryButton";
58
58
  export { RagDot } from "./RagDot";
59
+ export { RagChip } from "./RagChip";
59
60
  export { SecondaryButtonLink } from "./SecondaryButtonLink";
60
61
  export type { SecondaryButtonLinkProps } from "./SecondaryButtonLink";
61
62
  export { SearchInput } from "./SearchInput";
package/dist/index.d.ts CHANGED
@@ -210,6 +210,14 @@ interface RagDotProps {
210
210
  }
211
211
  declare const RagDot: ({ status }: RagDotProps) => react_jsx_runtime.JSX.Element;
212
212
 
213
+ type ColourProp = "jade" | "amber" | "cherry" | string;
214
+ interface RagChipProps {
215
+ label?: string;
216
+ status?: string;
217
+ colour?: ColourProp;
218
+ }
219
+ declare const RagChip: ({ label, status, colour }: RagChipProps) => react_jsx_runtime.JSX.Element;
220
+
213
221
  interface SecondaryButtonLinkProps extends Omit<SecondaryButtonProps, "href" | "component"> {
214
222
  href: string;
215
223
  color?: string;
@@ -373,5 +381,5 @@ declare const getGradientBorderStyles: (theme: Theme$1, options?: GradientBorder
373
381
  declare const leftPipe: SxProps$2<Theme$1>;
374
382
  declare const expandableText: (isExpanded: boolean) => SxProps$2<Theme$1>;
375
383
 
376
- 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, MuiAppThemeProvider, NexusDataGrid, NexusHome, NexusLogo, Paper, PrimaryButton, PrimaryButtonLink, RagDot, SearchInput, SecondaryButton, SecondaryButtonLink, Skeleton, SkillChip, Stack, StatusChip, Tab, Tabs, TextField, ThemeModeProvider, ThemeToggle, colours, createSageTheme, expandableText, fontSageHeadline, fontSageText, fontSageUI, formatDate, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, leftPipe, useThemeMode, useTokens };
384
+ 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, MuiAppThemeProvider, NexusDataGrid, NexusHome, NexusLogo, Paper, PrimaryButton, PrimaryButtonLink, RagChip, RagDot, SearchInput, SecondaryButton, SecondaryButtonLink, Skeleton, SkillChip, Stack, StatusChip, Tab, Tabs, TextField, ThemeModeProvider, ThemeToggle, colours, createSageTheme, expandableText, fontSageHeadline, fontSageText, fontSageUI, formatDate, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, leftPipe, useThemeMode, useTokens };
377
385
  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 };