sage-nexus-ui 1.0.10 → 1.0.12

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,5 @@
1
+ import type { ButtonProps } from "@mui/material";
2
+ export interface PrimaryButtonProps extends Omit<ButtonProps, "variant" | "color"> {
3
+ size?: "small" | "medium" | "large";
4
+ }
5
+ export declare const PrimaryButton: React.FC<PrimaryButtonProps>;
@@ -1,6 +1,5 @@
1
1
  import type { ButtonProps } from "@mui/material";
2
- interface SecondaryButtonProps extends ButtonProps {
3
- buttonSize?: "default" | "small";
2
+ export interface SecondaryButtonProps extends Omit<ButtonProps, "variant" | "color"> {
3
+ size?: "small" | "medium" | "large";
4
4
  }
5
5
  export declare const SecondaryButton: React.FC<SecondaryButtonProps>;
6
- export {};
@@ -7,7 +7,10 @@ export type { GreenWaveBackgroundProps } from "./GreenWaveBackground";
7
7
  export { LocationMultiSelect } from "./LocationMultiSelect";
8
8
  export { NexusHome } from "./NexusHome";
9
9
  export { NexusLogo } from "./NexusLogo";
10
+ export { PrimaryButton } from "./PrimaryButton";
11
+ export type { PrimaryButtonProps } from "./PrimaryButton";
10
12
  export { SecondaryButton } from "./SecondaryButton";
13
+ export type { SecondaryButtonProps } from "./SecondaryButton";
11
14
  export { default as RagDot } from "./RagDot";
12
15
  export { SearchInput } from "./SearchInput";
13
16
  export { SkillChip } from "./SkillChip";
package/dist/index.d.ts CHANGED
@@ -54,8 +54,13 @@ type LogoProps = {
54
54
  };
55
55
  declare const NexusLogo: ({ size }: LogoProps) => react_jsx_runtime.JSX.Element;
56
56
 
57
- interface SecondaryButtonProps extends ButtonProps {
58
- buttonSize?: "default" | "small";
57
+ interface PrimaryButtonProps extends Omit<ButtonProps, "variant" | "color"> {
58
+ size?: "small" | "medium" | "large";
59
+ }
60
+ declare const PrimaryButton: React.FC<PrimaryButtonProps>;
61
+
62
+ interface SecondaryButtonProps extends Omit<ButtonProps, "variant" | "color"> {
63
+ size?: "small" | "medium" | "large";
59
64
  }
60
65
  declare const SecondaryButton: React.FC<SecondaryButtonProps>;
61
66
 
@@ -101,6 +106,7 @@ type ModeTokens = {
101
106
  primary: string;
102
107
  secondary: string;
103
108
  greens: string;
109
+ greys: string;
104
110
  };
105
111
  border: string;
106
112
  shadow: string;
@@ -126,7 +132,6 @@ declare const colours: {
126
132
  declare const gradients: {
127
133
  readonly brand: "linear-gradient(135deg, #00D639 0%, #00A65C 42%, #006362 100%)";
128
134
  readonly nexus: "linear-gradient(135deg, #00D639 0%, #00D6DE 40%, #2D60FF 100%)";
129
- readonly mesh: "radial-gradient(circle at top right, rgba(0, 214, 57, 0.16) 0%, transparent 34%), linear-gradient(135deg, rgba(0, 166, 92, 0.08) 0%, rgba(0, 99, 98, 0.12) 100%)";
130
135
  };
131
136
  declare const fontSageText = "SageText, Inter, Segoe UI, sans-serif";
132
137
  declare const fontSageUI = "SageUI, Inter, Segoe UI, sans-serif";
@@ -188,5 +193,5 @@ declare const getGradientBorderStyles: (theme: Theme, options?: GradientBorderOp
188
193
  declare const leftPipe: SxProps$2<Theme>;
189
194
  declare const expandableText: (isExpanded: boolean) => SxProps$2<Theme>;
190
195
 
191
- export { ActionBar, CheckboxGroup, GlassPaper, GreenWaveBackground, LocationMultiSelect, MuiAppThemeProvider, NexusHome, NexusLogo, RagDot, SearchInput, SecondaryButton, SkillChip, StatusChip, ThemeModeProvider, ThemeToggle, colours, createSageTheme, expandableText, fontSageText, fontSageUI, formatDate, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, leftPipe, useThemeMode, useTokens };
192
- export type { GradientBorderOptions, GreenWaveBackgroundProps, ModeTokens, ThemeMode };
196
+ export { ActionBar, CheckboxGroup, GlassPaper, GreenWaveBackground, LocationMultiSelect, MuiAppThemeProvider, NexusHome, NexusLogo, PrimaryButton, RagDot, SearchInput, SecondaryButton, SkillChip, StatusChip, ThemeModeProvider, ThemeToggle, colours, createSageTheme, expandableText, fontSageText, fontSageUI, formatDate, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, leftPipe, useThemeMode, useTokens };
197
+ export type { GradientBorderOptions, GreenWaveBackgroundProps, ModeTokens, PrimaryButtonProps, SecondaryButtonProps, ThemeMode };