Skip to content

Commit

Permalink
feat: move google and vultr out of beta (#527)
Browse files Browse the repository at this point in the history
* fix: select

* feat: move google and vultr out of beta
  • Loading branch information
CristhianF7 authored Dec 30, 2024
1 parent 1c0e3fb commit 0aeeb35
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
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

0 comments on commit 0aeeb35

Please sign in to comment.