@ethisyscore/plugin-ui 1.93.0 → 1.95.0

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.
@@ -208,6 +208,10 @@ Object.defineProperty(exports, "AlertTitle", {
208
208
  enumerable: true,
209
209
  get: function () { return material.AlertTitle; }
210
210
  });
211
+ Object.defineProperty(exports, "Autocomplete", {
212
+ enumerable: true,
213
+ get: function () { return material.Autocomplete; }
214
+ });
211
215
  Object.defineProperty(exports, "Box", {
212
216
  enumerable: true,
213
217
  get: function () { return material.Box; }
@@ -1,5 +1,5 @@
1
1
  import { DialogProps, SxProps, Theme } from '@mui/material';
2
- export { Alert, AlertTitle, Box, Breadcrumbs, Button, Card, CardActions, CardContent, CardHeader, Chip, CircularProgress, Collapse, Container, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, FilledInput, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, Grid, IconButton, Input, InputAdornment, InputLabel, LinearProgress, Link, ListItemIcon, ListItemText, Menu, MenuItem, OutlinedInput, Paper, Popover, Select, SelectChangeEvent, Skeleton, Stack, Switch, Tab, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TableHead as TableHeader, TableRow, Tabs, TextField, TextareaAutosize, Tooltip, Typography } from '@mui/material';
2
+ export { Alert, AlertTitle, Autocomplete, Box, Breadcrumbs, Button, Card, CardActions, CardContent, CardHeader, Chip, CircularProgress, Collapse, Container, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, FilledInput, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, Grid, IconButton, Input, InputAdornment, InputLabel, LinearProgress, Link, ListItemIcon, ListItemText, Menu, MenuItem, OutlinedInput, Paper, Popover, Select, SelectChangeEvent, Skeleton, Stack, Switch, Tab, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TableHead as TableHeader, TableRow, Tabs, TextField, TextareaAutosize, Tooltip, Typography } from '@mui/material';
3
3
  import * as react from 'react';
4
4
 
5
5
  /**
@@ -67,6 +67,36 @@ declare module "@mui/material/Button" {
67
67
  }
68
68
  }
69
69
 
70
+ /**
71
+ * The host theme's extra MUI Button VARIANTS, declared for TypeScript.
72
+ *
73
+ * The sibling of `muiColorAugmentation`, and for the same reason: gogo-ui adds variants MUI does not
74
+ * ship and styles them in CSS against the class names MUI derives from the `variant` prop. MUI emits
75
+ * the class (`MuiButton-surface`) and gogo-ui's `button.css` styles it, so the variant is real — it
76
+ * just lives in the host's stylesheet rather than in MUI's emitted styles.
77
+ *
78
+ * `surface` is the one this package needs: `ConnectorMappingView`'s auto-match control is
79
+ * `variant="surface" color="grey"`, the estate's standard icon-only affordance, and it was
80
+ * `variant="surface"` in all three plugin copies. Every consuming plugin already declares the
81
+ * member locally (`src/theme/mui-extend.ts`), so without this the promoted view would have had to
82
+ * downgrade to a variant MUI does style — which is what happened to `color="grey"` on the first
83
+ * promotion out of these plugins, and it changed how the control rendered.
84
+ *
85
+ * `pastel` is declared alongside it because gogo-ui defines both in the same block and a consumer's
86
+ * merged declaration carries both. Declaration merging is additive and idempotent for identical
87
+ * members, so a plugin that already declares them keeps compiling with this present.
88
+ *
89
+ * `ButtonPropsSizeOverrides` and `ButtonClasses` are deliberately NOT widened here. Nothing in this
90
+ * package uses `size="tiny"` or reaches for a generated class name, and an augmentation is only
91
+ * worth shipping for a prop value a consumer of this barrel can actually write.
92
+ */
93
+ declare module "@mui/material/Button" {
94
+ interface ButtonPropsVariantOverrides {
95
+ pastel: true;
96
+ surface: true;
97
+ }
98
+ }
99
+
70
100
  /**
71
101
  * MUI `Dialog` with the scroll-lock + focus-restore overrides plugin surfaces
72
102
  * need (AB#4808): MUI's defaults reset the page to top when a dialog opened from
@@ -1,5 +1,5 @@
1
1
  import { DialogProps, SxProps, Theme } from '@mui/material';
2
- export { Alert, AlertTitle, Box, Breadcrumbs, Button, Card, CardActions, CardContent, CardHeader, Chip, CircularProgress, Collapse, Container, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, FilledInput, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, Grid, IconButton, Input, InputAdornment, InputLabel, LinearProgress, Link, ListItemIcon, ListItemText, Menu, MenuItem, OutlinedInput, Paper, Popover, Select, SelectChangeEvent, Skeleton, Stack, Switch, Tab, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TableHead as TableHeader, TableRow, Tabs, TextField, TextareaAutosize, Tooltip, Typography } from '@mui/material';
2
+ export { Alert, AlertTitle, Autocomplete, Box, Breadcrumbs, Button, Card, CardActions, CardContent, CardHeader, Chip, CircularProgress, Collapse, Container, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, FilledInput, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, Grid, IconButton, Input, InputAdornment, InputLabel, LinearProgress, Link, ListItemIcon, ListItemText, Menu, MenuItem, OutlinedInput, Paper, Popover, Select, SelectChangeEvent, Skeleton, Stack, Switch, Tab, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TableHead as TableHeader, TableRow, Tabs, TextField, TextareaAutosize, Tooltip, Typography } from '@mui/material';
3
3
  import * as react from 'react';
4
4
 
5
5
  /**
@@ -67,6 +67,36 @@ declare module "@mui/material/Button" {
67
67
  }
68
68
  }
69
69
 
70
+ /**
71
+ * The host theme's extra MUI Button VARIANTS, declared for TypeScript.
72
+ *
73
+ * The sibling of `muiColorAugmentation`, and for the same reason: gogo-ui adds variants MUI does not
74
+ * ship and styles them in CSS against the class names MUI derives from the `variant` prop. MUI emits
75
+ * the class (`MuiButton-surface`) and gogo-ui's `button.css` styles it, so the variant is real — it
76
+ * just lives in the host's stylesheet rather than in MUI's emitted styles.
77
+ *
78
+ * `surface` is the one this package needs: `ConnectorMappingView`'s auto-match control is
79
+ * `variant="surface" color="grey"`, the estate's standard icon-only affordance, and it was
80
+ * `variant="surface"` in all three plugin copies. Every consuming plugin already declares the
81
+ * member locally (`src/theme/mui-extend.ts`), so without this the promoted view would have had to
82
+ * downgrade to a variant MUI does style — which is what happened to `color="grey"` on the first
83
+ * promotion out of these plugins, and it changed how the control rendered.
84
+ *
85
+ * `pastel` is declared alongside it because gogo-ui defines both in the same block and a consumer's
86
+ * merged declaration carries both. Declaration merging is additive and idempotent for identical
87
+ * members, so a plugin that already declares them keeps compiling with this present.
88
+ *
89
+ * `ButtonPropsSizeOverrides` and `ButtonClasses` are deliberately NOT widened here. Nothing in this
90
+ * package uses `size="tiny"` or reaches for a generated class name, and an augmentation is only
91
+ * worth shipping for a prop value a consumer of this barrel can actually write.
92
+ */
93
+ declare module "@mui/material/Button" {
94
+ interface ButtonPropsVariantOverrides {
95
+ pastel: true;
96
+ surface: true;
97
+ }
98
+ }
99
+
70
100
  /**
71
101
  * MUI `Dialog` with the scroll-lock + focus-restore overrides plugin surfaces
72
102
  * need (AB#4808): MUI's defaults reset the page to top when a dialog opened from
@@ -1,5 +1,5 @@
1
1
  import { FormControl, InputLabel, FilledInput, InputAdornment, IconButton, Dialog as Dialog$1, LinearProgress } from '@mui/material';
2
- export { Alert, AlertTitle, Box, Breadcrumbs, Button, Card, CardActions, CardContent, CardHeader, Chip, CircularProgress, Collapse, Container, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, FilledInput, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, Grid, IconButton, Input, InputAdornment, InputLabel, LinearProgress, Link, ListItemIcon, ListItemText, Menu, MenuItem, OutlinedInput, Paper, Popover, Select, Skeleton, Stack, Switch, Tab, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TableHead as TableHeader, TableRow, Tabs, TextField, TextareaAutosize, Tooltip, Typography } from '@mui/material';
2
+ export { Alert, AlertTitle, Autocomplete, Box, Breadcrumbs, Button, Card, CardActions, CardContent, CardHeader, Chip, CircularProgress, Collapse, Container, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, FilledInput, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, Grid, IconButton, Input, InputAdornment, InputLabel, LinearProgress, Link, ListItemIcon, ListItemText, Menu, MenuItem, OutlinedInput, Paper, Popover, Select, Skeleton, Stack, Switch, Tab, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TableHead as TableHeader, TableRow, Tabs, TextField, TextareaAutosize, Tooltip, Typography } from '@mui/material';
3
3
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
4
4
  import { memo, useState, useId, useRef, useEffect, useCallback } from 'react';
5
5