@matteoaliano/forest-ui 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/sync.mjs +83 -42
- package/dist/{chunk-5C6DAZT2.mjs → chunk-F5PVQ752.mjs} +573 -150
- package/dist/chunk-F5PVQ752.mjs.map +1 -0
- package/dist/index-BHSAMOHR.d.mts +525 -0
- package/dist/index-BHSAMOHR.d.ts +525 -0
- package/dist/index.d.mts +50 -5
- package/dist/index.d.ts +50 -5
- package/dist/index.js +672 -149
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +68 -6
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +2 -1
- package/dist/theme.d.ts +2 -1
- package/dist/theme.js +583 -147
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/{FOREST_AI_GUIDELINES.md → guidelines/FOREST_AI_GUIDELINES.md} +68 -8
- package/guidelines/FOREST_DEV_GUIDELINES.md +14 -0
- package/guidelines/themes/FOREST_THEME_DEFAULT.md +68 -0
- package/package.json +4 -2
- package/dist/chunk-5C6DAZT2.mjs.map +0 -1
- package/dist/index-BFpF-T3z.d.mts +0 -273
- package/dist/index-BFpF-T3z.d.ts +0 -273
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
|
-
export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, b as buildTheme,
|
|
3
|
+
export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alpha, b as avatarColors, c as bg, d as border, e as breadcrumbColors, f as buildTheme, g as buildThemeOptions, h as buttonColors, i as chartColors, j as colors, k as container, l as display, m as fg, n as focusRings, o as fontFamily, p as fontSize, q as fontWeight, r as forestPreset, s as forestTheme, t as forestThemeOptions, u as getAvailablePresets, v as getPreset, w as iconColors, x as lineHeight, y as navColors, z as radius, A as registerPreset, B as sliderColors, C as spacing, E as text, F as toggleColors, G as tokenShadows, H as widths } from './index-BHSAMOHR.js';
|
|
4
4
|
import { AutocompleteProps } from '@mui/material/Autocomplete';
|
|
5
5
|
export { AutocompleteProps } from '@mui/material/Autocomplete';
|
|
6
|
-
import { ButtonProps } from '@mui/material/Button';
|
|
7
|
-
export { ButtonProps } from '@mui/material/Button';
|
|
6
|
+
import { ButtonProps as ButtonProps$1 } from '@mui/material/Button';
|
|
8
7
|
import { ButtonGroupProps } from '@mui/material/ButtonGroup';
|
|
9
8
|
export { ButtonGroupProps } from '@mui/material/ButtonGroup';
|
|
10
9
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
@@ -59,10 +58,36 @@ import { TableHeadProps } from '@mui/material/TableHead';
|
|
|
59
58
|
export { TableHeadProps } from '@mui/material/TableHead';
|
|
60
59
|
import { TableRowProps } from '@mui/material/TableRow';
|
|
61
60
|
export { TableRowProps } from '@mui/material/TableRow';
|
|
61
|
+
import { DataGridProps } from '@mui/x-data-grid';
|
|
62
|
+
export { DataGridProps, GridCellParams, GridColDef, GridFilterModel, GridPaginationModel, GridRowParams, GridRowsProp, GridSortModel } from '@mui/x-data-grid';
|
|
62
63
|
import { TooltipProps } from '@mui/material/Tooltip';
|
|
63
64
|
export { TooltipProps } from '@mui/material/Tooltip';
|
|
64
65
|
import { TypographyProps } from '@mui/material/Typography';
|
|
65
66
|
export { TypographyProps } from '@mui/material/Typography';
|
|
67
|
+
import { AccordionProps } from '@mui/material/Accordion';
|
|
68
|
+
export { AccordionProps } from '@mui/material/Accordion';
|
|
69
|
+
import { AccordionSummaryProps } from '@mui/material/AccordionSummary';
|
|
70
|
+
export { AccordionSummaryProps } from '@mui/material/AccordionSummary';
|
|
71
|
+
import { AccordionDetailsProps } from '@mui/material/AccordionDetails';
|
|
72
|
+
export { AccordionDetailsProps } from '@mui/material/AccordionDetails';
|
|
73
|
+
import { AccordionActionsProps } from '@mui/material/AccordionActions';
|
|
74
|
+
export { AccordionActionsProps } from '@mui/material/AccordionActions';
|
|
75
|
+
import { AppBarProps } from '@mui/material/AppBar';
|
|
76
|
+
export { AppBarProps } from '@mui/material/AppBar';
|
|
77
|
+
import { ToolbarProps } from '@mui/material/Toolbar';
|
|
78
|
+
export { ToolbarProps } from '@mui/material/Toolbar';
|
|
79
|
+
import { CardProps } from '@mui/material/Card';
|
|
80
|
+
export { CardProps } from '@mui/material/Card';
|
|
81
|
+
import { CardContentProps } from '@mui/material/CardContent';
|
|
82
|
+
export { CardContentProps } from '@mui/material/CardContent';
|
|
83
|
+
import { CardHeaderProps } from '@mui/material/CardHeader';
|
|
84
|
+
export { CardHeaderProps } from '@mui/material/CardHeader';
|
|
85
|
+
import { CardActionsProps } from '@mui/material/CardActions';
|
|
86
|
+
export { CardActionsProps } from '@mui/material/CardActions';
|
|
87
|
+
import { CardMediaProps } from '@mui/material/CardMedia';
|
|
88
|
+
export { CardMediaProps } from '@mui/material/CardMedia';
|
|
89
|
+
import { PaperProps } from '@mui/material/Paper';
|
|
90
|
+
export { PaperProps } from '@mui/material/Paper';
|
|
66
91
|
import { AlertProps } from '@mui/material/Alert';
|
|
67
92
|
export { AlertProps } from '@mui/material/Alert';
|
|
68
93
|
import { AlertTitleProps } from '@mui/material/AlertTitle';
|
|
@@ -87,6 +112,7 @@ import { SkeletonProps } from '@mui/material/Skeleton';
|
|
|
87
112
|
export { SkeletonProps } from '@mui/material/Skeleton';
|
|
88
113
|
import { SnackbarProps } from '@mui/material/Snackbar';
|
|
89
114
|
export { SnackbarProps } from '@mui/material/Snackbar';
|
|
115
|
+
import '@mui/material';
|
|
90
116
|
|
|
91
117
|
interface ForestProviderProps {
|
|
92
118
|
children: React.ReactNode;
|
|
@@ -99,7 +125,8 @@ declare function ForestProvider({ children, theme, preset, variant, disableCssBa
|
|
|
99
125
|
|
|
100
126
|
declare function Autocomplete<Value, Multiple extends boolean | undefined = false, DisableClearable extends boolean | undefined = false, FreeSolo extends boolean | undefined = false>(props: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo>): react_jsx_runtime.JSX.Element;
|
|
101
127
|
|
|
102
|
-
|
|
128
|
+
type ButtonProps = Omit<ButtonProps$1, "size">;
|
|
129
|
+
declare function Button({ ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
103
130
|
|
|
104
131
|
declare function ButtonGroup(props: ButtonGroupProps): react_jsx_runtime.JSX.Element;
|
|
105
132
|
|
|
@@ -141,10 +168,28 @@ declare function TableContainer(props: TableContainerProps): react_jsx_runtime.J
|
|
|
141
168
|
declare function TableHead(props: TableHeadProps): react_jsx_runtime.JSX.Element;
|
|
142
169
|
declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
|
|
143
170
|
|
|
171
|
+
declare function DataGrid(props: DataGridProps): react_jsx_runtime.JSX.Element;
|
|
172
|
+
|
|
144
173
|
declare function Tooltip(props: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
145
174
|
|
|
146
175
|
declare function Typography(props: TypographyProps): react_jsx_runtime.JSX.Element;
|
|
147
176
|
|
|
177
|
+
declare function Accordion(props: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
178
|
+
declare function AccordionSummary(props: AccordionSummaryProps): react_jsx_runtime.JSX.Element;
|
|
179
|
+
declare function AccordionDetails(props: AccordionDetailsProps): react_jsx_runtime.JSX.Element;
|
|
180
|
+
declare function AccordionActions(props: AccordionActionsProps): react_jsx_runtime.JSX.Element;
|
|
181
|
+
|
|
182
|
+
declare function AppBar(props: AppBarProps): react_jsx_runtime.JSX.Element;
|
|
183
|
+
declare function Toolbar(props: ToolbarProps): react_jsx_runtime.JSX.Element;
|
|
184
|
+
|
|
185
|
+
declare function Card(props: CardProps): react_jsx_runtime.JSX.Element;
|
|
186
|
+
declare function CardContent(props: CardContentProps): react_jsx_runtime.JSX.Element;
|
|
187
|
+
declare function CardHeader(props: CardHeaderProps): react_jsx_runtime.JSX.Element;
|
|
188
|
+
declare function CardActions(props: CardActionsProps): react_jsx_runtime.JSX.Element;
|
|
189
|
+
declare function CardMedia(props: CardMediaProps): react_jsx_runtime.JSX.Element;
|
|
190
|
+
|
|
191
|
+
declare function Paper(props: PaperProps): react_jsx_runtime.JSX.Element;
|
|
192
|
+
|
|
148
193
|
declare function Alert(props: AlertProps): react_jsx_runtime.JSX.Element;
|
|
149
194
|
declare function AlertTitle(props: AlertTitleProps): react_jsx_runtime.JSX.Element;
|
|
150
195
|
|
|
@@ -163,4 +208,4 @@ declare function Skeleton(props: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
|
163
208
|
|
|
164
209
|
declare function Snackbar(props: SnackbarProps): react_jsx_runtime.JSX.Element;
|
|
165
210
|
|
|
166
|
-
export { Alert, AlertTitle, Autocomplete, Backdrop, Badge, Button, ButtonGroup, Checkbox, Chip, CircularProgress, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, Fab, ForestProvider, type ForestProviderProps, LinearProgress, List, ListItem, ListItemAvatar, ListItemButton, ListItemIcon, ListItemText, ListSubheader, MenuItem, Radio, RadioGroup, Select, Skeleton, Snackbar, Switch, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, TextField, ToggleButton, ToggleButtonGroup, Tooltip, Typography };
|
|
211
|
+
export { Accordion, AccordionActions, AccordionDetails, AccordionSummary, Alert, AlertTitle, AppBar, Autocomplete, Backdrop, Badge, Button, ButtonGroup, type ButtonProps, Card, CardActions, CardContent, CardHeader, CardMedia, Checkbox, Chip, CircularProgress, DataGrid, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, Fab, ForestProvider, type ForestProviderProps, LinearProgress, List, ListItem, ListItemAvatar, ListItemButton, ListItemIcon, ListItemText, ListSubheader, MenuItem, Paper, Radio, RadioGroup, Select, Skeleton, Snackbar, Switch, Table, TableBody, TableCell, TableContainer, TableHead, TableRow, TextField, ToggleButton, ToggleButtonGroup, Toolbar, Tooltip, Typography };
|