@rabex-kit/rabex-ui 0.2.75 → 0.2.76
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/index.d.ts +3 -2
- package/dist/rabex-ui.cjs.development.js +24 -0
- package/dist/rabex-ui.cjs.development.js.map +1 -1
- package/dist/rabex-ui.cjs.production.min.js +1 -1
- package/dist/rabex-ui.cjs.production.min.js.map +1 -1
- package/dist/rabex-ui.esm.js +24 -1
- package/dist/rabex-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rabex-ui.esm.js
CHANGED
|
@@ -119,6 +119,7 @@ import MuiStepper from '@mui/material/Stepper/Stepper.js';
|
|
|
119
119
|
import MuiSwipeableDrawer from '@mui/material/SwipeableDrawer/SwipeableDrawer.js';
|
|
120
120
|
import { ClickAwayListener as ClickAwayListener$1 } from '@mui/base/ClickAwayListener';
|
|
121
121
|
import MuiZoom from '@mui/material/Zoom/Zoom.js';
|
|
122
|
+
import MuiSwitch from '@mui/material/Switch/Switch.js';
|
|
122
123
|
|
|
123
124
|
/**
|
|
124
125
|
* The accordion component allows the user to show and hide sections of related content on a page.
|
|
@@ -7299,5 +7300,27 @@ var SegmentedControlTab = /*#__PURE__*/styled(function (props) {
|
|
|
7299
7300
|
});
|
|
7300
7301
|
SegmentedControlTab.defaultProps = {};
|
|
7301
7302
|
|
|
7302
|
-
|
|
7303
|
+
/**
|
|
7304
|
+
* Rabex Switch
|
|
7305
|
+
*
|
|
7306
|
+
* A thin wrapper around MUI Switch.
|
|
7307
|
+
*
|
|
7308
|
+
* Styling and behavior are controlled exclusively via theme overrides.
|
|
7309
|
+
* This keeps the component lightweight, predictable, and consistent
|
|
7310
|
+
* across the application.
|
|
7311
|
+
*
|
|
7312
|
+
* @example
|
|
7313
|
+
* ```tsx
|
|
7314
|
+
* import { Switch } from '@rabex-kit/rabex-ui';
|
|
7315
|
+
*
|
|
7316
|
+
* <Switch checked={value} onChange={handleChange} />
|
|
7317
|
+
* ```
|
|
7318
|
+
*
|
|
7319
|
+
* For labeling, always use `FormControlLabel`.
|
|
7320
|
+
*/
|
|
7321
|
+
var Switch = function Switch(props) {
|
|
7322
|
+
return React.createElement(MuiSwitch, Object.assign({}, props));
|
|
7323
|
+
};
|
|
7324
|
+
|
|
7325
|
+
export { Accordion, AccordionActions, AccordionDetails, AccordionSummary, Alert, AlertAction, AlertTimer, AlertTitle, Autocomplete, Avatar, Backdrop, Box, Breadcrumbs, Button, Checkbox, Chip, CircularProgress, ClickAwayListener, Collapse, Container, CurrencyPairsTitle, Dialog, DialogActions, DialogContent, DialogTitle, Divider, Drawer, DynamicBackground, DynamicBackgroundContainer, Fade, FormControl, FormControlLabel, FormGroup, FormHelperText, FormLabel, FormikInput, FormikSelect, FormikTextField, Grid, Grow, IconButton, Input, InputAdornment, InputLabel, LinearProgress, Link, List, ListItem, ListItemAvatar, ListItemButton, ListItemIcon, ListItemSecondaryAction, listItemText as ListItemText, ListSubHeader, LoadingButton, Menu, MenuItem, MenuList, MobileStepper, Modal, ModalContent, NoSsr, Pagination, PaginationItem, Paper, Popover, Popper, RTable, RTableHead, RTableRow, Radio, RadioGroup, SeeMore, SegmentedControl, SegmentedControlTab, Select, SelectItem, Skeleton, Slide, Slider, SliderContent, Snackbar, SnackbarContent, Stack, Step, StepButton, StepConnector, StepContent, StepIcon, StepLabel, Stepper, SvgIcon, SwipeableDrawer, Switch, Tab, TabContext, TabList, TabPanel, Table, TableBody, TableCell, TableContainer, TableFooter, TableHead, TablePagination, TableRow, TableSortLabel, Tabs, TextField, ToggleButton, ToggleButtonGroup, Tooltip, Typography, UploadButton, Zoom, numberUtils, handleSearch as searchUtils, theme, useCopyToClipboard, useOnScreen, useResponsive, useTime, useWindowSize };
|
|
7303
7326
|
//# sourceMappingURL=rabex-ui.esm.js.map
|