@dataloop-ai/components 0.13.13 → 0.13.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
5
|
+
|
|
6
|
+
## Our Standards
|
|
7
|
+
|
|
8
|
+
#### Examples of behavior that contributes to creating a positive environment include:
|
|
9
|
+
- Using welcoming and inclusive language
|
|
10
|
+
- Being respectful of differing viewpoints and experiences
|
|
11
|
+
- Gracefully accepting constructive criticism
|
|
12
|
+
- Focusing on what is best for the community
|
|
13
|
+
- Showing empathy towards other community members
|
|
14
|
+
|
|
15
|
+
#### Examples of unacceptable behavior by participants include:
|
|
16
|
+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
|
|
17
|
+
- Trolling, insulting/derogatory comments, and personal or political attacks
|
|
18
|
+
- Public or private harassment
|
|
19
|
+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
|
|
20
|
+
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
|
21
|
+
|
|
22
|
+
## Our Responsibilities
|
|
23
|
+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
|
|
24
|
+
|
|
25
|
+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
|
|
26
|
+
|
|
27
|
+
## Scope
|
|
28
|
+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
29
|
+
|
|
30
|
+
## Enforcement
|
|
31
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at support@dataloop.ai . All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
|
|
32
|
+
|
|
33
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
|
|
34
|
+
|
|
35
|
+
## Attribution
|
|
36
|
+
This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
package/CONTRIBUTION.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Contributing Guidelines
|
|
2
|
+
Thank you for your interest in contributing to our project! We welcome contributions from everyone. Please take a moment to review these guidelines before submitting a pull request or issue.
|
|
3
|
+
|
|
4
|
+
## Code of Conduct
|
|
5
|
+
Our project has a [Code of Conduct](./CODE_OF_CONDUCT.md) that we expect all contributors to follow. Please read it before making any contribution.
|
|
6
|
+
|
|
7
|
+
## Issues
|
|
8
|
+
If you find any issues or bugs, please search the existing issues to see if the issue has already been reported. If it hasn't, please create a new issue with a clear and concise title and description. Be sure to include any relevant information, such as error messages or steps to reproduce the issue.
|
|
9
|
+
|
|
10
|
+
The repository provides base templates for create a bug/feature request type of issues. please fill the relevant information there.
|
|
11
|
+
|
|
12
|
+
If the issue is related to a specific component then please have in the title of the issue the name of the component and then a short description of the issue. Example: ``` DlButton > 'description of issue' ```
|
|
13
|
+
|
|
14
|
+
## Pull Requests
|
|
15
|
+
We welcome contributions in the form of pull requests. Before submitting a pull request, please make sure that your code:
|
|
16
|
+
|
|
17
|
+
- Is well-tested
|
|
18
|
+
- Conforms to our coding style guidelines (see below)
|
|
19
|
+
- Includes any necessary documentation
|
|
20
|
+
|
|
21
|
+
### Naming Convention
|
|
22
|
+
Each pull request should reflect the issue it is trying to close or have a short descriptive title.
|
|
23
|
+
|
|
24
|
+
If the pull request is working on a specific component please start the pull request title with the components name. Example: ``` DlButton > 'description of issue' ```
|
|
25
|
+
|
|
26
|
+
### Coding Style Guidelines
|
|
27
|
+
Please follow these coding style guidelines when submitting a pull request:
|
|
28
|
+
- Use consistent indentation
|
|
29
|
+
- Use descriptive variable names
|
|
30
|
+
- Use comments to explain non-obvious code behavior
|
|
31
|
+
- Follow the provided linter configuration
|
|
32
|
+
- Please note that any build that does not pass the linter will fail. as part of our CI/CD
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
Steps to submit a pull request:
|
|
36
|
+
1. Fork the repository
|
|
37
|
+
2. Clone the forked repository to your local machine
|
|
38
|
+
3. Create a new branch for your changes
|
|
39
|
+
4. Make your changes and commit them
|
|
40
|
+
5. Push the changes to your forked repository
|
|
41
|
+
6. Submit a pull request to the original repository
|
|
42
|
+
7. Please make sure that your pull request clearly explains the problem you are trying to solve, the solution you have implemented, and any potential side effects of your changes.
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
By contributing to our project, you agree that your contributions will be licensed under the [project's license](./LICENSE.md).
|
|
46
|
+
|
|
47
|
+
Thank you for your contributions!
|
package/package.json
CHANGED
|
@@ -112,19 +112,23 @@ export default defineComponent({
|
|
|
112
112
|
(this.$el as HTMLElement).blur()
|
|
113
113
|
}
|
|
114
114
|
this.show = false
|
|
115
|
-
this.$emit('hide')
|
|
116
115
|
this.$emit('update:modelValue', false)
|
|
117
116
|
if (!this.hasParent) {
|
|
118
117
|
document.documentElement.style.overflow = 'auto'
|
|
119
118
|
}
|
|
119
|
+
this.$nextTick(() => {
|
|
120
|
+
this.$emit('hide')
|
|
121
|
+
})
|
|
120
122
|
},
|
|
121
123
|
openModal() {
|
|
122
124
|
this.show = true
|
|
123
|
-
this.$emit('show')
|
|
124
125
|
this.$emit('update:modelValue', true)
|
|
125
126
|
if (!this.hasParent) {
|
|
126
127
|
document.documentElement.style.overflow = 'hidden'
|
|
127
128
|
}
|
|
129
|
+
this.$nextTick(() => {
|
|
130
|
+
this.$emit('show')
|
|
131
|
+
})
|
|
128
132
|
}
|
|
129
133
|
}
|
|
130
134
|
})
|
|
@@ -193,6 +197,7 @@ export default defineComponent({
|
|
|
193
197
|
.content {
|
|
194
198
|
padding: 10px 16px 30px 16px;
|
|
195
199
|
overflow: auto;
|
|
200
|
+
height: 100%;
|
|
196
201
|
|
|
197
202
|
&--fullscreen {
|
|
198
203
|
flex-grow: 1 !important;
|
/package/{LICENSE → LICENSE.md}
RENAMED
|
File without changes
|