diff --git a/frontend/.storybook/main.js b/frontend/.storybook/main.js
index 0bff19970..af8b96394 100644
--- a/frontend/.storybook/main.js
+++ b/frontend/.storybook/main.js
@@ -1,5 +1,5 @@
module.exports = {
- stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
+ stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
@@ -12,6 +12,8 @@ module.exports = {
options: {}
},
+ staticDirs: ['../public'],
+
docs: {
autodocs: true
}
diff --git a/frontend/.storybook/preview.js b/frontend/.storybook/preview.js
index d0834a547..1181eaf2f 100644
--- a/frontend/.storybook/preview.js
+++ b/frontend/.storybook/preview.js
@@ -3,6 +3,7 @@ import themesConf from '../src/lib/themes';
import { StylesProvider } from '@mui/styles';
import '../src/i18n/config';
import ThemeProviderNexti18n from '../src/i18n/ThemeProviderNexti18n';
+import { StyledEngineProvider } from '@mui/material/styles';
const darkTheme = themesConf['dark'];
const lightTheme = themesConf['light'];
@@ -12,9 +13,11 @@ const withThemeProvider = (Story, context) => {
const theme = backgroundColor !== 'dark' ? lightTheme : darkTheme;
const ourThemeProvider = (
-
-
-
+
+
+
+
+
);
if (process.env.NODE_ENV !== 'test') {
return ourThemeProvider;
diff --git a/frontend/package.json b/frontend/package.json
index 53d8be99f..138f89148 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -97,8 +97,8 @@
"lint:fix": "eslint -c package.json --fix 'src/**/*.{js,jsx,ts,tsx}'",
"i18n": "npx --no-install i18next ./src/**/ts* ./src/**/**/*.ts* ./src/**/**/**/*.ts* -c ./src/i18n/i18next-parser.config.js",
"tsc": "tsc",
- "storybook": "storybook dev -p 6006 -s public",
- "build-storybook": "storybook build -s public"
+ "storybook": "storybook dev -p 6006",
+ "build-storybook": "storybook build"
},
"browserslist": {
"production": [
diff --git a/frontend/src/components/Activity/ActivityContainer.tsx b/frontend/src/components/Activity/ActivityContainer.tsx
index fa5acaf41..da185cc6e 100644
--- a/frontend/src/components/Activity/ActivityContainer.tsx
+++ b/frontend/src/components/Activity/ActivityContainer.tsx
@@ -17,10 +17,13 @@ const useStyles = makeStyles({
toolbar: {
padding: 0,
},
- caption: {
+ select: {
fontSize: '.85em',
},
- select: {
+ selectLabel: {
+ fontSize: '.85em',
+ },
+ displayedRows: {
fontSize: '.85em',
},
});
@@ -102,6 +105,8 @@ function Container() {
return entries;
}
+ console.log(classes);
+
return (
<>
diff --git a/frontend/src/components/Applications/ApplicationEdit.tsx b/frontend/src/components/Applications/ApplicationEdit.tsx
index ad8bd4b6e..768886004 100644
--- a/frontend/src/components/Applications/ApplicationEdit.tsx
+++ b/frontend/src/components/Applications/ApplicationEdit.tsx
@@ -75,6 +75,7 @@ export default function ApplicationEdit(props: ApplicationEditProps) {
({
export default function ChannelAvatar(props: ChannelAvatarProps) {
const classes = useStyles(props);
- return {props.children || ''};
+ return {props.children || ' '};
}
diff --git a/frontend/src/components/Channels/ChannelEdit.tsx b/frontend/src/components/Channels/ChannelEdit.tsx
index 057c95846..1c0083839 100644
--- a/frontend/src/components/Channels/ChannelEdit.tsx
+++ b/frontend/src/components/Channels/ChannelEdit.tsx
@@ -186,6 +186,7 @@ export default function ChannelEdit(props: ChannelEditProps) {
-
- Architecture
+
+ Architecture
-
- {t('groups|Channel')}
+
+
+ {t('groups|Channel')}
+
{
@@ -56,6 +60,7 @@ export default function GroupDetailsForm(props: GroupDetailsFormProps) {
-
-
+
+
{t('instances|Filter Status')}
-
-
+
+
{t('instances|Filter Version')}
-
+
{t('frequent|Search')}
-
- Type
+
+ Type
- {t('packages|Architecture')}
+ {t('packages|Architecture')}
{Object.keys(ARCHES).map((key: string) => {
const archName = ARCHES[parseInt(key)];
@@ -191,6 +190,7 @@ function EditDialog(props: EditDialogProps) {
)}
-
- Channels Blacklist
+
+ Channels Blacklist
getChannelsNames(selected).join(' / ')
diff --git a/frontend/src/components/Packages/FileList.tsx b/frontend/src/components/Packages/FileList.tsx
index 577a5d34a..8bfb0f709 100644
--- a/frontend/src/components/Packages/FileList.tsx
+++ b/frontend/src/components/Packages/FileList.tsx
@@ -107,7 +107,6 @@ function FileListItem(props: FileListItemProps) {
;
fullWidth: boolean;
@@ -41,6 +42,9 @@ function renderInput(inputProps: RenderInputProps) {
return (
-
- {props.label}
+
+
+ {props.label}
+
{
setShowPicker(true);
diff --git a/frontend/src/components/common/TimezonePicker/TimezonePicker.tsx b/frontend/src/components/common/TimezonePicker/TimezonePicker.tsx
index ee1a8eccb..2505b5612 100644
--- a/frontend/src/components/common/TimezonePicker/TimezonePicker.tsx
+++ b/frontend/src/components/common/TimezonePicker/TimezonePicker.tsx
@@ -27,6 +27,7 @@ interface RenderInputProps {
classes: {
inputRoot: string;
inputInput: string;
+ textFieldRoot: string;
};
ref?: React.Ref;
InputProps: {
@@ -48,6 +49,9 @@ function renderInput(inputProps: RenderInputProps) {
return (
-
- Timezone
+
+
+ Timezone
+
+
{props.showTitle && {t('Select locale')}}