Skip to content

Commit

Permalink
publish russian locale
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Sep 17, 2022
1 parent 0a99dc7 commit 1ea0bef
Show file tree
Hide file tree
Showing 64 changed files with 1,522 additions and 96 deletions.
6 changes: 5 additions & 1 deletion material-react-table-docs/example-groups/LocaleExamples.tsx
Expand Up @@ -21,8 +21,11 @@ const PT_BR_Table = dynamic(
suspense: true,
},
);
const RU_Table = dynamic(() => import('../examples/localization-i18n-ru'), {
suspense: true,
});

const supportedLocales = ['cs', 'de', 'es', 'pl', 'pt-BR'];
const supportedLocales = ['cs', 'de', 'es', 'pl', 'pt-BR', 'ru'];

const LocaleExamples = () => {
const [currentLocale, setCurrentLocale] = useState('es');
Expand Down Expand Up @@ -52,6 +55,7 @@ const LocaleExamples = () => {
{currentLocale === 'es' && <ES_Table />}
{currentLocale === 'pl' && <PL_Table />}
{currentLocale === 'pt-BR' && <PT_BR_Table />}
{currentLocale === 'ru' && <RU_Table />}
</Suspense>
</div>
</>
Expand Down
Expand Up @@ -15,7 +15,7 @@
"@mui/material": "^5.9.0",
"@mui/x-date-pickers": "^5.0.1",
"dayjs": "^1.11.5",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -14,7 +14,7 @@
"@faker-js/faker": "^7.3.0",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -14,7 +14,7 @@
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"export-to-csv": "^0.2.1",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -16,7 +16,7 @@
"@fortawesome/react-fontawesome": "^0.2.0",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -15,7 +15,7 @@
"@mui/material": "^5.9.0",
"@tanstack/react-query": "^4.0.5",
"axios": "^0.27.2",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
Expand Up @@ -13,7 +13,7 @@
"@emotion/styled": "^11.9.3",
"@mui/icons-material": "^5.8.4",
"@mui/material": "^5.9.0",
"material-react-table": "^1.0.9",
"material-react-table": "^1.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
18 changes: 18 additions & 0 deletions material-react-table-docs/examples/localization-i18n-ru/index.tsx
@@ -0,0 +1,18 @@
import React from 'react';
import { SourceCodeSnippet } from '../../components/mdx/SourceCodeSnippet';
import Example from './sandbox/src/TS';
const JS = require('!!raw-loader!./sandbox/src/JS.js').default;
const TS = require('!!raw-loader!./sandbox/src/TS.tsx').default;

const ExampleTable = () => {
return (
<SourceCodeSnippet
Component={Example}
javaScriptCode={JS}
typeScriptCode={TS}
tableId="localization-i18n-ru"
/>
);
};

export default ExampleTable;

2 comments on commit 1ea0bef

@vercel
Copy link

@vercel vercel bot commented on 1ea0bef Sep 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 1ea0bef Sep 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.