sage-nexus-ui 1.0.21 → 1.0.23
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/Box.d.ts +3 -0
- package/dist/components/ButtonBase.d.ts +3 -0
- package/dist/components/Chip.d.ts +3 -0
- package/dist/components/Dialog.d.ts +7 -0
- package/dist/components/Divider.d.ts +3 -0
- package/dist/components/IconButton.d.ts +3 -0
- package/dist/components/LoadingSpinner.d.ts +5 -0
- package/dist/components/LoadingSpinnerNexus.d.ts +4 -0
- package/dist/components/RagDot.d.ts +1 -1
- package/dist/components/Stack.d.ts +3 -0
- package/dist/components/Tab.d.ts +3 -0
- package/dist/components/Tabs.d.ts +3 -0
- package/dist/components/TextField.d.ts +3 -0
- package/dist/components/index.d.ts +37 -13
- package/dist/index.d.ts +88 -53
- package/dist/index.mjs +1 -1
- package/dist/stories/Accordion.stories.d.ts +1 -1
- package/dist/stories/Dialog.stories.d.ts +19 -0
- package/dist/stories/LoadingSpinner.stories.d.ts +15 -0
- package/dist/stories/LoadingSpinnerNexus.stories.d.ts +15 -0
- package/dist/stories/Typography.stories.d.ts +12 -12
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { StoryObj } from "@storybook/react-vite";
|
|
2
2
|
declare const groupMeta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: ({ children, sx }: import("
|
|
4
|
+
component: ({ children, sx }: import("@/components").AccordionGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
tags: string[];
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("@mui/material").DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
args: {
|
|
10
|
+
open: false;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
type Story = StoryObj<typeof meta>;
|
|
15
|
+
export declare const DefaultDark: Story;
|
|
16
|
+
export declare const DefaultLight: Story;
|
|
17
|
+
export declare const ExtraSmall: Story;
|
|
18
|
+
export declare const Large: Story;
|
|
19
|
+
export declare const NoFullWidth: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ variant, color, }: import("..").LoadingSpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const OnPaperDark: Story;
|
|
13
|
+
export declare const OnPaperLight: Story;
|
|
14
|
+
export declare const OnGlassPaperDark: Story;
|
|
15
|
+
export declare const OnGlassPaperLight: Story;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
declare const meta: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: ({ variant, }: import("..").LoadingSpinnerNexusProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
tags: string[];
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default meta;
|
|
11
|
+
type Story = StoryObj<typeof meta>;
|
|
12
|
+
export declare const OnPaperDark: Story;
|
|
13
|
+
export declare const OnPaperLight: Story;
|
|
14
|
+
export declare const OnGlassPaperDark: Story;
|
|
15
|
+
export declare const OnGlassPaperLight: Story;
|
|
@@ -2,8 +2,20 @@ import type { StoryObj } from "@storybook/react-vite";
|
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: import("react").ForwardRefExoticComponent<Omit<{
|
|
5
|
+
className?: string | undefined | undefined;
|
|
6
|
+
style?: import("react").CSSProperties | undefined;
|
|
5
7
|
classes?: (Partial<import("@mui/material").TypographyClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
8
|
+
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined | undefined;
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
color?: (string & {}) | import("@mui/types").OverridableStringUnion<"primary" | "secondary" | "success" | "error" | "info" | "warning" | "textPrimary" | "textSecondary" | "textDisabled", import("@mui/material").TypographyPropsColorOverrides> | undefined;
|
|
11
|
+
gutterBottom?: boolean | undefined | undefined;
|
|
12
|
+
noWrap?: boolean | undefined | undefined;
|
|
13
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
14
|
+
variantMapping?: Partial<Record<import("@mui/types").OverridableStringUnion<import("@mui/material").TypographyVariant | "inherit", import("@mui/material").TypographyPropsVariantOverrides>, string>> | undefined;
|
|
15
|
+
slot?: string | undefined | undefined;
|
|
6
16
|
title?: string | undefined | undefined;
|
|
17
|
+
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
18
|
+
key?: import("react").Key | null | undefined;
|
|
7
19
|
defaultChecked?: boolean | undefined | undefined;
|
|
8
20
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
9
21
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -11,7 +23,6 @@ declare const meta: {
|
|
|
11
23
|
accessKey?: string | undefined | undefined;
|
|
12
24
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
13
25
|
autoFocus?: boolean | undefined | undefined;
|
|
14
|
-
className?: string | undefined | undefined;
|
|
15
26
|
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
16
27
|
contextMenu?: string | undefined | undefined;
|
|
17
28
|
dir?: string | undefined | undefined;
|
|
@@ -21,9 +32,7 @@ declare const meta: {
|
|
|
21
32
|
id?: string | undefined | undefined;
|
|
22
33
|
lang?: string | undefined | undefined;
|
|
23
34
|
nonce?: string | undefined | undefined;
|
|
24
|
-
slot?: string | undefined | undefined;
|
|
25
35
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
26
|
-
style?: import("react").CSSProperties | undefined;
|
|
27
36
|
tabIndex?: number | undefined | undefined;
|
|
28
37
|
translate?: "yes" | "no" | undefined | undefined;
|
|
29
38
|
radioGroup?: string | undefined | undefined;
|
|
@@ -41,7 +50,6 @@ declare const meta: {
|
|
|
41
50
|
vocab?: string | undefined | undefined;
|
|
42
51
|
autoCorrect?: string | undefined | undefined;
|
|
43
52
|
autoSave?: string | undefined | undefined;
|
|
44
|
-
color?: (string & {}) | import("@mui/types").OverridableStringUnion<"primary" | "secondary" | "success" | "error" | "info" | "warning" | "textDisabled" | "textPrimary" | "textSecondary", import("@mui/material").TypographyPropsColorOverrides> | undefined;
|
|
45
53
|
itemProp?: string | undefined | undefined;
|
|
46
54
|
itemScope?: boolean | undefined | undefined;
|
|
47
55
|
itemType?: string | undefined | undefined;
|
|
@@ -111,7 +119,6 @@ declare const meta: {
|
|
|
111
119
|
"aria-valuemin"?: number | undefined | undefined;
|
|
112
120
|
"aria-valuenow"?: number | undefined | undefined;
|
|
113
121
|
"aria-valuetext"?: string | undefined | undefined;
|
|
114
|
-
children?: import("react").ReactNode;
|
|
115
122
|
dangerouslySetInnerHTML?: {
|
|
116
123
|
__html: string | TrustedHTML;
|
|
117
124
|
} | undefined | undefined;
|
|
@@ -283,14 +290,7 @@ declare const meta: {
|
|
|
283
290
|
onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
284
291
|
onTransitionStart?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
285
292
|
onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
286
|
-
ref?: import("react").Ref<HTMLSpanElement> | undefined;
|
|
287
|
-
key?: import("react").Key | null | undefined;
|
|
288
|
-
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
289
293
|
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
290
|
-
noWrap?: boolean | undefined | undefined;
|
|
291
|
-
gutterBottom?: boolean | undefined | undefined;
|
|
292
|
-
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined | undefined;
|
|
293
|
-
variantMapping?: Partial<Record<import("@mui/types").OverridableStringUnion<"inherit" | import("@mui/material").TypographyVariant, import("@mui/material").TypographyPropsVariantOverrides>, string>> | undefined;
|
|
294
294
|
}, "ref"> & import("react").RefAttributes<HTMLElement>>;
|
|
295
295
|
tags: string[];
|
|
296
296
|
parameters: {
|