Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: move google and vultr out of beta #527

Merged
merged 3 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion components/Autocomplete/Autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { InputAdornmentContainer } from './Autocomplete.styled';

type AutocompleteOption = { value: unknown; label: string };

export interface IAutocompleteProps extends ControllerRenderProps<FieldValues> {
export interface IAutocompleteProps extends Omit<ControllerRenderProps<FieldValues>, 'ref'> {
label: string;
inputRef?: ForwardedRef<unknown>;
loading?: boolean;
Expand Down
4 changes: 2 additions & 2 deletions components/CloudProviderCard/CloudProviderCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const PROVIDER_OPTIONS: Record<
learnMoreLink: 'https://www.vultr.com/',
height: 40,
width: 168,
beta: true,
beta: false,
},
[InstallationType.GOOGLE]: {
logoSrc: googleCloudLogo,
Expand All @@ -106,7 +106,7 @@ const PROVIDER_OPTIONS: Record<
learnMoreLink: 'https://cloud.google.com/',
height: 32,
width: 180,
beta: true,
beta: false,
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ export const Content = styled(Column)<{ hasInfo?: boolean; isProvisionStep: bool
height: 100%;
`}

${media.greaterThan('lg')`
flex-direction: ${({ hasInfo }: { hasInfo: boolean }) => hasInfo && 'row'};
${media.greaterThan<{ hasInfo: boolean }>('lg')`
flex-direction: ${({ hasInfo }) => hasInfo && 'row'};
height: calc(100% - 285px);


${({ hasInfo }: { hasInfo: boolean }) =>
${({ hasInfo }) =>
hasInfo &&
`
align-items: flex-start;
Expand Down
2 changes: 1 addition & 1 deletion components/TextField/TextField.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { SPUN_PEARL, TRAFFIC_WHITE } from '../../constants/colors';

import styled, { css } from '@/app/lib/styled-components';

export const Container = styled.div.withConfig({
export const Container = styled.div.withConfig<{ isDisabled?: boolean }>({
shouldForwardProp: (prop) => prop !== 'isDisabled',
})<{ isDisabled?: boolean }>`
width: 100%;
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.11.4",
"@mui/styles": "^5.11.2",
"@mui/x-data-grid": "^6.3.0",
"@mui/icons-material": "5.11.0",
"@mui/material": "5.11.4",
"@mui/styles": "5.11.2",
"@mui/x-data-grid": "6.3.0",
"@reduxjs/toolkit": "^1.9.3",
"@types/node": "18.11.9",
"@types/react-dom": "18.0.8",
Expand Down Expand Up @@ -55,8 +55,8 @@
"reactflow": "^11.7.4",
"redux-deep-persist": "^1.0.7",
"redux-persist": "^6.0.0",
"styled-components": "^6.0.8",
"styled-media-query": "^2.1.2",
"styled-components": "6.0.8",
"styled-media-query": "2.1.2",
"uuid": "^9.0.1",
"websocket": "^1.0.34",
"xterm": "^5.1.0",
Expand Down