Skip to content

Commit eb432a0

Browse files
authored
Merge pull request #30 from solaoi/feature_update-dependencies
Feature update dependencies
2 parents 4d04c36 + d8d167b commit eb432a0

File tree

10 files changed

+3172
-3040
lines changed

10 files changed

+3172
-3040
lines changed

.github/workflows/npm-check-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-node@v2
1717
with:
18-
node-version: "14.x"
18+
node-version: "16.x"
1919
- name: Update dependencies
2020
id: vars
2121
run: |

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
FROM mhart/alpine-node:14 as builder
1+
FROM mhart/alpine-node:16 as builder
22
WORKDIR /app
33

44
COPY package.json package-lock.json ./
55
RUN apk add --no-cache make gcc g++ python3 libtool autoconf automake
66
RUN npm ci
77

8-
FROM mhart/alpine-node:slim-14
8+
FROM mhart/alpine-node:slim-16
99
WORKDIR /app
1010
ENV PATH /app/node_modules/.bin:$PATH
1111

app/core/components/Form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function Form<S extends z.ZodType<any, any>>({
4444
<Flex align="center" justify="center">
4545
<Button
4646
type="submit"
47-
disabled={submitting}
47+
isDisabled={submitting}
4848
colorScheme="blue"
4949
variant="solid"
5050
_hover={{ bg: "blue.400", borderColor: "blue.400" }}

app/core/components/LabeledSelectField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const LabeledSelectField = forwardRef<HTMLSelectElement, LabeledSelectFie
4545
</FormLabel>
4646
<Select
4747
{...(input as any)}
48-
disabled={submitting}
48+
isDisabled={submitting}
4949
{...extraProps}
5050
ref={ref as any}
5151
borderColor={hasError ? "red.500" : "gray.200"}

app/core/components/LabeledTextAreaField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const LabeledTextAreaField = forwardRef<HTMLInputElement, LabeledTextArea
2929
<FormControl {...outerProps}>
3030
<FormLabel>
3131
{label}
32-
<Textarea {...input} disabled={submitting} {...props} ref={ref as any} />
32+
<Textarea {...input} isDisabled={submitting} {...props} ref={ref as any} />
3333
</FormLabel>
3434
{touched && normalizedError && (
3535
<div role="alert" style={{ color: "red" }}>

app/core/components/LabeledTextField.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ export const LabeledTextField = forwardRef<HTMLInputElement, LabeledTextFieldPro
3737
<FormLabel>
3838
{label}
3939
{props.type === "number" ? (
40-
<NumberInput {...input} disabled={submitting} {...props} ref={ref} min={0}>
40+
<NumberInput {...input} isDisabled={submitting} {...props} ref={ref} min={0}>
4141
<NumberInputField />
4242
<NumberInputStepper>
4343
<NumberIncrementStepper />
4444
<NumberDecrementStepper />
4545
</NumberInputStepper>
4646
</NumberInput>
4747
) : (
48-
<Input {...input} disabled={submitting} {...props} ref={ref} />
48+
<Input {...input} isDisabled={submitting} {...props} ref={ref} />
4949
)}
5050
</FormLabel>
5151
{touched && normalizedError && (

app/pages/projects/[projectId].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export const Project = () => {
246246

247247
<Flex justify="space-between">
248248
<Button
249-
disabled={page === 0}
249+
isDisabled={page === 0}
250250
onClick={goToPreviousPage}
251251
colorScheme="teal"
252252
variant="solid"
@@ -256,7 +256,7 @@ export const Project = () => {
256256
Previous
257257
</Button>
258258
<Button
259-
disabled={!hasMore}
259+
isDisabled={!hasMore}
260260
onClick={goToNextPage}
261261
colorScheme="teal"
262262
variant="solid"

app/pages/projects/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const ProjectsList = () => {
148148

149149
<Flex justify="space-between">
150150
<Button
151-
disabled={page === 0}
151+
isDisabled={page === 0}
152152
onClick={goToPreviousPage}
153153
colorScheme="teal"
154154
variant="solid"
@@ -158,7 +158,7 @@ export const ProjectsList = () => {
158158
Previous
159159
</Button>
160160
<Button
161-
disabled={!hasMore}
161+
isDisabled={!hasMore}
162162
onClick={goToNextPage}
163163
colorScheme="teal"
164164
variant="solid"

0 commit comments

Comments
 (0)