@moderneinc/neo-styled-components 2.8.0 → 3.0.0-next.2d959a
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/Alert/Alert.d.ts +50 -0
- package/dist/Banner/Banner.d.ts +20 -22
- package/dist/Card/Card.d.ts +32 -0
- 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/MarketplaceCard/MarketplaceCard.d.ts +10 -72
- package/dist/MarketplaceLargeCard/MarketplaceLargeCard.d.ts +15 -83
- package/dist/NavigationItem/NavigationItem.d.ts +12 -8
- package/dist/Radio/Radio.d.ts +0 -1
- package/dist/Tabs/Tabs.d.ts +1 -4
- package/dist/Tag/Tag.d.ts +12 -7
- package/dist/Toast/Toast.d.ts +3 -12
- package/dist/index.d.ts +135 -158
- package/dist/index.esm.js +622 -639
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +620 -635
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/StatusBanner/StatusBanner.d.ts +0 -55
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moderneinc/neo-styled-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-next.2d959a",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Styled MUI components for Moderne applications",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@types/react": "^19.2.7",
|
|
91
91
|
"conventional-changelog-conventionalcommits": "9.3.0",
|
|
92
92
|
"mustache": "4.2.0",
|
|
93
|
-
"rollup": "4.
|
|
93
|
+
"rollup": "4.60.0",
|
|
94
94
|
"rollup-plugin-dts": "6.4.0",
|
|
95
95
|
"semantic-release": "25.0.2",
|
|
96
96
|
"tslib": "2.8.1",
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { type AlertProps } from '@mui/material/Alert';
|
|
2
|
-
import type { ReactNode } from 'react';
|
|
3
|
-
/**
|
|
4
|
-
* Props for the NeoStatusBanner component
|
|
5
|
-
*/
|
|
6
|
-
export interface NeoStatusBannerProps extends Omit<AlertProps, 'severity' | 'variant'> {
|
|
7
|
-
/**
|
|
8
|
-
* The severity level of the status banner
|
|
9
|
-
* @default "success"
|
|
10
|
-
* @figma Intent
|
|
11
|
-
*/
|
|
12
|
-
severity?: 'success' | 'error' | 'neutral' | 'info';
|
|
13
|
-
/**
|
|
14
|
-
* The visual variant style
|
|
15
|
-
* @default "outlined"
|
|
16
|
-
* @figma Theme
|
|
17
|
-
*/
|
|
18
|
-
variant?: 'outlined' | 'filled';
|
|
19
|
-
/**
|
|
20
|
-
* The content to display inside the banner
|
|
21
|
-
*/
|
|
22
|
-
children?: ReactNode;
|
|
23
|
-
/**
|
|
24
|
-
* Custom icon to display (defaults to severity-based icon)
|
|
25
|
-
*/
|
|
26
|
-
icon?: ReactNode;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* NeoStatusBanner - Status banner component for displaying system status messages
|
|
30
|
-
*
|
|
31
|
-
* Displays status information with different severity levels (success, error, info, neutral) and
|
|
32
|
-
* visual modes (outlined for light backgrounds, filled for emphasis).
|
|
33
|
-
*
|
|
34
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4921-3427
|
|
35
|
-
*
|
|
36
|
-
* Figma Props Mapping:
|
|
37
|
-
* - Status (Success|Error|Info|Offline) → severity ('success'|'error'|'info'|'neutral')
|
|
38
|
-
* - Mode (Light|Dark) → variant ('outlined'|'filled')
|
|
39
|
-
*
|
|
40
|
-
* Design Tokens Used:
|
|
41
|
-
* - status.success.light, status.success.default
|
|
42
|
-
* - status.error.light, status.error.default
|
|
43
|
-
* - status.neutral.light, status.neutral.default
|
|
44
|
-
* - status.info.light, status.info.default
|
|
45
|
-
* - typography.tooltip, typography.bodySecondary
|
|
46
|
-
* - grey[800]
|
|
47
|
-
* - fontSize.default, fontSize.sm
|
|
48
|
-
* - fontWeight.medium, fontWeight.regular
|
|
49
|
-
* - fontFamily.body
|
|
50
|
-
* - surfaces.shadowNeutral
|
|
51
|
-
*/
|
|
52
|
-
export declare const NeoStatusBanner: {
|
|
53
|
-
({ severity, variant, icon, children, ...props }: NeoStatusBannerProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
-
displayName: string;
|
|
55
|
-
};
|