@mui/material 5.14.14 → 5.14.16
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/CHANGELOG.md +134 -0
- package/Checkbox/Checkbox.js +1 -1
- package/GlobalStyles/index.js +0 -2
- package/InputLabel/InputLabel.js +4 -3
- package/OutlinedInput/NotchedOutline.js +7 -3
- package/Radio/Radio.js +1 -1
- package/Radio/RadioButtonIcon.js +4 -2
- package/SwipeableDrawer/SwipeArea.js +4 -2
- package/ToggleButton/toggleButtonClasses.d.ts +2 -0
- package/ToggleButton/toggleButtonClasses.js +1 -1
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +2 -0
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/index.js +3 -2
- package/internal/SwitchBase.js +4 -2
- package/legacy/Checkbox/Checkbox.js +1 -1
- package/legacy/GlobalStyles/index.js +0 -2
- package/legacy/InputLabel/InputLabel.js +4 -3
- package/legacy/OutlinedInput/NotchedOutline.js +7 -3
- package/legacy/Radio/Radio.js +1 -1
- package/legacy/Radio/RadioButtonIcon.js +4 -2
- package/legacy/SwipeableDrawer/SwipeArea.js +4 -2
- package/legacy/ToggleButton/toggleButtonClasses.js +1 -1
- package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/legacy/index.js +3 -2
- package/legacy/internal/SwitchBase.js +4 -2
- package/legacy/locale/index.js +244 -166
- package/locale/index.d.ts +1 -0
- package/locale/index.js +120 -46
- package/modern/Checkbox/Checkbox.js +1 -1
- package/modern/GlobalStyles/index.js +0 -2
- package/modern/InputLabel/InputLabel.js +4 -3
- package/modern/OutlinedInput/NotchedOutline.js +7 -3
- package/modern/Radio/Radio.js +1 -1
- package/modern/Radio/RadioButtonIcon.js +4 -2
- package/modern/SwipeableDrawer/SwipeArea.js +4 -2
- package/modern/ToggleButton/toggleButtonClasses.js +1 -1
- package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/modern/index.js +3 -2
- package/modern/internal/SwitchBase.js +4 -2
- package/modern/locale/index.js +120 -46
- package/node/Accordion/Accordion.js +2 -2
- package/node/Accordion/AccordionContext.js +2 -2
- package/node/Accordion/index.js +2 -2
- package/node/AccordionActions/AccordionActions.js +2 -2
- package/node/AccordionActions/index.js +2 -2
- package/node/AccordionDetails/AccordionDetails.js +2 -2
- package/node/AccordionDetails/index.js +2 -2
- package/node/AccordionSummary/AccordionSummary.js +2 -2
- package/node/AccordionSummary/index.js +2 -2
- package/node/Alert/Alert.js +2 -2
- package/node/Alert/index.js +2 -2
- package/node/AlertTitle/AlertTitle.js +2 -2
- package/node/AlertTitle/index.js +2 -2
- package/node/AppBar/AppBar.js +2 -2
- package/node/AppBar/index.js +2 -2
- package/node/Autocomplete/Autocomplete.js +2 -2
- package/node/Autocomplete/index.js +2 -2
- package/node/Avatar/Avatar.js +2 -2
- package/node/Avatar/index.js +2 -2
- package/node/AvatarGroup/AvatarGroup.js +2 -2
- package/node/AvatarGroup/index.js +2 -2
- package/node/Backdrop/Backdrop.js +2 -2
- package/node/Backdrop/index.js +2 -2
- package/node/Badge/Badge.js +2 -2
- package/node/Badge/index.js +2 -2
- package/node/BottomNavigation/BottomNavigation.js +2 -2
- package/node/BottomNavigation/index.js +2 -2
- package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/node/BottomNavigationAction/index.js +2 -2
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
- package/node/Breadcrumbs/Breadcrumbs.js +2 -2
- package/node/Breadcrumbs/index.js +2 -2
- package/node/Button/Button.js +2 -2
- package/node/Button/index.js +2 -2
- package/node/ButtonBase/ButtonBase.js +2 -2
- package/node/ButtonBase/Ripple.js +2 -2
- package/node/ButtonBase/TouchRipple.js +2 -2
- package/node/ButtonBase/index.js +2 -2
- package/node/ButtonGroup/ButtonGroup.js +2 -2
- package/node/ButtonGroup/ButtonGroupButtonContext.js +2 -2
- package/node/ButtonGroup/ButtonGroupContext.js +2 -2
- package/node/ButtonGroup/index.js +2 -2
- package/node/Card/Card.js +2 -2
- package/node/Card/index.js +2 -2
- package/node/CardActionArea/CardActionArea.js +2 -2
- package/node/CardActionArea/index.js +2 -2
- package/node/CardActions/CardActions.js +2 -2
- package/node/CardActions/index.js +2 -2
- package/node/CardContent/CardContent.js +2 -2
- package/node/CardContent/index.js +2 -2
- package/node/CardHeader/CardHeader.js +2 -2
- package/node/CardHeader/index.js +2 -2
- package/node/CardMedia/CardMedia.js +2 -2
- package/node/CardMedia/index.js +2 -2
- package/node/Checkbox/Checkbox.js +3 -3
- package/node/Checkbox/index.js +2 -2
- package/node/Chip/Chip.js +2 -2
- package/node/Chip/index.js +2 -2
- package/node/CircularProgress/CircularProgress.js +2 -2
- package/node/CircularProgress/index.js +2 -2
- package/node/Collapse/Collapse.js +2 -2
- package/node/Collapse/index.js +2 -2
- package/node/Container/index.js +2 -2
- package/node/CssBaseline/CssBaseline.js +2 -2
- package/node/Dialog/Dialog.js +2 -2
- package/node/Dialog/DialogContext.js +2 -2
- package/node/Dialog/index.js +2 -2
- package/node/DialogActions/DialogActions.js +2 -2
- package/node/DialogActions/index.js +2 -2
- package/node/DialogContent/DialogContent.js +2 -2
- package/node/DialogContent/index.js +2 -2
- package/node/DialogContentText/DialogContentText.js +2 -2
- package/node/DialogContentText/index.js +2 -2
- package/node/DialogTitle/DialogTitle.js +2 -2
- package/node/DialogTitle/index.js +2 -2
- package/node/Divider/Divider.js +2 -2
- package/node/Divider/index.js +2 -2
- package/node/Drawer/Drawer.js +2 -2
- package/node/Drawer/index.js +2 -2
- package/node/Fab/Fab.js +2 -2
- package/node/Fab/index.js +2 -2
- package/node/Fade/Fade.js +2 -2
- package/node/FilledInput/FilledInput.js +2 -2
- package/node/FilledInput/index.js +2 -2
- package/node/FormControl/FormControl.js +2 -2
- package/node/FormControl/FormControlContext.js +2 -2
- package/node/FormControl/index.js +2 -2
- package/node/FormControl/useFormControl.js +2 -2
- package/node/FormControlLabel/FormControlLabel.js +2 -2
- package/node/FormControlLabel/index.js +2 -2
- package/node/FormGroup/FormGroup.js +2 -2
- package/node/FormGroup/index.js +2 -2
- package/node/FormHelperText/FormHelperText.js +2 -2
- package/node/FormHelperText/index.js +2 -2
- package/node/FormLabel/FormLabel.js +2 -2
- package/node/FormLabel/index.js +2 -2
- package/node/GlobalStyles/GlobalStyles.js +2 -2
- package/node/GlobalStyles/index.js +0 -1
- package/node/Grid/Grid.js +2 -2
- package/node/Grid/GridContext.js +2 -2
- package/node/Grid/index.js +2 -2
- package/node/Grow/Grow.js +2 -2
- package/node/Hidden/Hidden.js +2 -2
- package/node/Hidden/HiddenCss.js +2 -2
- package/node/Hidden/HiddenJs.js +2 -2
- package/node/Hidden/withWidth.js +2 -2
- package/node/Icon/Icon.js +2 -2
- package/node/Icon/index.js +2 -2
- package/node/IconButton/IconButton.js +2 -2
- package/node/IconButton/index.js +2 -2
- package/node/ImageList/ImageList.js +2 -2
- package/node/ImageList/ImageListContext.js +2 -2
- package/node/ImageList/index.js +2 -2
- package/node/ImageListItem/ImageListItem.js +2 -2
- package/node/ImageListItem/index.js +2 -2
- package/node/ImageListItemBar/ImageListItemBar.js +2 -2
- package/node/ImageListItemBar/index.js +2 -2
- package/node/Input/Input.js +2 -2
- package/node/Input/index.js +2 -2
- package/node/InputAdornment/InputAdornment.js +2 -2
- package/node/InputAdornment/index.js +2 -2
- package/node/InputBase/InputBase.js +2 -2
- package/node/InputBase/index.js +2 -2
- package/node/InputLabel/InputLabel.js +6 -5
- package/node/InputLabel/index.js +2 -2
- package/node/LinearProgress/LinearProgress.js +2 -2
- package/node/LinearProgress/index.js +2 -2
- package/node/Link/Link.js +2 -2
- package/node/Link/index.js +2 -2
- package/node/List/List.js +2 -2
- package/node/List/ListContext.js +2 -2
- package/node/List/index.js +2 -2
- package/node/ListItem/ListItem.js +2 -2
- package/node/ListItem/index.js +2 -2
- package/node/ListItemAvatar/ListItemAvatar.js +2 -2
- package/node/ListItemAvatar/index.js +2 -2
- package/node/ListItemButton/ListItemButton.js +2 -2
- package/node/ListItemButton/index.js +2 -2
- package/node/ListItemIcon/ListItemIcon.js +2 -2
- package/node/ListItemIcon/index.js +2 -2
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/node/ListItemSecondaryAction/index.js +2 -2
- package/node/ListItemText/ListItemText.js +2 -2
- package/node/ListItemText/index.js +2 -2
- package/node/ListSubheader/ListSubheader.js +2 -2
- package/node/ListSubheader/index.js +2 -2
- package/node/Menu/Menu.js +2 -2
- package/node/Menu/index.js +2 -2
- package/node/MenuItem/MenuItem.js +2 -2
- package/node/MenuItem/index.js +2 -2
- package/node/MenuList/MenuList.js +2 -2
- package/node/MobileStepper/MobileStepper.js +2 -2
- package/node/MobileStepper/index.js +2 -2
- package/node/Modal/Modal.js +2 -2
- package/node/Modal/index.js +2 -2
- package/node/NativeSelect/NativeSelect.js +2 -2
- package/node/NativeSelect/NativeSelectInput.js +2 -2
- package/node/NativeSelect/index.js +2 -2
- package/node/OutlinedInput/NotchedOutline.js +9 -5
- package/node/OutlinedInput/OutlinedInput.js +2 -2
- package/node/OutlinedInput/index.js +2 -2
- package/node/Pagination/Pagination.js +2 -2
- package/node/Pagination/index.js +2 -2
- package/node/PaginationItem/PaginationItem.js +2 -2
- package/node/PaginationItem/index.js +2 -2
- package/node/Paper/Paper.js +2 -2
- package/node/Paper/index.js +2 -2
- package/node/Popover/Popover.js +2 -2
- package/node/Popover/index.js +2 -2
- package/node/Popper/Popper.js +2 -2
- package/node/Radio/Radio.js +3 -3
- package/node/Radio/RadioButtonIcon.js +6 -4
- package/node/Radio/index.js +2 -2
- package/node/RadioGroup/RadioGroup.js +2 -2
- package/node/RadioGroup/RadioGroupContext.js +2 -2
- package/node/RadioGroup/useRadioGroup.js +2 -2
- package/node/Rating/Rating.js +2 -2
- package/node/Rating/index.js +2 -2
- package/node/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
- package/node/ScopedCssBaseline/index.js +2 -2
- package/node/Select/Select.js +2 -2
- package/node/Select/SelectInput.js +2 -2
- package/node/Select/index.js +2 -2
- package/node/Skeleton/Skeleton.js +2 -2
- package/node/Skeleton/index.js +2 -2
- package/node/Slide/Slide.js +2 -2
- package/node/Slider/Slider.js +2 -2
- package/node/Slider/SliderValueLabel.js +2 -2
- package/node/Slider/index.js +2 -2
- package/node/Snackbar/Snackbar.js +2 -2
- package/node/Snackbar/index.js +2 -2
- package/node/SnackbarContent/SnackbarContent.js +2 -2
- package/node/SnackbarContent/index.js +2 -2
- package/node/SpeedDial/SpeedDial.js +2 -2
- package/node/SpeedDial/index.js +2 -2
- package/node/SpeedDialAction/SpeedDialAction.js +2 -2
- package/node/SpeedDialAction/index.js +2 -2
- package/node/SpeedDialIcon/SpeedDialIcon.js +2 -2
- package/node/SpeedDialIcon/index.js +2 -2
- package/node/Step/Step.js +2 -2
- package/node/Step/StepContext.js +2 -2
- package/node/Step/index.js +2 -2
- package/node/StepButton/StepButton.js +2 -2
- package/node/StepButton/index.js +2 -2
- package/node/StepConnector/StepConnector.js +2 -2
- package/node/StepConnector/index.js +2 -2
- package/node/StepContent/StepContent.js +2 -2
- package/node/StepContent/index.js +2 -2
- package/node/StepIcon/StepIcon.js +2 -2
- package/node/StepIcon/index.js +2 -2
- package/node/StepLabel/StepLabel.js +2 -2
- package/node/StepLabel/index.js +2 -2
- package/node/Stepper/Stepper.js +2 -2
- package/node/Stepper/StepperContext.js +2 -2
- package/node/Stepper/index.js +2 -2
- package/node/SvgIcon/SvgIcon.js +2 -2
- package/node/SvgIcon/index.js +2 -2
- package/node/SwipeableDrawer/SwipeArea.js +6 -4
- package/node/SwipeableDrawer/SwipeableDrawer.js +2 -2
- package/node/Switch/Switch.js +2 -2
- package/node/Switch/index.js +2 -2
- package/node/Tab/Tab.js +2 -2
- package/node/Tab/index.js +2 -2
- package/node/TabScrollButton/TabScrollButton.js +2 -2
- package/node/TabScrollButton/index.js +2 -2
- package/node/Table/Table.js +2 -2
- package/node/Table/TableContext.js +2 -2
- package/node/Table/Tablelvl2Context.js +2 -2
- package/node/Table/index.js +2 -2
- package/node/TableBody/TableBody.js +2 -2
- package/node/TableBody/index.js +2 -2
- package/node/TableCell/TableCell.js +2 -2
- package/node/TableCell/index.js +2 -2
- package/node/TableContainer/TableContainer.js +2 -2
- package/node/TableContainer/index.js +2 -2
- package/node/TableFooter/TableFooter.js +2 -2
- package/node/TableFooter/index.js +2 -2
- package/node/TableHead/TableHead.js +2 -2
- package/node/TableHead/index.js +2 -2
- package/node/TablePagination/TablePagination.js +2 -2
- package/node/TablePagination/TablePaginationActions.js +2 -2
- package/node/TablePagination/index.js +2 -2
- package/node/TableRow/TableRow.js +2 -2
- package/node/TableRow/index.js +2 -2
- package/node/TableSortLabel/TableSortLabel.js +2 -2
- package/node/TableSortLabel/index.js +2 -2
- package/node/Tabs/ScrollbarSize.js +2 -2
- package/node/Tabs/Tabs.js +2 -2
- package/node/Tabs/index.js +2 -2
- package/node/TextField/TextField.js +2 -2
- package/node/TextField/index.js +2 -2
- package/node/ToggleButton/ToggleButton.js +2 -2
- package/node/ToggleButton/index.js +2 -2
- package/node/ToggleButton/toggleButtonClasses.js +1 -1
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/node/ToggleButtonGroup/index.js +2 -2
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/node/Toolbar/Toolbar.js +2 -2
- package/node/Toolbar/index.js +2 -2
- package/node/Tooltip/Tooltip.js +2 -2
- package/node/Tooltip/index.js +2 -2
- package/node/Typography/Typography.js +2 -2
- package/node/Typography/index.js +2 -2
- package/node/Unstable_Grid2/index.js +2 -2
- package/node/Zoom/Zoom.js +2 -2
- package/node/index.js +3 -10
- package/node/internal/SwitchBase.js +6 -4
- package/node/internal/svg-icons/Add.js +2 -2
- package/node/internal/svg-icons/ArrowDownward.js +2 -2
- package/node/internal/svg-icons/ArrowDropDown.js +2 -2
- package/node/internal/svg-icons/Cancel.js +2 -2
- package/node/internal/svg-icons/CheckBox.js +2 -2
- package/node/internal/svg-icons/CheckBoxOutlineBlank.js +2 -2
- package/node/internal/svg-icons/CheckCircle.js +2 -2
- package/node/internal/svg-icons/Close.js +2 -2
- package/node/internal/svg-icons/ErrorOutline.js +2 -2
- package/node/internal/svg-icons/FirstPage.js +2 -2
- package/node/internal/svg-icons/IndeterminateCheckBox.js +2 -2
- package/node/internal/svg-icons/InfoOutlined.js +2 -2
- package/node/internal/svg-icons/KeyboardArrowLeft.js +2 -2
- package/node/internal/svg-icons/KeyboardArrowRight.js +2 -2
- package/node/internal/svg-icons/LastPage.js +2 -2
- package/node/internal/svg-icons/MoreHoriz.js +2 -2
- package/node/internal/svg-icons/NavigateBefore.js +2 -2
- package/node/internal/svg-icons/NavigateNext.js +2 -2
- package/node/internal/svg-icons/Person.js +2 -2
- package/node/internal/svg-icons/RadioButtonChecked.js +2 -2
- package/node/internal/svg-icons/RadioButtonUnchecked.js +2 -2
- package/node/internal/svg-icons/ReportProblemOutlined.js +2 -2
- package/node/internal/svg-icons/Star.js +2 -2
- package/node/internal/svg-icons/StarBorder.js +2 -2
- package/node/internal/svg-icons/SuccessOutlined.js +2 -2
- package/node/internal/svg-icons/Warning.js +2 -2
- package/node/locale/index.js +121 -47
- package/node/styles/ThemeProvider.js +2 -2
- package/node/styles/index.js +2 -2
- package/node/styles/useTheme.js +2 -2
- package/node/useAutocomplete/index.js +2 -2
- package/node/useMediaQuery/useMediaQuery.js +2 -2
- package/node/useScrollTrigger/useScrollTrigger.js +2 -2
- package/node/useTouchRipple/useTouchRipple.js +2 -2
- package/node/utils/createSvgIcon.js +2 -2
- package/package.json +8 -8
- package/umd/material-ui.development.js +44 -25
- package/umd/material-ui.production.min.js +6 -6
package/locale/index.js
CHANGED
|
@@ -138,7 +138,7 @@ export const arEG = {
|
|
|
138
138
|
return 'انتقل إلى الصفحة التالية';
|
|
139
139
|
}
|
|
140
140
|
// if (type === 'previous') {
|
|
141
|
-
return 'انتقل
|
|
141
|
+
return 'انتقل إلى الصفحة السابقة';
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
@@ -1849,35 +1849,37 @@ export const idID = {
|
|
|
1849
1849
|
|
|
1850
1850
|
export const isIS = {
|
|
1851
1851
|
components: {
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1852
|
+
MuiBreadcrumbs: {
|
|
1853
|
+
defaultProps: {
|
|
1854
|
+
expandText: 'Sýna slóð'
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
1857
|
MuiTablePagination: {
|
|
1858
1858
|
defaultProps: {
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
labelRowsPerPage: 'Raðir á síðu:'
|
|
1873
|
-
|
|
1874
|
-
|
|
1859
|
+
getItemAriaLabel: type => {
|
|
1860
|
+
if (type === 'first') {
|
|
1861
|
+
return 'Fara á fyrstu síðu';
|
|
1862
|
+
}
|
|
1863
|
+
if (type === 'last') {
|
|
1864
|
+
return 'Fara á síðustu síðu';
|
|
1865
|
+
}
|
|
1866
|
+
if (type === 'next') {
|
|
1867
|
+
return 'Fara á næstu síðu';
|
|
1868
|
+
}
|
|
1869
|
+
// if (type === 'previous') {
|
|
1870
|
+
return 'Fara á fyrri síðu';
|
|
1871
|
+
},
|
|
1872
|
+
labelRowsPerPage: 'Raðir á síðu:',
|
|
1873
|
+
labelDisplayedRows: ({
|
|
1874
|
+
from,
|
|
1875
|
+
to,
|
|
1876
|
+
count
|
|
1877
|
+
}) => `${from}–${to} af ${count !== -1 ? count : `fleiri enn ${to}`}`
|
|
1875
1878
|
}
|
|
1876
1879
|
},
|
|
1877
|
-
|
|
1878
1880
|
MuiRating: {
|
|
1879
1881
|
defaultProps: {
|
|
1880
|
-
getLabelText: value => `${value} ${value === 1 ? '
|
|
1882
|
+
getLabelText: value => `${value} ${value === 1 ? 'stjarna' : 'stjörnur'}`,
|
|
1881
1883
|
emptyLabelText: 'Tómt'
|
|
1882
1884
|
}
|
|
1883
1885
|
},
|
|
@@ -1894,31 +1896,30 @@ export const isIS = {
|
|
|
1894
1896
|
defaultProps: {
|
|
1895
1897
|
closeText: 'Loka'
|
|
1896
1898
|
}
|
|
1899
|
+
},
|
|
1900
|
+
MuiPagination: {
|
|
1901
|
+
defaultProps: {
|
|
1902
|
+
'aria-label': 'Síðuflakk',
|
|
1903
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
1904
|
+
if (type === 'page') {
|
|
1905
|
+
return `${selected ? 'Síða' : 'Fara á síðu'} ${page}`;
|
|
1906
|
+
}
|
|
1907
|
+
if (type === 'first') {
|
|
1908
|
+
return 'Fara á fyrstu síðu';
|
|
1909
|
+
}
|
|
1910
|
+
if (type === 'last') {
|
|
1911
|
+
return 'Fara á síðustu síðu';
|
|
1912
|
+
}
|
|
1913
|
+
if (type === 'next') {
|
|
1914
|
+
return 'Fara á næstu síðu';
|
|
1915
|
+
}
|
|
1916
|
+
// if (type === 'previous') {
|
|
1917
|
+
return 'Fara á fyrri síðu';
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1897
1920
|
}
|
|
1898
|
-
// MuiPagination: {
|
|
1899
|
-
// defaultProps: {
|
|
1900
|
-
// 'aria-label': 'Pagination navigation',
|
|
1901
|
-
// getItemAriaLabel: (type, page, selected) => {
|
|
1902
|
-
// if (type === 'page') {
|
|
1903
|
-
// return `${selected ? '' : 'Go to '}page ${page}`;
|
|
1904
|
-
// }
|
|
1905
|
-
// if (type === 'first') {
|
|
1906
|
-
// return 'Go to first page';
|
|
1907
|
-
// }
|
|
1908
|
-
// if (type === 'last') {
|
|
1909
|
-
// return 'Go to last page';
|
|
1910
|
-
// }
|
|
1911
|
-
// if (type === 'next') {
|
|
1912
|
-
// return 'Go to next page';
|
|
1913
|
-
// }
|
|
1914
|
-
// // if (type === 'previous') {
|
|
1915
|
-
// return 'Go to previous page';
|
|
1916
|
-
// },
|
|
1917
|
-
// },
|
|
1918
|
-
// },
|
|
1919
1921
|
}
|
|
1920
1922
|
};
|
|
1921
|
-
|
|
1922
1923
|
export const itIT = {
|
|
1923
1924
|
components: {
|
|
1924
1925
|
MuiBreadcrumbs: {
|
|
@@ -2818,6 +2819,79 @@ export const nbNO = {
|
|
|
2818
2819
|
}
|
|
2819
2820
|
}
|
|
2820
2821
|
};
|
|
2822
|
+
export const nnNO = {
|
|
2823
|
+
components: {
|
|
2824
|
+
MuiBreadcrumbs: {
|
|
2825
|
+
defaultProps: {
|
|
2826
|
+
expandText: 'Vis sti'
|
|
2827
|
+
}
|
|
2828
|
+
},
|
|
2829
|
+
MuiTablePagination: {
|
|
2830
|
+
defaultProps: {
|
|
2831
|
+
getItemAriaLabel: type => {
|
|
2832
|
+
if (type === 'first') {
|
|
2833
|
+
return 'Gå til første side';
|
|
2834
|
+
}
|
|
2835
|
+
if (type === 'last') {
|
|
2836
|
+
return 'Gå til siste side';
|
|
2837
|
+
}
|
|
2838
|
+
if (type === 'next') {
|
|
2839
|
+
return 'Gå til neste side';
|
|
2840
|
+
}
|
|
2841
|
+
// if (type === 'previous') {
|
|
2842
|
+
return 'Gå til førre side';
|
|
2843
|
+
},
|
|
2844
|
+
labelRowsPerPage: 'Rader per side:',
|
|
2845
|
+
labelDisplayedRows: ({
|
|
2846
|
+
from,
|
|
2847
|
+
to,
|
|
2848
|
+
count
|
|
2849
|
+
}) => `${from}–${to} av ${count !== -1 ? count : `fleire enn ${to}`}`
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
MuiRating: {
|
|
2853
|
+
defaultProps: {
|
|
2854
|
+
getLabelText: value => `${value} stjerne${value !== 1 ? 'r' : ''}`,
|
|
2855
|
+
emptyLabelText: 'Tom'
|
|
2856
|
+
}
|
|
2857
|
+
},
|
|
2858
|
+
MuiAutocomplete: {
|
|
2859
|
+
defaultProps: {
|
|
2860
|
+
clearText: 'Tøm',
|
|
2861
|
+
closeText: 'Lukk',
|
|
2862
|
+
loadingText: 'Lastar inn…',
|
|
2863
|
+
noOptionsText: 'Ingen alternativ',
|
|
2864
|
+
openText: 'Opna'
|
|
2865
|
+
}
|
|
2866
|
+
},
|
|
2867
|
+
MuiAlert: {
|
|
2868
|
+
defaultProps: {
|
|
2869
|
+
closeText: 'Lukk'
|
|
2870
|
+
}
|
|
2871
|
+
},
|
|
2872
|
+
MuiPagination: {
|
|
2873
|
+
defaultProps: {
|
|
2874
|
+
'aria-label': 'Navigasjon for paginering',
|
|
2875
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
2876
|
+
if (type === 'page') {
|
|
2877
|
+
return `${selected ? '' : 'Gå til '}side ${page}`;
|
|
2878
|
+
}
|
|
2879
|
+
if (type === 'first') {
|
|
2880
|
+
return 'Gå til første side';
|
|
2881
|
+
}
|
|
2882
|
+
if (type === 'last') {
|
|
2883
|
+
return 'Gå til siste side';
|
|
2884
|
+
}
|
|
2885
|
+
if (type === 'next') {
|
|
2886
|
+
return 'Gå til neste side';
|
|
2887
|
+
}
|
|
2888
|
+
// if (type === 'previous') {
|
|
2889
|
+
return 'Gå til førre side';
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
};
|
|
2821
2895
|
export const nlNL = {
|
|
2822
2896
|
components: {
|
|
2823
2897
|
MuiBreadcrumbs: {
|
|
@@ -39,7 +39,7 @@ const CheckboxRoot = styled(SwitchBase, {
|
|
|
39
39
|
const {
|
|
40
40
|
ownerState
|
|
41
41
|
} = props;
|
|
42
|
-
return [styles.root, ownerState.indeterminate && styles.indeterminate, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];
|
|
42
|
+
return [styles.root, ownerState.indeterminate && styles.indeterminate, styles[`size${capitalize(ownerState.size)}`], ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];
|
|
43
43
|
}
|
|
44
44
|
})(({
|
|
45
45
|
theme,
|
|
@@ -42,7 +42,7 @@ const InputLabelRoot = styled(FormLabel, {
|
|
|
42
42
|
} = props;
|
|
43
43
|
return [{
|
|
44
44
|
[`& .${formLabelClasses.asterisk}`]: styles.asterisk
|
|
45
|
-
}, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, styles[ownerState.variant]];
|
|
45
|
+
}, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, ownerState.focused && styles.focused, styles[ownerState.variant]];
|
|
46
46
|
}
|
|
47
47
|
})(({
|
|
48
48
|
theme,
|
|
@@ -125,7 +125,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
125
125
|
const fcs = formControlState({
|
|
126
126
|
props,
|
|
127
127
|
muiFormControl,
|
|
128
|
-
states: ['size', 'variant', 'required']
|
|
128
|
+
states: ['size', 'variant', 'required', 'focused']
|
|
129
129
|
});
|
|
130
130
|
const ownerState = _extends({}, props, {
|
|
131
131
|
disableAnimation,
|
|
@@ -133,7 +133,8 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
133
133
|
shrink,
|
|
134
134
|
size: fcs.size,
|
|
135
135
|
variant: fcs.variant,
|
|
136
|
-
required: fcs.required
|
|
136
|
+
required: fcs.required,
|
|
137
|
+
focused: fcs.focused
|
|
137
138
|
});
|
|
138
139
|
const classes = useUtilityClasses(ownerState);
|
|
139
140
|
return /*#__PURE__*/_jsx(InputLabelRoot, _extends({
|
|
@@ -6,9 +6,11 @@ var _span;
|
|
|
6
6
|
const _excluded = ["children", "classes", "className", "label", "notched"];
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import styled from '../styles/styled';
|
|
9
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
const NotchedOutlineRoot = styled('fieldset'
|
|
11
|
+
const NotchedOutlineRoot = styled('fieldset', {
|
|
12
|
+
shouldForwardProp: rootShouldForwardProp
|
|
13
|
+
})({
|
|
12
14
|
textAlign: 'left',
|
|
13
15
|
position: 'absolute',
|
|
14
16
|
bottom: 0,
|
|
@@ -24,7 +26,9 @@ const NotchedOutlineRoot = styled('fieldset')({
|
|
|
24
26
|
overflow: 'hidden',
|
|
25
27
|
minWidth: '0%'
|
|
26
28
|
});
|
|
27
|
-
const NotchedOutlineLegend = styled('legend'
|
|
29
|
+
const NotchedOutlineLegend = styled('legend', {
|
|
30
|
+
shouldForwardProp: rootShouldForwardProp
|
|
31
|
+
})(({
|
|
28
32
|
ownerState,
|
|
29
33
|
theme
|
|
30
34
|
}) => _extends({
|
package/modern/Radio/Radio.js
CHANGED
|
@@ -37,7 +37,7 @@ const RadioRoot = styled(SwitchBase, {
|
|
|
37
37
|
const {
|
|
38
38
|
ownerState
|
|
39
39
|
} = props;
|
|
40
|
-
return [styles.root, styles[`color${capitalize(ownerState.color)}`]];
|
|
40
|
+
return [styles.root, ownerState.size !== 'medium' && styles[`size${capitalize(ownerState.size)}`], styles[`color${capitalize(ownerState.color)}`]];
|
|
41
41
|
}
|
|
42
42
|
})(({
|
|
43
43
|
theme,
|
|
@@ -5,10 +5,12 @@ import * as React from 'react';
|
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked';
|
|
7
7
|
import RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked';
|
|
8
|
-
import styled from '../styles/styled';
|
|
8
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const RadioButtonIconRoot = styled('span'
|
|
11
|
+
const RadioButtonIconRoot = styled('span', {
|
|
12
|
+
shouldForwardProp: rootShouldForwardProp
|
|
13
|
+
})({
|
|
12
14
|
position: 'relative',
|
|
13
15
|
display: 'flex'
|
|
14
16
|
});
|
|
@@ -6,11 +6,13 @@ const _excluded = ["anchor", "classes", "className", "width", "style"];
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import styled from '../styles/styled';
|
|
9
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
10
10
|
import capitalize from '../utils/capitalize';
|
|
11
11
|
import { isHorizontal } from '../Drawer/Drawer';
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
const SwipeAreaRoot = styled('div'
|
|
13
|
+
const SwipeAreaRoot = styled('div', {
|
|
14
|
+
shouldForwardProp: rootShouldForwardProp
|
|
15
|
+
})(({
|
|
14
16
|
theme,
|
|
15
17
|
ownerState
|
|
16
18
|
}) => _extends({
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
|
|
|
3
3
|
export function getToggleButtonUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiToggleButton', slot);
|
|
5
5
|
}
|
|
6
|
-
const toggleButtonClasses = generateUtilityClasses('MuiToggleButton', ['root', 'disabled', 'selected', 'standard', 'primary', 'secondary', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
|
|
6
|
+
const toggleButtonClasses = generateUtilityClasses('MuiToggleButton', ['root', 'disabled', 'selected', 'standard', 'primary', 'secondary', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'fullWidth']);
|
|
7
7
|
export default toggleButtonClasses;
|
|
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
|
|
|
3
3
|
export function getToggleButtonGroupUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiToggleButtonGroup', slot);
|
|
5
5
|
}
|
|
6
|
-
const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical']);
|
|
6
|
+
const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth']);
|
|
7
7
|
export default toggleButtonGroupClasses;
|
package/modern/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.14.
|
|
2
|
+
* @mui/material v5.14.16
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
import * as colors from './colors';
|
|
12
12
|
export { colors };
|
|
13
13
|
export * from './styles';
|
|
14
|
+
|
|
15
|
+
// TODO remove, import directly from Base UI or create one folder per module
|
|
14
16
|
export * from './utils';
|
|
15
17
|
export { default as Accordion } from './Accordion';
|
|
16
18
|
export * from './Accordion';
|
|
@@ -281,7 +283,6 @@ export * from './Zoom';
|
|
|
281
283
|
export { default as useAutocomplete } from './useAutocomplete';
|
|
282
284
|
export { default as GlobalStyles } from './GlobalStyles';
|
|
283
285
|
export * from './GlobalStyles';
|
|
284
|
-
export { StyledEngineProvider } from './styles';
|
|
285
286
|
export { unstable_composeClasses } from '@mui/base/composeClasses';
|
|
286
287
|
export { default as generateUtilityClass } from './generateUtilityClass';
|
|
287
288
|
export * from './generateUtilityClass';
|
|
@@ -9,7 +9,7 @@ import clsx from 'clsx';
|
|
|
9
9
|
import { refType } from '@mui/utils';
|
|
10
10
|
import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
|
|
11
11
|
import capitalize from '../utils/capitalize';
|
|
12
|
-
import styled from '../styles/styled';
|
|
12
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
13
13
|
import useControlled from '../utils/useControlled';
|
|
14
14
|
import useFormControl from '../FormControl/useFormControl';
|
|
15
15
|
import ButtonBase from '../ButtonBase';
|
|
@@ -39,7 +39,9 @@ const SwitchBaseRoot = styled(ButtonBase)(({
|
|
|
39
39
|
}, ownerState.edge === 'end' && {
|
|
40
40
|
marginRight: ownerState.size === 'small' ? -3 : -12
|
|
41
41
|
}));
|
|
42
|
-
const SwitchBaseInput = styled('input'
|
|
42
|
+
const SwitchBaseInput = styled('input', {
|
|
43
|
+
shouldForwardProp: rootShouldForwardProp
|
|
44
|
+
})({
|
|
43
45
|
cursor: 'inherit',
|
|
44
46
|
position: 'absolute',
|
|
45
47
|
opacity: 0,
|
package/modern/locale/index.js
CHANGED
|
@@ -138,7 +138,7 @@ export const arEG = {
|
|
|
138
138
|
return 'انتقل إلى الصفحة التالية';
|
|
139
139
|
}
|
|
140
140
|
// if (type === 'previous') {
|
|
141
|
-
return 'انتقل
|
|
141
|
+
return 'انتقل إلى الصفحة السابقة';
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
@@ -1849,35 +1849,37 @@ export const idID = {
|
|
|
1849
1849
|
|
|
1850
1850
|
export const isIS = {
|
|
1851
1851
|
components: {
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1852
|
+
MuiBreadcrumbs: {
|
|
1853
|
+
defaultProps: {
|
|
1854
|
+
expandText: 'Sýna slóð'
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
1857
|
MuiTablePagination: {
|
|
1858
1858
|
defaultProps: {
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
labelRowsPerPage: 'Raðir á síðu:'
|
|
1873
|
-
|
|
1874
|
-
|
|
1859
|
+
getItemAriaLabel: type => {
|
|
1860
|
+
if (type === 'first') {
|
|
1861
|
+
return 'Fara á fyrstu síðu';
|
|
1862
|
+
}
|
|
1863
|
+
if (type === 'last') {
|
|
1864
|
+
return 'Fara á síðustu síðu';
|
|
1865
|
+
}
|
|
1866
|
+
if (type === 'next') {
|
|
1867
|
+
return 'Fara á næstu síðu';
|
|
1868
|
+
}
|
|
1869
|
+
// if (type === 'previous') {
|
|
1870
|
+
return 'Fara á fyrri síðu';
|
|
1871
|
+
},
|
|
1872
|
+
labelRowsPerPage: 'Raðir á síðu:',
|
|
1873
|
+
labelDisplayedRows: ({
|
|
1874
|
+
from,
|
|
1875
|
+
to,
|
|
1876
|
+
count
|
|
1877
|
+
}) => `${from}–${to} af ${count !== -1 ? count : `fleiri enn ${to}`}`
|
|
1875
1878
|
}
|
|
1876
1879
|
},
|
|
1877
|
-
|
|
1878
1880
|
MuiRating: {
|
|
1879
1881
|
defaultProps: {
|
|
1880
|
-
getLabelText: value => `${value} ${value === 1 ? '
|
|
1882
|
+
getLabelText: value => `${value} ${value === 1 ? 'stjarna' : 'stjörnur'}`,
|
|
1881
1883
|
emptyLabelText: 'Tómt'
|
|
1882
1884
|
}
|
|
1883
1885
|
},
|
|
@@ -1894,31 +1896,30 @@ export const isIS = {
|
|
|
1894
1896
|
defaultProps: {
|
|
1895
1897
|
closeText: 'Loka'
|
|
1896
1898
|
}
|
|
1899
|
+
},
|
|
1900
|
+
MuiPagination: {
|
|
1901
|
+
defaultProps: {
|
|
1902
|
+
'aria-label': 'Síðuflakk',
|
|
1903
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
1904
|
+
if (type === 'page') {
|
|
1905
|
+
return `${selected ? 'Síða' : 'Fara á síðu'} ${page}`;
|
|
1906
|
+
}
|
|
1907
|
+
if (type === 'first') {
|
|
1908
|
+
return 'Fara á fyrstu síðu';
|
|
1909
|
+
}
|
|
1910
|
+
if (type === 'last') {
|
|
1911
|
+
return 'Fara á síðustu síðu';
|
|
1912
|
+
}
|
|
1913
|
+
if (type === 'next') {
|
|
1914
|
+
return 'Fara á næstu síðu';
|
|
1915
|
+
}
|
|
1916
|
+
// if (type === 'previous') {
|
|
1917
|
+
return 'Fara á fyrri síðu';
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1897
1920
|
}
|
|
1898
|
-
// MuiPagination: {
|
|
1899
|
-
// defaultProps: {
|
|
1900
|
-
// 'aria-label': 'Pagination navigation',
|
|
1901
|
-
// getItemAriaLabel: (type, page, selected) => {
|
|
1902
|
-
// if (type === 'page') {
|
|
1903
|
-
// return `${selected ? '' : 'Go to '}page ${page}`;
|
|
1904
|
-
// }
|
|
1905
|
-
// if (type === 'first') {
|
|
1906
|
-
// return 'Go to first page';
|
|
1907
|
-
// }
|
|
1908
|
-
// if (type === 'last') {
|
|
1909
|
-
// return 'Go to last page';
|
|
1910
|
-
// }
|
|
1911
|
-
// if (type === 'next') {
|
|
1912
|
-
// return 'Go to next page';
|
|
1913
|
-
// }
|
|
1914
|
-
// // if (type === 'previous') {
|
|
1915
|
-
// return 'Go to previous page';
|
|
1916
|
-
// },
|
|
1917
|
-
// },
|
|
1918
|
-
// },
|
|
1919
1921
|
}
|
|
1920
1922
|
};
|
|
1921
|
-
|
|
1922
1923
|
export const itIT = {
|
|
1923
1924
|
components: {
|
|
1924
1925
|
MuiBreadcrumbs: {
|
|
@@ -2818,6 +2819,79 @@ export const nbNO = {
|
|
|
2818
2819
|
}
|
|
2819
2820
|
}
|
|
2820
2821
|
};
|
|
2822
|
+
export const nnNO = {
|
|
2823
|
+
components: {
|
|
2824
|
+
MuiBreadcrumbs: {
|
|
2825
|
+
defaultProps: {
|
|
2826
|
+
expandText: 'Vis sti'
|
|
2827
|
+
}
|
|
2828
|
+
},
|
|
2829
|
+
MuiTablePagination: {
|
|
2830
|
+
defaultProps: {
|
|
2831
|
+
getItemAriaLabel: type => {
|
|
2832
|
+
if (type === 'first') {
|
|
2833
|
+
return 'Gå til første side';
|
|
2834
|
+
}
|
|
2835
|
+
if (type === 'last') {
|
|
2836
|
+
return 'Gå til siste side';
|
|
2837
|
+
}
|
|
2838
|
+
if (type === 'next') {
|
|
2839
|
+
return 'Gå til neste side';
|
|
2840
|
+
}
|
|
2841
|
+
// if (type === 'previous') {
|
|
2842
|
+
return 'Gå til førre side';
|
|
2843
|
+
},
|
|
2844
|
+
labelRowsPerPage: 'Rader per side:',
|
|
2845
|
+
labelDisplayedRows: ({
|
|
2846
|
+
from,
|
|
2847
|
+
to,
|
|
2848
|
+
count
|
|
2849
|
+
}) => `${from}–${to} av ${count !== -1 ? count : `fleire enn ${to}`}`
|
|
2850
|
+
}
|
|
2851
|
+
},
|
|
2852
|
+
MuiRating: {
|
|
2853
|
+
defaultProps: {
|
|
2854
|
+
getLabelText: value => `${value} stjerne${value !== 1 ? 'r' : ''}`,
|
|
2855
|
+
emptyLabelText: 'Tom'
|
|
2856
|
+
}
|
|
2857
|
+
},
|
|
2858
|
+
MuiAutocomplete: {
|
|
2859
|
+
defaultProps: {
|
|
2860
|
+
clearText: 'Tøm',
|
|
2861
|
+
closeText: 'Lukk',
|
|
2862
|
+
loadingText: 'Lastar inn…',
|
|
2863
|
+
noOptionsText: 'Ingen alternativ',
|
|
2864
|
+
openText: 'Opna'
|
|
2865
|
+
}
|
|
2866
|
+
},
|
|
2867
|
+
MuiAlert: {
|
|
2868
|
+
defaultProps: {
|
|
2869
|
+
closeText: 'Lukk'
|
|
2870
|
+
}
|
|
2871
|
+
},
|
|
2872
|
+
MuiPagination: {
|
|
2873
|
+
defaultProps: {
|
|
2874
|
+
'aria-label': 'Navigasjon for paginering',
|
|
2875
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
2876
|
+
if (type === 'page') {
|
|
2877
|
+
return `${selected ? '' : 'Gå til '}side ${page}`;
|
|
2878
|
+
}
|
|
2879
|
+
if (type === 'first') {
|
|
2880
|
+
return 'Gå til første side';
|
|
2881
|
+
}
|
|
2882
|
+
if (type === 'last') {
|
|
2883
|
+
return 'Gå til siste side';
|
|
2884
|
+
}
|
|
2885
|
+
if (type === 'next') {
|
|
2886
|
+
return 'Gå til neste side';
|
|
2887
|
+
}
|
|
2888
|
+
// if (type === 'previous') {
|
|
2889
|
+
return 'Gå til førre side';
|
|
2890
|
+
}
|
|
2891
|
+
}
|
|
2892
|
+
}
|
|
2893
|
+
}
|
|
2894
|
+
};
|
|
2821
2895
|
export const nlNL = {
|
|
2822
2896
|
components: {
|
|
2823
2897
|
MuiBreadcrumbs: {
|
|
@@ -23,8 +23,8 @@ var _useControlled = _interopRequireDefault(require("../utils/useControlled"));
|
|
|
23
23
|
var _accordionClasses = _interopRequireWildcard(require("./accordionClasses"));
|
|
24
24
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
25
|
const _excluded = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
|
|
26
|
-
function _getRequireWildcardCache(
|
|
27
|
-
function _interopRequireWildcard(
|
|
26
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
27
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
28
28
|
const useUtilityClasses = ownerState => {
|
|
29
29
|
const {
|
|
30
30
|
classes,
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var React = _interopRequireWildcard(require("react"));
|
|
9
|
-
function _getRequireWildcardCache(
|
|
10
|
-
function _interopRequireWildcard(
|
|
9
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
10
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
11
|
/**
|
|
12
12
|
* @ignore - internal component.
|
|
13
13
|
* @type {React.Context<{} | {expanded: boolean, disabled: boolean, toggle: () => void}>}
|
package/node/Accordion/index.js
CHANGED
|
@@ -33,5 +33,5 @@ Object.keys(_accordionClasses).forEach(function (key) {
|
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
|
-
function _getRequireWildcardCache(
|
|
37
|
-
function _interopRequireWildcard(
|
|
36
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
37
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -17,8 +17,8 @@ var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
|
|
|
17
17
|
var _accordionActionsClasses = require("./accordionActionsClasses");
|
|
18
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
19
|
const _excluded = ["className", "disableSpacing"];
|
|
20
|
-
function _getRequireWildcardCache(
|
|
21
|
-
function _interopRequireWildcard(
|
|
20
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
21
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
22
22
|
const useUtilityClasses = ownerState => {
|
|
23
23
|
const {
|
|
24
24
|
classes,
|