@moderneinc/neo-styled-components 5.0.0-next.bd2a49 → 5.0.0-next.cd1d8d
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 +15 -1
- package/dist/Badge/Badge.d.ts +16 -2
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +0 -10
- package/dist/CanceledIcon/CanceledIcon.d.ts +11 -0
- package/dist/Checkbox/Checkbox.d.ts +5 -4
- package/dist/DataGrid/DataGrid.d.ts +1 -1
- package/dist/DataGrid/DataGrid.styles.d.ts +3 -0
- package/dist/DataGridCell/DataGridCell.d.ts +0 -16
- package/dist/DataGridHeaderCell/DataGridHeaderCell.d.ts +0 -37
- package/dist/DatePickerListItem/DatePickerListItem.d.ts +2 -22
- package/dist/DatePickerMenu/DatePickerMenu.d.ts +2 -22
- package/dist/Dot/Dot.d.ts +11 -4
- package/dist/FilledStatusIcons/FilledStatusIcons.d.ts +41 -0
- package/dist/GeneralAvatar/GeneralAvatar.d.ts +1 -7
- package/dist/InputField/InputField.d.ts +12 -1
- package/dist/ListItemButton/ListItemButton.d.ts +12 -1
- package/dist/MenuItem/MenuItem.d.ts +31 -9
- package/dist/NavigationAvatar/NavigationAvatar.d.ts +3 -3
- package/dist/NavigationItem/NavigationItem.d.ts +21 -2
- package/dist/NeoActionsCell/NeoActionsCell.d.ts +9 -0
- package/dist/NeoAvatarCell/NeoAvatarCell.d.ts +25 -0
- package/dist/NeoIconCell/NeoIconCell.d.ts +14 -0
- package/dist/NeoLogoCell/NeoLogoCell.d.ts +24 -0
- package/dist/NeoProgressCell/NeoProgressCell.d.ts +21 -0
- package/dist/NeoStatusCell/NeoStatusCell.d.ts +30 -0
- package/dist/PageContent/PageContent.d.ts +12 -1
- package/dist/RadioButtonWithText/RadioButtonWithText.d.ts +2 -22
- package/dist/RipplingDot/RipplingDot.d.ts +12 -0
- package/dist/SelectField/SelectField.d.ts +64 -0
- package/dist/SideNav/NeoSideNavContext.d.ts +5 -0
- package/dist/SideNav/SideNav.d.ts +18 -25
- package/dist/TabPanel/TabPanel.d.ts +47 -0
- package/dist/Table/Table.d.ts +64 -0
- package/dist/Tabs/Tabs.d.ts +1 -1
- package/dist/Tag/Tag.d.ts +1 -2
- package/dist/ToggleButton/ToggleButton.d.ts +13 -18
- package/dist/ToggleButtonGroup/ToggleButtonGroup.d.ts +26 -0
- package/dist/ToggleButtonWithText/ToggleButtonWithText.d.ts +2 -22
- package/dist/Tooltip/Tooltip.d.ts +8 -5
- package/dist/TopNav/TopNav.d.ts +2 -22
- package/dist/TourModal/TourModal.d.ts +2 -22
- package/dist/TypologyControl/TypologyControl.d.ts +1 -1
- package/dist/VibratingDot/VibratingDot.d.ts +12 -0
- package/dist/index.d.ts +660 -143
- package/dist/index.esm.js +1376 -609
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1400 -604
- package/dist/index.js.map +1 -1
- package/dist/utils/colorHelpers.d.ts +6 -0
- package/package.json +5 -5
- package/dist/utils/avatarColors.d.ts +0 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ReactNode, ElementType, HTMLAttributes, ComponentType,
|
|
4
|
-
import { GridDensity, GridFilterPanel, ToolbarProps } from '@mui/x-data-grid';
|
|
3
|
+
import React__default, { ReactNode, ElementType, HTMLAttributes, ComponentPropsWithoutRef, ComponentType, FunctionComponent } from 'react';
|
|
4
|
+
import { GridDensity, GridRenderCellParams, GridFilterPanel, ToolbarProps } from '@mui/x-data-grid';
|
|
5
5
|
import Chip, { ChipProps } from '@mui/material/Chip';
|
|
6
6
|
import { AlertProps } from '@mui/material/Alert';
|
|
7
7
|
import { LinkProps } from '@mui/material/Link';
|
|
8
|
-
import
|
|
9
|
-
import ButtonBase__default, { ButtonBaseProps } from '@mui/material/ButtonBase';
|
|
10
|
-
import * as _mui_material_ToggleButton from '@mui/material/ToggleButton';
|
|
8
|
+
import ButtonBase, { ButtonBaseProps } from '@mui/material/ButtonBase';
|
|
11
9
|
import { ToggleButtonProps } from '@mui/material/ToggleButton';
|
|
12
10
|
import { ToggleButtonGroupProps } from '@mui/material/ToggleButtonGroup';
|
|
11
|
+
import { SvgIconProps } from '@mui/material/SvgIcon';
|
|
13
12
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
14
13
|
import { GridDensity as GridDensity$1, DataGridProProps, GridSlots, GridColumnsPanelProps } from '@mui/x-data-grid-pro';
|
|
15
|
-
import * as _mui_material_styles from '@mui/material/styles';
|
|
16
14
|
import { SxProps, Theme, Breakpoint } from '@mui/material/styles';
|
|
17
15
|
import { DividerProps } from '@mui/material/Divider';
|
|
18
16
|
import { PaperProps } from '@mui/material/Paper';
|
|
19
|
-
import { BadgeProps } from '@mui/material/Badge';
|
|
20
17
|
import { AvatarProps } from '@mui/material/Avatar';
|
|
21
18
|
import { InputBaseProps } from '@mui/material/InputBase';
|
|
22
19
|
import { MenuProps } from '@mui/material/Menu';
|
|
23
|
-
import
|
|
20
|
+
import MenuItem from '@mui/material/MenuItem';
|
|
24
21
|
import { DialogProps } from '@mui/material/Dialog';
|
|
25
22
|
import { BoxProps } from '@mui/material/Box';
|
|
26
23
|
import { LinearProgressProps } from '@mui/material/LinearProgress';
|
|
27
24
|
import { RadioProps } from '@mui/material/Radio';
|
|
28
|
-
import { SelectProps } from '@mui/material/Select';
|
|
29
|
-
import { SkeletonProps } from '@mui/material/Skeleton';
|
|
30
25
|
import * as _mui_system from '@mui/system';
|
|
26
|
+
import * as _mui_material from '@mui/material';
|
|
27
|
+
import { BoxProps as BoxProps$1 } from '@mui/material';
|
|
28
|
+
import { SelectProps, SelectChangeEvent } from '@mui/material/Select';
|
|
29
|
+
import { SkeletonProps } from '@mui/material/Skeleton';
|
|
30
|
+
import { TableProps } from '@mui/material/Table';
|
|
31
31
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
32
|
-
import * as _mui_material_Tabs from '@mui/material/Tabs';
|
|
33
32
|
import { TabProps } from '@mui/material/Tab';
|
|
34
33
|
import Button from '@mui/material/Button';
|
|
35
34
|
import { SwitchProps } from '@mui/material/Switch';
|
|
@@ -288,12 +287,25 @@ declare const NeoActivityIndicatorCell: {
|
|
|
288
287
|
displayName: string;
|
|
289
288
|
};
|
|
290
289
|
|
|
290
|
+
type BadgeSize = 'small' | 'medium';
|
|
291
|
+
type BadgeVariant = 'filled' | 'outlined';
|
|
291
292
|
interface NeoBadgeProps extends Omit<ChipProps, 'variant' | 'size'> {
|
|
292
293
|
/**
|
|
293
|
-
* The color/state of the badge
|
|
294
|
+
* The color/state of the badge. Ignored when `variant="outlined"`.
|
|
294
295
|
* @default "default"
|
|
295
296
|
*/
|
|
296
297
|
color?: 'default' | 'error' | 'warning' | 'success' | 'info';
|
|
298
|
+
/**
|
|
299
|
+
* Visual density of the badge. `small` is 20px tall, `medium` is 24px tall.
|
|
300
|
+
* @default "medium"
|
|
301
|
+
*/
|
|
302
|
+
size?: BadgeSize;
|
|
303
|
+
/**
|
|
304
|
+
* Visual treatment. `filled` uses a per-color tinted background;
|
|
305
|
+
* `outlined` uses a transparent background with a neutral secondary border.
|
|
306
|
+
* @default "filled"
|
|
307
|
+
*/
|
|
308
|
+
variant?: BadgeVariant;
|
|
297
309
|
}
|
|
298
310
|
/**
|
|
299
311
|
* NeoBadge - Status badge component based on MUI Chip
|
|
@@ -307,7 +319,7 @@ interface NeoBadgeProps extends Omit<ChipProps, 'variant' | 'size'> {
|
|
|
307
319
|
* - Label → label prop
|
|
308
320
|
*/
|
|
309
321
|
declare const NeoBadge: {
|
|
310
|
-
(props: NeoBadgeProps): react_jsx_runtime.JSX.Element;
|
|
322
|
+
({ size, variant, ...props }: NeoBadgeProps): react_jsx_runtime.JSX.Element;
|
|
311
323
|
displayName: string;
|
|
312
324
|
};
|
|
313
325
|
|
|
@@ -376,16 +388,6 @@ declare const NeoBanner: {
|
|
|
376
388
|
/**
|
|
377
389
|
* NeoBreadcrumbs - Navigation breadcrumb component
|
|
378
390
|
*
|
|
379
|
-
* Figma Mapping:
|
|
380
|
-
* - Base component uses MuiBreadcrumbs with custom styled Links
|
|
381
|
-
* - Uses chevron separator (ChevronRight from lucide-react)
|
|
382
|
-
* - Typography: 14px Medium (500 weight)
|
|
383
|
-
* - Colors:
|
|
384
|
-
* - Non-current: semanticColors.typography.bodySecondary (#6b7280)
|
|
385
|
-
* - Current: semanticColors.buttons.primary.default (#2f42ff)
|
|
386
|
-
* - Hover: semanticColors.icons.hover (#1f2937) or buttons.tertiary.hover (#1e2ec2)
|
|
387
|
-
* - Focus: 2px outline with buttons.primary.focus
|
|
388
|
-
*
|
|
389
391
|
* @see https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4563-122872
|
|
390
392
|
*/
|
|
391
393
|
interface NeoBreadcrumbsProps {
|
|
@@ -484,7 +486,7 @@ type NeoButtonOwnProps = {
|
|
|
484
486
|
*/
|
|
485
487
|
endIcon?: ReactNode;
|
|
486
488
|
};
|
|
487
|
-
type NeoButtonProps<C extends ElementType = typeof
|
|
489
|
+
type NeoButtonProps<C extends ElementType = typeof ButtonBase> = NeoButtonOwnProps & Omit<React__default.ComponentPropsWithoutRef<C>, keyof NeoButtonOwnProps> & {
|
|
488
490
|
component?: C;
|
|
489
491
|
};
|
|
490
492
|
/**
|
|
@@ -501,7 +503,7 @@ type NeoButtonProps<C extends ElementType = typeof ButtonBase__default> = NeoBut
|
|
|
501
503
|
* - State=Pressed → CSS :active
|
|
502
504
|
* - State=Focused → CSS :focus-visible
|
|
503
505
|
*/
|
|
504
|
-
declare function NeoButton<C extends ElementType = typeof
|
|
506
|
+
declare function NeoButton<C extends ElementType = typeof ButtonBase>({ variant, size, loading, children, disabled, startIcon, endIcon, ...rest }: NeoButtonProps<C>): react_jsx_runtime.JSX.Element;
|
|
505
507
|
declare namespace NeoButton {
|
|
506
508
|
var displayName: string;
|
|
507
509
|
}
|
|
@@ -563,6 +565,17 @@ declare const NeoButtonTabGroup: {
|
|
|
563
565
|
displayName: string;
|
|
564
566
|
};
|
|
565
567
|
|
|
568
|
+
/**
|
|
569
|
+
* NeoCanceledIcon - Outlined circle struck through by a horizontal line.
|
|
570
|
+
*
|
|
571
|
+
* Marks a CANCELED state. Color comes entirely from `currentColor` (stroke plus
|
|
572
|
+
* a 10% fill tint); set it via the `color`/`sx` prop or a parent.
|
|
573
|
+
*/
|
|
574
|
+
declare const NeoCanceledIcon: {
|
|
575
|
+
(props: SvgIconProps): react_jsx_runtime.JSX.Element;
|
|
576
|
+
displayName: string;
|
|
577
|
+
};
|
|
578
|
+
|
|
566
579
|
interface ComponentSelector {
|
|
567
580
|
__emotion_styles: any;
|
|
568
581
|
}
|
|
@@ -627,11 +640,12 @@ interface StyledComponent<ComponentProps extends {}, SpecificComponentProps exte
|
|
|
627
640
|
}
|
|
628
641
|
|
|
629
642
|
/**
|
|
630
|
-
*
|
|
631
|
-
*
|
|
643
|
+
* NeoCheckbox uses Lucide icons (square / square-check / square-minus): a rounded
|
|
644
|
+
* outline drawn in `currentColor`, with the check/minus mark sharing that stroke —
|
|
645
|
+
* so a single per-state `color` (set in StyledCheckbox) drives every variant.
|
|
632
646
|
*
|
|
647
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=11487-81
|
|
633
648
|
* Checkbox sizes: xs=12x12, small=16x16, medium=20x20
|
|
634
|
-
* Check/minus paths scaled from Untitled UI (originally 24x24)
|
|
635
649
|
*/
|
|
636
650
|
type CheckboxSize = 'xs' | 'small' | 'medium';
|
|
637
651
|
declare module '@mui/material/Checkbox' {
|
|
@@ -835,7 +849,7 @@ interface NeoDataGridProps extends Omit<DataGridProProps, 'slots'> {
|
|
|
835
849
|
* - `size` → Row heights (compact: 42px, standard: 48px, comfortable: 56px) and header heights (compact: 38px, standard: 44px, comfortable: 52px)
|
|
836
850
|
*
|
|
837
851
|
* Design tokens used:
|
|
838
|
-
* - Colors: semanticColors.border.primary, semanticColors.
|
|
852
|
+
* - Colors: semanticColors.border.primary, semanticColors.surfaces.dataGrid.*
|
|
839
853
|
* - Typography: typography.fontFamily.body, typography.fontSize.sm
|
|
840
854
|
* - Spacing: spacing.spacing_*
|
|
841
855
|
*
|
|
@@ -859,6 +873,9 @@ declare namespace NeoDataGrid {
|
|
|
859
873
|
var displayName: string;
|
|
860
874
|
}
|
|
861
875
|
|
|
876
|
+
declare const getDataGridHeaderStyles: () => SxProps<Theme>;
|
|
877
|
+
declare const getDataGridRowStyles: () => SxProps<Theme>;
|
|
878
|
+
|
|
862
879
|
interface NeoInfiniteScrollGridProps extends Omit<NeoDataGridProps, 'slots'> {
|
|
863
880
|
/**
|
|
864
881
|
* Callback when load more is triggered - either by scrolling or clicking button
|
|
@@ -1051,6 +1068,127 @@ declare const NeoMultiBadgesCell: {
|
|
|
1051
1068
|
displayName: string;
|
|
1052
1069
|
};
|
|
1053
1070
|
|
|
1071
|
+
interface NeoActionsCellProps extends Omit<GridRenderCellParams, 'api'> {
|
|
1072
|
+
api?: GridRenderCellParams['api'];
|
|
1073
|
+
children: ReactNode;
|
|
1074
|
+
position?: 'bottom-end' | 'bottom-start' | 'top-end' | 'top-start';
|
|
1075
|
+
suppressChildrenValidation?: boolean;
|
|
1076
|
+
}
|
|
1077
|
+
declare function NeoActionsCell(props: NeoActionsCellProps): react_jsx_runtime.JSX.Element;
|
|
1078
|
+
|
|
1079
|
+
type NeoAvatarCellBase = {
|
|
1080
|
+
disabled?: boolean;
|
|
1081
|
+
};
|
|
1082
|
+
type NeoAvatarCellEmpty = NeoAvatarCellBase & {
|
|
1083
|
+
empty: true;
|
|
1084
|
+
name?: never;
|
|
1085
|
+
src?: never;
|
|
1086
|
+
label?: never;
|
|
1087
|
+
};
|
|
1088
|
+
type NeoAvatarCellContent = NeoAvatarCellBase & {
|
|
1089
|
+
empty?: false;
|
|
1090
|
+
name?: string;
|
|
1091
|
+
src?: string;
|
|
1092
|
+
label?: string;
|
|
1093
|
+
};
|
|
1094
|
+
type NeoAvatarCellProps = NeoAvatarCellEmpty | NeoAvatarCellContent;
|
|
1095
|
+
/**
|
|
1096
|
+
* NeoAvatarCell — DataGrid cell displaying a user avatar with optional label.
|
|
1097
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=13425-1725
|
|
1098
|
+
*/
|
|
1099
|
+
declare const NeoAvatarCell: {
|
|
1100
|
+
({ name, src, label, disabled, empty, }: NeoAvatarCellProps): react_jsx_runtime.JSX.Element;
|
|
1101
|
+
displayName: string;
|
|
1102
|
+
};
|
|
1103
|
+
|
|
1104
|
+
interface NeoIconCellProps {
|
|
1105
|
+
icon?: ReactNode;
|
|
1106
|
+
ariaLabel?: string;
|
|
1107
|
+
disabled?: boolean;
|
|
1108
|
+
}
|
|
1109
|
+
/**
|
|
1110
|
+
* NeoIconCell — Icon cell for DataGrid. Renders an icon centered in the cell.
|
|
1111
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=13272-9345
|
|
1112
|
+
*/
|
|
1113
|
+
declare const NeoIconCell: {
|
|
1114
|
+
({ icon, ariaLabel, disabled }: NeoIconCellProps): react_jsx_runtime.JSX.Element | null;
|
|
1115
|
+
displayName: string;
|
|
1116
|
+
};
|
|
1117
|
+
|
|
1118
|
+
type NeoLogoCellNoSrc = {
|
|
1119
|
+
src?: undefined;
|
|
1120
|
+
alt?: string;
|
|
1121
|
+
disabled?: boolean;
|
|
1122
|
+
};
|
|
1123
|
+
type NeoLogoCellWithSrc = {
|
|
1124
|
+
src: string;
|
|
1125
|
+
alt: string;
|
|
1126
|
+
disabled?: boolean;
|
|
1127
|
+
};
|
|
1128
|
+
type NeoLogoCellProps = NeoLogoCellNoSrc | NeoLogoCellWithSrc;
|
|
1129
|
+
/**
|
|
1130
|
+
* NeoLogoCell — DataGrid cell displaying a raster or SVG logo image.
|
|
1131
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=13278-9558
|
|
1132
|
+
*
|
|
1133
|
+
* Kept separate from NeoIconCell to match Neo's Icon/Logo component split:
|
|
1134
|
+
* - NeoIconCell: MUI SvgIcon components
|
|
1135
|
+
* - NeoLogoCell: raster or SVG image URLs (img tag)
|
|
1136
|
+
*/
|
|
1137
|
+
declare const NeoLogoCell: {
|
|
1138
|
+
({ src, alt, disabled }: NeoLogoCellProps): react_jsx_runtime.JSX.Element;
|
|
1139
|
+
displayName: string;
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
type NeoProgressCellBase = {
|
|
1143
|
+
disabled?: boolean;
|
|
1144
|
+
};
|
|
1145
|
+
type NeoProgressCellEmpty = NeoProgressCellBase & {
|
|
1146
|
+
empty: true;
|
|
1147
|
+
value?: never;
|
|
1148
|
+
};
|
|
1149
|
+
type NeoProgressCellContent = NeoProgressCellBase & {
|
|
1150
|
+
empty?: false;
|
|
1151
|
+
value?: number;
|
|
1152
|
+
};
|
|
1153
|
+
type NeoProgressCellProps = NeoProgressCellEmpty | NeoProgressCellContent;
|
|
1154
|
+
/**
|
|
1155
|
+
* NeoProgressCell — DataGrid cell displaying a linear progress indicator.
|
|
1156
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=13425-5378
|
|
1157
|
+
*/
|
|
1158
|
+
declare const NeoProgressCell: {
|
|
1159
|
+
({ value, disabled, empty, }: NeoProgressCellProps): react_jsx_runtime.JSX.Element;
|
|
1160
|
+
displayName: string;
|
|
1161
|
+
};
|
|
1162
|
+
|
|
1163
|
+
type NeoStatusCellVariant = 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
1164
|
+
type NeoStatusCellBase = {
|
|
1165
|
+
disabled?: boolean;
|
|
1166
|
+
};
|
|
1167
|
+
type NeoStatusCellEmpty = NeoStatusCellBase & {
|
|
1168
|
+
empty: true;
|
|
1169
|
+
label?: never;
|
|
1170
|
+
icon?: never;
|
|
1171
|
+
variant?: never;
|
|
1172
|
+
details?: never;
|
|
1173
|
+
};
|
|
1174
|
+
type NeoStatusCellContent = NeoStatusCellBase & {
|
|
1175
|
+
empty?: false;
|
|
1176
|
+
label: string;
|
|
1177
|
+
icon?: ReactNode;
|
|
1178
|
+
variant?: NeoStatusCellVariant;
|
|
1179
|
+
/** Error details shown in a hover tooltip. Clipboard actions should be handled by the consuming app. */
|
|
1180
|
+
details?: string;
|
|
1181
|
+
};
|
|
1182
|
+
type NeoStatusCellProps = NeoStatusCellEmpty | NeoStatusCellContent;
|
|
1183
|
+
/**
|
|
1184
|
+
* NeoStatusCell — DataGrid cell displaying an icon + label chip with optional error tooltip.
|
|
1185
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=13272-8705
|
|
1186
|
+
*/
|
|
1187
|
+
declare const NeoStatusCell: {
|
|
1188
|
+
({ icon, label, details, disabled, variant, empty, }: NeoStatusCellProps): react_jsx_runtime.JSX.Element;
|
|
1189
|
+
displayName: string;
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1054
1192
|
/**
|
|
1055
1193
|
* NeoDataGridColumnsButton - Button to open the columns panel in DataGrid
|
|
1056
1194
|
*
|
|
@@ -1084,7 +1222,7 @@ declare namespace NeoDataGridFiltersButton {
|
|
|
1084
1222
|
var displayName: string;
|
|
1085
1223
|
}
|
|
1086
1224
|
|
|
1087
|
-
|
|
1225
|
+
type NeoMenuItemOwnProps = {
|
|
1088
1226
|
/**
|
|
1089
1227
|
* Optional icon to display on the left side
|
|
1090
1228
|
* Note: Cannot be directly mapped from Figma (ReactNode)
|
|
@@ -1102,16 +1240,26 @@ interface NeoMenuItemProps extends MenuItemProps {
|
|
|
1102
1240
|
* Note: Cannot be directly mapped from Figma (ReactNode/string)
|
|
1103
1241
|
*/
|
|
1104
1242
|
secondaryText?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* URL to navigate to. When provided, the menu item renders as an anchor
|
|
1245
|
+
* element (via MUI ButtonBase) so users can middle-click or right-click
|
|
1246
|
+
* to open in a new tab. For client-side routing, also pass
|
|
1247
|
+
* `component={NextLink}` (or your router's link component).
|
|
1248
|
+
*/
|
|
1249
|
+
href?: string;
|
|
1105
1250
|
/**
|
|
1106
1251
|
* Menu item content (text label)
|
|
1107
1252
|
* @figma children mapped from Figma layer content
|
|
1108
1253
|
*/
|
|
1109
1254
|
children?: ReactNode;
|
|
1110
|
-
}
|
|
1255
|
+
};
|
|
1256
|
+
type NeoMenuItemProps<C extends ElementType = typeof MenuItem> = NeoMenuItemOwnProps & Omit<ComponentPropsWithoutRef<C>, keyof NeoMenuItemOwnProps> & {
|
|
1257
|
+
component?: C;
|
|
1258
|
+
};
|
|
1111
1259
|
/**
|
|
1112
1260
|
* NeoMenuItem - Menu item component based on MUI MenuItem
|
|
1113
1261
|
*
|
|
1114
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4159-
|
|
1262
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025-26?node-id=4159-8714
|
|
1115
1263
|
*
|
|
1116
1264
|
* @example
|
|
1117
1265
|
* ```tsx
|
|
@@ -1126,12 +1274,23 @@ interface NeoMenuItemProps extends MenuItemProps {
|
|
|
1126
1274
|
*
|
|
1127
1275
|
* // Disabled state
|
|
1128
1276
|
* <NeoMenuItem disabled>Disabled item</NeoMenuItem>
|
|
1277
|
+
*
|
|
1278
|
+
* // As an anchor — middle-click/right-click open in a new tab
|
|
1279
|
+
* <NeoMenuItem href="/api-explorer">API explorer</NeoMenuItem>
|
|
1280
|
+
*
|
|
1281
|
+
* // External link
|
|
1282
|
+
* <NeoMenuItem href="https://docs.example.com" target="_blank" rel="noopener noreferrer">
|
|
1283
|
+
* Documentation
|
|
1284
|
+
* </NeoMenuItem>
|
|
1285
|
+
*
|
|
1286
|
+
* // Client-side routing (Next.js)
|
|
1287
|
+
* <NeoMenuItem component={NextLink} href="/api-explorer">API explorer</NeoMenuItem>
|
|
1129
1288
|
* ```
|
|
1130
1289
|
*/
|
|
1131
|
-
declare
|
|
1132
|
-
|
|
1133
|
-
displayName: string;
|
|
1134
|
-
}
|
|
1290
|
+
declare function NeoMenuItem<C extends ElementType = typeof MenuItem>({ icon, shortcut, secondaryText, children, ...rest }: NeoMenuItemProps<C>): react_jsx_runtime.JSX.Element;
|
|
1291
|
+
declare namespace NeoMenuItem {
|
|
1292
|
+
var displayName: string;
|
|
1293
|
+
}
|
|
1135
1294
|
|
|
1136
1295
|
type NeoSelectProps = SelectProps;
|
|
1137
1296
|
/**
|
|
@@ -1185,42 +1344,6 @@ declare const NeoDataGridFilterPanel: {
|
|
|
1185
1344
|
declare function SortedDescendingIcon(): react_jsx_runtime.JSX.Element;
|
|
1186
1345
|
declare function SortedAscendingIcon(): react_jsx_runtime.JSX.Element;
|
|
1187
1346
|
declare function UnsortedIcon(): react_jsx_runtime.JSX.Element;
|
|
1188
|
-
/**
|
|
1189
|
-
* Utility function to get DataGrid sx styles for header cells
|
|
1190
|
-
*
|
|
1191
|
-
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4212-41618
|
|
1192
|
-
*
|
|
1193
|
-
* Figma prop mappings:
|
|
1194
|
-
* - `size` → `size`: Figma "condensed" → MUI 'compact', Figma "default" → MUI 'standard', Figma "relaxed" → MUI 'comfortable'
|
|
1195
|
-
*
|
|
1196
|
-
* Design tokens used:
|
|
1197
|
-
* - Background: colors.grey[50] (#f9fafb)
|
|
1198
|
-
* - Border: semanticColors.border.primary
|
|
1199
|
-
* - Padding: 12px vertical, 24px horizontal
|
|
1200
|
-
* - Gap: 12px
|
|
1201
|
-
*
|
|
1202
|
-
*
|
|
1203
|
-
* @param size - Header row size variant (affects header cell height)
|
|
1204
|
-
* @returns SxProps for DataGrid header cells
|
|
1205
|
-
*
|
|
1206
|
-
* @example
|
|
1207
|
-
* import { getDataGridHeaderStyles, SortedDescendingIcon, SortedAscendingIcon, UnsortedIcon } from './DataGridHeaderCell'
|
|
1208
|
-
*
|
|
1209
|
-
* <DataGrid
|
|
1210
|
-
* columnHeaderHeight={38} // for compact (Figma: condensed)
|
|
1211
|
-
* sx={{
|
|
1212
|
-
* ...getDataGridHeaderStyles(),
|
|
1213
|
-
* }}
|
|
1214
|
-
* slots={{
|
|
1215
|
-
* columnSortedDescendingIcon: SortedDescendingIcon,
|
|
1216
|
-
* columnSortedAscendingIcon: SortedAscendingIcon,
|
|
1217
|
-
* columnUnsortedIcon: UnsortedIcon,
|
|
1218
|
-
* }}
|
|
1219
|
-
* rows={rows}
|
|
1220
|
-
* columns={columns}
|
|
1221
|
-
* />
|
|
1222
|
-
*/
|
|
1223
|
-
declare const getDataGridHeaderStyles: () => SxProps<Theme>;
|
|
1224
1347
|
|
|
1225
1348
|
interface NeoDataGridHeaderLabelProps {
|
|
1226
1349
|
/**
|
|
@@ -1320,7 +1443,7 @@ declare const NeoDownloadToast: {
|
|
|
1320
1443
|
type DotSize = 'small' | 'medium' | 'large';
|
|
1321
1444
|
type DotVariant = 'solid' | 'outline';
|
|
1322
1445
|
type DotColor = 'success' | 'error' | 'warning' | 'info' | 'neutral';
|
|
1323
|
-
interface NeoDotProps extends Omit<
|
|
1446
|
+
interface NeoDotProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
1324
1447
|
/**
|
|
1325
1448
|
* The size of the dot
|
|
1326
1449
|
* @default "medium"
|
|
@@ -1336,9 +1459,16 @@ interface NeoDotProps extends Omit<BadgeProps, 'variant' | 'color' | 'badgeConte
|
|
|
1336
1459
|
* @default "neutral"
|
|
1337
1460
|
*/
|
|
1338
1461
|
color?: DotColor;
|
|
1462
|
+
/**
|
|
1463
|
+
* Optional icon rendered centered inside the dot. Use to indicate intent within
|
|
1464
|
+
* the dot itself (e.g., a minus icon on a disconnected error dot). SVG children
|
|
1465
|
+
* using `currentColor` inherit a white stroke/fill for contrast against the
|
|
1466
|
+
* colored background, and are scaled to 70% of the dot size.
|
|
1467
|
+
*/
|
|
1468
|
+
children?: ReactNode;
|
|
1339
1469
|
}
|
|
1340
1470
|
/**
|
|
1341
|
-
* NeoDot - Status indicator dot
|
|
1471
|
+
* NeoDot - Status indicator dot.
|
|
1342
1472
|
*
|
|
1343
1473
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4163-3577
|
|
1344
1474
|
*
|
|
@@ -1348,7 +1478,48 @@ interface NeoDotProps extends Omit<BadgeProps, 'variant' | 'color' | 'badgeConte
|
|
|
1348
1478
|
* - Color is configurable via color prop (success|error|warning|info|neutral)
|
|
1349
1479
|
*/
|
|
1350
1480
|
declare const NeoDot: {
|
|
1351
|
-
({ size, variant, color, ...props }: NeoDotProps): react_jsx_runtime.JSX.Element;
|
|
1481
|
+
({ size, variant, color, children, ...props }: NeoDotProps): react_jsx_runtime.JSX.Element;
|
|
1482
|
+
displayName: string;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Filled status icons — sourced from the published Figma library components
|
|
1487
|
+
* Filled_Success / Filled_Queued / Filled_Info / Filled_Warning / Filled_Error /
|
|
1488
|
+
* Filled_Neutral / Filled_Canceled.
|
|
1489
|
+
*
|
|
1490
|
+
* Designed at 16px; size via `fontSize` like any MUI `SvgIcon`. Each ships its
|
|
1491
|
+
* intent's status color baked into the silhouette with a white inner glyph — the
|
|
1492
|
+
* fill is fixed, so `color`/`htmlColor` are omitted from the props. There is no
|
|
1493
|
+
* Filled_Active (the open-arc spinner cannot fill). Use below 18px; above that,
|
|
1494
|
+
* prefer the Lucide outline glyph.
|
|
1495
|
+
*/
|
|
1496
|
+
type NeoFilledStatusIconProps = Omit<SvgIconProps, 'color' | 'htmlColor'>;
|
|
1497
|
+
declare const NeoFilledSuccess: {
|
|
1498
|
+
(props: NeoFilledStatusIconProps): react_jsx_runtime.JSX.Element;
|
|
1499
|
+
displayName: string;
|
|
1500
|
+
};
|
|
1501
|
+
declare const NeoFilledQueued: {
|
|
1502
|
+
(props: NeoFilledStatusIconProps): react_jsx_runtime.JSX.Element;
|
|
1503
|
+
displayName: string;
|
|
1504
|
+
};
|
|
1505
|
+
declare const NeoFilledInfo: {
|
|
1506
|
+
(props: NeoFilledStatusIconProps): react_jsx_runtime.JSX.Element;
|
|
1507
|
+
displayName: string;
|
|
1508
|
+
};
|
|
1509
|
+
declare const NeoFilledWarning: {
|
|
1510
|
+
(props: NeoFilledStatusIconProps): react_jsx_runtime.JSX.Element;
|
|
1511
|
+
displayName: string;
|
|
1512
|
+
};
|
|
1513
|
+
declare const NeoFilledError: {
|
|
1514
|
+
(props: NeoFilledStatusIconProps): react_jsx_runtime.JSX.Element;
|
|
1515
|
+
displayName: string;
|
|
1516
|
+
};
|
|
1517
|
+
declare const NeoFilledNeutral: {
|
|
1518
|
+
(props: NeoFilledStatusIconProps): react_jsx_runtime.JSX.Element;
|
|
1519
|
+
displayName: string;
|
|
1520
|
+
};
|
|
1521
|
+
declare const NeoFilledCanceled: {
|
|
1522
|
+
(props: NeoFilledStatusIconProps): react_jsx_runtime.JSX.Element;
|
|
1352
1523
|
displayName: string;
|
|
1353
1524
|
};
|
|
1354
1525
|
|
|
@@ -1402,12 +1573,6 @@ interface NeoGeneralAvatarProps extends Omit<AvatarProps, 'variant'> {
|
|
|
1402
1573
|
* @figma Size
|
|
1403
1574
|
*/
|
|
1404
1575
|
size?: AvatarSize;
|
|
1405
|
-
/**
|
|
1406
|
-
* Color index for initials background (1-7). Use 0 or omit for image mode.
|
|
1407
|
-
* @default 0
|
|
1408
|
-
* @figma Color Index
|
|
1409
|
-
*/
|
|
1410
|
-
colorIndex?: number;
|
|
1411
1576
|
}
|
|
1412
1577
|
/**
|
|
1413
1578
|
* NeoGeneralAvatar - Avatar with image or colored initials display
|
|
@@ -1415,7 +1580,7 @@ interface NeoGeneralAvatarProps extends Omit<AvatarProps, 'variant'> {
|
|
|
1415
1580
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=9600-185
|
|
1416
1581
|
*/
|
|
1417
1582
|
declare const NeoGeneralAvatar: {
|
|
1418
|
-
({ size,
|
|
1583
|
+
({ size, alt, children, ...props }: NeoGeneralAvatarProps): react_jsx_runtime.JSX.Element;
|
|
1419
1584
|
displayName: string;
|
|
1420
1585
|
};
|
|
1421
1586
|
|
|
@@ -1474,6 +1639,7 @@ declare const NeoIconButton: {
|
|
|
1474
1639
|
};
|
|
1475
1640
|
|
|
1476
1641
|
type InputFieldSize = 'small' | 'medium';
|
|
1642
|
+
|
|
1477
1643
|
interface NeoInputFieldProps extends Omit<InputBaseProps, 'size'> {
|
|
1478
1644
|
/**
|
|
1479
1645
|
* The size of the input field
|
|
@@ -1741,16 +1907,68 @@ interface NeoNavigationAvatarProps extends Omit<NeoGeneralAvatarProps, 'size'> {
|
|
|
1741
1907
|
/**
|
|
1742
1908
|
* NeoNavigationAvatar - Compact avatar for navigation contexts
|
|
1743
1909
|
*
|
|
1744
|
-
* Wraps NeoGeneralAvatar (size="small") in a
|
|
1745
|
-
* providing
|
|
1910
|
+
* Wraps NeoGeneralAvatar (size="small") in a 40px container,
|
|
1911
|
+
* providing an interactive area for navigation UI.
|
|
1746
1912
|
*
|
|
1747
1913
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=11325-102
|
|
1748
1914
|
*/
|
|
1749
1915
|
declare const NeoNavigationAvatar: {
|
|
1750
|
-
({
|
|
1916
|
+
({ children, ...props }: NeoNavigationAvatarProps): react_jsx_runtime.JSX.Element;
|
|
1751
1917
|
displayName: string;
|
|
1752
1918
|
};
|
|
1753
1919
|
|
|
1920
|
+
declare module '@mui/material/Chip' {
|
|
1921
|
+
interface ChipPropsColorOverrides {
|
|
1922
|
+
violet: true;
|
|
1923
|
+
beta: true;
|
|
1924
|
+
}
|
|
1925
|
+
interface ChipPropsSizeOverrides {
|
|
1926
|
+
large: true;
|
|
1927
|
+
}
|
|
1928
|
+
interface ChipPropsVariantOverrides {
|
|
1929
|
+
outlined: true;
|
|
1930
|
+
filled: true;
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
type NeoTagOwnProps = {
|
|
1934
|
+
/**
|
|
1935
|
+
* The size of the tag
|
|
1936
|
+
* @figma Size (Small|Medium|Large)
|
|
1937
|
+
* @default "small"
|
|
1938
|
+
*/
|
|
1939
|
+
size?: 'small' | 'medium' | 'large';
|
|
1940
|
+
/**
|
|
1941
|
+
* The variant style of the tag
|
|
1942
|
+
* @figma Variant (Subtle|Filled)
|
|
1943
|
+
* @default "outlined"
|
|
1944
|
+
*/
|
|
1945
|
+
variant?: 'outlined' | 'filled';
|
|
1946
|
+
/**
|
|
1947
|
+
* The intent/purpose of the tag
|
|
1948
|
+
* @figma Intent (Neutral|Error|Warning|Success|Info|Violet)
|
|
1949
|
+
* @default "default"
|
|
1950
|
+
*/
|
|
1951
|
+
intent?: 'default' | 'error' | 'warning' | 'success' | 'info' | 'violet' | 'beta';
|
|
1952
|
+
};
|
|
1953
|
+
type NeoTagProps<C extends ElementType = typeof Chip> = NeoTagOwnProps & Omit<ChipProps, keyof NeoTagOwnProps | 'component' | 'color'> & Omit<ComponentPropsWithoutRef<C>, keyof NeoTagOwnProps | keyof ChipProps> & {
|
|
1954
|
+
component?: C;
|
|
1955
|
+
};
|
|
1956
|
+
/**
|
|
1957
|
+
* NeoTag - Small pill-shaped label component based on MUI Chip
|
|
1958
|
+
*
|
|
1959
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=4120-34533
|
|
1960
|
+
*
|
|
1961
|
+
* Figma Props Mapping:
|
|
1962
|
+
* - Size (Small|Medium|Large) → size (small|medium|large)
|
|
1963
|
+
* - Variant (Subtle|Filled) → variant (outlined|filled)
|
|
1964
|
+
* - Intent (Neutral|Error|Warning|Success|Info|Violet|Beta) → intent (default|error|warning|success|info|violet|beta)
|
|
1965
|
+
* - TEXT Label → label prop
|
|
1966
|
+
*/
|
|
1967
|
+
declare function NeoTag<C extends ElementType = typeof Chip>({ size, variant, intent, ...props }: NeoTagProps<C>): react_jsx_runtime.JSX.Element;
|
|
1968
|
+
declare namespace NeoTag {
|
|
1969
|
+
var displayName: string;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1754
1972
|
type NeoNavigationItemOwnProps = {
|
|
1755
1973
|
/**
|
|
1756
1974
|
* Icon element to display
|
|
@@ -1767,16 +1985,34 @@ type NeoNavigationItemOwnProps = {
|
|
|
1767
1985
|
*/
|
|
1768
1986
|
selected?: boolean;
|
|
1769
1987
|
/**
|
|
1770
|
-
* Optional tag badge content (e.g.,
|
|
1988
|
+
* Optional tag badge content (e.g., "Beta")
|
|
1771
1989
|
* @figma Tag
|
|
1772
1990
|
*/
|
|
1773
1991
|
tag?: string;
|
|
1992
|
+
/**
|
|
1993
|
+
* Hover tooltip shown only when the surrounding NeoSideNav is collapsed
|
|
1994
|
+
* (and the label is therefore hidden).
|
|
1995
|
+
*/
|
|
1996
|
+
tooltip?: ReactNode;
|
|
1997
|
+
/**
|
|
1998
|
+
* Slot props for internal sub-components.
|
|
1999
|
+
*/
|
|
2000
|
+
slotProps?: {
|
|
2001
|
+
/**
|
|
2002
|
+
* Props forwarded to the NeoTag badge rendered when `tag` is set.
|
|
2003
|
+
* Override `intent`, `variant`, or `size` to change appearance — e.g.
|
|
2004
|
+
* `{ variant: 'outlined', intent: 'default' }` for a calmer grey badge.
|
|
2005
|
+
*/
|
|
2006
|
+
badge?: NeoTagOwnProps & {
|
|
2007
|
+
sx?: Record<string, unknown>;
|
|
2008
|
+
};
|
|
2009
|
+
};
|
|
1774
2010
|
/**
|
|
1775
2011
|
* Additional content
|
|
1776
2012
|
*/
|
|
1777
2013
|
children?: ReactNode;
|
|
1778
2014
|
};
|
|
1779
|
-
type NeoNavigationItemProps<C extends ElementType = typeof
|
|
2015
|
+
type NeoNavigationItemProps<C extends ElementType = typeof ButtonBase> = NeoNavigationItemOwnProps & Omit<ButtonBaseProps, keyof NeoNavigationItemOwnProps | 'component'> & Omit<ComponentPropsWithoutRef<C>, keyof NeoNavigationItemOwnProps | keyof ButtonBaseProps> & {
|
|
1780
2016
|
component?: C;
|
|
1781
2017
|
};
|
|
1782
2018
|
/**
|
|
@@ -1784,7 +2020,7 @@ type NeoNavigationItemProps<C extends ElementType = typeof ButtonBase__default>
|
|
|
1784
2020
|
*
|
|
1785
2021
|
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC/Neo---Moderne-Design-system---2025?node-id=8455-6120
|
|
1786
2022
|
*/
|
|
1787
|
-
declare function NeoNavigationItem<C extends ElementType = typeof
|
|
2023
|
+
declare function NeoNavigationItem<C extends ElementType = typeof ButtonBase>({ icon, label, selected, tag, tooltip, slotProps, children, ...props }: NeoNavigationItemProps<C>): react_jsx_runtime.JSX.Element;
|
|
1788
2024
|
declare namespace NeoNavigationItem {
|
|
1789
2025
|
var displayName: string;
|
|
1790
2026
|
}
|
|
@@ -1861,6 +2097,17 @@ interface NeoPageContentProps extends BoxProps {
|
|
|
1861
2097
|
* @default false
|
|
1862
2098
|
*/
|
|
1863
2099
|
disableGutters?: boolean;
|
|
2100
|
+
/**
|
|
2101
|
+
* Page layout mode.
|
|
2102
|
+
* - `default`: standard centered/max-width-constrained content with
|
|
2103
|
+
* gutters. Best for content-driven pages (settings, forms, lists).
|
|
2104
|
+
* - `fullBleed`: removes max-width and horizontal/bottom padding, lets
|
|
2105
|
+
* the content area flex-fill the viewport. Best for full-height
|
|
2106
|
+
* layouts (sidebar + panel canvases, builders, explorers). Title
|
|
2107
|
+
* and breadcrumbs still render — they sit at the leading edge.
|
|
2108
|
+
* @default 'default'
|
|
2109
|
+
*/
|
|
2110
|
+
layout?: 'default' | 'fullBleed';
|
|
1864
2111
|
/**
|
|
1865
2112
|
* Loading state - shows spinner while content loads
|
|
1866
2113
|
* @default false
|
|
@@ -1931,7 +2178,7 @@ interface NeoPageContentProps extends BoxProps {
|
|
|
1931
2178
|
* </NeoPageContent>
|
|
1932
2179
|
* ```
|
|
1933
2180
|
*/
|
|
1934
|
-
declare function NeoPageContent({ pageTitle, subtitle, breadcrumbs, action, sticky, contentMaxWidth, centerContent, disableGutters, isLoading, showBackToTop, children, sx, ...boxProps }: NeoPageContentProps): react_jsx_runtime.JSX.Element;
|
|
2181
|
+
declare function NeoPageContent({ pageTitle, subtitle, breadcrumbs, action, sticky, contentMaxWidth: contentMaxWidthProp, centerContent, disableGutters: disableGuttersProp, isLoading, showBackToTop, layout, children, sx, ...boxProps }: NeoPageContentProps): react_jsx_runtime.JSX.Element;
|
|
1935
2182
|
declare namespace NeoPageContent {
|
|
1936
2183
|
var displayName: string;
|
|
1937
2184
|
}
|
|
@@ -2104,6 +2351,24 @@ declare const NeoRadio: {
|
|
|
2104
2351
|
displayName: string;
|
|
2105
2352
|
};
|
|
2106
2353
|
|
|
2354
|
+
/**
|
|
2355
|
+
* NeoRadioButtonWithText
|
|
2356
|
+
*
|
|
2357
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=11565-7682
|
|
2358
|
+
*/
|
|
2359
|
+
declare const NeoRadioButtonWithText: StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2360
|
+
|
|
2361
|
+
interface NeoRipplingDotProps extends BoxProps$1 {
|
|
2362
|
+
}
|
|
2363
|
+
/**
|
|
2364
|
+
* NeoRipplingDot - Animated status dot with an expanding ripple ring.
|
|
2365
|
+
*
|
|
2366
|
+
* Indicates an in-progress, indeterminate state (RUNNING / SYNCING / PROCESSING).
|
|
2367
|
+
* Color is inherited from `currentColor`; set it via the `color`/`sx` prop or a
|
|
2368
|
+
* parent. Sized to the lowercase-letter height regardless of parent fontSize.
|
|
2369
|
+
*/
|
|
2370
|
+
declare const NeoRipplingDot: FunctionComponent<NeoRipplingDotProps>;
|
|
2371
|
+
|
|
2107
2372
|
interface NeoSearchChipProps extends Omit<InputBaseProps, 'startAdornment' | 'endAdornment' | 'type'> {
|
|
2108
2373
|
/**
|
|
2109
2374
|
* Handler for clearing the search value (shows X icon when provided and value is non-empty)
|
|
@@ -2123,6 +2388,86 @@ declare const NeoSearchChip: {
|
|
|
2123
2388
|
displayName: string;
|
|
2124
2389
|
};
|
|
2125
2390
|
|
|
2391
|
+
interface NeoSelectFieldOption {
|
|
2392
|
+
value: string | number;
|
|
2393
|
+
label: ReactNode;
|
|
2394
|
+
disabled?: boolean;
|
|
2395
|
+
}
|
|
2396
|
+
interface NeoSelectFieldProps extends Omit<SelectProps, 'size' | 'variant' | 'error' | 'children'> {
|
|
2397
|
+
/**
|
|
2398
|
+
* Form-control size.
|
|
2399
|
+
* @default 'medium'
|
|
2400
|
+
*/
|
|
2401
|
+
size?: InputFieldSize;
|
|
2402
|
+
/**
|
|
2403
|
+
* Show error/destructive state with red label + helper text styling.
|
|
2404
|
+
* @default false
|
|
2405
|
+
*/
|
|
2406
|
+
destructive?: boolean;
|
|
2407
|
+
/** Label text rendered above the select. */
|
|
2408
|
+
label?: string;
|
|
2409
|
+
/** Show required indicator (asterisk) next to the label. @default false */
|
|
2410
|
+
required?: boolean;
|
|
2411
|
+
/** Optional info icon rendered next to the label. */
|
|
2412
|
+
infoIcon?: ReactNode;
|
|
2413
|
+
/** Helper text rendered below the select (normal state). */
|
|
2414
|
+
helperText?: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* Error message rendered below the select when `destructive` is true.
|
|
2417
|
+
* Takes precedence over helperText when destructive.
|
|
2418
|
+
*/
|
|
2419
|
+
errorMessage?: string;
|
|
2420
|
+
/**
|
|
2421
|
+
* Convenience option list. Each entry becomes a NeoSelectOption.
|
|
2422
|
+
* Use `children` instead for custom option content.
|
|
2423
|
+
*/
|
|
2424
|
+
options?: NeoSelectFieldOption[];
|
|
2425
|
+
/** Custom option content. Overrides `options` if both are provided. */
|
|
2426
|
+
children?: ReactNode;
|
|
2427
|
+
}
|
|
2428
|
+
/**
|
|
2429
|
+
* NeoSelectField — composite of NeoInputField's form chrome (label,
|
|
2430
|
+
* helper text, error state) wrapped around NeoSelect. Mirrors the
|
|
2431
|
+
* MUI `<TextField select>` ergonomics with Neo design tokens, so
|
|
2432
|
+
* consumers don't have to compose the two manually.
|
|
2433
|
+
*
|
|
2434
|
+
* @example
|
|
2435
|
+
* <NeoSelectField
|
|
2436
|
+
* label="Response format"
|
|
2437
|
+
* value={format}
|
|
2438
|
+
* onChange={e => setFormat(e.target.value)}
|
|
2439
|
+
* options={[
|
|
2440
|
+
* { value: 'json', label: 'JSON' },
|
|
2441
|
+
* { value: 'plain', label: 'Plain text' },
|
|
2442
|
+
* ]}
|
|
2443
|
+
* />
|
|
2444
|
+
*/
|
|
2445
|
+
declare const NeoSelectField: {
|
|
2446
|
+
({ size, destructive, label, required, infoIcon, helperText, errorMessage, options, children, disabled, id, ...selectProps }: NeoSelectFieldProps): react_jsx_runtime.JSX.Element;
|
|
2447
|
+
displayName: string;
|
|
2448
|
+
};
|
|
2449
|
+
|
|
2450
|
+
type NeoSelectFieldChangeEvent<T = unknown> = SelectChangeEvent<T>;
|
|
2451
|
+
|
|
2452
|
+
type NeoSideNavProps = {
|
|
2453
|
+
/** Controlled collapsed state. */
|
|
2454
|
+
collapsed: boolean;
|
|
2455
|
+
/** Called with the next collapsed value when the toggle is activated. */
|
|
2456
|
+
onCollapsedChange: (next: boolean) => void;
|
|
2457
|
+
/** Fixed top slot (e.g. product logo). */
|
|
2458
|
+
header?: ReactNode;
|
|
2459
|
+
/** Fixed bottom slot (e.g. tenant branding), rendered above the toggle. */
|
|
2460
|
+
footer?: ReactNode;
|
|
2461
|
+
/** Scrolling content slot — the nav items. */
|
|
2462
|
+
children: ReactNode;
|
|
2463
|
+
/** Toggle label shown when expanded. Default "Less". */
|
|
2464
|
+
collapseLabel?: string;
|
|
2465
|
+
} & Pick<ComponentPropsWithoutRef<'nav'>, 'className' | 'id' | 'aria-label'>;
|
|
2466
|
+
declare function NeoSideNav({ collapsed, onCollapsedChange, header, footer, children, collapseLabel, ...rest }: NeoSideNavProps): react_jsx_runtime.JSX.Element;
|
|
2467
|
+
declare namespace NeoSideNav {
|
|
2468
|
+
var displayName: string;
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2126
2471
|
/**
|
|
2127
2472
|
* Extended props for NeoSkeleton component
|
|
2128
2473
|
*/
|
|
@@ -2161,6 +2506,7 @@ declare const NeoSkeleton: {
|
|
|
2161
2506
|
|
|
2162
2507
|
type Intent$1 = 'success' | 'error' | 'warning' | 'offline' | 'info';
|
|
2163
2508
|
type AlertType = 'outlined' | 'filled';
|
|
2509
|
+
type AlertSize = 'default' | 'compact';
|
|
2164
2510
|
interface NeoAlertProps extends Omit<AlertProps, 'severity' | 'variant' | 'color'> {
|
|
2165
2511
|
/**
|
|
2166
2512
|
* The intent/purpose of the alert
|
|
@@ -2174,6 +2520,13 @@ interface NeoAlertProps extends Omit<AlertProps, 'severity' | 'variant' | 'color
|
|
|
2174
2520
|
* @figma Type
|
|
2175
2521
|
*/
|
|
2176
2522
|
type?: AlertType;
|
|
2523
|
+
/**
|
|
2524
|
+
* Vertical density. `default` is page-level (64px fixed height,
|
|
2525
|
+
* supports title + description). `compact` is inline-panel use
|
|
2526
|
+
* (auto height, 40px min, single-line optimized for terse messages).
|
|
2527
|
+
* @default "default"
|
|
2528
|
+
*/
|
|
2529
|
+
size?: AlertSize;
|
|
2177
2530
|
/**
|
|
2178
2531
|
* The title text displayed in the alert
|
|
2179
2532
|
*/
|
|
@@ -2190,6 +2543,12 @@ interface NeoAlertProps extends Omit<AlertProps, 'severity' | 'variant' | 'color
|
|
|
2190
2543
|
* Optional action element (typically a button) displayed on the right
|
|
2191
2544
|
*/
|
|
2192
2545
|
action?: ReactNode;
|
|
2546
|
+
/**
|
|
2547
|
+
* Optional content rendered below the title inside the alert container.
|
|
2548
|
+
* Use for rich content like stack traces or code blocks. When present,
|
|
2549
|
+
* the alert expands to auto height and top-aligns its icon and action.
|
|
2550
|
+
*/
|
|
2551
|
+
children?: ReactNode;
|
|
2193
2552
|
}
|
|
2194
2553
|
/**
|
|
2195
2554
|
* NeoAlert - Alert component for displaying contextual status messages
|
|
@@ -2203,7 +2562,69 @@ interface NeoAlertProps extends Omit<AlertProps, 'severity' | 'variant' | 'color
|
|
|
2203
2562
|
* - Show Button → action prop presence
|
|
2204
2563
|
*/
|
|
2205
2564
|
declare const NeoAlert: {
|
|
2206
|
-
({ intent, type, title, description, icon, action, ...props }: NeoAlertProps): react_jsx_runtime.JSX.Element;
|
|
2565
|
+
({ intent, type, size, title, description, icon, action, children, ...props }: NeoAlertProps): react_jsx_runtime.JSX.Element;
|
|
2566
|
+
displayName: string;
|
|
2567
|
+
};
|
|
2568
|
+
|
|
2569
|
+
type TableSize = 'small' | 'medium';
|
|
2570
|
+
type TableVariant = 'bordered' | 'plain';
|
|
2571
|
+
type CellAlign = 'left' | 'center' | 'right';
|
|
2572
|
+
interface NeoTableColumn {
|
|
2573
|
+
/** Unique key — looked up against each row to find the cell value. */
|
|
2574
|
+
key: string;
|
|
2575
|
+
/** Header label rendered in the thead. */
|
|
2576
|
+
header: ReactNode;
|
|
2577
|
+
/** Cell text alignment. @default 'left' */
|
|
2578
|
+
align?: CellAlign;
|
|
2579
|
+
/** Column width — any CSS length (e.g. '120px', '20%'). */
|
|
2580
|
+
width?: string;
|
|
2581
|
+
}
|
|
2582
|
+
interface NeoTableProps extends Omit<TableProps, 'size'> {
|
|
2583
|
+
/** Column definitions. Order in the array determines render order. */
|
|
2584
|
+
columns: NeoTableColumn[];
|
|
2585
|
+
/**
|
|
2586
|
+
* Row data. Each row is a record keyed by `column.key`. Cell values
|
|
2587
|
+
* may be any ReactNode (strings, badges, icons, etc.).
|
|
2588
|
+
*/
|
|
2589
|
+
rows: Array<Record<string, ReactNode>>;
|
|
2590
|
+
/**
|
|
2591
|
+
* Cell density.
|
|
2592
|
+
* - 'small': tight padding for dense lists.
|
|
2593
|
+
* - 'medium': comfortable padding for read-heavy tables.
|
|
2594
|
+
* @default 'small'
|
|
2595
|
+
*/
|
|
2596
|
+
size?: TableSize;
|
|
2597
|
+
/**
|
|
2598
|
+
* Container chrome.
|
|
2599
|
+
* - 'bordered': container border + borderRadius.card.
|
|
2600
|
+
* - 'plain': no container chrome — for embedding inside an existing surface.
|
|
2601
|
+
* @default 'bordered'
|
|
2602
|
+
*/
|
|
2603
|
+
variant?: TableVariant;
|
|
2604
|
+
/** Optional accessible label for the table. */
|
|
2605
|
+
ariaLabel?: string;
|
|
2606
|
+
}
|
|
2607
|
+
/**
|
|
2608
|
+
* NeoTable — lightweight read-only table for static data (schema rows,
|
|
2609
|
+
* key/value summaries, response metadata). For interactive grids with
|
|
2610
|
+
* sorting / filtering / pagination, use NeoDataGrid instead.
|
|
2611
|
+
*
|
|
2612
|
+
* @example
|
|
2613
|
+
* <NeoTable
|
|
2614
|
+
* columns={[
|
|
2615
|
+
* { key: 'name', header: 'Property' },
|
|
2616
|
+
* { key: 'type', header: 'Type', align: 'center', width: '120px' },
|
|
2617
|
+
* { key: 'description', header: 'Description' },
|
|
2618
|
+
* ]}
|
|
2619
|
+
* rows={[
|
|
2620
|
+
* { name: 'id', type: 'string', description: 'Resource identifier' },
|
|
2621
|
+
* { name: 'count', type: 'number', description: 'Item count' },
|
|
2622
|
+
* ]}
|
|
2623
|
+
* size="small"
|
|
2624
|
+
* />
|
|
2625
|
+
*/
|
|
2626
|
+
declare const NeoTable: {
|
|
2627
|
+
({ columns, rows, size, variant, ariaLabel, ...tableProps }: NeoTableProps): react_jsx_runtime.JSX.Element;
|
|
2207
2628
|
displayName: string;
|
|
2208
2629
|
};
|
|
2209
2630
|
|
|
@@ -2217,7 +2638,7 @@ declare const NeoAlert: {
|
|
|
2217
2638
|
* - Tab selection → value prop + onChange
|
|
2218
2639
|
* - Active indicator → styled via indicator slot
|
|
2219
2640
|
*/
|
|
2220
|
-
declare const NeoTabs: StyledComponent<
|
|
2641
|
+
declare const NeoTabs: StyledComponent<_mui_material.TabsOwnProps & _mui_material_OverridableComponent.CommonProps & Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "style" | "children" | "sx" | "className" | "aria-label" | "aria-labelledby" | "onChange" | "classes" | "action" | "value" | "variant" | "orientation" | "slots" | "slotProps" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
2221
2642
|
interface NeoTabProps extends Omit<TabProps, 'label'> {
|
|
2222
2643
|
/**
|
|
2223
2644
|
* The label for the tab
|
|
@@ -2254,57 +2675,50 @@ declare const NeoTab: {
|
|
|
2254
2675
|
displayName: string;
|
|
2255
2676
|
};
|
|
2256
2677
|
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
}
|
|
2262
|
-
interface ChipPropsSizeOverrides {
|
|
2263
|
-
large: true;
|
|
2264
|
-
}
|
|
2265
|
-
interface ChipPropsVariantOverrides {
|
|
2266
|
-
outlined: true;
|
|
2267
|
-
filled: true;
|
|
2268
|
-
}
|
|
2269
|
-
}
|
|
2270
|
-
type NeoTagOwnProps = {
|
|
2271
|
-
/**
|
|
2272
|
-
* The size of the tag
|
|
2273
|
-
* @figma Size (Small|Medium|Large)
|
|
2274
|
-
* @default "small"
|
|
2275
|
-
*/
|
|
2276
|
-
size?: 'small' | 'medium' | 'large';
|
|
2678
|
+
type TabPanelVariant = 'default' | 'flush';
|
|
2679
|
+
interface NeoTabPanelProps extends Omit<BoxProps, 'role'> {
|
|
2680
|
+
/** This panel's identity — must match `currentValue` for the panel to render. */
|
|
2681
|
+
value: string | number;
|
|
2277
2682
|
/**
|
|
2278
|
-
* The
|
|
2279
|
-
*
|
|
2280
|
-
*
|
|
2683
|
+
* The currently selected tab value. When equal to `value`, this panel
|
|
2684
|
+
* renders its children. Otherwise the panel is hidden (and removed from
|
|
2685
|
+
* the accessibility tree via `hidden`).
|
|
2281
2686
|
*/
|
|
2282
|
-
|
|
2687
|
+
currentValue: string | number;
|
|
2283
2688
|
/**
|
|
2284
|
-
*
|
|
2285
|
-
*
|
|
2286
|
-
*
|
|
2689
|
+
* Layout density.
|
|
2690
|
+
* - `default`: 16px top padding — for standard content tabs.
|
|
2691
|
+
* - `flush`: zero padding — for full-bleed sidebar/panel/canvas layouts
|
|
2692
|
+
* where content must sit flush against the tab bar's bottom border.
|
|
2693
|
+
* @default 'default'
|
|
2287
2694
|
*/
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
};
|
|
2695
|
+
variant?: TabPanelVariant;
|
|
2696
|
+
/** Panel content. */
|
|
2697
|
+
children?: ReactNode;
|
|
2698
|
+
}
|
|
2293
2699
|
/**
|
|
2294
|
-
*
|
|
2700
|
+
* NeoTabPanel — completes the NeoTabs + NeoTab + NeoTabPanel set.
|
|
2295
2701
|
*
|
|
2296
|
-
*
|
|
2702
|
+
* Lightweight ARIA-compliant tab panel that renders children when its
|
|
2703
|
+
* `value` matches `currentValue`. No MUI Lab / TabContext dependency.
|
|
2297
2704
|
*
|
|
2298
|
-
*
|
|
2299
|
-
*
|
|
2300
|
-
*
|
|
2301
|
-
*
|
|
2302
|
-
*
|
|
2705
|
+
* @example
|
|
2706
|
+
* const [tab, setTab] = useState('overview')
|
|
2707
|
+
* return (
|
|
2708
|
+
* <>
|
|
2709
|
+
* <NeoTabs value={tab} onChange={(_, v) => setTab(v)}>
|
|
2710
|
+
* <NeoTab value="overview" label="Overview" />
|
|
2711
|
+
* <NeoTab value="details" label="Details" />
|
|
2712
|
+
* </NeoTabs>
|
|
2713
|
+
* <NeoTabPanel value="overview" currentValue={tab}>...</NeoTabPanel>
|
|
2714
|
+
* <NeoTabPanel value="details" currentValue={tab} variant="flush">...</NeoTabPanel>
|
|
2715
|
+
* </>
|
|
2716
|
+
* )
|
|
2303
2717
|
*/
|
|
2304
|
-
declare
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
}
|
|
2718
|
+
declare const NeoTabPanel: {
|
|
2719
|
+
({ value, currentValue, variant, children, ...boxProps }: NeoTabPanelProps): react_jsx_runtime.JSX.Element;
|
|
2720
|
+
displayName: string;
|
|
2721
|
+
};
|
|
2308
2722
|
|
|
2309
2723
|
type Intent = 'neutral' | 'info' | 'success' | 'error' | 'warning';
|
|
2310
2724
|
type ToastType = 'outlined' | 'filled';
|
|
@@ -2435,6 +2849,58 @@ declare const NeoToggle: {
|
|
|
2435
2849
|
displayName: string;
|
|
2436
2850
|
};
|
|
2437
2851
|
|
|
2852
|
+
type ToggleButtonSize = 'small' | 'medium';
|
|
2853
|
+
interface NeoToggleButtonProps extends Omit<ToggleButtonProps, 'color' | 'size'> {
|
|
2854
|
+
/**
|
|
2855
|
+
* Size of the toggle button. Set automatically by NeoToggleButtonGroup
|
|
2856
|
+
* when used as a child; set explicitly only for standalone use.
|
|
2857
|
+
* @default 'medium'
|
|
2858
|
+
*/
|
|
2859
|
+
size?: ToggleButtonSize;
|
|
2860
|
+
}
|
|
2861
|
+
/**
|
|
2862
|
+
* NeoToggleButton — a single button in a segmented control. Use inside
|
|
2863
|
+
* NeoToggleButtonGroup; the group manages selection state and forwards
|
|
2864
|
+
* size to its children. Suitable for inline toolbar mode switches
|
|
2865
|
+
* ("Table" / "Raw"). For page-level tabs, prefer NeoButtonTab.
|
|
2866
|
+
*/
|
|
2867
|
+
declare const NeoToggleButton: {
|
|
2868
|
+
({ children, size, ...props }: NeoToggleButtonProps): react_jsx_runtime.JSX.Element;
|
|
2869
|
+
displayName: string;
|
|
2870
|
+
};
|
|
2871
|
+
|
|
2872
|
+
type ToggleButtonGroupSize = 'small' | 'medium';
|
|
2873
|
+
interface NeoToggleButtonGroupProps extends Omit<ToggleButtonGroupProps, 'orientation' | 'color' | 'size' | 'fullWidth'> {
|
|
2874
|
+
/**
|
|
2875
|
+
* Size of the buttons in the group. Forwarded to each NeoToggleButton child.
|
|
2876
|
+
* @default 'medium'
|
|
2877
|
+
*/
|
|
2878
|
+
size?: ToggleButtonGroupSize;
|
|
2879
|
+
}
|
|
2880
|
+
/**
|
|
2881
|
+
* NeoToggleButtonGroup — pill-shaped segmented control wrapping
|
|
2882
|
+
* MUI ToggleButtonGroup with Neo tokens. Use for inline toolbar mode
|
|
2883
|
+
* switches (e.g. "Table" / "Raw" in a panel header). For page-level
|
|
2884
|
+
* tab navigation, prefer NeoButtonTabGroup.
|
|
2885
|
+
*
|
|
2886
|
+
* @example
|
|
2887
|
+
* <NeoToggleButtonGroup value={mode} exclusive onChange={(_, v) => v && setMode(v)} size="small">
|
|
2888
|
+
* <NeoToggleButton value="table">Table</NeoToggleButton>
|
|
2889
|
+
* <NeoToggleButton value="raw">Raw</NeoToggleButton>
|
|
2890
|
+
* </NeoToggleButtonGroup>
|
|
2891
|
+
*/
|
|
2892
|
+
declare const NeoToggleButtonGroup: {
|
|
2893
|
+
({ size, children, ...props }: NeoToggleButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
2894
|
+
displayName: string;
|
|
2895
|
+
};
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* NeoToggleButtonWithText
|
|
2899
|
+
*
|
|
2900
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=11565-10485
|
|
2901
|
+
*/
|
|
2902
|
+
declare const NeoToggleButtonWithText: StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2903
|
+
|
|
2438
2904
|
interface NeoToolbarProps extends ToolbarProps {
|
|
2439
2905
|
/**
|
|
2440
2906
|
* Toolbar content (typically NeoQuickFilter, NeoButton, NeoToggle, etc.)
|
|
@@ -2577,6 +3043,7 @@ declare const NeoListItem: {
|
|
|
2577
3043
|
displayName: string;
|
|
2578
3044
|
};
|
|
2579
3045
|
|
|
3046
|
+
type ListItemButtonVariant = 'card' | 'nav';
|
|
2580
3047
|
/**
|
|
2581
3048
|
* Props for the NeoListItemButton component
|
|
2582
3049
|
*/
|
|
@@ -2593,6 +3060,15 @@ interface NeoListItemButtonProps extends ListItemButtonProps {
|
|
|
2593
3060
|
* @figma property1="Disabled"
|
|
2594
3061
|
*/
|
|
2595
3062
|
disabled?: boolean;
|
|
3063
|
+
/**
|
|
3064
|
+
* Visual treatment.
|
|
3065
|
+
* - `card` (default): bordered card-style for settings/radio-list patterns.
|
|
3066
|
+
* Expects ListItemIcon + ListItemText children for full styling support.
|
|
3067
|
+
* - `nav`: borderless sidebar nav style with subtle hover/selected
|
|
3068
|
+
* highlights. Renders children inline; works with plain text.
|
|
3069
|
+
* @default 'card'
|
|
3070
|
+
*/
|
|
3071
|
+
variant?: ListItemButtonVariant;
|
|
2596
3072
|
}
|
|
2597
3073
|
/**
|
|
2598
3074
|
* NeoListItemButton - Selectable list item with icon and text
|
|
@@ -2638,10 +3114,21 @@ interface NeoListItemButtonProps extends ListItemButtonProps {
|
|
|
2638
3114
|
* - colors.grey[50] (#f9fafb) - Disabled background
|
|
2639
3115
|
*/
|
|
2640
3116
|
declare const NeoListItemButton: {
|
|
2641
|
-
({ children, selected, disabled, ...props }: NeoListItemButtonProps): react_jsx_runtime.JSX.Element;
|
|
3117
|
+
({ children, selected, disabled, variant, ...props }: NeoListItemButtonProps): react_jsx_runtime.JSX.Element;
|
|
2642
3118
|
displayName: string;
|
|
2643
3119
|
};
|
|
2644
3120
|
|
|
3121
|
+
interface NeoVibratingDotProps extends BoxProps$1 {
|
|
3122
|
+
}
|
|
3123
|
+
/**
|
|
3124
|
+
* NeoVibratingDot - Animated status dot with a breathing pulse halo.
|
|
3125
|
+
*
|
|
3126
|
+
* Indicates a waiting/pending state (QUEUED / CREATED). Color is inherited from
|
|
3127
|
+
* `currentColor`; set it via the `color`/`sx` prop or a parent. Sized to the
|
|
3128
|
+
* lowercase-letter height regardless of parent fontSize.
|
|
3129
|
+
*/
|
|
3130
|
+
declare const NeoVibratingDot: FunctionComponent<NeoVibratingDotProps>;
|
|
3131
|
+
|
|
2645
3132
|
/**
|
|
2646
3133
|
* Variant type for NeoTooltip
|
|
2647
3134
|
*/
|
|
@@ -2657,13 +3144,15 @@ interface NeoTooltipProps extends Omit<TooltipProps, 'title' | 'variant'> {
|
|
|
2657
3144
|
*/
|
|
2658
3145
|
variant?: TooltipVariant;
|
|
2659
3146
|
/**
|
|
2660
|
-
* The main tooltip
|
|
3147
|
+
* The main tooltip content. Accepts a string or any ReactNode, so callers can
|
|
3148
|
+
* compose richer content when the `description` variant isn't enough.
|
|
2661
3149
|
* @figma text (literal content, not a variant property)
|
|
2662
3150
|
*/
|
|
2663
|
-
title:
|
|
3151
|
+
title: ReactNode;
|
|
2664
3152
|
/**
|
|
2665
|
-
* Optional supporting description text
|
|
2666
|
-
*
|
|
3153
|
+
* Optional supporting description text. When provided, shows a larger tooltip
|
|
3154
|
+
* with a heading + body hierarchy: title (13px semibold) above a muted
|
|
3155
|
+
* description (12px medium).
|
|
2667
3156
|
* @default undefined
|
|
2668
3157
|
* @figma Supporting text
|
|
2669
3158
|
*/
|
|
@@ -2688,14 +3177,28 @@ interface NeoTooltipProps extends Omit<TooltipProps, 'title' | 'variant'> {
|
|
|
2688
3177
|
* - Dark: grey[50] (#f9fafb), grey[800] (#1f2937)
|
|
2689
3178
|
* - Brand: digitalBlue[800] (#131e7a), typography.tooltip (#ffffff)
|
|
2690
3179
|
* - Shadow: neutralMedium (0px 8px 15px 0px rgba(31,41,55,0.1))
|
|
2691
|
-
* - Typography: fontSize.xs (12), fontWeight.medium (500), fontWeight.semiBold (600)
|
|
3180
|
+
* - Typography: fontSize.xs (12), fontSize.caption (13), fontWeight.medium (500), fontWeight.semiBold (600)
|
|
2692
3181
|
*/
|
|
2693
3182
|
declare const NeoTooltip: {
|
|
2694
3183
|
({ variant, title, description, children, arrow, placement, ...props }: NeoTooltipProps): react_jsx_runtime.JSX.Element;
|
|
2695
3184
|
displayName: string;
|
|
2696
3185
|
};
|
|
2697
3186
|
|
|
2698
|
-
|
|
3187
|
+
/**
|
|
3188
|
+
* NeoTopNav
|
|
3189
|
+
*
|
|
3190
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=4618-185228
|
|
3191
|
+
*/
|
|
3192
|
+
declare const NeoTopNav: StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* NeoTourModal
|
|
3196
|
+
*
|
|
3197
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=12408-1800
|
|
3198
|
+
*/
|
|
3199
|
+
declare const NeoTourModal: StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3200
|
+
|
|
3201
|
+
declare const StyledToggleButton: StyledComponent<_mui_material.ToggleButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "color" | "size" | "children" | "sx" | "className" | "tabIndex" | "onChange" | "onClick" | "classes" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "value" | "fullWidth" | "selected"> & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
2699
3202
|
interface NeoTypologyControlProps extends Omit<ToggleButtonGroupProps, 'orientation'> {
|
|
2700
3203
|
}
|
|
2701
3204
|
/**
|
|
@@ -2882,6 +3385,20 @@ declare const NeoDatePicker: {
|
|
|
2882
3385
|
displayName: string;
|
|
2883
3386
|
};
|
|
2884
3387
|
|
|
3388
|
+
/**
|
|
3389
|
+
* NeoDatePickerListItem
|
|
3390
|
+
*
|
|
3391
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=4176-8521
|
|
3392
|
+
*/
|
|
3393
|
+
declare const NeoDatePickerListItem: StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* NeoDatePickerMenu
|
|
3397
|
+
*
|
|
3398
|
+
* @figma https://www.figma.com/design/fQTkGSFbYyE7LiHuQJsENC?node-id=4176-8593
|
|
3399
|
+
*/
|
|
3400
|
+
declare const NeoDatePickerMenu: StyledComponent<_mui_system.MUIStyledCommonProps<_mui_material.Theme>, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3401
|
+
|
|
2885
3402
|
/**
|
|
2886
3403
|
* Extended item data that NeoTreeItem can read from the items array.
|
|
2887
3404
|
* Consumers pass these via the `items` prop on NeoTreeView.
|
|
@@ -2952,5 +3469,5 @@ declare module '@mui/x-data-grid-pro' {
|
|
|
2952
3469
|
|
|
2953
3470
|
declare const version: string
|
|
2954
3471
|
|
|
2955
|
-
export { ActivityScene, CIRCLE_RADIUS, NeoActivityHeader, NeoActivityIndicatorCell, NeoAlert, NeoBadge, NeoBanner, NeoBreadcrumbLink, NeoBreadcrumbs, NeoButton, NeoButtonTab, NeoButtonTabGroup, NeoCard, NeoCheckbox, NeoCheckboxWithText, NeoCodeSnippet, NeoDataGrid, NeoDataGridCellContent, NeoDataGridColumnsButton, NeoDataGridColumnsPanel, NeoDataGridFilterPanel, NeoDataGridFilterPanelAddIcon, NeoDataGridFilterPanelDeleteIcon, NeoDataGridFilterPanelRemoveAllIcon, NeoDataGridFiltersButton, NeoDataGridHeaderLabel, NeoSelect as NeoDataGridSelect, NeoDatePicker, NeoDivider, NeoDot, NeoDownloadToast, NeoSelect as NeoDropdown, NeoMenu as NeoDropdownMenu, NeoMenuItem as NeoDropdownMenuItem, NeoMenuItem as NeoDropdownOption, NeoFilterChip, NeoFooter, NeoGeneralAvatar, NeoIconButton, NeoInfiniteScrollGrid, NeoInputField, NeoListItem, NeoListItemButton, NeoLoadingSpinner, NeoMenu, NeoMenuItem, NeoModal, NeoModalContent, NeoModalFooter, NeoModalHeader, NeoMultiBadgesCell, NeoNavigationAvatar, NeoNavigationItem, NeoPageContent, NeoPaginatedGrid, NeoProgressbar, NeoQuickFilter, NeoRadio, NeoSearchChip, NeoSelect, NeoMenuItem as NeoSelectOption, NeoSkeleton, NeoStatusBadgeCell, NeoTab, NeoTabs, NeoTag, NeoToast, NeoToastButton, NeoToggle, NeoToolbar, NeoTooltip, NeoTreeItem, NeoTreeView, StyledToggleButton as NeoTypologyButton, NeoTypologyControl, NeoUserAvatarCell, SortedAscendingIcon, SortedDescendingIcon, UnsortedIcon, focusRingStyles, getDataGridHeaderStyles, version };
|
|
2956
|
-
export type { ActivityColor, ActivityEvent, ActivityHeaderSize, BreadcrumbItem, DataGridSize, NeoActivityHeaderProps, NeoActivityIndicatorCellProps, NeoAlertProps, NeoBadgeProps, NeoBannerProps, NeoBreadcrumbLinkProps, NeoBreadcrumbsProps, NeoButtonProps, NeoButtonTabGroupProps, NeoButtonTabProps, NeoCardLargeProps, NeoCardProps, NeoCardSize, NeoCardSmallProps, NeoCheckboxProps, NeoCheckboxWithTextProps, NeoCodeSnippetProps, NeoDataGridCellContentProps, NeoDataGridHeaderLabelProps, NeoDataGridProps, NeoDatePickerProps, NeoDividerProps, NeoDotProps, NeoDownloadToastProps, NeoMenuItemProps as NeoDropdownMenuItemProps, NeoMenuProps as NeoDropdownMenuProps, NeoSelectProps as NeoDropdownProps, NeoFilterChipProps, NeoFooterProps, NeoGeneralAvatarProps, NeoIconButtonProps, NeoInfiniteScrollGridProps, NeoInputFieldProps, NeoListItemButtonProps, NeoListItemProps, NeoLoadingSpinnerProps, NeoMenuItemProps, NeoMenuProps, NeoModalContentProps, NeoModalFooterProps, NeoModalHeaderProps, NeoModalProps, NeoMultiBadgesCellProps, NeoNavigationAvatarProps, NeoNavigationItemProps, NeoPageContentProps, NeoPaginatedGridProps, NeoProgressbarProps, NeoQuickFilterProps, NeoRadioProps, NeoSearchChipProps, NeoSelectProps, NeoSkeletonProps, NeoStatusBadgeCellProps, NeoTabProps, NeoTagProps, NeoToastProps, NeoToggleProps, NeoToolbarProps, NeoTooltipProps, NeoTreeItemData, NeoTreeItemProps, NeoTreeViewProps, NeoTypologyControlProps, NeoUserAvatarCellProps };
|
|
3472
|
+
export { ActivityScene, CIRCLE_RADIUS, NeoActionsCell, NeoActivityHeader, NeoActivityIndicatorCell, NeoAlert, NeoAvatarCell, NeoBadge, NeoBanner, NeoBreadcrumbLink, NeoBreadcrumbs, NeoButton, NeoButtonTab, NeoButtonTabGroup, NeoCanceledIcon, NeoCard, NeoCheckbox, NeoCheckboxWithText, NeoCodeSnippet, NeoDataGrid, NeoDataGridCellContent, NeoDataGridColumnsButton, NeoDataGridColumnsPanel, NeoDataGridFilterPanel, NeoDataGridFilterPanelAddIcon, NeoDataGridFilterPanelDeleteIcon, NeoDataGridFilterPanelRemoveAllIcon, NeoDataGridFiltersButton, NeoDataGridHeaderLabel, NeoSelect as NeoDataGridSelect, NeoDatePicker, NeoDatePickerListItem, NeoDatePickerMenu, NeoDivider, NeoDot, NeoDownloadToast, NeoSelect as NeoDropdown, NeoMenu as NeoDropdownMenu, NeoMenuItem as NeoDropdownMenuItem, NeoMenuItem as NeoDropdownOption, NeoFilledCanceled, NeoFilledError, NeoFilledInfo, NeoFilledNeutral, NeoFilledQueued, NeoFilledSuccess, NeoFilledWarning, NeoFilterChip, NeoFooter, NeoGeneralAvatar, NeoIconButton, NeoIconCell, NeoInfiniteScrollGrid, NeoInputField, NeoListItem, NeoListItemButton, NeoLoadingSpinner, NeoLogoCell, NeoMenu, NeoMenuItem, NeoModal, NeoModalContent, NeoModalFooter, NeoModalHeader, NeoMultiBadgesCell, NeoNavigationAvatar, NeoNavigationItem, NeoPageContent, NeoPaginatedGrid, NeoProgressCell, NeoProgressbar, NeoQuickFilter, NeoRadio, NeoRadioButtonWithText, NeoRipplingDot, NeoSearchChip, NeoSelect, NeoSelectField, NeoMenuItem as NeoSelectOption, NeoSideNav, NeoSkeleton, NeoStatusBadgeCell, NeoStatusCell, NeoTab, NeoTabPanel, NeoTable, NeoTabs, NeoTag, NeoToast, NeoToastButton, NeoToggle, NeoToggleButton, NeoToggleButtonGroup, NeoToggleButtonWithText, NeoToolbar, NeoTooltip, NeoTopNav, NeoTourModal, NeoTreeItem, NeoTreeView, StyledToggleButton as NeoTypologyButton, NeoTypologyControl, NeoUserAvatarCell, NeoVibratingDot, SortedAscendingIcon, SortedDescendingIcon, UnsortedIcon, focusRingStyles, getDataGridHeaderStyles, getDataGridRowStyles, version };
|
|
3473
|
+
export type { ActivityColor, ActivityEvent, ActivityHeaderSize, BreadcrumbItem, DataGridSize, NeoActionsCellProps, NeoActivityHeaderProps, NeoActivityIndicatorCellProps, NeoAlertProps, NeoAvatarCellProps, NeoBadgeProps, NeoBannerProps, NeoBreadcrumbLinkProps, NeoBreadcrumbsProps, NeoButtonProps, NeoButtonTabGroupProps, NeoButtonTabProps, NeoCardLargeProps, NeoCardProps, NeoCardSize, NeoCardSmallProps, NeoCheckboxProps, NeoCheckboxWithTextProps, NeoCodeSnippetProps, NeoDataGridCellContentProps, NeoDataGridHeaderLabelProps, NeoDataGridProps, NeoDatePickerProps, NeoDividerProps, NeoDotProps, NeoDownloadToastProps, NeoMenuItemProps as NeoDropdownMenuItemProps, NeoMenuProps as NeoDropdownMenuProps, NeoSelectProps as NeoDropdownProps, NeoFilledStatusIconProps, NeoFilterChipProps, NeoFooterProps, NeoGeneralAvatarProps, NeoIconButtonProps, NeoIconCellProps, NeoInfiniteScrollGridProps, NeoInputFieldProps, NeoListItemButtonProps, NeoListItemProps, NeoLoadingSpinnerProps, NeoLogoCellProps, NeoMenuItemProps, NeoMenuProps, NeoModalContentProps, NeoModalFooterProps, NeoModalHeaderProps, NeoModalProps, NeoMultiBadgesCellProps, NeoNavigationAvatarProps, NeoNavigationItemProps, NeoPageContentProps, NeoPaginatedGridProps, NeoProgressCellProps, NeoProgressbarProps, NeoQuickFilterProps, NeoRadioProps, NeoRipplingDotProps, NeoSearchChipProps, NeoSelectFieldChangeEvent, NeoSelectFieldOption, NeoSelectFieldProps, NeoSelectProps, NeoSideNavProps, NeoSkeletonProps, NeoStatusBadgeCellProps, NeoStatusCellProps, NeoStatusCellVariant, NeoTabPanelProps, NeoTabProps, NeoTableColumn, NeoTableProps, NeoTagProps, NeoToastProps, NeoToggleButtonGroupProps, NeoToggleButtonProps, NeoToggleProps, NeoToolbarProps, NeoTooltipProps, NeoTreeItemData, NeoTreeItemProps, NeoTreeViewProps, NeoTypologyControlProps, NeoUserAvatarCellProps, NeoVibratingDotProps };
|