Skip to content

Commit e4f9aa9

Browse files
feat: Updated component to support multi select dropdown wit… (#6)
* Updated component to support multi select dropdown with autocomplete * Update component for dropdown-based multiselect * Updated read me doc * Updated test cases
1 parent b58535c commit e4f9aa9

29 files changed

+11847
-7496
lines changed

.eslintrc

+17-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"plugins": [
1717
"@typescript-eslint",
1818
"react",
19-
"react-hooks"
19+
"react-hooks",
20+
"import"
2021
],
2122
"rules": {
2223
"no-console": "warn",
@@ -32,7 +33,21 @@
3233
"space-before-blocks":"error",
3334
"prefer-spread": ["off"],
3435
"react-hooks/exhaustive-deps": "off",
35-
"no-extra-boolean-cast": "off"
36+
"no-extra-boolean-cast": "off",
37+
"sort-imports": ["error", {"ignoreCase": true, "ignoreDeclarationSort": true}],
38+
"import/order": [
39+
"error",
40+
{ "groups":
41+
[
42+
"external",
43+
"builtin",
44+
"internal",
45+
"parent",
46+
"sibling",
47+
"index"
48+
]
49+
}
50+
]
3651
},
3752
"settings": {
3853
"react": {

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ node_modules
88
build
99
dist
1010
.rpt2_cache
11+
coverage
1112

1213
# misc
1314
.DS_Store

CODE_OF_CONDUCT.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ appearance, race, religion, or sexual identity and orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
17+
- Using welcoming and inclusive language
18+
- Being respectful of differing viewpoints and experiences
19+
- Gracefully accepting constructive criticism
20+
- Focusing on what is best for the community
21+
- Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
* The use of sexualized language or imagery and unwelcome sexual attention or
26-
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
30-
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
32-
professional setting
25+
- The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
- Trolling, insulting/derogatory comments, and personal or political attacks
28+
- Public or private harassment
29+
- Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
- Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
3333

3434
## Our Responsibilities
3535

@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [email protected]. All
58+
reported by contacting the project team at [email protected]. All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.

PULL_REQUEST_TEMPLATE.md

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<!-- Thank you for contributing to @keyvaluesystems/react-multi-selection-ui-component! -->
2+
<!-- Before submitting a pull request, please review our contributing guidelines. -->
3+
4+
5+
6+
## Pull Request Checklist
7+
8+
9+
10+
- [ ] **Read the contributing guidelines.**
11+
- [ ] **Linked to an issue:** Fixes # (replace with the issue number, if applicable)
12+
- [ ] **Branch is up-to-date with the base branch:** `main`
13+
- [ ] **Changes pass tests locally:** `npm test` or `yarn test`
14+
- [ ] **Documentation has been updated, if necessary**
15+
- [ ] **Code follows the style guide of the project**
16+
17+
18+
## Description
19+
20+
21+
22+
<!-- Provide a brief description of your changes. -->
23+
24+
25+
26+
## Screenshots (if applicable)
27+
28+
29+
30+
<!-- Add screenshots or GIFs to help explain your changes. -->
31+
32+
33+
34+
## Additional Notes
35+
36+
37+
38+
<!-- Any additional information you want to provide that is not covered by the checklist or description. -->
39+
40+
41+
42+
## Related Issues or PRs
43+
44+
45+
46+
<!-- If your pull request is related to any issue(s) or other pull request(s), mention them here. -->
47+
48+
49+
50+
## Reviewer Guidelines
51+
52+
53+
54+
<!-- Suggest specific areas of the codebase that you would like the reviewer to focus on. -->
55+
56+
57+
58+
## Testing Instructions
59+
60+
61+
62+
<!-- Provide step-by-step instructions on how to test your changes. -->
63+
64+
65+
66+
## Checklist for Reviewers
67+
68+
69+
70+
- [ ] Code follows project conventions and style
71+
- [ ] Changes do not introduce new warnings or errors
72+
- [ ] Unit tests cover the changes
73+
- [ ] Documentation is updated
74+
75+
76+
## By submitting this pull request, I confirm that my contribution is made under the terms of the MIT License.

0 commit comments

Comments
 (0)