Skip to content

Commit

Permalink
Merge branch 'main' into aria-role-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
csandman committed Sep 29, 2023
2 parents efca401 + 34c7dda commit 33b5a58
Show file tree
Hide file tree
Showing 31 changed files with 6,725 additions and 10,135 deletions.
5 changes: 5 additions & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"buildCommand": "build",
"sandboxes": ["65ohb", "vz9ut", "v8lt7q", "h6uwj1"],
"node": "16"
}
12 changes: 11 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,16 @@
},
"project": "tsconfig.eslint.json"
},
"plugins": ["@typescript-eslint"],
"plugins": ["deprecation", "@typescript-eslint"],
"rules": {
"deprecation/deprecation": "warn",
"no-console": "error",
"curly": ["error", "all"],
"no-underscore-dangle": "off",
"import/prefer-default-export": "off",
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off",
"react/jsx-key": "error",
"react/jsx-filename-extension": [
"error",
{
Expand All @@ -52,6 +54,14 @@
"prefer": "type-imports",
"disallowTypeAnnotations": true
}
],
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"{}": false
}
}
]
}
}
4 changes: 3 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ blank_issues_enabled: false
contact_links:
- name: Feature request
url: https://github.com/csandman/chakra-react-select/discussions/categories/ideas
about: Got an idea for a feature or want to propose a change? Then this is the place for you.
about:
Got an idea for a feature or want to propose a change? Then this is the
place for you.
- name: Question on usage
url: https://github.com/csandman/chakra-react-select/discussions/categories/q-a
about: If you have a question regarding the usage of the library.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
cache: "npm"

- name: Install Dependencies
run: npm ci
run: npm install

- name: Build package
run: npm run build --if-present
24 changes: 24 additions & 0 deletions .github/workflows/package-size-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Package Size Report

on:
pull_request:
branches: [main]

jobs:
pkg-size-report:
name: Package Size Report
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16" # ⬅ Specify a version of Node.js to build your app

- name: Package size report
uses: pkg-size/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
"arrowParens": "always",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"proseWrap": "always",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "lf",
"plugins": ["@trivago/prettier-plugin-sort-imports"],
"importOrder": [
"^react$",
"^@chakra-ui/react$",
Expand Down
23 changes: 11 additions & 12 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@ MIT License

Copyright (c) 2022 Chris Sandvik

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit 33b5a58

Please sign in to comment.