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

963 feature upgrade to react 18 #1020

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
293815a
docs: add docs for mixed button variant (#966)
federico-ntr Jun 7, 2023
8b4360b
docs: fix click on radios always controlling first story (#965)
federico-ntr Jun 7, 2023
f72d0ed
Update Card component (#964)
federico-ntr Jun 8, 2023
92a4d8a
Update Breadcrumbs to be BI 2.x compliant (#968)
federico-ntr Jun 8, 2023
5a97484
docs: translate and update docs (adapted from BI) (#969)
federico-ntr Jul 10, 2023
1c8e5a7
feat: upgrade bsi
astagi Aug 8, 2023
82571c4
5.0.0-1
astagi Aug 8, 2023
f447e33
chore: add new button statuses
astagi Aug 30, 2023
7f451b8
Add state per la corretta visualizzazione input (#974)
Virtute90 Oct 5, 2023
8edd804
fix: set default value for text prop in input
tensor5 Dec 4, 2023
5124f2c
feat: rework select to use reactstrap implementation
federico-ntr Dec 4, 2023
bf2ba3d
feat: autocomplete component
sabato-galasso Dec 4, 2023
53278bd
chore(deps): upgrade bsi
astagi Dec 4, 2023
622aef9
feat: mixed button
sabato-galasso Dec 4, 2023
13df0dd
docs: update button
sabato-galasso Dec 4, 2023
b3c0540
chore: update contributors
astagi Dec 4, 2023
6c95755
fix: autocomplete style
sabato-galasso Dec 4, 2023
1c8b68b
chore: linting
astagi Dec 4, 2023
4a66ade
5.0.0-2
astagi Dec 4, 2023
97f908c
fix: use div for form validation
astagi Dec 6, 2023
2a5a1f8
feat: separate validation and info texts
astagi Dec 6, 2023
d9a3313
feat: remove time input and use standar inputs
astagi Dec 6, 2023
79bacae
chore(deps): upgrade bootstrap italia
astagi Dec 6, 2023
49c2de0
fix: correct label for date and time inputs
astagi Dec 6, 2023
79d01fc
fix: active label by type
astagi Dec 6, 2023
5555fb7
chore(deps): update yarn lock
astagi Dec 6, 2023
ce1bc42
chore: add format-code command
astagi Dec 6, 2023
227f064
5.0.0-3
astagi Dec 6, 2023
316bc45
chore: remove comuni templates as outdated
astagi Dec 6, 2023
32982a1
feat: remove collapse component
astagi Dec 6, 2023
20499a0
fix: badge examples
astagi Dec 6, 2023
02ded3d
fix: skip links
astagi Dec 6, 2023
593dac7
feat: remove cookiebar (not planned)
astagi Dec 6, 2023
a1536e6
fix: update icons
astagi Dec 6, 2023
70529bd
fix: icons
astagi Dec 6, 2023
33ffa11
5.0.0-4
astagi Dec 6, 2023
eb87e64
fix: restore collapse
astagi Dec 7, 2023
c10f781
feat: add go back component
astagi Dec 7, 2023
8f5c6b6
fix: go back icon margins
astagi Dec 7, 2023
348bb62
5.0.0-5
astagi Dec 7, 2023
2bb0110
fix: export collapse component
astagi Dec 7, 2023
d59741c
5.0.0-6
astagi Dec 7, 2023
16a4aac
chore: remove circleci
astagi Dec 11, 2023
f8d44e6
chore: change branch
astagi Dec 11, 2023
d6a1407
chore: update readme
astagi Dec 11, 2023
d9eaef9
chore(ci): add commit lint
astagi Dec 11, 2023
aabe7fc
chore: add react logo
astagi Dec 11, 2023
b5d6218
chore(ci): commit lint
astagi Dec 11, 2023
4148407
chore(ci): run on node 18
astagi Dec 11, 2023
d918322
chore: update authors
astagi Dec 11, 2023
44082b2
chore(ci): add changelog on publish
astagi Dec 11, 2023
c031fc9
chore(deps): bump progressbar.js from 1.1.0 to 1.1.1
dependabot[bot] Dec 11, 2023
f1d819b
chore(deps-dev): bump webpack from 5.75.0 to 5.76.0
dependabot[bot] Dec 11, 2023
8a5693a
chore(deps): bump @adobe/css-tools from 4.0.1 to 4.3.2
dependabot[bot] Dec 11, 2023
854c007
chore: update readme links
astagi Dec 11, 2023
9f05996
chore(deps): bump node-forge and parcel in example
dependabot[bot] Dec 11, 2023
1ae600f
chore(deps): bump terser and parcel in example
dependabot[bot] Dec 11, 2023
fb24937
chore(deps): bump postcss and parcel in /example (#992)
dependabot[bot] Dec 11, 2023
60fc343
chore(deps): bump jsdom and parcel in example
dependabot[bot] Dec 11, 2023
6f864ec
chore(ci): run tree shakeability act on node 18
astagi Dec 11, 2023
af02a13
chore(deps): bump babel traverse from 7.18.13 to 7.23.5
dependabot[bot] Dec 11, 2023
9881bcb
chore(deps): bump semver from 5.7.1 to 5.7.2
dependabot[bot] Dec 11, 2023
30501ed
chore(deps): bump word-wrap from 1.2.3 to 1.2.5
dependabot[bot] Dec 11, 2023
1ff6c81
chore(deps): bump browserify-sign from 4.2.1 to 4.2.2
dependabot[bot] Dec 11, 2023
75f74f1
chore(deps-dev): bump postcss from 7.0.39 to 8.4.31
dependabot[bot] Dec 11, 2023
1c30895
chore: update readme
astagi Dec 11, 2023
5cdeb6a
chore: update readme
astagi Dec 11, 2023
adbd34f
chore: update unstable install command
astagi Dec 11, 2023
d4a299c
feat: numeric input component
sabato-galasso Dec 12, 2023
d920639
chore: add release scripts
astagi Dec 12, 2023
0e9a662
5.0.0-7
astagi Dec 12, 2023
543720b
chore(deps): bump msgpackr from 1.10.0 to 1.10.1 in example
dependabot[bot] Jan 9, 2024
f6d696f
feat: add datepicker component
astagi Jan 10, 2024
5477f12
5.0.0-8
astagi Jan 10, 2024
7d1120f
deps: upgrade babel core
sabato-galasso Jan 24, 2024
7d788fd
upgrade to react 18
sabato-galasso Feb 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
175 changes: 0 additions & 175 deletions .circleci/config.yml

This file was deleted.

26 changes: 11 additions & 15 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
module.exports = {
"extends": [
"react-app",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
],
"overrides": [
{
"files": ['*.mdx'],
"extends": 'plugin:mdx/recommended',
"settings": {
"mdx/code-blocks": false,
extends: ['react-app', 'prettier/@typescript-eslint', 'plugin:prettier/recommended'],
overrides: [
{
files: ['*.mdx'],
extends: 'plugin:mdx/recommended',
settings: {
'mdx/code-blocks': false
}
}
],
"settings": {
"react": {
"version": "detect"
settings: {
react: {
version: 'detect'
}
}
}
};
11 changes: 6 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG]"
title: '[BUG]'
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -24,9 +24,10 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Other Required Information (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FEATURE]"
title: '[FEATURE]'
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
10 changes: 6 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@
Fixes #

#### PR Checklist

<!-- To Mark a Checklist box, put "x" inside the square brackets. For Example - [ ] becomes [x] -->
- [ ] My branch is up-to-date with the Upstream `master` branch.

- [ ] My branch is up-to-date with the Upstream `main` branch.
- [ ] The unit tests pass locally with my changes (if applicable).
- [ ] I have added tests that prove my fix is effective or that my feature works (if applicable).
- [ ] I have added necessary documentation (if appropriate).

#### Short description of what this resolves:
<!-- Please add a short description of what this PR resolves to be clear for the community. -->

<!-- Please add a short description of what this PR resolves to be clear for the community. -->

#### Changes proposed in this Pull Request:
<!-- You can use a few bullet points to describe some implementation changes proposed. For Example - feat: adding navbar component -->
-

## <!-- You can use a few bullet points to describe some implementation changes proposed. For Example - feat: adding navbar component -->
Binary file added .github/react-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 120
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: wontfix
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions. Please read https://github.com/italia/design-react-kit/discussions/886.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
4 changes: 2 additions & 2 deletions .github/workflows/check-tree-shakeability.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Check tree-shakeability
on: [ pull_request ]
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -11,7 +11,7 @@ jobs:
- name: Setup Node.js with Yarn cache
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '18'
cache: 'yarn'

- name: Install dependencies
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/chromatic.yml

This file was deleted.

38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
name: Lint, Test & Coverage
on:
push:
branches: [ master ]
branches: [main]
pull_request:
branches: [ master ]
branches: [main]

jobs:
coverage:
runs-on: ubuntu-latest
concurrency: ci-test-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Setup Node.js with Yarn cache
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- uses: actions/checkout@v2
- name: Setup Node.js with Yarn cache
uses: actions/setup-node@v2
with:
node-version: '18'
cache: 'yarn'

- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test
run: yarn test:ci
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Test
run: yarn test:ci

- name: Upload coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
- name: Upload coverage
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
Loading
Loading