Skip to content

Commit 9190e6c

Browse files
div-LeoLeonardo Di VittorioNikolai Lopin
authored
fix(datepicker): invoke onClose handler only once (#300)
* fix: add openssl-legacy-provider flag to start command * refactor: fix eslint problems (default-props, unused-props, named-export) * build: add types for typescript v3 * fix: ignore table type conflict * fix(table): styled component type fix * chore: update actions * test: update snapshots :( * test: fix Datepicker onClose invoked twice * test: replace deprecated `weak` prop with `secondary` * chore: add openssl-legacy-provider for the build script --------- Co-authored-by: Leonardo Di Vittorio <[email protected]> Co-authored-by: Nikolai Lopin <[email protected]>
1 parent 2a82aa4 commit 9190e6c

File tree

23 files changed

+24080
-26949
lines changed

23 files changed

+24080
-26949
lines changed

.github/workflows/docs.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v2
16-
- uses: actions/setup-node@v2
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-node@v3
1717
with:
18-
node-version: 14
18+
node-version: 18
1919
- name: Install dependencies
2020
uses: bahmutov/npm-install@v1
2121
- name: Build docs
2222
run: npm run build:documentation
23-
- uses: actions/upload-artifact@v2
23+
- uses: actions/upload-artifact@v3
2424
with:
2525
name: docz-dist
2626
path: .docz/dist
@@ -30,7 +30,7 @@ jobs:
3030
needs: build
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/download-artifact@v2
33+
- uses: actions/download-artifact@v3
3434
with:
3535
name: docz-dist
3636
path: public

.github/workflows/library.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
if: github.ref != 'refs/heads/main'
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
with:
1818
fetch-depth: 0
19-
- uses: actions/setup-node@v2
19+
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 14
21+
node-version: 18
2222
- name: Install dependencies
2323
uses: bahmutov/npm-install@v1
2424
- name: Run linter
@@ -32,12 +32,12 @@ jobs:
3232
if: github.ref == 'refs/heads/main'
3333
runs-on: ubuntu-latest
3434
steps:
35-
- uses: actions/checkout@v2
35+
- uses: actions/checkout@v3
3636
with:
3737
fetch-depth: 0
38-
- uses: actions/setup-node@v2
38+
- uses: actions/setup-node@v3
3939
with:
40-
node-version: 14
40+
node-version: 18
4141
- name: Install dependencies
4242
uses: bahmutov/npm-install@v1
4343
- name: Run build
@@ -52,7 +52,7 @@ jobs:
5252
if: github.ref == 'refs/heads/main'
5353
runs-on: ubuntu-latest
5454
steps:
55-
- uses: actions/checkout@v2
55+
- uses: actions/checkout@v3
5656
with:
5757
fetch-depth: 0
5858
- name: Merge main -> next

fixtures/typescript-build/src/index.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@ const TestHelperText: React.FC = () => (
207207
<HelperText variant="danger" />
208208
<HelperText inverted />
209209
<HelperText inverted={false} />
210-
<HelperText weak />
211-
<HelperText weak={false} />
210+
<HelperText secondary />
211+
<HelperText secondary={false} />
212212
<HelperText margin={1} />
213213
<HelperText fontSize={1} />
214214
<HelperText textAlign="center" />
@@ -392,8 +392,8 @@ const TestText: React.FC = () => (
392392
<Text fontWeight="bold" />
393393
<Text inverted />
394394
<Text inverted={false} />
395-
<Text weak />
396-
<Text weak={false} />
395+
<Text secondary />
396+
<Text secondary={false} />
397397
<Text margin={1} />
398398
<Text fontSize={1} />
399399
<Text fontSize="large" />

0 commit comments

Comments
 (0)