@moderneinc/neo-styled-components 2.8.0-next.22110f → 2.8.0-next.43dd96
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/Banner/Banner.d.ts +18 -20
- package/dist/Card/Card.d.ts +1 -1
- package/dist/Checkbox/Checkbox.d.ts +2 -2
- package/dist/CodeSnippet/CodeSnippet.d.ts +4 -4
- package/dist/DownloadToast/DownloadToast.d.ts +47 -0
- package/dist/Radio/Radio.d.ts +0 -1
- package/dist/Toast/Toast.d.ts +3 -12
- package/dist/index.d.ts +27 -40
- package/dist/index.esm.js +207 -199
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +207 -198
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/Banner/Banner.d.ts
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
import { type AlertProps } from '@mui/material/Alert';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
+
type Intent = 'info' | 'success' | 'error' | 'warning' | 'neutral';
|
|
4
|
+
type BannerType = 'outlined' | 'filled';
|
|
3
5
|
export interface NeoBannerProps extends Omit<AlertProps, 'variant' | 'severity' | 'color'> {
|
|
4
6
|
/**
|
|
5
|
-
* The
|
|
6
|
-
* @default "
|
|
7
|
+
* The intent/purpose of the banner
|
|
8
|
+
* @default "info"
|
|
7
9
|
*
|
|
8
|
-
* @figmaPropMapping
|
|
10
|
+
* @figmaPropMapping Intention (Info|Success|Error|Warning|Neutral) → intent
|
|
9
11
|
*/
|
|
10
|
-
|
|
12
|
+
intent?: Intent;
|
|
13
|
+
/**
|
|
14
|
+
* Visual type: outlined (light bg) or filled (solid bg)
|
|
15
|
+
* @default "outlined"
|
|
16
|
+
*
|
|
17
|
+
* @figmaPropMapping Type (Outlined|Filled) → type
|
|
18
|
+
*/
|
|
19
|
+
type?: BannerType;
|
|
11
20
|
/**
|
|
12
21
|
* The message text to display
|
|
13
22
|
*
|
|
@@ -18,20 +27,20 @@ export interface NeoBannerProps extends Omit<AlertProps, 'variant' | 'severity'
|
|
|
18
27
|
* Horizontal alignment of the message content
|
|
19
28
|
* @default "left"
|
|
20
29
|
*
|
|
21
|
-
* @figmaPropMapping
|
|
30
|
+
* @figmaPropMapping Message Position (Left|Center) → messagePosition
|
|
22
31
|
*/
|
|
23
32
|
messagePosition?: 'left' | 'center';
|
|
24
33
|
/**
|
|
25
34
|
* Optional link text to display after the message
|
|
26
35
|
*
|
|
27
|
-
* @figmaPropMapping
|
|
36
|
+
* @figmaPropMapping Show Link (boolean) → linkText (string)
|
|
28
37
|
*/
|
|
29
38
|
linkText?: string;
|
|
30
39
|
/**
|
|
31
40
|
* Whether to show the close button
|
|
32
41
|
* @default true
|
|
33
42
|
*
|
|
34
|
-
* @figmaPropMapping
|
|
43
|
+
* @figmaPropMapping Dismissible → showClose
|
|
35
44
|
*/
|
|
36
45
|
showClose?: boolean;
|
|
37
46
|
/**
|
|
@@ -48,19 +57,8 @@ export interface NeoBannerProps extends Omit<AlertProps, 'variant' | 'severity'
|
|
|
48
57
|
*/
|
|
49
58
|
onLinkClick?: () => void;
|
|
50
59
|
}
|
|
51
|
-
/**
|
|
52
|
-
* NeoBanner - Inline banner/alert component based on MUI Alert
|
|
53
|
-
*
|
|
54
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4170-2158
|
|
55
|
-
*
|
|
56
|
-
* Figma Props Mapping:
|
|
57
|
-
* - color (Dark|Light|Success|Error|Warning) → variant (dark|light|success|error|warning)
|
|
58
|
-
* - messagePosition (Left|Center) → messagePosition ("left"|"center")
|
|
59
|
-
* - closeIcon (boolean) → showClose (boolean)
|
|
60
|
-
* - link (boolean) → linkText (string)
|
|
61
|
-
* - {Message} → message (string)
|
|
62
|
-
*/
|
|
63
60
|
export declare const NeoBanner: {
|
|
64
|
-
({
|
|
61
|
+
({ intent, type, message, messagePosition, linkText, showClose, icon, onClose, onLinkClick, ...props }: NeoBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
65
62
|
displayName: string;
|
|
66
63
|
};
|
|
64
|
+
export {};
|
package/dist/Card/Card.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface NeoCardSmallProps extends Omit<CardProps, 'children' | 'title'>
|
|
|
13
13
|
}
|
|
14
14
|
export interface NeoCardLargeProps extends Omit<CardProps, 'children' | 'title'> {
|
|
15
15
|
size: 'large';
|
|
16
|
-
|
|
16
|
+
disabled?: boolean;
|
|
17
17
|
cardTheme?: 'light' | 'dark';
|
|
18
18
|
showIcon?: boolean;
|
|
19
19
|
showGel?: boolean;
|
|
@@ -2,7 +2,7 @@ import { type CheckboxProps } from '@mui/material/Checkbox';
|
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
/**
|
|
4
4
|
* Custom checkbox icons matching Figma design
|
|
5
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=
|
|
5
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=11487-81
|
|
6
6
|
*
|
|
7
7
|
* Checkbox sizes: xs=12x12, small=16x16, medium=20x20
|
|
8
8
|
* Check/minus paths scaled from Untitled UI (originally 24x24)
|
|
@@ -43,7 +43,7 @@ export interface NeoCheckboxProps extends Omit<CheckboxProps, 'size'> {
|
|
|
43
43
|
/**
|
|
44
44
|
* NeoCheckbox - Checkbox component based on MUI Checkbox
|
|
45
45
|
*
|
|
46
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=
|
|
46
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=11487-81
|
|
47
47
|
*
|
|
48
48
|
* Figma Props Mapping:
|
|
49
49
|
* - Checked (True|False) → checked prop
|
|
@@ -20,7 +20,7 @@ export interface NeoCodeSnippetProps extends Omit<ButtonBaseProps, 'children'> {
|
|
|
20
20
|
* The size of the code snippet
|
|
21
21
|
* @default "small"
|
|
22
22
|
*
|
|
23
|
-
* @figma
|
|
23
|
+
* @figma Content (Multi|Inline)
|
|
24
24
|
*/
|
|
25
25
|
size?: CodeSnippetSize;
|
|
26
26
|
/**
|
|
@@ -38,9 +38,9 @@ export interface NeoCodeSnippetProps extends Omit<ButtonBaseProps, 'children'> {
|
|
|
38
38
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4187-30353
|
|
39
39
|
*
|
|
40
40
|
* Figma Props Mapping:
|
|
41
|
-
* -
|
|
42
|
-
* -
|
|
43
|
-
* -
|
|
41
|
+
* - Theme (Dark|Light) → variant (filled|outlined)
|
|
42
|
+
* - Content (Multi|Inline) → size prop + auto-detected multiline
|
|
43
|
+
* - Show icon → endIcon (ReactNode, unmappable: boolean vs ReactNode)
|
|
44
44
|
* - Text content → children prop
|
|
45
45
|
*/
|
|
46
46
|
export declare const NeoCodeSnippet: {
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type PaperProps } from '@mui/material/Paper';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
export interface NeoDownloadToastProps extends Omit<PaperProps, 'title'> {
|
|
4
|
+
/**
|
|
5
|
+
* The header text
|
|
6
|
+
*/
|
|
7
|
+
title?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The file name being downloaded
|
|
10
|
+
*/
|
|
11
|
+
fileName?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Progress value (0-100)
|
|
14
|
+
*/
|
|
15
|
+
progress?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Whether to show the close button
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
showClose?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether to show the pause button
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
showPause?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Callback when close button is clicked
|
|
28
|
+
*/
|
|
29
|
+
onClose?: () => void;
|
|
30
|
+
/**
|
|
31
|
+
* Callback when pause button is clicked
|
|
32
|
+
*/
|
|
33
|
+
onPause?: () => void;
|
|
34
|
+
/**
|
|
35
|
+
* Custom actions to override the default pause/close buttons
|
|
36
|
+
*/
|
|
37
|
+
actions?: ReactNode;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* NeoDownloadToast - Standalone download progress toast notification
|
|
41
|
+
*
|
|
42
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=3377-26954
|
|
43
|
+
*/
|
|
44
|
+
export declare const NeoDownloadToast: {
|
|
45
|
+
({ title, fileName, progress, showClose, showPause, onClose, onPause, actions, ...props }: NeoDownloadToastProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
displayName: string;
|
|
47
|
+
};
|
package/dist/Radio/Radio.d.ts
CHANGED
|
@@ -32,7 +32,6 @@ export interface NeoRadioProps extends Omit<RadioProps, 'size'> {
|
|
|
32
32
|
* NeoRadio - Radio button component based on MUI Radio
|
|
33
33
|
*
|
|
34
34
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4122-40039
|
|
35
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4122-40150
|
|
36
35
|
*
|
|
37
36
|
* Figma Props Mapping:
|
|
38
37
|
* - Checked (True|False) → checked prop
|
package/dist/Toast/Toast.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface NeoToastProps extends Omit<AlertProps, 'variant' | 'severity' |
|
|
|
6
6
|
* The visual style variant of the toast
|
|
7
7
|
* @default "default"
|
|
8
8
|
*/
|
|
9
|
-
variant?: 'default' | 'dark' | 'brand' | 'error' | 'success' | 'info'
|
|
9
|
+
variant?: 'default' | 'dark' | 'brand' | 'error' | 'success' | 'info';
|
|
10
10
|
/**
|
|
11
11
|
* The title/header text
|
|
12
12
|
*/
|
|
@@ -25,14 +25,6 @@ export interface NeoToastProps extends Omit<AlertProps, 'variant' | 'severity' |
|
|
|
25
25
|
* Pass action buttons as children of this prop
|
|
26
26
|
*/
|
|
27
27
|
actions?: ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Progress value (0-100) for download variant
|
|
30
|
-
*/
|
|
31
|
-
progress?: number;
|
|
32
|
-
/**
|
|
33
|
-
* File name for download variant
|
|
34
|
-
*/
|
|
35
|
-
fileName?: string;
|
|
36
28
|
/**
|
|
37
29
|
* Callback when close button is clicked
|
|
38
30
|
*/
|
|
@@ -44,15 +36,14 @@ export interface NeoToastProps extends Omit<AlertProps, 'variant' | 'severity' |
|
|
|
44
36
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4122-37223
|
|
45
37
|
*
|
|
46
38
|
* Figma Props Mapping:
|
|
47
|
-
* - type (Light mode|Dark mode|Brand color|Error|Success|Info
|
|
39
|
+
* - type (Light mode|Dark mode|Brand color|Error|Success|Info) → variant (default|dark|brand|error|success|info)
|
|
48
40
|
* - header → title (string)
|
|
49
41
|
* - supportingText → message (string)
|
|
50
42
|
* - xCloseButton → showClose (boolean)
|
|
51
43
|
* - actions → actions (ReactNode)
|
|
52
|
-
* - Progress bar → progress (number 0-100)
|
|
53
44
|
*/
|
|
54
45
|
export declare const NeoToast: {
|
|
55
|
-
({ variant, title, message, showClose, actions,
|
|
46
|
+
({ variant, title, message, showClose, actions, onClose, ...props }: NeoToastProps): import("react/jsx-runtime").JSX.Element;
|
|
56
47
|
displayName: string;
|
|
57
48
|
};
|
|
58
49
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -362,14 +362,23 @@ declare const NeoBadge: {
|
|
|
362
362
|
displayName: string;
|
|
363
363
|
};
|
|
364
364
|
|
|
365
|
+
type Intent = 'info' | 'success' | 'error' | 'warning' | 'neutral';
|
|
366
|
+
type BannerType = 'outlined' | 'filled';
|
|
365
367
|
interface NeoBannerProps extends Omit<AlertProps, 'variant' | 'severity' | 'color'> {
|
|
366
368
|
/**
|
|
367
|
-
* The
|
|
368
|
-
* @default "
|
|
369
|
+
* The intent/purpose of the banner
|
|
370
|
+
* @default "info"
|
|
371
|
+
*
|
|
372
|
+
* @figmaPropMapping Intention (Info|Success|Error|Warning|Neutral) → intent
|
|
373
|
+
*/
|
|
374
|
+
intent?: Intent;
|
|
375
|
+
/**
|
|
376
|
+
* Visual type: outlined (light bg) or filled (solid bg)
|
|
377
|
+
* @default "outlined"
|
|
369
378
|
*
|
|
370
|
-
* @figmaPropMapping
|
|
379
|
+
* @figmaPropMapping Type (Outlined|Filled) → type
|
|
371
380
|
*/
|
|
372
|
-
|
|
381
|
+
type?: BannerType;
|
|
373
382
|
/**
|
|
374
383
|
* The message text to display
|
|
375
384
|
*
|
|
@@ -380,20 +389,20 @@ interface NeoBannerProps extends Omit<AlertProps, 'variant' | 'severity' | 'colo
|
|
|
380
389
|
* Horizontal alignment of the message content
|
|
381
390
|
* @default "left"
|
|
382
391
|
*
|
|
383
|
-
* @figmaPropMapping
|
|
392
|
+
* @figmaPropMapping Message Position (Left|Center) → messagePosition
|
|
384
393
|
*/
|
|
385
394
|
messagePosition?: 'left' | 'center';
|
|
386
395
|
/**
|
|
387
396
|
* Optional link text to display after the message
|
|
388
397
|
*
|
|
389
|
-
* @figmaPropMapping
|
|
398
|
+
* @figmaPropMapping Show Link (boolean) → linkText (string)
|
|
390
399
|
*/
|
|
391
400
|
linkText?: string;
|
|
392
401
|
/**
|
|
393
402
|
* Whether to show the close button
|
|
394
403
|
* @default true
|
|
395
404
|
*
|
|
396
|
-
* @figmaPropMapping
|
|
405
|
+
* @figmaPropMapping Dismissible → showClose
|
|
397
406
|
*/
|
|
398
407
|
showClose?: boolean;
|
|
399
408
|
/**
|
|
@@ -410,20 +419,8 @@ interface NeoBannerProps extends Omit<AlertProps, 'variant' | 'severity' | 'colo
|
|
|
410
419
|
*/
|
|
411
420
|
onLinkClick?: () => void;
|
|
412
421
|
}
|
|
413
|
-
/**
|
|
414
|
-
* NeoBanner - Inline banner/alert component based on MUI Alert
|
|
415
|
-
*
|
|
416
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4170-2158
|
|
417
|
-
*
|
|
418
|
-
* Figma Props Mapping:
|
|
419
|
-
* - color (Dark|Light|Success|Error|Warning) → variant (dark|light|success|error|warning)
|
|
420
|
-
* - messagePosition (Left|Center) → messagePosition ("left"|"center")
|
|
421
|
-
* - closeIcon (boolean) → showClose (boolean)
|
|
422
|
-
* - link (boolean) → linkText (string)
|
|
423
|
-
* - {Message} → message (string)
|
|
424
|
-
*/
|
|
425
422
|
declare const NeoBanner: {
|
|
426
|
-
({
|
|
423
|
+
({ intent, type, message, messagePosition, linkText, showClose, icon, onClose, onLinkClick, ...props }: NeoBannerProps): react_jsx_runtime.JSX.Element;
|
|
427
424
|
displayName: string;
|
|
428
425
|
};
|
|
429
426
|
|
|
@@ -684,7 +681,7 @@ interface StyledComponent<ComponentProps extends {}, SpecificComponentProps exte
|
|
|
684
681
|
|
|
685
682
|
/**
|
|
686
683
|
* Custom checkbox icons matching Figma design
|
|
687
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=
|
|
684
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=11487-81
|
|
688
685
|
*
|
|
689
686
|
* Checkbox sizes: xs=12x12, small=16x16, medium=20x20
|
|
690
687
|
* Check/minus paths scaled from Untitled UI (originally 24x24)
|
|
@@ -721,7 +718,7 @@ interface NeoCheckboxProps extends Omit<CheckboxProps, 'size'> {
|
|
|
721
718
|
/**
|
|
722
719
|
* NeoCheckbox - Checkbox component based on MUI Checkbox
|
|
723
720
|
*
|
|
724
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=
|
|
721
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=11487-81
|
|
725
722
|
*
|
|
726
723
|
* Figma Props Mapping:
|
|
727
724
|
* - Checked (True|False) → checked prop
|
|
@@ -787,7 +784,7 @@ interface NeoCodeSnippetProps extends Omit<ButtonBaseProps, 'children'> {
|
|
|
787
784
|
* The size of the code snippet
|
|
788
785
|
* @default "small"
|
|
789
786
|
*
|
|
790
|
-
* @figma
|
|
787
|
+
* @figma Content (Multi|Inline)
|
|
791
788
|
*/
|
|
792
789
|
size?: CodeSnippetSize;
|
|
793
790
|
/**
|
|
@@ -805,9 +802,9 @@ interface NeoCodeSnippetProps extends Omit<ButtonBaseProps, 'children'> {
|
|
|
805
802
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4187-30353
|
|
806
803
|
*
|
|
807
804
|
* Figma Props Mapping:
|
|
808
|
-
* -
|
|
809
|
-
* -
|
|
810
|
-
* -
|
|
805
|
+
* - Theme (Dark|Light) → variant (filled|outlined)
|
|
806
|
+
* - Content (Multi|Inline) → size prop + auto-detected multiline
|
|
807
|
+
* - Show icon → endIcon (ReactNode, unmappable: boolean vs ReactNode)
|
|
811
808
|
* - Text content → children prop
|
|
812
809
|
*/
|
|
813
810
|
declare const NeoCodeSnippet: {
|
|
@@ -2006,7 +2003,6 @@ interface NeoRadioProps extends Omit<RadioProps, 'size'> {
|
|
|
2006
2003
|
* NeoRadio - Radio button component based on MUI Radio
|
|
2007
2004
|
*
|
|
2008
2005
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4122-40039
|
|
2009
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4122-40150
|
|
2010
2006
|
*
|
|
2011
2007
|
* Figma Props Mapping:
|
|
2012
2008
|
* - Checked (True|False) → checked prop
|
|
@@ -2263,7 +2259,7 @@ interface NeoToastProps extends Omit<AlertProps, 'variant' | 'severity' | 'color
|
|
|
2263
2259
|
* The visual style variant of the toast
|
|
2264
2260
|
* @default "default"
|
|
2265
2261
|
*/
|
|
2266
|
-
variant?: 'default' | 'dark' | 'brand' | 'error' | 'success' | 'info'
|
|
2262
|
+
variant?: 'default' | 'dark' | 'brand' | 'error' | 'success' | 'info';
|
|
2267
2263
|
/**
|
|
2268
2264
|
* The title/header text
|
|
2269
2265
|
*/
|
|
@@ -2282,14 +2278,6 @@ interface NeoToastProps extends Omit<AlertProps, 'variant' | 'severity' | 'color
|
|
|
2282
2278
|
* Pass action buttons as children of this prop
|
|
2283
2279
|
*/
|
|
2284
2280
|
actions?: ReactNode;
|
|
2285
|
-
/**
|
|
2286
|
-
* Progress value (0-100) for download variant
|
|
2287
|
-
*/
|
|
2288
|
-
progress?: number;
|
|
2289
|
-
/**
|
|
2290
|
-
* File name for download variant
|
|
2291
|
-
*/
|
|
2292
|
-
fileName?: string;
|
|
2293
2281
|
/**
|
|
2294
2282
|
* Callback when close button is clicked
|
|
2295
2283
|
*/
|
|
@@ -2301,15 +2289,14 @@ interface NeoToastProps extends Omit<AlertProps, 'variant' | 'severity' | 'color
|
|
|
2301
2289
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4122-37223
|
|
2302
2290
|
*
|
|
2303
2291
|
* Figma Props Mapping:
|
|
2304
|
-
* - type (Light mode|Dark mode|Brand color|Error|Success|Info
|
|
2292
|
+
* - type (Light mode|Dark mode|Brand color|Error|Success|Info) → variant (default|dark|brand|error|success|info)
|
|
2305
2293
|
* - header → title (string)
|
|
2306
2294
|
* - supportingText → message (string)
|
|
2307
2295
|
* - xCloseButton → showClose (boolean)
|
|
2308
2296
|
* - actions → actions (ReactNode)
|
|
2309
|
-
* - Progress bar → progress (number 0-100)
|
|
2310
2297
|
*/
|
|
2311
2298
|
declare const NeoToast: {
|
|
2312
|
-
({ variant, title, message, showClose, actions,
|
|
2299
|
+
({ variant, title, message, showClose, actions, onClose, ...props }: NeoToastProps): react_jsx_runtime.JSX.Element;
|
|
2313
2300
|
displayName: string;
|
|
2314
2301
|
};
|
|
2315
2302
|
/**
|
|
@@ -2688,7 +2675,7 @@ interface NeoCardSmallProps extends Omit<CardProps, 'children' | 'title'> {
|
|
|
2688
2675
|
}
|
|
2689
2676
|
interface NeoCardLargeProps extends Omit<CardProps, 'children' | 'title'> {
|
|
2690
2677
|
size: 'large';
|
|
2691
|
-
|
|
2678
|
+
disabled?: boolean;
|
|
2692
2679
|
cardTheme?: 'light' | 'dark';
|
|
2693
2680
|
showIcon?: boolean;
|
|
2694
2681
|
showGel?: boolean;
|