@matteoaliano/forest-ui 0.2.7 → 0.2.8
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 +44 -0
- package/dist/{chunk-3FSKMCSC.mjs → chunk-3FZJFTY7.mjs} +75 -67
- package/dist/chunk-3FZJFTY7.mjs.map +1 -0
- package/dist/{index-DoEC7Q1q.d.mts → index-C7JP9vAZ.d.mts} +7 -7
- package/dist/{index-DoEC7Q1q.d.ts → index-C7JP9vAZ.d.ts} +7 -7
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +76 -68
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +73 -65
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/guidelines/FOREST_AI_GUIDELINES.md +8 -1
- package/guidelines/FOREST_DEV_GUIDELINES.md +1 -1
- package/guidelines/themes/FOREST_THEME_ALKEMY_PLUS.md +1 -1
- package/guidelines/themes/FOREST_THEME_DEFAULT.md +1 -1
- package/package.json +1 -1
- package/dist/chunk-3FSKMCSC.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { forestTheme, getPreset, buildTheme } from './chunk-
|
|
2
|
-
export { alkemyPlusPreset, alpha, avatarColors, bg, border, breadcrumbColors, buildTheme, buildThemeOptions, buttonColors, chartColors, colors, container, display, fg, focusRings, fontFamily, fontSize, fontWeight, forestPreset, forestTheme, forestThemeOptions, getAvailablePresets, getPreset, iconColors, lineHeight, navColors, radius, registerPreset, sliderColors, spacing, text, toggleColors, shadows as tokenShadows, widths } from './chunk-
|
|
1
|
+
import { forestTheme, getPreset, buildTheme } from './chunk-3FZJFTY7.mjs';
|
|
2
|
+
export { alkemyPlusPreset, alpha, avatarColors, bg, border, breadcrumbColors, buildTheme, buildThemeOptions, buttonColors, chartColors, colors, container, display, fg, focusRings, fontFamily, fontSize, fontWeight, forestPreset, forestTheme, forestThemeOptions, getAvailablePresets, getPreset, iconColors, lineHeight, navColors, radius, registerPreset, sliderColors, spacing, text, toggleColors, shadows as tokenShadows, widths } from './chunk-3FZJFTY7.mjs';
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
4
|
import { ThemeProvider } from '@mui/material/styles';
|
|
5
5
|
import CssBaseline from '@mui/material/CssBaseline';
|
|
@@ -134,14 +134,14 @@ function ToggleButtonGroup(props) {
|
|
|
134
134
|
function Badge(props) {
|
|
135
135
|
return /* @__PURE__ */ jsx(MuiBadge, { ...props });
|
|
136
136
|
}
|
|
137
|
-
var
|
|
137
|
+
var CloseOutlined_default = createSvgIcon(/* @__PURE__ */ jsx("path", {
|
|
138
138
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
139
|
-
}), "
|
|
139
|
+
}), "CloseOutlined");
|
|
140
140
|
function Chip(props) {
|
|
141
141
|
return /* @__PURE__ */ jsx(
|
|
142
142
|
MuiChip,
|
|
143
143
|
{
|
|
144
|
-
deleteIcon: /* @__PURE__ */ jsx(
|
|
144
|
+
deleteIcon: /* @__PURE__ */ jsx(CloseOutlined_default, {}),
|
|
145
145
|
...props
|
|
146
146
|
}
|
|
147
147
|
);
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/provider/ForestProvider.tsx","../src/components/Autocomplete/index.tsx","../src/components/Button/index.tsx","../src/components/ButtonGroup/index.tsx","../src/components/Checkbox/index.tsx","../src/components/Fab/index.tsx","../src/components/RadioGroup/index.tsx","../src/components/Select/index.tsx","../src/components/Switch/index.tsx","../src/components/TextField/index.tsx","../src/components/ToggleButton/index.tsx","../src/components/Badge/index.tsx","../../../node_modules/@mui/icons-material/esm/Close.js","../src/components/Chip/index.tsx","../src/components/Divider/index.tsx","../src/components/List/index.tsx","../src/components/Table/index.tsx","../src/components/DataGrid/index.tsx","../src/components/Tooltip/index.tsx","../src/components/Typography/index.tsx","../src/components/Accordion/index.tsx","../src/components/AppBar/index.tsx","../src/components/Card/index.tsx","../src/components/Paper/index.tsx","../src/components/Alert/index.tsx","../src/components/Backdrop/index.tsx","../src/components/Dialog/index.tsx","../src/components/Progress/index.tsx","../src/components/Skeleton/index.tsx","../src/components/Snackbar/index.tsx"],"names":["jsx","_jsx","MuiDataGrid"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBO,SAAS,cAAA,CAAe;AAAA,EAC7B,QAAA;AAAA,EACA,KAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EACA,kBAAA,GAAqB;AACvB,CAAA,EAAwB;AACtB,EAAA,MAAM,aAAA,GAAgB,QAAQ,MAAM;AAElC,IAAA,IAAI,OAAO,OAAO,KAAA;AAGlB,IAAA,IAAI,CAAC,QAAQ,OAAO,WAAA;AAGpB,IAAA,MAAM,YAAA,GAAe,UAAU,MAAM,CAAA;AACrC,IAAA,IAAI,CAAC,YAAA,EAAc;AACjB,MAAA,MAAM,IAAI,KAAA;AAAA,QACR,oCAAoC,MAAM,CAAA,0EAAA;AAAA,OAE5C;AAAA,IACF;AAEA,IAAA,MAAM,WAAA,GAAc,4BAAW,YAAA,CAAa,cAAA;AAC5C,IAAA,MAAM,aAAA,GAAgB,YAAA,CAAa,QAAA,CAAS,WAAW,CAAA;AACvD,IAAA,IAAI,CAAC,aAAA,EAAe;AAClB,MAAA,MAAM,IAAI,KAAA;AAAA,QACR,CAAA,kCAAA,EAAqC,WAAW,CAAA,cAAA,EAAiB,MAAM,CAAA,uBAAA,EAChD,MAAA,CAAO,IAAA,CAAK,YAAA,CAAa,QAAQ,CAAA,CAAE,IAAA,CAAK,IAAI,CAAC,CAAA,CA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C/B;AAEO,SAAS,YAAY,KAAA,EAAyB;AACnD,EAAA,uBAAOA,GAAAA,CAAC,cAAA,EAAA,EAAgB,GAAG,KAAA,EAAO,CAAA;AACpC;AAEO,SAAS,cAAc,KAAA,EAA2B;AACvD,EAAA,uBAAOA,GAAAA,CAAC,gBAAA,EAAA,EAAkB,GAAG,KAAA,EAAO,CAAA;AACtC;AAEO,SAAS,cAAc,KAAA,EAA2B;AACvD,EAAA,uBAAOA,GAAAA,CAAC,gBAAA,EAAA,EAAkB,GAAG,KAAA,EAAO,CAAA;AACtC;AAEO,SAAS,kBAAkB,KAAA,EAA+B;AAC/D,EAAA,uBAAOA,GAAAA,CAAC,oBAAA,EAAA,EAAsB,GAAG,KAAA,EAAO,CAAA;AAC1C;AC3BO,SAAS,eAAe,KAAA,EAA4B;AACzD,EAAA,uBAAOA,GAAAA,CAAC,iBAAA,EAAA,EAAmB,GAAG,KAAA,EAAO,CAAA;AACvC;AAEO,SAAS,iBAAiB,KAAA,EAA8B;AAC7D,EAAA,uBAAOA,GAAAA,CAAC,mBAAA,EAAA,EAAqB,GAAG,KAAA,EAAO,CAAA;AACzC;ACPO,SAAS,SAAS,KAAA,EAAsB;AAC7C,EAAA,uBAAOA,GAAAA,CAAC,WAAA,EAAA,EAAa,GAAG,KAAA,EAAO,CAAA;AACjC;ACFO,SAAS,SAAS,KAAA,EAAsB;AAC7C,EAAA,uBAAOA,GAAAA,CAAC,WAAA,EAAA,EAAa,GAAG,KAAA,EAAO,CAAA;AACjC","file":"index.mjs","sourcesContent":["\"use client\";\n\nimport { useMemo } from \"react\";\nimport { ThemeProvider, type Theme } from \"@mui/material/styles\";\nimport CssBaseline from \"@mui/material/CssBaseline\";\nimport { forestTheme } from \"../theme\";\nimport { getPreset } from \"../theme/presets\";\nimport { buildTheme } from \"../theme/buildTheme\";\n\nexport interface ForestProviderProps {\n children: React.ReactNode;\n theme?: Theme;\n preset?: string;\n variant?: string;\n disableCssBaseline?: boolean;\n}\n\nexport function ForestProvider({\n children,\n theme,\n preset,\n variant,\n disableCssBaseline = false,\n}: ForestProviderProps) {\n const resolvedTheme = useMemo(() => {\n // Explicit theme prop takes highest priority\n if (theme) return theme;\n\n // If no preset specified, use the default forest theme\n if (!preset) return forestTheme;\n\n // Resolve preset + variant\n const presetConfig = getPreset(preset);\n if (!presetConfig) {\n throw new Error(\n `[ForestProvider] Unknown preset \"${preset}\". ` +\n `Available presets: use getAvailablePresets() to see registered presets.`\n );\n }\n\n const variantName = variant ?? presetConfig.defaultVariant;\n const variantConfig = presetConfig.variants[variantName];\n if (!variantConfig) {\n throw new Error(\n `[ForestProvider] Unknown variant \"${variantName}\" for preset \"${preset}\". ` +\n `Available variants: ${Object.keys(presetConfig.variants).join(\", \")}.`\n );\n }\n\n return buildTheme(variantConfig.tokens);\n }, [theme, preset, variant]);\n\n return (\n <ThemeProvider theme={resolvedTheme}>\n {!disableCssBaseline && <CssBaseline />}\n {children}\n </ThemeProvider>\n );\n}\n","import MuiAutocomplete, {\n type AutocompleteProps,\n} from \"@mui/material/Autocomplete\";\n\nexport type { AutocompleteProps };\n\nexport function Autocomplete<\n Value,\n Multiple extends boolean | undefined = false,\n DisableClearable extends boolean | undefined = false,\n FreeSolo extends boolean | undefined = false,\n>(\n props: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo>,\n) {\n return <MuiAutocomplete {...props} />;\n}\n","import MuiButton, { type ButtonProps as MuiButtonProps } from \"@mui/material/Button\";\n\nexport type ButtonProps = Omit<MuiButtonProps, \"size\">;\n\nexport function Button({ ...props }: ButtonProps) {\n return <MuiButton variant=\"contained\" {...props} />;\n}\n","import MuiButtonGroup, { type ButtonGroupProps } from \"@mui/material/ButtonGroup\";\n\nexport type { ButtonGroupProps };\n\nexport function ButtonGroup(props: ButtonGroupProps) {\n return <MuiButtonGroup variant=\"contained\" {...props} />;\n}\n","import MuiCheckbox, { type CheckboxProps } from \"@mui/material/Checkbox\";\n\nexport type { CheckboxProps };\n\nexport function Checkbox(props: CheckboxProps) {\n return <MuiCheckbox {...props} />;\n}\n","import MuiFab, { type FabProps } from \"@mui/material/Fab\";\n\nexport type { FabProps };\n\nexport function Fab(props: FabProps) {\n return <MuiFab color=\"primary\" {...props} />;\n}\n","import MuiRadioGroup, { type RadioGroupProps } from \"@mui/material/RadioGroup\";\nimport MuiRadio, { type RadioProps } from \"@mui/material/Radio\";\n\nexport type { RadioGroupProps, RadioProps };\n\nexport function RadioGroup(props: RadioGroupProps) {\n return <MuiRadioGroup {...props} />;\n}\n\nexport function Radio(props: RadioProps) {\n return <MuiRadio {...props} />;\n}\n","import MuiSelect, { type SelectProps } from \"@mui/material/Select\";\nimport MuiMenuItem, { type MenuItemProps } from \"@mui/material/MenuItem\";\n\nexport type { SelectProps, MenuItemProps };\n\nexport function Select<Value = unknown>(props: SelectProps<Value>) {\n return <MuiSelect {...props} />;\n}\n\nexport function MenuItem(props: MenuItemProps) {\n return <MuiMenuItem {...props} />;\n}\n","import MuiSwitch, { type SwitchProps } from \"@mui/material/Switch\";\n\nexport type { SwitchProps };\n\nexport function Switch(props: SwitchProps) {\n return <MuiSwitch {...props} />;\n}\n","import MuiTextField, { type TextFieldProps } from \"@mui/material/TextField\";\n\nexport type { TextFieldProps };\n\nexport function TextField(props: TextFieldProps) {\n return <MuiTextField {...props} />;\n}\n","import MuiToggleButton, { type ToggleButtonProps } from \"@mui/material/ToggleButton\";\nimport MuiToggleButtonGroup, { type ToggleButtonGroupProps } from \"@mui/material/ToggleButtonGroup\";\n\nexport type { ToggleButtonProps, ToggleButtonGroupProps };\n\nexport function ToggleButton(props: ToggleButtonProps) {\n return <MuiToggleButton {...props} />;\n}\n\nexport function ToggleButtonGroup(props: ToggleButtonGroupProps) {\n return <MuiToggleButtonGroup {...props} />;\n}\n","import MuiBadge, { type BadgeProps } from \"@mui/material/Badge\";\n\nexport type { BadgeProps };\n\nexport function Badge(props: BadgeProps) {\n return <MuiBadge {...props} />;\n}\n","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'Close');","import MuiChip, { type ChipProps } from \"@mui/material/Chip\";\nimport CloseIcon from \"@mui/icons-material/Close\";\n\nexport type { ChipProps };\n\nexport function Chip(props: ChipProps) {\n return (\n <MuiChip\n deleteIcon={<CloseIcon />}\n {...props}\n />\n );\n}\n","import MuiDivider, { type DividerProps } from \"@mui/material/Divider\";\n\nexport type { DividerProps };\n\nexport function Divider(props: DividerProps) {\n return <MuiDivider {...props} />;\n}\n","import MuiList, { type ListProps } from \"@mui/material/List\";\nimport MuiListItem, { type ListItemProps } from \"@mui/material/ListItem\";\nimport MuiListItemButton, { type ListItemButtonProps } from \"@mui/material/ListItemButton\";\nimport MuiListItemIcon, { type ListItemIconProps } from \"@mui/material/ListItemIcon\";\nimport MuiListItemText, { type ListItemTextProps } from \"@mui/material/ListItemText\";\nimport MuiListItemAvatar, { type ListItemAvatarProps } from \"@mui/material/ListItemAvatar\";\nimport MuiListSubheader, { type ListSubheaderProps } from \"@mui/material/ListSubheader\";\n\nexport type {\n ListProps,\n ListItemProps,\n ListItemButtonProps,\n ListItemIconProps,\n ListItemTextProps,\n ListItemAvatarProps,\n ListSubheaderProps,\n};\n\nexport function List(props: ListProps) {\n return <MuiList {...props} />;\n}\n\nexport function ListItem(props: ListItemProps) {\n return <MuiListItem {...props} />;\n}\n\nexport function ListItemButton(props: ListItemButtonProps) {\n return <MuiListItemButton {...props} />;\n}\n\nexport function ListItemIcon(props: ListItemIconProps) {\n return <MuiListItemIcon {...props} />;\n}\n\nexport function ListItemText(props: ListItemTextProps) {\n return <MuiListItemText {...props} />;\n}\n\nexport function ListItemAvatar(props: ListItemAvatarProps) {\n return <MuiListItemAvatar {...props} />;\n}\n\nexport function ListSubheader(props: ListSubheaderProps) {\n return <MuiListSubheader {...props} />;\n}\n","import MuiTable, { type TableProps } from \"@mui/material/Table\";\nimport MuiTableBody, { type TableBodyProps } from \"@mui/material/TableBody\";\nimport MuiTableCell, { type TableCellProps } from \"@mui/material/TableCell\";\nimport MuiTableContainer, { type TableContainerProps } from \"@mui/material/TableContainer\";\nimport MuiTableHead, { type TableHeadProps } from \"@mui/material/TableHead\";\nimport MuiTableRow, { type TableRowProps } from \"@mui/material/TableRow\";\n\nexport type {\n TableProps,\n TableBodyProps,\n TableCellProps,\n TableContainerProps,\n TableHeadProps,\n TableRowProps,\n};\n\nexport function Table(props: TableProps) {\n return <MuiTable {...props} />;\n}\n\nexport function TableBody(props: TableBodyProps) {\n return <MuiTableBody {...props} />;\n}\n\nexport function TableCell(props: TableCellProps) {\n return <MuiTableCell {...props} />;\n}\n\nexport function TableContainer(props: TableContainerProps) {\n return <MuiTableContainer {...props} />;\n}\n\nexport function TableHead(props: TableHeadProps) {\n return <MuiTableHead {...props} />;\n}\n\nexport function TableRow(props: TableRowProps) {\n return <MuiTableRow {...props} />;\n}\n","import { DataGrid as MuiDataGrid, type DataGridProps } from \"@mui/x-data-grid\";\n\nexport type { DataGridProps };\nexport type {\n GridColDef,\n GridRowsProp,\n GridRowParams,\n GridCellParams,\n GridSortModel,\n GridFilterModel,\n GridPaginationModel,\n} from \"@mui/x-data-grid\";\n\nexport function DataGrid(props: DataGridProps) {\n return <MuiDataGrid {...props} />;\n}\n","import MuiTooltip, { type TooltipProps } from \"@mui/material/Tooltip\";\n\nexport type { TooltipProps };\n\nexport function Tooltip(props: TooltipProps) {\n return <MuiTooltip arrow {...props} />;\n}\n","import MuiTypography, { type TypographyProps } from \"@mui/material/Typography\";\n\nexport type { TypographyProps };\n\nexport function Typography(props: TypographyProps) {\n return <MuiTypography {...props} />;\n}\n","import MuiAccordion, { type AccordionProps } from \"@mui/material/Accordion\";\nimport MuiAccordionSummary, { type AccordionSummaryProps } from \"@mui/material/AccordionSummary\";\nimport MuiAccordionDetails, { type AccordionDetailsProps } from \"@mui/material/AccordionDetails\";\nimport MuiAccordionActions, { type AccordionActionsProps } from \"@mui/material/AccordionActions\";\n\nexport type {\n AccordionProps,\n AccordionSummaryProps,\n AccordionDetailsProps,\n AccordionActionsProps,\n};\n\nexport function Accordion(props: AccordionProps) {\n return <MuiAccordion {...props} />;\n}\n\nexport function AccordionSummary(props: AccordionSummaryProps) {\n return <MuiAccordionSummary {...props} />;\n}\n\nexport function AccordionDetails(props: AccordionDetailsProps) {\n return <MuiAccordionDetails {...props} />;\n}\n\nexport function AccordionActions(props: AccordionActionsProps) {\n return <MuiAccordionActions {...props} />;\n}\n","import MuiAppBar, { type AppBarProps } from \"@mui/material/AppBar\";\nimport MuiToolbar, { type ToolbarProps } from \"@mui/material/Toolbar\";\n\nexport type { AppBarProps, ToolbarProps };\n\nexport function AppBar(props: AppBarProps) {\n return <MuiAppBar {...props} />;\n}\n\nexport function Toolbar(props: ToolbarProps) {\n return <MuiToolbar {...props} />;\n}\n","import MuiCard, { type CardProps } from \"@mui/material/Card\";\nimport MuiCardContent, { type CardContentProps } from \"@mui/material/CardContent\";\nimport MuiCardHeader, { type CardHeaderProps } from \"@mui/material/CardHeader\";\nimport MuiCardActions, { type CardActionsProps } from \"@mui/material/CardActions\";\nimport MuiCardMedia, { type CardMediaProps } from \"@mui/material/CardMedia\";\n\nexport type {\n CardProps,\n CardContentProps,\n CardHeaderProps,\n CardActionsProps,\n CardMediaProps,\n};\n\nexport function Card(props: CardProps) {\n return <MuiCard {...props} />;\n}\n\nexport function CardContent(props: CardContentProps) {\n return <MuiCardContent {...props} />;\n}\n\nexport function CardHeader(props: CardHeaderProps) {\n return <MuiCardHeader {...props} />;\n}\n\nexport function CardActions(props: CardActionsProps) {\n return <MuiCardActions {...props} />;\n}\n\nexport function CardMedia(props: CardMediaProps) {\n return <MuiCardMedia {...props} />;\n}\n","import MuiPaper, { type PaperProps } from \"@mui/material/Paper\";\n\nexport type { PaperProps };\n\nexport function Paper(props: PaperProps) {\n return <MuiPaper {...props} />;\n}\n","import MuiAlert, { type AlertProps } from \"@mui/material/Alert\";\nimport MuiAlertTitle, { type AlertTitleProps } from \"@mui/material/AlertTitle\";\n\nexport type { AlertProps, AlertTitleProps };\n\nexport function Alert(props: AlertProps) {\n return <MuiAlert {...props} />;\n}\n\nexport function AlertTitle(props: AlertTitleProps) {\n return <MuiAlertTitle {...props} />;\n}\n","import MuiBackdrop, { type BackdropProps } from \"@mui/material/Backdrop\";\n\nexport type { BackdropProps };\n\nexport function Backdrop(props: BackdropProps) {\n return <MuiBackdrop {...props} />;\n}\n","import MuiDialog, { type DialogProps } from \"@mui/material/Dialog\";\nimport MuiDialogTitle, { type DialogTitleProps } from \"@mui/material/DialogTitle\";\nimport MuiDialogContent, { type DialogContentProps } from \"@mui/material/DialogContent\";\nimport MuiDialogActions, { type DialogActionsProps } from \"@mui/material/DialogActions\";\nimport MuiDialogContentText, { type DialogContentTextProps } from \"@mui/material/DialogContentText\";\n\nexport type {\n DialogProps,\n DialogTitleProps,\n DialogContentProps,\n DialogActionsProps,\n DialogContentTextProps,\n};\n\nexport function Dialog(props: DialogProps) {\n return <MuiDialog {...props} />;\n}\n\nexport function DialogTitle(props: DialogTitleProps) {\n return <MuiDialogTitle {...props} />;\n}\n\nexport function DialogContent(props: DialogContentProps) {\n return <MuiDialogContent {...props} />;\n}\n\nexport function DialogActions(props: DialogActionsProps) {\n return <MuiDialogActions {...props} />;\n}\n\nexport function DialogContentText(props: DialogContentTextProps) {\n return <MuiDialogContentText {...props} />;\n}\n","import MuiLinearProgress, { type LinearProgressProps } from \"@mui/material/LinearProgress\";\nimport MuiCircularProgress, { type CircularProgressProps } from \"@mui/material/CircularProgress\";\n\nexport type { LinearProgressProps, CircularProgressProps };\n\nexport function LinearProgress(props: LinearProgressProps) {\n return <MuiLinearProgress {...props} />;\n}\n\nexport function CircularProgress(props: CircularProgressProps) {\n return <MuiCircularProgress {...props} />;\n}\n","import MuiSkeleton, { type SkeletonProps } from \"@mui/material/Skeleton\";\n\nexport type { SkeletonProps };\n\nexport function Skeleton(props: SkeletonProps) {\n return <MuiSkeleton {...props} />;\n}\n","import MuiSnackbar, { type SnackbarProps } from \"@mui/material/Snackbar\";\n\nexport type { SnackbarProps };\n\nexport function Snackbar(props: SnackbarProps) {\n return <MuiSnackbar {...props} />;\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/provider/ForestProvider.tsx","../src/components/Autocomplete/index.tsx","../src/components/Button/index.tsx","../src/components/ButtonGroup/index.tsx","../src/components/Checkbox/index.tsx","../src/components/Fab/index.tsx","../src/components/RadioGroup/index.tsx","../src/components/Select/index.tsx","../src/components/Switch/index.tsx","../src/components/TextField/index.tsx","../src/components/ToggleButton/index.tsx","../src/components/Badge/index.tsx","../../../node_modules/@mui/icons-material/esm/CloseOutlined.js","../src/components/Chip/index.tsx","../src/components/Divider/index.tsx","../src/components/List/index.tsx","../src/components/Table/index.tsx","../src/components/DataGrid/index.tsx","../src/components/Tooltip/index.tsx","../src/components/Typography/index.tsx","../src/components/Accordion/index.tsx","../src/components/AppBar/index.tsx","../src/components/Card/index.tsx","../src/components/Paper/index.tsx","../src/components/Alert/index.tsx","../src/components/Backdrop/index.tsx","../src/components/Dialog/index.tsx","../src/components/Progress/index.tsx","../src/components/Skeleton/index.tsx","../src/components/Snackbar/index.tsx"],"names":["jsx","_jsx","MuiDataGrid"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBO,SAAS,cAAA,CAAe;AAAA,EAC7B,QAAA;AAAA,EACA,KAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EACA,kBAAA,GAAqB;AACvB,CAAA,EAAwB;AACtB,EAAA,MAAM,aAAA,GAAgB,QAAQ,MAAM;AAElC,IAAA,IAAI,OAAO,OAAO,KAAA;AAGlB,IAAA,IAAI,CAAC,QAAQ,OAA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AAA,EAAO,CAAA;AACzC;ACPO,SAAS,SAAS,KAAA,EAAsB;AAC7C,EAAA,uBAAOA,GAAAA,CAAC,WAAA,EAAA,EAAa,GAAG,KAAA,EAAO,CAAA;AACjC;ACFO,SAAS,SAAS,KAAA,EAAsB;AAC7C,EAAA,uBAAOA,GAAAA,CAAC,WAAA,EAAA,EAAa,GAAG,KAAA,EAAO,CAAA;AACjC","file":"index.mjs","sourcesContent":["\"use client\";\n\nimport { useMemo } from \"react\";\nimport { ThemeProvider, type Theme } from \"@mui/material/styles\";\nimport CssBaseline from \"@mui/material/CssBaseline\";\nimport { forestTheme } from \"../theme\";\nimport { getPreset } from \"../theme/presets\";\nimport { buildTheme } from \"../theme/buildTheme\";\n\nexport interface ForestProviderProps {\n children: React.ReactNode;\n theme?: Theme;\n preset?: string;\n variant?: string;\n disableCssBaseline?: boolean;\n}\n\nexport function ForestProvider({\n children,\n theme,\n preset,\n variant,\n disableCssBaseline = false,\n}: ForestProviderProps) {\n const resolvedTheme = useMemo(() => {\n // Explicit theme prop takes highest priority\n if (theme) return theme;\n\n // If no preset specified, use the default forest theme\n if (!preset) return forestTheme;\n\n // Resolve preset + variant\n const presetConfig = getPreset(preset);\n if (!presetConfig) {\n throw new Error(\n `[ForestProvider] Unknown preset \"${preset}\". ` +\n `Available presets: use getAvailablePresets() to see registered presets.`\n );\n }\n\n const variantName = variant ?? presetConfig.defaultVariant;\n const variantConfig = presetConfig.variants[variantName];\n if (!variantConfig) {\n throw new Error(\n `[ForestProvider] Unknown variant \"${variantName}\" for preset \"${preset}\". ` +\n `Available variants: ${Object.keys(presetConfig.variants).join(\", \")}.`\n );\n }\n\n return buildTheme(variantConfig.tokens);\n }, [theme, preset, variant]);\n\n return (\n <ThemeProvider theme={resolvedTheme}>\n {!disableCssBaseline && <CssBaseline />}\n {children}\n </ThemeProvider>\n );\n}\n","import MuiAutocomplete, {\n type AutocompleteProps,\n} from \"@mui/material/Autocomplete\";\n\nexport type { AutocompleteProps };\n\nexport function Autocomplete<\n Value,\n Multiple extends boolean | undefined = false,\n DisableClearable extends boolean | undefined = false,\n FreeSolo extends boolean | undefined = false,\n>(\n props: AutocompleteProps<Value, Multiple, DisableClearable, FreeSolo>,\n) {\n return <MuiAutocomplete {...props} />;\n}\n","import MuiButton, { type ButtonProps as MuiButtonProps } from \"@mui/material/Button\";\n\nexport type ButtonProps = Omit<MuiButtonProps, \"size\">;\n\nexport function Button({ ...props }: ButtonProps) {\n return <MuiButton variant=\"contained\" {...props} />;\n}\n","import MuiButtonGroup, { type ButtonGroupProps } from \"@mui/material/ButtonGroup\";\n\nexport type { ButtonGroupProps };\n\nexport function ButtonGroup(props: ButtonGroupProps) {\n return <MuiButtonGroup variant=\"contained\" {...props} />;\n}\n","import MuiCheckbox, { type CheckboxProps } from \"@mui/material/Checkbox\";\n\nexport type { CheckboxProps };\n\nexport function Checkbox(props: CheckboxProps) {\n return <MuiCheckbox {...props} />;\n}\n","import MuiFab, { type FabProps } from \"@mui/material/Fab\";\n\nexport type { FabProps };\n\nexport function Fab(props: FabProps) {\n return <MuiFab color=\"primary\" {...props} />;\n}\n","import MuiRadioGroup, { type RadioGroupProps } from \"@mui/material/RadioGroup\";\nimport MuiRadio, { type RadioProps } from \"@mui/material/Radio\";\n\nexport type { RadioGroupProps, RadioProps };\n\nexport function RadioGroup(props: RadioGroupProps) {\n return <MuiRadioGroup {...props} />;\n}\n\nexport function Radio(props: RadioProps) {\n return <MuiRadio {...props} />;\n}\n","import MuiSelect, { type SelectProps } from \"@mui/material/Select\";\nimport MuiMenuItem, { type MenuItemProps } from \"@mui/material/MenuItem\";\n\nexport type { SelectProps, MenuItemProps };\n\nexport function Select<Value = unknown>(props: SelectProps<Value>) {\n return <MuiSelect {...props} />;\n}\n\nexport function MenuItem(props: MenuItemProps) {\n return <MuiMenuItem {...props} />;\n}\n","import MuiSwitch, { type SwitchProps } from \"@mui/material/Switch\";\n\nexport type { SwitchProps };\n\nexport function Switch(props: SwitchProps) {\n return <MuiSwitch {...props} />;\n}\n","import MuiTextField, { type TextFieldProps } from \"@mui/material/TextField\";\n\nexport type { TextFieldProps };\n\nexport function TextField(props: TextFieldProps) {\n return <MuiTextField {...props} />;\n}\n","import MuiToggleButton, { type ToggleButtonProps } from \"@mui/material/ToggleButton\";\nimport MuiToggleButtonGroup, { type ToggleButtonGroupProps } from \"@mui/material/ToggleButtonGroup\";\n\nexport type { ToggleButtonProps, ToggleButtonGroupProps };\n\nexport function ToggleButton(props: ToggleButtonProps) {\n return <MuiToggleButton {...props} />;\n}\n\nexport function ToggleButtonGroup(props: ToggleButtonGroupProps) {\n return <MuiToggleButtonGroup {...props} />;\n}\n","import MuiBadge, { type BadgeProps } from \"@mui/material/Badge\";\n\nexport type { BadgeProps };\n\nexport function Badge(props: BadgeProps) {\n return <MuiBadge {...props} />;\n}\n","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\n}), 'CloseOutlined');","import MuiChip, { type ChipProps } from \"@mui/material/Chip\";\nimport CloseIcon from \"@mui/icons-material/CloseOutlined\";\n\nexport type { ChipProps };\n\nexport function Chip(props: ChipProps) {\n return (\n <MuiChip\n deleteIcon={<CloseIcon />}\n {...props}\n />\n );\n}\n","import MuiDivider, { type DividerProps } from \"@mui/material/Divider\";\n\nexport type { DividerProps };\n\nexport function Divider(props: DividerProps) {\n return <MuiDivider {...props} />;\n}\n","import MuiList, { type ListProps } from \"@mui/material/List\";\nimport MuiListItem, { type ListItemProps } from \"@mui/material/ListItem\";\nimport MuiListItemButton, { type ListItemButtonProps } from \"@mui/material/ListItemButton\";\nimport MuiListItemIcon, { type ListItemIconProps } from \"@mui/material/ListItemIcon\";\nimport MuiListItemText, { type ListItemTextProps } from \"@mui/material/ListItemText\";\nimport MuiListItemAvatar, { type ListItemAvatarProps } from \"@mui/material/ListItemAvatar\";\nimport MuiListSubheader, { type ListSubheaderProps } from \"@mui/material/ListSubheader\";\n\nexport type {\n ListProps,\n ListItemProps,\n ListItemButtonProps,\n ListItemIconProps,\n ListItemTextProps,\n ListItemAvatarProps,\n ListSubheaderProps,\n};\n\nexport function List(props: ListProps) {\n return <MuiList {...props} />;\n}\n\nexport function ListItem(props: ListItemProps) {\n return <MuiListItem {...props} />;\n}\n\nexport function ListItemButton(props: ListItemButtonProps) {\n return <MuiListItemButton {...props} />;\n}\n\nexport function ListItemIcon(props: ListItemIconProps) {\n return <MuiListItemIcon {...props} />;\n}\n\nexport function ListItemText(props: ListItemTextProps) {\n return <MuiListItemText {...props} />;\n}\n\nexport function ListItemAvatar(props: ListItemAvatarProps) {\n return <MuiListItemAvatar {...props} />;\n}\n\nexport function ListSubheader(props: ListSubheaderProps) {\n return <MuiListSubheader {...props} />;\n}\n","import MuiTable, { type TableProps } from \"@mui/material/Table\";\nimport MuiTableBody, { type TableBodyProps } from \"@mui/material/TableBody\";\nimport MuiTableCell, { type TableCellProps } from \"@mui/material/TableCell\";\nimport MuiTableContainer, { type TableContainerProps } from \"@mui/material/TableContainer\";\nimport MuiTableHead, { type TableHeadProps } from \"@mui/material/TableHead\";\nimport MuiTableRow, { type TableRowProps } from \"@mui/material/TableRow\";\n\nexport type {\n TableProps,\n TableBodyProps,\n TableCellProps,\n TableContainerProps,\n TableHeadProps,\n TableRowProps,\n};\n\nexport function Table(props: TableProps) {\n return <MuiTable {...props} />;\n}\n\nexport function TableBody(props: TableBodyProps) {\n return <MuiTableBody {...props} />;\n}\n\nexport function TableCell(props: TableCellProps) {\n return <MuiTableCell {...props} />;\n}\n\nexport function TableContainer(props: TableContainerProps) {\n return <MuiTableContainer {...props} />;\n}\n\nexport function TableHead(props: TableHeadProps) {\n return <MuiTableHead {...props} />;\n}\n\nexport function TableRow(props: TableRowProps) {\n return <MuiTableRow {...props} />;\n}\n","import { DataGrid as MuiDataGrid, type DataGridProps } from \"@mui/x-data-grid\";\n\nexport type { DataGridProps };\nexport type {\n GridColDef,\n GridRowsProp,\n GridRowParams,\n GridCellParams,\n GridSortModel,\n GridFilterModel,\n GridPaginationModel,\n} from \"@mui/x-data-grid\";\n\nexport function DataGrid(props: DataGridProps) {\n return <MuiDataGrid {...props} />;\n}\n","import MuiTooltip, { type TooltipProps } from \"@mui/material/Tooltip\";\n\nexport type { TooltipProps };\n\nexport function Tooltip(props: TooltipProps) {\n return <MuiTooltip arrow {...props} />;\n}\n","import MuiTypography, { type TypographyProps } from \"@mui/material/Typography\";\n\nexport type { TypographyProps };\n\nexport function Typography(props: TypographyProps) {\n return <MuiTypography {...props} />;\n}\n","import MuiAccordion, { type AccordionProps } from \"@mui/material/Accordion\";\nimport MuiAccordionSummary, { type AccordionSummaryProps } from \"@mui/material/AccordionSummary\";\nimport MuiAccordionDetails, { type AccordionDetailsProps } from \"@mui/material/AccordionDetails\";\nimport MuiAccordionActions, { type AccordionActionsProps } from \"@mui/material/AccordionActions\";\n\nexport type {\n AccordionProps,\n AccordionSummaryProps,\n AccordionDetailsProps,\n AccordionActionsProps,\n};\n\nexport function Accordion(props: AccordionProps) {\n return <MuiAccordion {...props} />;\n}\n\nexport function AccordionSummary(props: AccordionSummaryProps) {\n return <MuiAccordionSummary {...props} />;\n}\n\nexport function AccordionDetails(props: AccordionDetailsProps) {\n return <MuiAccordionDetails {...props} />;\n}\n\nexport function AccordionActions(props: AccordionActionsProps) {\n return <MuiAccordionActions {...props} />;\n}\n","import MuiAppBar, { type AppBarProps } from \"@mui/material/AppBar\";\nimport MuiToolbar, { type ToolbarProps } from \"@mui/material/Toolbar\";\n\nexport type { AppBarProps, ToolbarProps };\n\nexport function AppBar(props: AppBarProps) {\n return <MuiAppBar {...props} />;\n}\n\nexport function Toolbar(props: ToolbarProps) {\n return <MuiToolbar {...props} />;\n}\n","import MuiCard, { type CardProps } from \"@mui/material/Card\";\nimport MuiCardContent, { type CardContentProps } from \"@mui/material/CardContent\";\nimport MuiCardHeader, { type CardHeaderProps } from \"@mui/material/CardHeader\";\nimport MuiCardActions, { type CardActionsProps } from \"@mui/material/CardActions\";\nimport MuiCardMedia, { type CardMediaProps } from \"@mui/material/CardMedia\";\n\nexport type {\n CardProps,\n CardContentProps,\n CardHeaderProps,\n CardActionsProps,\n CardMediaProps,\n};\n\nexport function Card(props: CardProps) {\n return <MuiCard {...props} />;\n}\n\nexport function CardContent(props: CardContentProps) {\n return <MuiCardContent {...props} />;\n}\n\nexport function CardHeader(props: CardHeaderProps) {\n return <MuiCardHeader {...props} />;\n}\n\nexport function CardActions(props: CardActionsProps) {\n return <MuiCardActions {...props} />;\n}\n\nexport function CardMedia(props: CardMediaProps) {\n return <MuiCardMedia {...props} />;\n}\n","import MuiPaper, { type PaperProps } from \"@mui/material/Paper\";\n\nexport type { PaperProps };\n\nexport function Paper(props: PaperProps) {\n return <MuiPaper {...props} />;\n}\n","import MuiAlert, { type AlertProps } from \"@mui/material/Alert\";\nimport MuiAlertTitle, { type AlertTitleProps } from \"@mui/material/AlertTitle\";\n\nexport type { AlertProps, AlertTitleProps };\n\nexport function Alert(props: AlertProps) {\n return <MuiAlert {...props} />;\n}\n\nexport function AlertTitle(props: AlertTitleProps) {\n return <MuiAlertTitle {...props} />;\n}\n","import MuiBackdrop, { type BackdropProps } from \"@mui/material/Backdrop\";\n\nexport type { BackdropProps };\n\nexport function Backdrop(props: BackdropProps) {\n return <MuiBackdrop {...props} />;\n}\n","import MuiDialog, { type DialogProps } from \"@mui/material/Dialog\";\nimport MuiDialogTitle, { type DialogTitleProps } from \"@mui/material/DialogTitle\";\nimport MuiDialogContent, { type DialogContentProps } from \"@mui/material/DialogContent\";\nimport MuiDialogActions, { type DialogActionsProps } from \"@mui/material/DialogActions\";\nimport MuiDialogContentText, { type DialogContentTextProps } from \"@mui/material/DialogContentText\";\n\nexport type {\n DialogProps,\n DialogTitleProps,\n DialogContentProps,\n DialogActionsProps,\n DialogContentTextProps,\n};\n\nexport function Dialog(props: DialogProps) {\n return <MuiDialog {...props} />;\n}\n\nexport function DialogTitle(props: DialogTitleProps) {\n return <MuiDialogTitle {...props} />;\n}\n\nexport function DialogContent(props: DialogContentProps) {\n return <MuiDialogContent {...props} />;\n}\n\nexport function DialogActions(props: DialogActionsProps) {\n return <MuiDialogActions {...props} />;\n}\n\nexport function DialogContentText(props: DialogContentTextProps) {\n return <MuiDialogContentText {...props} />;\n}\n","import MuiLinearProgress, { type LinearProgressProps } from \"@mui/material/LinearProgress\";\nimport MuiCircularProgress, { type CircularProgressProps } from \"@mui/material/CircularProgress\";\n\nexport type { LinearProgressProps, CircularProgressProps };\n\nexport function LinearProgress(props: LinearProgressProps) {\n return <MuiLinearProgress {...props} />;\n}\n\nexport function CircularProgress(props: CircularProgressProps) {\n return <MuiCircularProgress {...props} />;\n}\n","import MuiSkeleton, { type SkeletonProps } from \"@mui/material/Skeleton\";\n\nexport type { SkeletonProps };\n\nexport function Skeleton(props: SkeletonProps) {\n return <MuiSkeleton {...props} />;\n}\n","import MuiSnackbar, { type SnackbarProps } from \"@mui/material/Snackbar\";\n\nexport type { SnackbarProps };\n\nexport function Snackbar(props: SnackbarProps) {\n return <MuiSnackbar {...props} />;\n}\n"]}
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@mui/material';
|
|
2
2
|
import '@mui/material/styles';
|
|
3
|
-
export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alkemyPlusPreset, b as alpha, c as avatarColors, d as bg, e as border, f as breadcrumbColors, g as buildTheme, h as buildThemeOptions, i as buttonColors, j as chartColors, k as colors, J as components, l as container, m as display, n as fg, o as focusRings, p as fontFamily, q as fontSize, r as fontWeight, s as forestPreset, t as forestTheme, u as forestThemeOptions, v as getAvailablePresets, w as getPreset, x as iconColors, y as lineHeight, z as navColors, K as palette, A as radius, B as registerPreset, L as shadows, C as sliderColors, E as spacing, F as text, G as toggleColors, M as typography, I as widths } from './index-
|
|
3
|
+
export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alkemyPlusPreset, b as alpha, c as avatarColors, d as bg, e as border, f as breadcrumbColors, g as buildTheme, h as buildThemeOptions, i as buttonColors, j as chartColors, k as colors, J as components, l as container, m as display, n as fg, o as focusRings, p as fontFamily, q as fontSize, r as fontWeight, s as forestPreset, t as forestTheme, u as forestThemeOptions, v as getAvailablePresets, w as getPreset, x as iconColors, y as lineHeight, z as navColors, K as palette, A as radius, B as registerPreset, L as shadows, C as sliderColors, E as spacing, F as text, G as toggleColors, M as typography, I as widths } from './index-C7JP9vAZ.mjs';
|
package/dist/theme.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import '@mui/material';
|
|
2
2
|
import '@mui/material/styles';
|
|
3
|
-
export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alkemyPlusPreset, b as alpha, c as avatarColors, d as bg, e as border, f as breadcrumbColors, g as buildTheme, h as buildThemeOptions, i as buttonColors, j as chartColors, k as colors, J as components, l as container, m as display, n as fg, o as focusRings, p as fontFamily, q as fontSize, r as fontWeight, s as forestPreset, t as forestTheme, u as forestThemeOptions, v as getAvailablePresets, w as getPreset, x as iconColors, y as lineHeight, z as navColors, K as palette, A as radius, B as registerPreset, L as shadows, C as sliderColors, E as spacing, F as text, G as toggleColors, M as typography, I as widths } from './index-
|
|
3
|
+
export { D as DesignTokens, P as PresetVariantConfig, T as ThemePreset, a as alkemyPlusPreset, b as alpha, c as avatarColors, d as bg, e as border, f as breadcrumbColors, g as buildTheme, h as buildThemeOptions, i as buttonColors, j as chartColors, k as colors, J as components, l as container, m as display, n as fg, o as focusRings, p as fontFamily, q as fontSize, r as fontWeight, s as forestPreset, t as forestTheme, u as forestThemeOptions, v as getAvailablePresets, w as getPreset, x as iconColors, y as lineHeight, z as navColors, K as palette, A as radius, B as registerPreset, L as shadows, C as sliderColors, E as spacing, F as text, G as toggleColors, M as typography, I as widths } from './index-C7JP9vAZ.js';
|
package/dist/theme.js
CHANGED
|
@@ -597,7 +597,7 @@ var typography = buildTypography({
|
|
|
597
597
|
function buildComponents(tokens) {
|
|
598
598
|
const {
|
|
599
599
|
colors: colors3,
|
|
600
|
-
radius:
|
|
600
|
+
radius: radius3,
|
|
601
601
|
focusRings: focusRings3,
|
|
602
602
|
shadows: tokenShadows,
|
|
603
603
|
text: text3,
|
|
@@ -614,7 +614,7 @@ function buildComponents(tokens) {
|
|
|
614
614
|
},
|
|
615
615
|
styleOverrides: {
|
|
616
616
|
root: {
|
|
617
|
-
borderRadius:
|
|
617
|
+
borderRadius: radius3.md,
|
|
618
618
|
fontWeight: 600,
|
|
619
619
|
boxShadow: tokenShadows.xs,
|
|
620
620
|
height: 32,
|
|
@@ -663,7 +663,7 @@ function buildComponents(tokens) {
|
|
|
663
663
|
},
|
|
664
664
|
styleOverrides: {
|
|
665
665
|
root: {
|
|
666
|
-
borderRadius:
|
|
666
|
+
borderRadius: radius3.md
|
|
667
667
|
},
|
|
668
668
|
grouped: {
|
|
669
669
|
"&:not(:last-of-type)": {
|
|
@@ -695,8 +695,7 @@ function buildComponents(tokens) {
|
|
|
695
695
|
// ─── TextField / Input ──────────────────────────────────────────
|
|
696
696
|
MuiTextField: {
|
|
697
697
|
defaultProps: {
|
|
698
|
-
variant: "outlined"
|
|
699
|
-
size: "small"
|
|
698
|
+
variant: "outlined"
|
|
700
699
|
}
|
|
701
700
|
},
|
|
702
701
|
MuiInputBase: {
|
|
@@ -714,7 +713,7 @@ function buildComponents(tokens) {
|
|
|
714
713
|
MuiOutlinedInput: {
|
|
715
714
|
styleOverrides: {
|
|
716
715
|
root: {
|
|
717
|
-
borderRadius:
|
|
716
|
+
borderRadius: radius3.md,
|
|
718
717
|
boxShadow: tokenShadows.xs,
|
|
719
718
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
720
719
|
borderColor: border3.brand
|
|
@@ -736,12 +735,7 @@ function buildComponents(tokens) {
|
|
|
736
735
|
borderColor: border3.primary
|
|
737
736
|
},
|
|
738
737
|
input: {
|
|
739
|
-
padding: "
|
|
740
|
-
fontSize: 16,
|
|
741
|
-
lineHeight: "24px"
|
|
742
|
-
},
|
|
743
|
-
inputSizeSmall: {
|
|
744
|
-
padding: "8px 12px",
|
|
738
|
+
padding: "6px 12px",
|
|
745
739
|
fontSize: 14,
|
|
746
740
|
lineHeight: "20px"
|
|
747
741
|
}
|
|
@@ -774,12 +768,7 @@ function buildComponents(tokens) {
|
|
|
774
768
|
}
|
|
775
769
|
},
|
|
776
770
|
outlined: {
|
|
777
|
-
|
|
778
|
-
transform: "translate(14px, 10px) scale(1)",
|
|
779
|
-
"&.MuiInputLabel-sizeSmall": {
|
|
780
|
-
// Align label with custom inputSizeSmall padding (8px 12px)
|
|
781
|
-
transform: "translate(12px, 8px) scale(1)"
|
|
782
|
-
},
|
|
771
|
+
transform: "translate(12px, 6px) scale(1)",
|
|
783
772
|
"&.MuiInputLabel-shrink": {
|
|
784
773
|
transform: "translate(14px, -9px) scale(0.75)"
|
|
785
774
|
}
|
|
@@ -802,20 +791,22 @@ function buildComponents(tokens) {
|
|
|
802
791
|
// ─── Select ─────────────────────────────────────────────────────
|
|
803
792
|
MuiSelect: {
|
|
804
793
|
defaultProps: {
|
|
805
|
-
size: "small",
|
|
806
794
|
MenuProps: {
|
|
807
|
-
autoFocus: false
|
|
795
|
+
autoFocus: false,
|
|
796
|
+
slotProps: {
|
|
797
|
+
backdrop: {
|
|
798
|
+
sx: { backgroundColor: "transparent" }
|
|
799
|
+
}
|
|
800
|
+
}
|
|
808
801
|
}
|
|
809
802
|
},
|
|
810
803
|
styleOverrides: {
|
|
811
804
|
select: {
|
|
812
|
-
display: "flex",
|
|
813
|
-
alignItems: "center",
|
|
814
805
|
"&.MuiSelect-select": {
|
|
815
|
-
minHeight: "
|
|
816
|
-
"
|
|
817
|
-
|
|
818
|
-
|
|
806
|
+
minHeight: "auto",
|
|
807
|
+
padding: "6px 12px",
|
|
808
|
+
fontSize: 14,
|
|
809
|
+
lineHeight: "20px"
|
|
819
810
|
}
|
|
820
811
|
},
|
|
821
812
|
icon: {
|
|
@@ -826,7 +817,7 @@ function buildComponents(tokens) {
|
|
|
826
817
|
MuiMenuItem: {
|
|
827
818
|
styleOverrides: {
|
|
828
819
|
root: {
|
|
829
|
-
borderRadius:
|
|
820
|
+
borderRadius: radius3.md,
|
|
830
821
|
padding: "6px 8px",
|
|
831
822
|
gap: 4,
|
|
832
823
|
"&:hover": {
|
|
@@ -839,15 +830,24 @@ function buildComponents(tokens) {
|
|
|
839
830
|
MuiAutocomplete: {
|
|
840
831
|
styleOverrides: {
|
|
841
832
|
paper: {
|
|
842
|
-
borderRadius:
|
|
833
|
+
borderRadius: radius3.md,
|
|
843
834
|
boxShadow: tokenShadows.lg,
|
|
844
835
|
border: `1px solid ${border3.secondary}`,
|
|
845
836
|
marginTop: 4
|
|
846
837
|
},
|
|
838
|
+
inputRoot: {
|
|
839
|
+
// Override Autocomplete's default padding so the input height stays 32px
|
|
840
|
+
padding: "0 12px",
|
|
841
|
+
"&.MuiOutlinedInput-root .MuiAutocomplete-input": {
|
|
842
|
+
padding: "6px 0",
|
|
843
|
+
fontSize: 14,
|
|
844
|
+
lineHeight: "20px"
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
847
|
option: {
|
|
848
|
-
fontSize:
|
|
849
|
-
lineHeight: "
|
|
850
|
-
padding: "
|
|
848
|
+
fontSize: 14,
|
|
849
|
+
lineHeight: "20px",
|
|
850
|
+
padding: "6px 12px",
|
|
851
851
|
"&.Mui-focused": {
|
|
852
852
|
backgroundColor: bg3.primaryHover
|
|
853
853
|
},
|
|
@@ -868,7 +868,7 @@ function buildComponents(tokens) {
|
|
|
868
868
|
styleOverrides: {
|
|
869
869
|
root: {
|
|
870
870
|
color: border3.primary,
|
|
871
|
-
borderRadius:
|
|
871
|
+
borderRadius: radius3.xs,
|
|
872
872
|
padding: 0,
|
|
873
873
|
width: 20,
|
|
874
874
|
height: 20,
|
|
@@ -885,7 +885,7 @@ function buildComponents(tokens) {
|
|
|
885
885
|
"&.Mui-focusVisible": {
|
|
886
886
|
outline: "none",
|
|
887
887
|
boxShadow: focusRings3.brand,
|
|
888
|
-
borderRadius:
|
|
888
|
+
borderRadius: radius3.xs
|
|
889
889
|
},
|
|
890
890
|
"&.Mui-disabled": {
|
|
891
891
|
color: border3.primary
|
|
@@ -915,7 +915,7 @@ function buildComponents(tokens) {
|
|
|
915
915
|
"&.Mui-focusVisible": {
|
|
916
916
|
outline: "none",
|
|
917
917
|
boxShadow: focusRings3.brand,
|
|
918
|
-
borderRadius:
|
|
918
|
+
borderRadius: radius3.full
|
|
919
919
|
},
|
|
920
920
|
"&.Mui-disabled": {
|
|
921
921
|
color: border3.primary
|
|
@@ -963,7 +963,7 @@ function buildComponents(tokens) {
|
|
|
963
963
|
boxShadow: "0px 1px 2px 0px #1018280d"
|
|
964
964
|
},
|
|
965
965
|
track: {
|
|
966
|
-
borderRadius:
|
|
966
|
+
borderRadius: radius3.full,
|
|
967
967
|
backgroundColor: border3.secondary,
|
|
968
968
|
opacity: 1
|
|
969
969
|
}
|
|
@@ -988,8 +988,7 @@ function buildComponents(tokens) {
|
|
|
988
988
|
"&.Mui-selected": {
|
|
989
989
|
backgroundColor: bg3.brandPrimary,
|
|
990
990
|
color: buttonColors3.secondaryColor.fg,
|
|
991
|
-
borderColor: border3.
|
|
992
|
-
boxShadow: `inset 0 0 0 1px ${border3.brandSolid}`,
|
|
991
|
+
borderColor: border3.brandSolid,
|
|
993
992
|
"&:hover": {
|
|
994
993
|
backgroundColor: bg3.brandSecondary
|
|
995
994
|
}
|
|
@@ -1003,7 +1002,7 @@ function buildComponents(tokens) {
|
|
|
1003
1002
|
MuiToggleButtonGroup: {
|
|
1004
1003
|
styleOverrides: {
|
|
1005
1004
|
root: {
|
|
1006
|
-
borderRadius:
|
|
1005
|
+
borderRadius: radius3.md,
|
|
1007
1006
|
overflow: "hidden"
|
|
1008
1007
|
},
|
|
1009
1008
|
grouped: {
|
|
@@ -1011,16 +1010,13 @@ function buildComponents(tokens) {
|
|
|
1011
1010
|
"&:not(:first-of-type)": {
|
|
1012
1011
|
marginLeft: -1
|
|
1013
1012
|
},
|
|
1014
|
-
"&.Mui-selected + &.Mui-selected": {
|
|
1015
|
-
boxShadow: `inset -1px 0 0 0 ${border3.brandSolid}, inset 0 1px 0 0 ${border3.brandSolid}, inset 0 -1px 0 0 ${border3.brandSolid}`
|
|
1016
|
-
},
|
|
1017
1013
|
"&:first-of-type": {
|
|
1018
|
-
borderTopLeftRadius:
|
|
1019
|
-
borderBottomLeftRadius:
|
|
1014
|
+
borderTopLeftRadius: radius3.md,
|
|
1015
|
+
borderBottomLeftRadius: radius3.md
|
|
1020
1016
|
},
|
|
1021
1017
|
"&:last-of-type": {
|
|
1022
|
-
borderTopRightRadius:
|
|
1023
|
-
borderBottomRightRadius:
|
|
1018
|
+
borderTopRightRadius: radius3.md,
|
|
1019
|
+
borderBottomRightRadius: radius3.md
|
|
1024
1020
|
}
|
|
1025
1021
|
}
|
|
1026
1022
|
}
|
|
@@ -1032,7 +1028,7 @@ function buildComponents(tokens) {
|
|
|
1032
1028
|
},
|
|
1033
1029
|
styleOverrides: {
|
|
1034
1030
|
root: {
|
|
1035
|
-
borderRadius:
|
|
1031
|
+
borderRadius: radius3.xl,
|
|
1036
1032
|
border: `1px solid ${border3.secondary}`,
|
|
1037
1033
|
backgroundColor: bg3.primary,
|
|
1038
1034
|
boxShadow: tokenShadows.xs,
|
|
@@ -1081,7 +1077,7 @@ function buildComponents(tokens) {
|
|
|
1081
1077
|
backgroundImage: "none"
|
|
1082
1078
|
},
|
|
1083
1079
|
rounded: {
|
|
1084
|
-
borderRadius:
|
|
1080
|
+
borderRadius: radius3.lg
|
|
1085
1081
|
},
|
|
1086
1082
|
elevation1: {
|
|
1087
1083
|
boxShadow: tokenShadows.xs,
|
|
@@ -1122,7 +1118,7 @@ function buildComponents(tokens) {
|
|
|
1122
1118
|
styleOverrides: {
|
|
1123
1119
|
root: {
|
|
1124
1120
|
border: `1px solid ${border3.secondary}`,
|
|
1125
|
-
borderRadius:
|
|
1121
|
+
borderRadius: radius3.lg,
|
|
1126
1122
|
"&:not(:last-child)": {
|
|
1127
1123
|
marginBottom: 8
|
|
1128
1124
|
},
|
|
@@ -1132,7 +1128,7 @@ function buildComponents(tokens) {
|
|
|
1132
1128
|
"&.Mui-expanded": {
|
|
1133
1129
|
margin: 0,
|
|
1134
1130
|
marginBottom: 8,
|
|
1135
|
-
borderRadius:
|
|
1131
|
+
borderRadius: radius3.lg
|
|
1136
1132
|
}
|
|
1137
1133
|
}
|
|
1138
1134
|
}
|
|
@@ -1195,7 +1191,7 @@ function buildComponents(tokens) {
|
|
|
1195
1191
|
MuiChip: {
|
|
1196
1192
|
styleOverrides: {
|
|
1197
1193
|
root: {
|
|
1198
|
-
borderRadius:
|
|
1194
|
+
borderRadius: radius3.md
|
|
1199
1195
|
},
|
|
1200
1196
|
label: {
|
|
1201
1197
|
fontWeight: 500
|
|
@@ -1334,7 +1330,7 @@ function buildComponents(tokens) {
|
|
|
1334
1330
|
MuiTableContainer: {
|
|
1335
1331
|
styleOverrides: {
|
|
1336
1332
|
root: {
|
|
1337
|
-
borderRadius:
|
|
1333
|
+
borderRadius: radius3.xl,
|
|
1338
1334
|
border: `1px solid ${border3.secondary}`,
|
|
1339
1335
|
boxShadow: "none"
|
|
1340
1336
|
}
|
|
@@ -1349,7 +1345,7 @@ function buildComponents(tokens) {
|
|
|
1349
1345
|
lineHeight: "18px",
|
|
1350
1346
|
minWidth: 20,
|
|
1351
1347
|
height: 20,
|
|
1352
|
-
borderRadius:
|
|
1348
|
+
borderRadius: radius3.full
|
|
1353
1349
|
},
|
|
1354
1350
|
colorPrimary: {
|
|
1355
1351
|
backgroundColor: bg3.brandSolid
|
|
@@ -1366,7 +1362,7 @@ function buildComponents(tokens) {
|
|
|
1366
1362
|
dot: {
|
|
1367
1363
|
minWidth: 8,
|
|
1368
1364
|
height: 8,
|
|
1369
|
-
borderRadius:
|
|
1365
|
+
borderRadius: radius3.full
|
|
1370
1366
|
}
|
|
1371
1367
|
}
|
|
1372
1368
|
},
|
|
@@ -1389,7 +1385,7 @@ function buildComponents(tokens) {
|
|
|
1389
1385
|
MuiListItemButton: {
|
|
1390
1386
|
styleOverrides: {
|
|
1391
1387
|
root: {
|
|
1392
|
-
borderRadius:
|
|
1388
|
+
borderRadius: radius3.sm,
|
|
1393
1389
|
padding: "8px 12px",
|
|
1394
1390
|
"&:hover": {
|
|
1395
1391
|
backgroundColor: bg3.primaryHover
|
|
@@ -1437,7 +1433,7 @@ function buildComponents(tokens) {
|
|
|
1437
1433
|
lineHeight: "18px",
|
|
1438
1434
|
fontWeight: 600,
|
|
1439
1435
|
padding: "8px 12px",
|
|
1440
|
-
borderRadius:
|
|
1436
|
+
borderRadius: radius3.md,
|
|
1441
1437
|
boxShadow: tokenShadows.lg
|
|
1442
1438
|
},
|
|
1443
1439
|
arrow: {
|
|
@@ -1452,7 +1448,7 @@ function buildComponents(tokens) {
|
|
|
1452
1448
|
},
|
|
1453
1449
|
styleOverrides: {
|
|
1454
1450
|
root: {
|
|
1455
|
-
borderRadius:
|
|
1451
|
+
borderRadius: radius3.xl,
|
|
1456
1452
|
fontSize: 14,
|
|
1457
1453
|
lineHeight: "20px",
|
|
1458
1454
|
padding: "12px 16px",
|
|
@@ -1518,7 +1514,7 @@ function buildComponents(tokens) {
|
|
|
1518
1514
|
MuiDialog: {
|
|
1519
1515
|
styleOverrides: {
|
|
1520
1516
|
paper: {
|
|
1521
|
-
borderRadius:
|
|
1517
|
+
borderRadius: radius3.xl,
|
|
1522
1518
|
boxShadow: tokenShadows.xl,
|
|
1523
1519
|
padding: 0
|
|
1524
1520
|
}
|
|
@@ -1557,17 +1553,17 @@ function buildComponents(tokens) {
|
|
|
1557
1553
|
MuiLinearProgress: {
|
|
1558
1554
|
styleOverrides: {
|
|
1559
1555
|
root: {
|
|
1560
|
-
borderRadius:
|
|
1556
|
+
borderRadius: radius3.full,
|
|
1561
1557
|
height: 8,
|
|
1562
1558
|
backgroundColor: border3.secondary
|
|
1563
1559
|
},
|
|
1564
1560
|
barColorPrimary: {
|
|
1565
1561
|
backgroundColor: fg3.brandPrimary,
|
|
1566
|
-
borderRadius:
|
|
1562
|
+
borderRadius: radius3.full
|
|
1567
1563
|
},
|
|
1568
1564
|
barColorSecondary: {
|
|
1569
1565
|
backgroundColor: bg3.secondarySolid,
|
|
1570
|
-
borderRadius:
|
|
1566
|
+
borderRadius: radius3.full
|
|
1571
1567
|
}
|
|
1572
1568
|
}
|
|
1573
1569
|
},
|
|
@@ -1591,10 +1587,10 @@ function buildComponents(tokens) {
|
|
|
1591
1587
|
backgroundColor: bg3.tertiary
|
|
1592
1588
|
},
|
|
1593
1589
|
rounded: {
|
|
1594
|
-
borderRadius:
|
|
1590
|
+
borderRadius: radius3.md
|
|
1595
1591
|
},
|
|
1596
1592
|
circular: {
|
|
1597
|
-
borderRadius:
|
|
1593
|
+
borderRadius: radius3.full
|
|
1598
1594
|
}
|
|
1599
1595
|
}
|
|
1600
1596
|
},
|
|
@@ -1604,7 +1600,7 @@ function buildComponents(tokens) {
|
|
|
1604
1600
|
root: {
|
|
1605
1601
|
backgroundColor: bg3.primarySolid,
|
|
1606
1602
|
color: text3.white,
|
|
1607
|
-
borderRadius:
|
|
1603
|
+
borderRadius: radius3.xl,
|
|
1608
1604
|
boxShadow: tokenShadows.lg,
|
|
1609
1605
|
fontSize: 14,
|
|
1610
1606
|
lineHeight: "20px",
|
|
@@ -1639,7 +1635,7 @@ function buildComponents(tokens) {
|
|
|
1639
1635
|
styleOverrides: {
|
|
1640
1636
|
root: {
|
|
1641
1637
|
border: `1px solid ${border3.secondary}`,
|
|
1642
|
-
borderRadius:
|
|
1638
|
+
borderRadius: radius3.xl,
|
|
1643
1639
|
fontFamily: "inherit",
|
|
1644
1640
|
"& .MuiDataGrid-withBorderColor": {
|
|
1645
1641
|
borderColor: border3.secondary
|
|
@@ -1879,6 +1875,18 @@ var colors2 = {
|
|
|
1879
1875
|
/** Blue (info) — forest defaults (standard UX) */
|
|
1880
1876
|
blue: colors.blue
|
|
1881
1877
|
};
|
|
1878
|
+
var radius2 = {
|
|
1879
|
+
...radius,
|
|
1880
|
+
xxs: 1,
|
|
1881
|
+
xs: 2,
|
|
1882
|
+
sm: 3,
|
|
1883
|
+
md: 4,
|
|
1884
|
+
lg: 5,
|
|
1885
|
+
xl: 6,
|
|
1886
|
+
"2xl": 8,
|
|
1887
|
+
"3xl": 10,
|
|
1888
|
+
"4xl": 12
|
|
1889
|
+
};
|
|
1882
1890
|
var text2 = {
|
|
1883
1891
|
primary: colors2.gray[900],
|
|
1884
1892
|
secondary: colors2.gray[700],
|
|
@@ -2113,7 +2121,7 @@ var alkemyPlusPreset = {
|
|
|
2113
2121
|
tokens: {
|
|
2114
2122
|
colors: colors2,
|
|
2115
2123
|
spacing,
|
|
2116
|
-
radius,
|
|
2124
|
+
radius: radius2,
|
|
2117
2125
|
shadows,
|
|
2118
2126
|
focusRings: focusRings2,
|
|
2119
2127
|
fontFamily: '"Aeonik", sans-serif',
|