sage-nexus-ui 1.2.1 → 1.2.3
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,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 };
|