Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 85b98f9
Author: KevinVandy <[email protected]>
Date:   Thu Apr 18 21:02:31 2024 +0000

    Upgrade Examples

commit f8dc5d8
Author: Kevin Vandy <[email protected]>
Date:   Thu Apr 18 14:54:55 2024 -0600

    release v2.13.0

commit c47471b
Author: Kosmas Sidiropoulos <[email protected]>
Date:   Thu Apr 18 21:03:41 2024 +0100

    Added Greek language support (KevinVandy#1106)

commit fea94c9
Author: Kevin Vandy <[email protected]>
Date:   Thu Apr 18 13:58:45 2024 -0600

    remove +1 on modal calc

commit c60afb0
Author: helt <[email protected]>
Date:   Thu Apr 18 21:57:30 2024 +0200

    Fixed theme index in fullscreen mode (KevinVandy#1048)

    Co-authored-by: Hendrik Lücke-Tieke <[email protected]>

commit 4eade9d
Author: Sudhanshu <[email protected]>
Date:   Fri Apr 19 01:25:25 2024 +0530

    fix(docs/index): overflow issue in install command (KevinVandy#1095)

commit 7aa7799
Author: Marek Patyna <[email protected]>
Date:   Thu Apr 18 21:54:31 2024 +0200

    Update pl.ts (KevinVandy#1089)

    rekordów => wyników

commit b33f4c4
Author: KevinVandy <[email protected]>
Date:   Thu Apr 18 03:22:16 2024 +0000

    Upgrade Examples

commit e51d15b
Author: Kevin Vandy <[email protected]>
Date:   Wed Apr 17 21:13:15 2024 -0600

    package upgrades
  • Loading branch information
RubiCom001 committed Apr 20, 2024
1 parent 257fb37 commit cbcdbe8
Show file tree
Hide file tree
Showing 261 changed files with 14,792 additions and 11,831 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ export const InstallCommand = ({
className="language-bash"
margin="0"
style={{ overflowX: 'hidden' }}
paperSxProps={{
'& .token-line': {
overflowX: 'auto',
},
}}
>
{tab === 'npm'
? `npm i ${packagesString}`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import {
styled,
alpha,
Paper,
type SxProps,
type Theme,
} from '@mui/material';
import { Highlight, themes } from 'prism-react-renderer';
import ContentCopyIcon from '@mui/icons-material/ContentCopy';
Expand All @@ -23,9 +25,10 @@ interface Props {
enableCopyButton?: boolean;
style?: CSSProperties;
margin?: string;
paperSxProps?: SxProps<Theme>;
}

export const SampleCodeSnippet = (props: Props) => {
export const SampleCodeSnippet = ({ paperSxProps, ...props }: Props) => {
const theme = useTheme();
const [isCopied, setIsCopied] = useState(false);

Expand Down Expand Up @@ -66,6 +69,7 @@ export const SampleCodeSnippet = (props: Props) => {
boxShadow: props.enableCopyButton === false ? 'none' : undefined,
backgroundImage: 'none',
backgroundColor: 'transparent',
...paperSxProps,
}}
>
<Highlight
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ export const columnOptions: ColumnOption[] = [
linkText: '',
source: 'TanStack Table',
required: false,
type: 'false | 1 | -1',
type: "'first' | 'last' | false | 1 | -1",
},
{
columnOption: 'renderCellActionMenuItems',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ export type TableOption = {
};

export const tableOptions: TableOption[] = [
{
tableOption: '_features',
defaultValue: '',
description: `An array of extra features that you can add to the table instance.`,
link: 'https://tanstack.com/table/latest/docs/guide/custom-features',
linkText: 'TanStack Table Custom Features Docs',
required: false,
source: 'TanStack Table',
type: 'Array<TableFeature>',
},
{
tableOption: 'aggregationFns',
defaultValue: '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import BG_Table from '../examples/localization-i18n-bg';
import CS_Table from '../examples/localization-i18n-cs';
import DA_Table from '../examples/localization-i18n-da';
import DE_Table from '../examples/localization-i18n-de';
import EL_Table from '../examples/localization-i18n-el';
import EN_Table from '../examples/localization-i18n-en';
import ES_Table from '../examples/localization-i18n-es';
import ET_Table from '../examples/localization-i18n-et';
Expand Down Expand Up @@ -47,6 +48,7 @@ const supportedLocales = [
'cs',
'da',
'de',
'el',
'en',
'es',
'et',
Expand Down Expand Up @@ -125,6 +127,7 @@ const LocaleExamples = () => {
{currentLocale === 'cs' && <CS_Table />}
{currentLocale === 'da' && <DA_Table />}
{currentLocale === 'de' && <DE_Table />}
{currentLocale === 'el' && <EL_Table />}
{currentLocale === 'en' && <EN_Table />}
{currentLocale === 'es' && <ES_Table />}
{currentLocale === 'et' && <ET_Table />}
Expand Down
Loading

0 comments on commit cbcdbe8

Please sign in to comment.