@dataloop-ai/components 0.13.16 → 0.13.18

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.13.16",
3
+ "version": "0.13.18",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -18,6 +18,7 @@
18
18
  }"
19
19
  :class="{
20
20
  'dialog-wrapper--fullscreen': fullscreen,
21
+ 'dialog-wrapper--fullheight': fullHeight,
21
22
  'dialog-wrapper--right': position === 'right',
22
23
  'dialog-wrapper--left': position === 'left'
23
24
  }"
@@ -30,7 +31,10 @@
30
31
  </div>
31
32
  <div
32
33
  class="content"
33
- :class="{ 'content--fullscreen': fullscreen }"
34
+ :class="{
35
+ 'content--fullscreen': fullscreen,
36
+ 'content--fullheight': fullHeight
37
+ }"
34
38
  >
35
39
  <slot name="body" />
36
40
  </div>
@@ -59,6 +63,7 @@ export default defineComponent({
59
63
  width: { type: [Number, String], default: 400 },
60
64
  height: { type: [Number, String], default: 'fit-content' },
61
65
  fullscreen: Boolean,
66
+ fullHeight: Boolean,
62
67
  separators: { type: Boolean, default: true },
63
68
  position: {
64
69
  type: String as PropType<'left' | 'right' | 'center'>,
@@ -178,6 +183,11 @@ export default defineComponent({
178
183
  height: 100vh !important;
179
184
  border-radius: 0px;
180
185
  }
186
+ &--fullheight {
187
+ margin: 0;
188
+ height: 100vh !important;
189
+ border-radius: 0px;
190
+ }
181
191
  &--right {
182
192
  position: absolute !important;
183
193
  right: 0;
@@ -202,6 +212,9 @@ export default defineComponent({
202
212
  &--fullscreen {
203
213
  flex-grow: 1 !important;
204
214
  }
215
+ &--fullheight {
216
+ flex-grow: 1 !important;
217
+ }
205
218
  }
206
219
 
207
220
  .footer {
@@ -1,36 +0,0 @@
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 DELETED
@@ -1,47 +0,0 @@
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!