sage-nexus-ui 1.0.11 → 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.
- package/dist/components/PrimaryButton.d.ts +5 -0
- package/dist/components/SecondaryButton.d.ts +2 -3
- package/dist/components/index.d.ts +3 -0
- package/dist/index.d.ts +10 -5
- package/dist/index.mjs +1 -1
- package/dist/stories/ContentFoxText.d.ts +2 -0
- package/dist/stories/GlassPaper.stories.d.ts +4 -2
- package/dist/stories/GreenWaveBackground.stories.d.ts +3 -1
- package/dist/stories/PrimaryButton.stories.d.ts +28 -0
- package/dist/stories/SecondaryButton.stories.d.ts +28 -0
- package/dist/theme/tokens.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ButtonProps } from "@mui/material";
|
|
2
|
-
interface SecondaryButtonProps extends ButtonProps {
|
|
3
|
-
|
|
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
|
|
58
|
-
|
|
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 };
|