triafly-ui-kit 1.0.88 → 1.0.89

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/README.md CHANGED
@@ -1,93 +1,93 @@
1
- # ui-kit
2
-
3
-
4
-
5
- ## Getting started
6
-
7
- To make it easy for you to get started with GitLab, here's a list of recommended next steps.
8
-
9
- Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
10
-
11
- ## Add your files
12
-
13
- - [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
14
- - [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
15
-
16
- ```
17
- cd existing_repo
18
- git remote add origin https://git.3afly.ru/triafly-data-platform/ui-kit.git
19
- git branch -M main
20
- git push -uf origin main
21
- ```
22
-
23
- ## Integrate with your tools
24
-
25
- - [ ] [Set up project integrations](https://git.3afly.ru/triafly-data-platform/ui-kit/-/settings/integrations)
26
-
27
- ## Collaborate with your team
28
-
29
- - [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
30
- - [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
31
- - [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
32
- - [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
33
- - [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
34
-
35
- ## Test and Deploy
36
-
37
- Use the built-in continuous integration in GitLab.
38
-
39
- - [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
40
- - [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
41
- - [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
42
- - [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
43
- - [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
44
-
45
- ***
46
-
47
- # Editing this README
48
-
49
- When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
50
-
51
- ## Suggestions for a good README
52
-
53
- Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
54
-
55
- ## Name
56
- Choose a self-explaining name for your project.
57
-
58
- ## Description
59
- Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
60
-
61
- ## Badges
62
- On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
63
-
64
- ## Visuals
65
- Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
66
-
67
- ## Installation
68
- Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
69
-
70
- ## Usage
71
- Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
72
-
73
- ## Support
74
- Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
75
-
76
- ## Roadmap
77
- If you have ideas for releases in the future, it is a good idea to list them in the README.
78
-
79
- ## Contributing
80
- State if you are open to contributions and what your requirements are for accepting them.
81
-
82
- For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
83
-
84
- You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
85
-
86
- ## Authors and acknowledgment
87
- Show your appreciation to those who have contributed to the project.
88
-
89
- ## License
90
- For open source projects, say how it is licensed.
91
-
92
- ## Project status
93
- If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
1
+ # ui-kit
2
+
3
+
4
+
5
+ ## Getting started
6
+
7
+ To make it easy for you to get started with GitLab, here's a list of recommended next steps.
8
+
9
+ Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
10
+
11
+ ## Add your files
12
+
13
+ - [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
14
+ - [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
15
+
16
+ ```
17
+ cd existing_repo
18
+ git remote add origin https://git.3afly.ru/triafly-data-platform/ui-kit.git
19
+ git branch -M main
20
+ git push -uf origin main
21
+ ```
22
+
23
+ ## Integrate with your tools
24
+
25
+ - [ ] [Set up project integrations](https://git.3afly.ru/triafly-data-platform/ui-kit/-/settings/integrations)
26
+
27
+ ## Collaborate with your team
28
+
29
+ - [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
30
+ - [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
31
+ - [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
32
+ - [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
33
+ - [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
34
+
35
+ ## Test and Deploy
36
+
37
+ Use the built-in continuous integration in GitLab.
38
+
39
+ - [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
40
+ - [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
41
+ - [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
42
+ - [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
43
+ - [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
44
+
45
+ ***
46
+
47
+ # Editing this README
48
+
49
+ When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
50
+
51
+ ## Suggestions for a good README
52
+
53
+ Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
54
+
55
+ ## Name
56
+ Choose a self-explaining name for your project.
57
+
58
+ ## Description
59
+ Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
60
+
61
+ ## Badges
62
+ On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
63
+
64
+ ## Visuals
65
+ Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
66
+
67
+ ## Installation
68
+ Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
69
+
70
+ ## Usage
71
+ Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
72
+
73
+ ## Support
74
+ Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
75
+
76
+ ## Roadmap
77
+ If you have ideas for releases in the future, it is a good idea to list them in the README.
78
+
79
+ ## Contributing
80
+ State if you are open to contributions and what your requirements are for accepting them.
81
+
82
+ For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
83
+
84
+ You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
85
+
86
+ ## Authors and acknowledgment
87
+ Show your appreciation to those who have contributed to the project.
88
+
89
+ ## License
90
+ For open source projects, say how it is licensed.
91
+
92
+ ## Project status
93
+ If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
@@ -1 +1 @@
1
- .buttons .buttons-bar{display:flex}.buttons .buttons-label{margin:0 0 8px;display:flex}.buttons .button{height:44px;padding:0 12px;display:flex;justify-content:center;align-items:center;border:1px solid var(--color-border-primary-default);background-color:var(--color-bg-neutral-basic-default);cursor:pointer}.buttons .button:not(:last-of-type){border-right:0 solid}.buttons .button:first-of-type{border-radius:8px 0 0 8px}.buttons .button:last-of-type{border-radius:0 8px 8px 0}.buttons .button.invalid{border:1px solid var(--color-border-error-default)}.buttons .button.invalid .helper-text{color:var(--color-border-error-default)}.buttons .button:not(:disabled):hover{background:#ddd}.buttons .button:disabled{cursor:not-allowed;opacity:.6}.buttons .helper-text{font-size:12px;color:var(--color-text-secondary-default);margin:8px 0 0}.buttons .button.active{background:var(--color-bg-neutral-light-default);font-weight:600}.buttons .button.status-error{color:var(--color-status-error-foreground)}.buttons .button.status-warning{color:var(--color-status-warning-foreground)}.buttons .button.status-success{color:var(--color-status-success-foreground)}
1
+ .buttons.inline{display:flex;flex-direction:row;justify-content:space-between;align-items:center}.buttons.inline .buttons-label{margin:0 8px 0 0}.buttons .buttons-bar{display:flex}.buttons .buttons-label{margin:0 0 8px;display:flex}.buttons .button{height:44px;padding:0 12px;display:flex;justify-content:center;align-items:center;border:1px solid var(--color-border-primary-default);background-color:var(--color-bg-neutral-basic-default);cursor:pointer}.buttons .button:not(:last-of-type){border-right:0 solid}.buttons .button:first-of-type{border-radius:8px 0 0 8px}.buttons .button:last-of-type{border-radius:0 8px 8px 0}.buttons .button.invalid{border:1px solid var(--color-border-error-default)}.buttons .button.invalid .helper-text{color:var(--color-border-error-default)}.buttons .button:not(:disabled):hover{background:#ddd}.buttons .button:disabled{cursor:not-allowed;opacity:.6}.buttons .helper-text{font-size:12px;color:var(--color-text-secondary-default);margin:8px 0 0}.buttons .button.active{background:var(--color-bg-neutral-light-default);font-weight:600}.buttons .button.status-error{color:var(--color-status-error-foreground)}.buttons .button.status-warning{color:var(--color-status-warning-foreground)}.buttons .button.status-success{color:var(--color-status-success-foreground)}
@@ -1 +1 @@
1
- .dropdown-input{display:flex;flex-direction:column;min-width:200px}.dropdown-input.sm .input-box{height:36px}.dropdown-input__native{display:none}.dropdown-input label{margin:0 0 8px}.dropdown-input .input-box{position:relative;border:1px solid var(--color-border-primary-default);border-radius:8px;padding:10px 8px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;outline:none;height:44px;background-color:var(--color-bg-neutral-basic-default)}.dropdown-input .input-box.opened{border:2px solid var(--color-border-primary-default);padding:9px 7px}.dropdown-input .input-box.disabled{background-color:var(--color-bg-island-disabled);pointer-events:none}.dropdown-input .input-box.invalid{border-color:var(--color-border-error-default)}.dropdown-input .input-box.invalid>span{color:var(--color-border-error-default)}.dropdown-input .input-box.invalid svg *{fill:var(--color-border-error-default)}.dropdown-input .input-box .placeholder,.dropdown-input .input-box .input-value,.dropdown-input .input-box .options li{color:var(--color-text-primary-default)}.dropdown-input .input-box .caret *{fill:var(--color-icon-secondary-default)}.dropdown-input .optionsgg{position:absolute;top:100%;bottom:auto;left:0;right:0;max-height:304px;overflow-y:auto;overflow-x:hidden;background-color:var(--color-bg-neutral-basic-default);border-radius:8px;border:1px solid var(--color-border-primary-default);margin:1px -1px 0;z-index:21}.dropdown-input .optionsgg.above{bottom:calc(100% + 1px);top:auto}.dropdown-input .optionsgg li{padding:0 8px;min-height:36px;cursor:pointer;display:flex;align-items:center}.dropdown-input .optionsgg li:hover,.dropdown-input .optionsgg li.dropdown-input__option--selected{background-color:var(--color-bg-neutral-lightest-default)}.dropdown-input .helper-text{font-size:12px;color:var(--color-text-secondary-default);margin:8px 0 0;display:flex;align-items:center}.dropdown-input .helper-text.error{color:var(--color-border-error-default)}.dropdown-input .helper-text.error .icon{margin:0 4px 0 0}.dropdown-input .helper-text.error .icon>*{fill:var(--color-border-error-default)}.dropdown-portal{background-color:var(--color-bg-neutral-basic-default);border-radius:8px;border:1px solid var(--color-border-primary-default);box-shadow:0 2px 8px #00000026;overflow-y:auto}.dropdown-portal .options{list-style:none;padding:0;margin:0}.dropdown-portal .options li{padding:8px 12px;min-height:36px;cursor:pointer;display:flex;align-items:center}.dropdown-portal .options li:hover{background-color:var(--color-bg-neutral-lightest-default)}
1
+ .dropdown-input{display:flex;flex-direction:column;min-width:200px}.dropdown-input.inline{flex-direction:row;justify-content:space-between;width:100%}.dropdown-input.inline>div{flex-grow:1}.dropdown-input.inline label{padding:15px 0 0;margin:0 16px 0 0}.dropdown-input.sm .input-box{height:36px}.dropdown-input__native{display:none}.dropdown-input label{margin:0 0 8px}.dropdown-input .input-box{position:relative;border:1px solid var(--color-border-primary-default);border-radius:8px;padding:10px 8px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;outline:none;height:44px;background-color:var(--color-bg-neutral-basic-default)}.dropdown-input .input-box.opened{border:2px solid var(--color-border-primary-default);padding:9px 7px}.dropdown-input .input-box.disabled{background-color:var(--color-bg-island-disabled);pointer-events:none}.dropdown-input .input-box.invalid{border-color:var(--color-border-error-default)}.dropdown-input .input-box.invalid>span{color:var(--color-border-error-default)}.dropdown-input .input-box.invalid svg *{fill:var(--color-border-error-default)}.dropdown-input .input-box .placeholder,.dropdown-input .input-box .input-value,.dropdown-input .input-box .options li{color:var(--color-text-primary-default)}.dropdown-input .input-box .caret *{fill:var(--color-icon-secondary-default)}.dropdown-input .optionsgg{position:absolute;top:100%;bottom:auto;left:0;right:0;max-height:304px;overflow-y:auto;overflow-x:hidden;background-color:var(--color-bg-neutral-basic-default);border-radius:8px;border:1px solid var(--color-border-primary-default);margin:1px -1px 0;z-index:21}.dropdown-input .optionsgg.above{bottom:calc(100% + 1px);top:auto}.dropdown-input .optionsgg li{padding:0 8px;min-height:36px;cursor:pointer;display:flex;align-items:center}.dropdown-input .optionsgg li:hover,.dropdown-input .optionsgg li.dropdown-input__option--selected{background-color:var(--color-bg-neutral-lightest-default)}.dropdown-input .helper-text{font-size:12px;color:var(--color-text-secondary-default);margin:8px 0 0;display:flex;align-items:center}.dropdown-input .helper-text.error{color:var(--color-border-error-default)}.dropdown-input .helper-text.error .icon{margin:0 4px 0 0}.dropdown-input .helper-text.error .icon>*{fill:var(--color-border-error-default)}.dropdown-portal{background-color:var(--color-bg-neutral-basic-default);border-radius:8px;border:1px solid var(--color-border-primary-default);box-shadow:0 2px 8px #00000026;overflow-y:auto}.dropdown-portal .options{list-style:none;padding:0;margin:0}.dropdown-portal .options li{padding:8px 12px;min-height:36px;cursor:pointer;display:flex;align-items:center}.dropdown-portal .options li:hover{background-color:var(--color-bg-neutral-lightest-default)}
@@ -1 +1 @@
1
- .text-input{display:flex;flex-direction:column}.text-input label{margin:0 0 8px}.text-input .input-container{display:flex;position:relative;z-index:0}.text-input .input-container.has-icon input{padding:10px 8px 10px 36px}.text-input .input-container.has-icon input:active,.text-input .input-container.has-icon input:focus{padding:9px 7px 9px 35px}.text-input .input-container.has-icon .icon{position:absolute;left:8px;top:calc(50% - 10px);z-index:2}.text-input .input-container.has-icon .icon *{fill:var(--color-icon-secondary-default)}.text-input .input-container input{border:1px solid var(--color-border-primary-default);border-radius:8px;height:44px;padding:10px 8px;outline:none;background-color:var(--color-bg-neutral-basic-default);z-index:1;flex-grow:1;color:var(--color-text-primary-default)}.text-input .input-container input[disabled]{background-color:var(--color-bg-island-disabled);pointer-events:none}.text-input .input-container input::placeholder{color:var(--color-text-secondary-default)}.text-input .input-container input:active,.text-input .input-container input:focus{border:2px solid var(--color-border-primary-default);padding:9px 7px}.text-input .input-container input.has-icon{padding:10px 8px 10px 36px}.text-input.sm.rounded input{border-radius:18px}.text-input.sm .input-container input{height:36px}.text-input.rounded input{border-radius:22px}.text-input.invalid input,.text-input.invalid input:active,.text-input.invalid input:focus{border-color:var(--color-border-error-default);color:var(--color-border-error-default)}.text-input.invalid .icon *{fill:var(--color-border-error-default)!important}.text-input.invalid .helper-text{color:var(--color-border-error-default)}.text-input.clearable input{padding-right:36px!important}.text-input.clearable .clear-value{position:absolute;right:8px;top:calc(50% - 10px);cursor:pointer;z-index:1;height:20px}.text-input.clearable .clear-value *{fill:var(--color-icon-secondary-default)}.text-input .helper-text{font-size:12px;color:var(--color-text-secondary-default);margin:8px 0 0}.text-input .loader{position:absolute;right:8px;top:calc(50% - 10px)}.text-input .loader *{fill:var(--color-icon-secondary-default)}
1
+ .text-input{display:flex;flex-direction:column}.text-input.inline{flex-direction:row;justify-content:space-between}.text-input.inline>div{flex-grow:1}.text-input.inline label{padding:14px 0 0;margin:0 16px 0 0}.text-input label{margin:0 0 8px}.text-input .input-container{display:flex;position:relative;z-index:0}.text-input .input-container.has-icon input{padding:10px 8px 10px 36px}.text-input .input-container.has-icon input:active,.text-input .input-container.has-icon input:focus{padding:9px 7px 9px 35px}.text-input .input-container.has-icon .icon{position:absolute;left:8px;top:calc(50% - 10px);z-index:2}.text-input .input-container.has-icon .icon *{fill:var(--color-icon-secondary-default)}.text-input .input-container input{border:1px solid var(--color-border-primary-default);border-radius:8px;height:44px;padding:10px 8px;outline:none;background-color:var(--color-bg-neutral-basic-default);z-index:1;flex-grow:1;color:var(--color-text-primary-default)}.text-input .input-container input[disabled]{background-color:var(--color-bg-island-disabled);pointer-events:none}.text-input .input-container input::placeholder{color:var(--color-text-secondary-default)}.text-input .input-container input:active,.text-input .input-container input:focus{border:2px solid var(--color-border-primary-default);padding:9px 7px}.text-input .input-container input.has-icon{padding:10px 8px 10px 36px}.text-input.sm.rounded input{border-radius:18px}.text-input.sm .input-container input{height:36px}.text-input.rounded input{border-radius:22px}.text-input.invalid input,.text-input.invalid input:active,.text-input.invalid input:focus{border-color:var(--color-border-error-default);color:var(--color-border-error-default)}.text-input.invalid .icon *{fill:var(--color-border-error-default)!important}.text-input.invalid .helper-text{color:var(--color-border-error-default)}.text-input.clearable input{padding-right:36px!important}.text-input.clearable .clear-value{position:absolute;right:8px;top:calc(50% - 10px);cursor:pointer;z-index:1;height:20px}.text-input.clearable .clear-value *{fill:var(--color-icon-secondary-default)}.text-input .helper-text{font-size:12px;color:var(--color-text-secondary-default);margin:8px 0 0}.text-input .loader{position:absolute;right:8px;top:calc(50% - 10px)}.text-input .loader *{fill:var(--color-icon-secondary-default)}
@@ -1 +1 @@
1
- @font-face{font-family:Roboto Slab;src:url(../assets/fonts/RobotoSlab-SemiBold.ttf) format("truetype");font-weight:600}@font-face{font-family:Manrope;src:url(../assets/fonts/Manrope-Regular.ttf) format("truetype");font-weight:400}@font-face{font-family:Manrope;src:url(../assets/fonts/Manrope-Semibold.ttf) format("truetype");font-weight:600}@font-face{font-family:Manrope;src:url(../assets/fonts/Manrope-Bold.ttf) format("truetype");font-weight:700}@font-face{font-family:Fira Code;src:url(../assets/fonts/FiraCode-Regular.ttf) format("truetype");font-weight:400}*{font-family:Manrope,sans-serif;font-size:14px;line-height:1.2em;letter-spacing:.02em;font-weight:400;color:var(--color-text-primary-default)}h1,h2,h3,h4,h5,h6{margin:0}a{color:var(--color-text-brand-default);text-decoration:none}a:hover{color:var(--color-text-brand-hover)}a[href=""]{opacity:40%;cursor:default;pointer-events:none}p:not(:last-child){margin:0 0 8px}.textarea-input{display:flex;flex-direction:column;resize:none}.textarea-input label{margin:0 0 8px}.textarea-input .char-limit{text-align:right;margin-top:8px;font-size:12px;font-weight:400;color:var(--color-text-secondary-default)}.textarea-input .textarea-wrapper{position:relative}.textarea-input textarea{border:1px solid var(--color-border-primary-default);border-radius:8px;padding:10.5px 8px;color:var(--color-text-primary-default);max-width:100%;min-width:100%;min-height:64px;resize:both;background-color:var(--color-bg-neutral-basic-default);font-size:14px;font-weight:400}.textarea-input textarea[disabled]{background-color:var(--color-bg-island-disabled);pointer-events:none}.textarea-input textarea::placeholder{color:var(--color-text-secondary-default)}.textarea-input textarea:focus{border:2px solid var(--color-border-primary-default);padding:9.5px 7px}.textarea-input textarea.no-resize{resize:none}.textarea-input .helper-text{font-size:12px;color:var(--color-text-secondary-default);margin:8px 0 0}.textarea-input.invalid textarea{border-color:var(--color-border-error-default);color:var(--color-border-error-default)}.textarea-input.invalid svg *{fill:var(--color-border-error-default)}.textarea-input.invalid .helper-text{color:var(--color-border-error-default)}.textarea-input.clearable textarea{padding-right:36px!important}.textarea-input.clearable .clear-value{position:absolute;right:8px;top:8px;cursor:pointer;z-index:1;height:20px}.textarea-input.clearable .clear-value *{fill:var(--color-icon-secondary-default)}
1
+ @font-face{font-family:Roboto Slab;src:url(../assets/fonts/RobotoSlab-SemiBold.ttf) format("truetype");font-weight:600}@font-face{font-family:Manrope;src:url(../assets/fonts/Manrope-Regular.ttf) format("truetype");font-weight:400}@font-face{font-family:Manrope;src:url(../assets/fonts/Manrope-Semibold.ttf) format("truetype");font-weight:600}@font-face{font-family:Manrope;src:url(../assets/fonts/Manrope-Bold.ttf) format("truetype");font-weight:700}@font-face{font-family:Fira Code;src:url(../assets/fonts/FiraCode-Regular.ttf) format("truetype");font-weight:400}*{font-family:Manrope,sans-serif;font-size:14px;line-height:1.2em;letter-spacing:.02em;font-weight:400;color:var(--color-text-primary-default)}h1,h2,h3,h4,h5,h6{margin:0}a{color:var(--color-text-brand-default);text-decoration:none}a:hover{color:var(--color-text-brand-hover)}a[href=""]{opacity:40%;cursor:default;pointer-events:none}p:not(:last-child){margin:0 0 8px}.textarea-input{display:flex;flex-direction:column;resize:none}.textarea-input.inline{flex-direction:row;justify-content:space-between}.textarea-input.inline>div{flex-grow:1}.textarea-input.inline label{padding:12px 0 0;margin:0 16px 0 0}.textarea-input label{margin:0 0 8px}.textarea-input .char-limit{text-align:right;margin-top:8px;font-size:12px;font-weight:400;color:var(--color-text-secondary-default)}.textarea-input .textarea-wrapper{position:relative}.textarea-input textarea{border:1px solid var(--color-border-primary-default);border-radius:8px;padding:10.5px 8px;color:var(--color-text-primary-default);max-width:100%;min-width:100%;min-height:64px;resize:both;background-color:var(--color-bg-neutral-basic-default);font-size:14px;font-weight:400}.textarea-input textarea[disabled]{background-color:var(--color-bg-island-disabled);pointer-events:none}.textarea-input textarea::placeholder{color:var(--color-text-secondary-default)}.textarea-input textarea:focus{border:2px solid var(--color-border-primary-default);padding:9.5px 7px}.textarea-input textarea.no-resize{resize:none}.textarea-input .helper-text{font-size:12px;color:var(--color-text-secondary-default);margin:8px 0 0}.textarea-input.invalid textarea{border-color:var(--color-border-error-default);color:var(--color-border-error-default)}.textarea-input.invalid svg *{fill:var(--color-border-error-default)}.textarea-input.invalid .helper-text{color:var(--color-border-error-default)}.textarea-input.clearable textarea{padding-right:36px!important}.textarea-input.clearable .clear-value{position:absolute;right:8px;top:8px;cursor:pointer;z-index:1;height:20px}.textarea-input.clearable .clear-value *{fill:var(--color-icon-secondary-default)}
@@ -1 +1 @@
1
- ._container_193w2_1{position:relative;width:100%;height:100vh;padding:20px;display:flex;flex-wrap:wrap;justify-content:space-between;align-content:space-between;border:1px dashed #ccc;box-sizing:border-box}._trigger_193w2_14{padding:8px 16px;background-color:#1976d2;color:#fff;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .2s;text-align:center}._trigger_193w2_14:hover{background-color:#1565c0}._clickTrigger_193w2_29{background-color:#388e3c}._clickTrigger_193w2_29:hover{background-color:#2e7d32}._positionsContainer_193w2_38{padding:20px}._positionGroup_193w2_42{display:flex;gap:20px;margin-bottom:30px;justify-content:center;flex-wrap:wrap}
1
+ ._container_x4z3a_1{position:relative;width:100%;height:100vh;padding:20px;display:flex;flex-wrap:wrap;justify-content:space-between;align-content:space-between;border:1px dashed #ccc;box-sizing:border-box}._trigger_x4z3a_27{padding:8px 16px;background-color:#1976d2;color:#fff;border-radius:4px;font-size:14px;cursor:pointer;transition:background-color .2s;text-align:center}._trigger_x4z3a_27:hover{background-color:#1565c0}._clickTrigger_x4z3a_57{background-color:#388e3c}._clickTrigger_x4z3a_57:hover{background-color:#2e7d32}._positionsContainer_x4z3a_75{padding:20px}._positionGroup_x4z3a_83{display:flex;gap:20px;margin-bottom:30px;justify-content:center;flex-wrap:wrap}
@@ -1,32 +1,41 @@
1
- import { jsxs as f, jsx as n } from "react/jsx-runtime";
2
- import { forwardRef as h, useState as k, useEffect as N } from "react";
1
+ import { jsxs as h, jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as k, useState as N, useEffect as y } from "react";
3
3
  import '../../../assets/src/components/Ui/ButtonsArray/ButtonsArray.css';/* empty css */
4
- const y = h(
5
- ({ tabs: s, label: a, onChange: o, activeKey: e, isDisabled: i, errorMessage: u, hasError: c }, d) => {
6
- const [m, r] = k(e ?? s[0].key);
7
- N(() => {
8
- e != null ? r(e) : r(s[0].key);
9
- }, [e]);
10
- const p = (t, l) => {
11
- t.stopPropagation(), t.preventDefault(), r(l), o && o(l);
4
+ const v = k(
5
+ ({ tabs: s, label: i, onChange: a, activeKey: t, labelInline: c, isDisabled: o, errorMessage: u, hasError: d }, m) => {
6
+ const [p, r] = N(t ?? s[0].key);
7
+ y(() => {
8
+ t != null ? r(t) : r(s[0].key);
9
+ }, [t]);
10
+ const f = (e, l) => {
11
+ e.stopPropagation(), e.preventDefault(), r(l), a && a(l);
12
12
  };
13
- return s.length === 0 ? null : /* @__PURE__ */ f("div", { className: `buttons ${c && "invalid"}`, ref: d, children: [
14
- a && /* @__PURE__ */ n("span", { className: "buttons-label", children: a }),
15
- /* @__PURE__ */ n("div", { className: "buttons-bar", children: s.map((t) => /* @__PURE__ */ n(
16
- "button",
17
- {
18
- disabled: i || t.disabled,
19
- onClick: (l) => p(l, t.key),
20
- className: `button ${t.key === m ? "active" : ""} status-${t.status}`,
21
- children: t.label
22
- },
23
- t.key
24
- )) }),
25
- u && /* @__PURE__ */ n("span", { className: "helper-text", children: u })
26
- ] });
13
+ return s.length === 0 ? null : /* @__PURE__ */ h(
14
+ "div",
15
+ {
16
+ className: `buttons
17
+ ${c && "inline"}
18
+ ${d && "invalid"}`,
19
+ ref: m,
20
+ children: [
21
+ i && /* @__PURE__ */ n("span", { className: "buttons-label", children: i }),
22
+ /* @__PURE__ */ n("div", { className: "buttons-bar", children: s.map((e) => /* @__PURE__ */ n(
23
+ "button",
24
+ {
25
+ disabled: o || e.disabled,
26
+ onClick: (l) => f(l, e.key),
27
+ className: `button ${e.key === p ? "active" : ""} status-${e.status}`,
28
+ children: e.label
29
+ },
30
+ e.key
31
+ )) }),
32
+ u && /* @__PURE__ */ n("span", { className: "helper-text", children: u })
33
+ ]
34
+ }
35
+ );
27
36
  }
28
37
  );
29
- y.displayName = "ButtonsArray";
38
+ v.displayName = "ButtonsArray";
30
39
  export {
31
- y as ButtonsArray
40
+ v as ButtonsArray
32
41
  };
@@ -16,7 +16,8 @@ const a = {
16
16
  { label: "Active", key: "active" },
17
17
  { label: "Completed", key: "completed" }
18
18
  ],
19
- label: "Filter tasks:"
19
+ label: "Filter tasks:",
20
+ labelInline: !0
20
21
  }
21
22
  }, s = {
22
23
  args: {
@@ -1,107 +1,114 @@
1
- import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
- import { useState as h, useRef as P, useEffect as v } from "react";
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { useState as v, useRef as I, useEffect as g } from "react";
3
3
  import { createPortal as B } from "react-dom";
4
4
  import '../../../assets/src/components/Ui/DropdownInput/DropdownInput.css';/* empty css */
5
- import { IconCaretUpDown as H, IconWarningCircle as L } from "../Icons/Icons.js";
6
- import { getPortalContainer as _, releasePortal as j } from "../../../shared/utils/fn/portals.js";
7
- const $ = "dropdown-input-global-portal", y = ({
8
- label: w,
9
- options: c,
10
- value: d,
11
- onChange: g,
5
+ import { IconCaretUpDown as D, IconWarningCircle as H } from "../Icons/Icons.js";
6
+ import { getPortalContainer as L, releasePortal as j } from "../../../shared/utils/fn/portals.js";
7
+ const P = "dropdown-input-global-portal", q = ({
8
+ label: b,
9
+ options: d,
10
+ value: p,
11
+ onChange: x,
12
12
  name: k = "DropdownInput",
13
- placeholder: p,
14
- errorMessage: u = !1,
15
- isDisabled: b = !1,
16
- className: O = ""
13
+ placeholder: u,
14
+ labelInline: O = !1,
15
+ errorMessage: m = !1,
16
+ isDisabled: f = !1,
17
+ className: _ = ""
17
18
  }) => {
18
- var I;
19
- const [m, f] = h(!1), [i, N] = h(d || ""), [x, R] = h(!1), o = P(null), r = P(null);
20
- v(() => (r.current = _($), () => j($)), []), v(() => {
21
- const e = (t) => {
22
- o.current && !o.current.contains(t.target) && r.current && !r.current.contains(t.target) && f(!1);
19
+ var R;
20
+ const [h, w] = v(!1), [a, N] = v(p || ""), [C, y] = v(!1), o = I(null), c = I(null);
21
+ g(() => (c.current = L(P), () => j(P)), []), g(() => {
22
+ const e = (n) => {
23
+ o.current && !o.current.contains(n.target) && c.current && !c.current.contains(n.target) && w(!1);
23
24
  };
24
25
  return document.addEventListener("click", e), () => {
25
26
  document.removeEventListener("click", e);
26
27
  };
27
- }, []), v(() => {
28
- N(d || "");
29
- }, [d]);
30
- const C = (e) => {
31
- N(e), f(!1), g && g(e);
32
- }, D = (e) => {
33
- var t;
34
- if (e.stopPropagation(), !m) {
35
- const l = (t = o.current) == null ? void 0 : t.getBoundingClientRect(), a = window.innerHeight - ((l == null ? void 0 : l.bottom) || 0);
36
- R(a < 304);
28
+ }, []), g(() => {
29
+ N(p || "");
30
+ }, [p]);
31
+ const $ = (e) => {
32
+ N(e), w(!1), x && x(e);
33
+ }, E = (e) => {
34
+ var n, l;
35
+ if (e.stopPropagation(), !f) {
36
+ if (!h) {
37
+ const r = (n = o.current) == null ? void 0 : n.querySelector(".input-box"), s = (r == null ? void 0 : r.getBoundingClientRect()) || ((l = o.current) == null ? void 0 : l.getBoundingClientRect());
38
+ if (s) {
39
+ const A = window.innerHeight - s.bottom;
40
+ y(A < 304);
41
+ }
42
+ }
43
+ w((r) => !r);
37
44
  }
38
- f((l) => !l);
39
- }, E = () => {
40
- var l;
41
- if (!m || !r.current || !o.current) return null;
42
- const e = (l = o.current) == null ? void 0 : l.getBoundingClientRect(), t = {
45
+ }, S = () => {
46
+ if (!h || !c.current || !o.current) return null;
47
+ const e = o.current.querySelector(".input-box"), n = (e == null ? void 0 : e.getBoundingClientRect()) || o.current.getBoundingClientRect(), l = {
43
48
  position: "fixed",
44
- width: e == null ? void 0 : e.width,
45
- left: e == null ? void 0 : e.left,
49
+ width: `${n.width}px`,
50
+ left: `${n.left}px`,
46
51
  maxHeight: "304px",
47
- zIndex: 9999
52
+ zIndex: 9999,
53
+ minWidth: `${n.width}px`,
54
+ // Защита от сжатия
55
+ overflowY: "auto"
48
56
  };
49
- return x ? t.bottom = `${window.innerHeight - ((e == null ? void 0 : e.top) || 0)}px` : t.top = `${e == null ? void 0 : e.bottom}px`, B(
50
- /* @__PURE__ */ n("div", { className: "dropdown-portal", style: t, children: /* @__PURE__ */ n("ul", { className: `options ${x ? "above" : ""}`, children: c.map((a) => /* @__PURE__ */ n(
57
+ return C ? l.bottom = `${window.innerHeight - n.top}px` : l.top = `${n.bottom}px`, B(
58
+ /* @__PURE__ */ t("div", { className: "dropdown-portal", style: l, children: /* @__PURE__ */ t("ul", { className: `options ${C ? "above" : ""}`, children: d.map((r) => /* @__PURE__ */ t(
51
59
  "li",
52
60
  {
53
- onClick: (A) => {
54
- A.stopPropagation(), C(a.value);
61
+ onClick: (s) => {
62
+ s.stopPropagation(), $(r.value);
55
63
  },
56
- className: i === a.value ? "selected" : "",
57
- children: a.label
64
+ className: a === r.value ? "selected" : "",
65
+ children: r.label
58
66
  },
59
- a.value
67
+ r.value
60
68
  )) }) }),
61
- r.current
69
+ c.current
62
70
  );
63
71
  };
64
- return /* @__PURE__ */ s("div", { className: `dropdown-input ${O}`, ref: o, children: [
65
- /* @__PURE__ */ s(
72
+ return /* @__PURE__ */ i("div", { className: `dropdown-input ${_} ${O ? "inline" : ""}`, ref: o, children: [
73
+ /* @__PURE__ */ i(
66
74
  "select",
67
75
  {
68
76
  name: k,
69
- value: i,
70
- onChange: (e) => C(e.target.value),
77
+ value: a,
78
+ onChange: (e) => $(e.target.value),
71
79
  className: "dropdown-input__native",
72
- disabled: b,
80
+ disabled: f,
73
81
  children: [
74
- /* @__PURE__ */ n("option", { value: "", disabled: !0, children: p }),
75
- c.map((e) => /* @__PURE__ */ n("option", { value: e.value, children: e.label }, e.value))
82
+ /* @__PURE__ */ t("option", { value: "", disabled: !0, children: u }),
83
+ d.map((e) => /* @__PURE__ */ t("option", { value: e.value, children: e.label }, e.value))
76
84
  ]
77
85
  }
78
86
  ),
79
- w && /* @__PURE__ */ n("label", { children: w }),
80
- /* @__PURE__ */ s(
81
- "div",
82
- {
83
- className: `input-box
84
- ${m ? "opened" : ""}
85
- ${b ? "disabled" : ""}
86
- ${u ? "invalid" : ""}`,
87
- onClick: D,
88
- children: [
89
- /* @__PURE__ */ n("span", { className: "input-value", children: i === void 0 ? (
90
- // Если значение не передано
91
- /* @__PURE__ */ n("span", { className: "placeholder", children: p })
92
- ) : ((I = c.find((e) => e.value === i)) == null ? void 0 : I.label) || /* @__PURE__ */ n("span", { className: "placeholder", children: p }) }),
93
- /* @__PURE__ */ n(H, { className: "caret" })
94
- ]
95
- }
96
- ),
97
- u && /* @__PURE__ */ s("span", { className: "helper-text error", children: [
98
- /* @__PURE__ */ n(L, { className: "icon", size: 12 }),
99
- u
100
- ] }),
101
- E()
87
+ b && /* @__PURE__ */ t("label", { children: b }),
88
+ /* @__PURE__ */ i("div", { className: "dropdown-input__container", children: [
89
+ /* @__PURE__ */ i(
90
+ "div",
91
+ {
92
+ className: `input-box
93
+ ${h ? "opened" : ""}
94
+ ${f ? "disabled" : ""}
95
+ ${m ? "invalid" : ""}`,
96
+ onClick: E,
97
+ children: [
98
+ /* @__PURE__ */ t("span", { className: "input-value", children: a === "" ? /* @__PURE__ */ t("span", { className: "placeholder", children: u }) : ((R = d.find((e) => e.value === a)) == null ? void 0 : R.label) || /* @__PURE__ */ t("span", { className: "placeholder", children: u }) }),
99
+ /* @__PURE__ */ t(D, { className: "caret" })
100
+ ]
101
+ }
102
+ ),
103
+ m && /* @__PURE__ */ i("span", { className: "helper-text error", children: [
104
+ /* @__PURE__ */ t(H, { className: "icon", size: 12 }),
105
+ m
106
+ ] }),
107
+ S()
108
+ ] })
102
109
  ] });
103
110
  };
104
- y.displayName = "DropdownInput";
111
+ q.displayName = "DropdownInput";
105
112
  export {
106
- y as DropdownInput
113
+ q as DropdownInput
107
114
  };
@@ -4,7 +4,7 @@ import { DropdownInput as a } from "./DropdownInput.js";
4
4
  const h = {
5
5
  title: "UIKit/DropdownInput",
6
6
  component: a,
7
- parameters: { layout: "centered" },
7
+ // parameters: { layout: "centered" },
8
8
  argTypes: {
9
9
  label: { control: "text" },
10
10
  name: { control: "text" },
@@ -30,8 +30,8 @@ d.args = {
30
30
  ],
31
31
  placeholder: "Выберите..."
32
32
  };
33
- const c = e.bind({});
34
- c.args = {
33
+ const b = e.bind({});
34
+ b.args = {
35
35
  label: "Выберите опцию",
36
36
  name: "dropdown",
37
37
  options: [
@@ -43,8 +43,8 @@ c.args = {
43
43
  value: "2"
44
44
  // Предустановленное значение
45
45
  };
46
- const u = e.bind({});
47
- u.args = {
46
+ const c = e.bind({});
47
+ c.args = {
48
48
  label: "Выберите опцию",
49
49
  name: "dropdown",
50
50
  options: [
@@ -56,8 +56,8 @@ u.args = {
56
56
  isDisabled: !0
57
57
  // Отключаем селект
58
58
  };
59
- const b = e.bind({});
60
- b.args = {
59
+ const u = e.bind({});
60
+ u.args = {
61
61
  label: "Выберите опцию",
62
62
  name: "dropdown",
63
63
  options: [
@@ -70,8 +70,8 @@ b.args = {
70
70
  };
71
71
  export {
72
72
  d as Default,
73
- u as Disabled,
74
- b as WithErrorMessage,
75
- c as WithSelectedValue,
73
+ c as Disabled,
74
+ u as WithErrorMessage,
75
+ b as WithSelectedValue,
76
76
  h as default
77
77
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
- import f from "react";
2
+ import y from "react";
3
3
  import m from "../../../../_virtual/index.js";
4
- const $ = f.memo(
4
+ const g = y.memo(
5
5
  ({
6
6
  record: _,
7
7
  columns: r,
@@ -9,8 +9,7 @@ const $ = f.memo(
9
9
  rowClassName: a,
10
10
  stickyLeft: b,
11
11
  bordered: i,
12
- id: o,
13
- index: y
12
+ id: o
14
13
  }) => {
15
14
  const p = o || (typeof e == "function" ? e(_) : String(_[e]));
16
15
  return /* @__PURE__ */ d(
@@ -26,12 +25,7 @@ const $ = f.memo(
26
25
  "table-component__wrapper__table__tbody__td--sticky-left": b && n === 0
27
26
  }),
28
27
  align: t.align,
29
- children: t.render ? t.render(
30
- _[t.dataIndex],
31
- _,
32
- y,
33
- `${t.key}-${n}`
34
- ) : String(_[t.dataIndex] ?? "")
28
+ children: t.render ? t.render(_[t.dataIndex], _, `${t.key}-${n}`) : String(_[t.dataIndex] ?? "")
35
29
  },
36
30
  `${t.key}-${n}`
37
31
  ))
@@ -41,5 +35,5 @@ const $ = f.memo(
41
35
  }
42
36
  );
43
37
  export {
44
- $ as MemoizedRow
38
+ g as MemoizedRow
45
39
  };