@gravity-ui/aikit 1.6.0 → 1.8.0
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 +0 -2
- package/dist/adapters/openai/helpers/mapOpenAIConversationsToChats.d.ts +3 -0
- package/dist/adapters/openai/helpers/mapOpenAIConversationsToChats.js +22 -0
- package/dist/adapters/openai/index.d.ts +5 -2
- package/dist/adapters/openai/index.js +2 -0
- package/dist/adapters/openai/types/index.d.ts +4 -1
- package/dist/adapters/openai/types/openAiTypes.d.ts +6 -0
- package/dist/adapters/openai/useOpenAIConversationsAdapter.d.ts +9 -0
- package/dist/adapters/openai/useOpenAIConversationsAdapter.js +15 -0
- package/dist/adapters/openai/useOpenAIResponsesAdapter.d.ts +1 -1
- package/dist/adapters/openai/useOpenAIResponsesAdapter.js +3 -3
- package/dist/components/atoms/Alert/Alert.css +28 -0
- package/dist/components/atoms/ChatDate/ChatDate.css +9 -0
- package/dist/components/atoms/ContextIndicator/ContextIndicator.css +66 -0
- package/dist/components/atoms/DiffStat/DiffStat.css +23 -0
- package/dist/components/atoms/Disclaimer/Disclaimer.css +7 -0
- package/dist/components/atoms/IntersectionContainer/IntersectionContainer.css +3 -0
- package/dist/components/atoms/Loader/Loader.css +48 -0
- package/dist/components/atoms/MarkdownRenderer/MarkdownRenderer.css +5 -0
- package/dist/components/atoms/MessageBalloon/MessageBalloon.css +7 -0
- package/dist/components/atoms/Shimmer/Shimmer.css +18 -0
- package/dist/components/atoms/SubmitButton/SubmitButton.css +20 -0
- package/dist/components/atoms/ToolIndicator/ToolIndicator.css +9 -0
- package/dist/components/molecules/BaseMessage/BaseMessage.css +26 -0
- package/dist/components/molecules/ButtonGroup/ButtonGroup.css +13 -0
- package/dist/components/molecules/PromptInputBody/PromptInputBody.css +15 -0
- package/dist/components/molecules/PromptInputFooter/PromptInputFooter.css +18 -0
- package/dist/components/molecules/PromptInputHeader/PromptInputHeader.css +21 -0
- package/dist/components/molecules/PromptInputPanel/PromptInputPanel.css +7 -0
- package/dist/components/molecules/Suggestions/Suggestions.css +71 -0
- package/dist/components/molecules/Tabs/Tabs.css +35 -0
- package/dist/components/molecules/ToolFooter/ToolFooter.css +10 -0
- package/dist/components/molecules/ToolHeader/ToolHeader.css +18 -0
- package/dist/components/molecules/ToolStatus/ToolStatus.css +1 -0
- package/dist/components/organisms/AssistantMessage/AssistantMessage.css +6 -0
- package/dist/components/organisms/Header/Header.css +40 -0
- package/dist/components/organisms/MessageList/MessageList.css +26 -0
- package/dist/components/organisms/PromptInput/PromptInput.css +50 -0
- package/dist/components/organisms/ThinkingMessage/ThinkingMessage.css +20 -0
- package/dist/components/organisms/ToolMessage/ToolMessage.css +13 -0
- package/dist/components/organisms/UserMessage/UserMessage.css +10 -0
- package/dist/components/pages/ChatContainer/ChatContainer.css +49 -0
- package/dist/components/templates/ChatContent/ChatContent.css +23 -0
- package/dist/components/templates/EmptyContainer/EmptyContainer.css +64 -0
- package/dist/components/templates/History/History.css +81 -0
- package/dist/demo/ContentWrapper/ContentWrapper.css +6 -0
- package/dist/demo/DocsDecorator/DocsDecorator.css +87 -0
- package/dist/demo/Showcase/Showcase.css +34 -0
- package/dist/demo/ShowcaseItem/ShowcaseItem.css +7 -0
- package/dist/demo/SwapArea/SwapArea.css +11 -0
- package/dist/styles/variables.css +1 -0
- package/package.json +5 -5
- package/dist/components/atoms/Alert/Alert.scss +0 -39
- package/dist/components/atoms/ChatDate/ChatDate.scss +0 -15
- package/dist/components/atoms/ContextIndicator/ContextIndicator.scss +0 -93
- package/dist/components/atoms/DiffStat/DiffStat.scss +0 -36
- package/dist/components/atoms/Disclaimer/Disclaimer.scss +0 -13
- package/dist/components/atoms/IntersectionContainer/IntersectionContainer.scss +0 -7
- package/dist/components/atoms/Loader/Loader.scss +0 -72
- package/dist/components/atoms/MarkdownRenderer/MarkdownRenderer.scss +0 -10
- package/dist/components/atoms/MessageBalloon/MessageBalloon.scss +0 -11
- package/dist/components/atoms/Shimmer/Shimmer.scss +0 -32
- package/dist/components/atoms/SubmitButton/SubmitButton.scss +0 -29
- package/dist/components/atoms/ToolIndicator/ToolIndicator.scss +0 -15
- package/dist/components/molecules/BaseMessage/BaseMessage.scss +0 -41
- package/dist/components/molecules/ButtonGroup/ButtonGroup.scss +0 -19
- package/dist/components/molecules/PromptInputBody/PromptInputBody.scss +0 -22
- package/dist/components/molecules/PromptInputFooter/PromptInputFooter.scss +0 -25
- package/dist/components/molecules/PromptInputHeader/PromptInputHeader.scss +0 -27
- package/dist/components/molecules/PromptInputPanel/PromptInputPanel.scss +0 -11
- package/dist/components/molecules/Suggestions/Suggestions.scss +0 -90
- package/dist/components/molecules/Tabs/Tabs.scss +0 -46
- package/dist/components/molecules/ToolFooter/ToolFooter.scss +0 -15
- package/dist/components/molecules/ToolHeader/ToolHeader.scss +0 -24
- package/dist/components/molecules/ToolStatus/ToolStatus.scss +0 -6
- package/dist/components/organisms/AssistantMessage/AssistantMessage.scss +0 -10
- package/dist/components/organisms/Header/Header.scss +0 -51
- package/dist/components/organisms/MessageList/MessageList.scss +0 -35
- package/dist/components/organisms/PromptInput/PromptInput.scss +0 -77
- package/dist/components/organisms/ThinkingMessage/ThinkingMessage.scss +0 -27
- package/dist/components/organisms/ToolMessage/ToolMessage.scss +0 -19
- package/dist/components/organisms/UserMessage/UserMessage.scss +0 -14
- package/dist/components/pages/ChatContainer/ChatContainer.scss +0 -60
- package/dist/components/templates/ChatContent/ChatContent.scss +0 -30
- package/dist/components/templates/EmptyContainer/EmptyContainer.scss +0 -86
- package/dist/components/templates/History/History.scss +0 -103
- package/dist/styles/_functions.scss +0 -5
- package/dist/styles/variables.scss +0 -1
- /package/dist/styles/{styles.scss → styles.css} +0 -0
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}context-indicator';
|
|
4
|
-
|
|
5
|
-
@mixin progress-color($opacity: 1) {
|
|
6
|
-
content: '';
|
|
7
|
-
position: absolute;
|
|
8
|
-
inset: 0;
|
|
9
|
-
border-radius: 50%;
|
|
10
|
-
opacity: $opacity;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
#{$block} {
|
|
14
|
-
&__container {
|
|
15
|
-
$container: &;
|
|
16
|
-
display: inline-flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
gap: 8px;
|
|
20
|
-
|
|
21
|
-
&_orientation {
|
|
22
|
-
&_horizontal {
|
|
23
|
-
flex-direction: row;
|
|
24
|
-
|
|
25
|
-
&#{$container}_reversed {
|
|
26
|
-
flex-direction: row-reverse;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&_vertical {
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
|
|
33
|
-
&#{$container}_reversed {
|
|
34
|
-
flex-direction: column-reverse;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&__progress {
|
|
41
|
-
--percentage: 0;
|
|
42
|
-
--progress-color: var(--g-aikit-ci-color-progress-1);
|
|
43
|
-
|
|
44
|
-
display: inline-flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
justify-content: center;
|
|
47
|
-
width: 16px;
|
|
48
|
-
height: 16px;
|
|
49
|
-
border-radius: 50%;
|
|
50
|
-
position: relative;
|
|
51
|
-
|
|
52
|
-
&::before {
|
|
53
|
-
@include progress-color(0.3);
|
|
54
|
-
|
|
55
|
-
background: var(--progress-color);
|
|
56
|
-
opacity: 0.3;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&::after {
|
|
60
|
-
@include progress-color(1);
|
|
61
|
-
|
|
62
|
-
background: conic-gradient(
|
|
63
|
-
var(--progress-color) 0deg,
|
|
64
|
-
var(--progress-color) calc(3.6deg * var(--percentage)),
|
|
65
|
-
transparent calc(3.6deg * var(--percentage)),
|
|
66
|
-
transparent 360deg
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&__inner {
|
|
72
|
-
box-sizing: border-box;
|
|
73
|
-
width: calc(100% - 4px);
|
|
74
|
-
height: calc(100% - 4px);
|
|
75
|
-
border-radius: 50%;
|
|
76
|
-
background: var(--g-aikit-color-bg-primary);
|
|
77
|
-
position: relative;
|
|
78
|
-
z-index: 1;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&__value {
|
|
82
|
-
color: var(--g-color-text-primary);
|
|
83
|
-
font-family: var(--g-text-body-font-family);
|
|
84
|
-
font-size: var(--g-text-body-1-font-size);
|
|
85
|
-
font-style: normal;
|
|
86
|
-
font-weight: var(--g-text-body-font-weight);
|
|
87
|
-
line-height: var(--g-text-body-1-line-height);
|
|
88
|
-
|
|
89
|
-
&::after {
|
|
90
|
-
content: '%';
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}diff-stat';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
gap: 4px;
|
|
9
|
-
|
|
10
|
-
color: var(--g-color-text-danger);
|
|
11
|
-
font-family: var(--g-text-code-font-family);
|
|
12
|
-
font-size: var(--g-text-code-inline-1);
|
|
13
|
-
font-style: normal;
|
|
14
|
-
font-weight: var(--g-text-code-font-weight);
|
|
15
|
-
line-height: var(--g-text-code-inline-1-line-height);
|
|
16
|
-
|
|
17
|
-
&__added {
|
|
18
|
-
color: var(--g-color-text-positive-heavy);
|
|
19
|
-
|
|
20
|
-
&_allow_sign {
|
|
21
|
-
&::before {
|
|
22
|
-
content: '+';
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&__deleted {
|
|
28
|
-
color: var(--g-color-text-danger);
|
|
29
|
-
|
|
30
|
-
&_allow_sign {
|
|
31
|
-
&::before {
|
|
32
|
-
content: '-';
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}loader';
|
|
4
|
-
|
|
5
|
-
$pulse-duration: 800ms;
|
|
6
|
-
$pulse-delay: $pulse-duration * 0.25;
|
|
7
|
-
$animation: pulse ease $pulse-duration infinite;
|
|
8
|
-
|
|
9
|
-
@keyframes pulse {
|
|
10
|
-
100% {
|
|
11
|
-
opacity: 0;
|
|
12
|
-
}
|
|
13
|
-
50% {
|
|
14
|
-
opacity: 70%;
|
|
15
|
-
}
|
|
16
|
-
0% {
|
|
17
|
-
opacity: 40%;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
#{$block} {
|
|
22
|
-
display: inline-flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
gap: var(--g-spacing-1);
|
|
25
|
-
|
|
26
|
-
&__left,
|
|
27
|
-
&__center,
|
|
28
|
-
&__right {
|
|
29
|
-
background: var(--g-color-text-secondary);
|
|
30
|
-
border-radius: 50%;
|
|
31
|
-
animation: $animation;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&_size_xs {
|
|
35
|
-
#{$block}__left,
|
|
36
|
-
#{$block}__center,
|
|
37
|
-
#{$block}__right {
|
|
38
|
-
width: 3px;
|
|
39
|
-
height: 3px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&_size_s {
|
|
44
|
-
#{$block}__left,
|
|
45
|
-
#{$block}__center,
|
|
46
|
-
#{$block}__right {
|
|
47
|
-
width: 5px;
|
|
48
|
-
height: 5px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&_size_m {
|
|
53
|
-
#{$block}__left,
|
|
54
|
-
#{$block}__center,
|
|
55
|
-
#{$block}__right {
|
|
56
|
-
width: 8px;
|
|
57
|
-
height: 8px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&__left {
|
|
62
|
-
animation-delay: $pulse-delay;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&__center {
|
|
66
|
-
animation-delay: 2 * $pulse-delay;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&__right {
|
|
70
|
-
animation-delay: 3 * $pulse-delay;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}message-balloon';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: inline-block;
|
|
7
|
-
background-color: var(--g-color-base-info-light);
|
|
8
|
-
padding: var(--g-spacing-2) var(--g-spacing-3);
|
|
9
|
-
border-radius: var(--g-spacing-3) 0 var(--g-spacing-3) var(--g-spacing-3);
|
|
10
|
-
max-width: 100%;
|
|
11
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}shimmer';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
&__container {
|
|
7
|
-
position: relative;
|
|
8
|
-
display: inline-block;
|
|
9
|
-
|
|
10
|
-
color: var(--g-aikit-text-primary, inherit);
|
|
11
|
-
mask-image: linear-gradient(
|
|
12
|
-
90deg,
|
|
13
|
-
var(--g-aikit-shimmer-color-from) 0%,
|
|
14
|
-
var(--g-aikit-shimmer-color-from) 40%,
|
|
15
|
-
var(--g-aikit-shimmer-color-to) 50%,
|
|
16
|
-
var(--g-aikit-shimmer-color-from) 60%,
|
|
17
|
-
var(--g-aikit-shimmer-color-from) 100%
|
|
18
|
-
);
|
|
19
|
-
mask-size: var(--g-aikit-shimmer-gradient-size) 100%;
|
|
20
|
-
mask-clip: text;
|
|
21
|
-
animation: shimmer var(--g-aikit-shimmer-duration) infinite linear;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@keyframes shimmer {
|
|
26
|
-
0% {
|
|
27
|
-
mask-position: 200% 50%;
|
|
28
|
-
}
|
|
29
|
-
100% {
|
|
30
|
-
mask-position: 0% 50%;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}submit-button';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
align-items: center;
|
|
9
|
-
|
|
10
|
-
&_size_s#{&}_loading {
|
|
11
|
-
padding: 4px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&_size_m#{&}_loading {
|
|
15
|
-
padding: 6px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&_size_l#{&}_loading {
|
|
19
|
-
padding: 10px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&__loader {
|
|
23
|
-
display: flex;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__spinner {
|
|
27
|
-
--g-color-line-brand: var(--g-color-text-brand-contrast);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}tool-indicator';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
&__success {
|
|
7
|
-
color: var(--g-color-text-positive);
|
|
8
|
-
}
|
|
9
|
-
&__error {
|
|
10
|
-
color: var(--g-color-text-danger);
|
|
11
|
-
}
|
|
12
|
-
&__info {
|
|
13
|
-
color: var(--g-color-text-secondary);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}base-message';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
gap: var(--g-spacing-1);
|
|
9
|
-
|
|
10
|
-
&_variant_user {
|
|
11
|
-
align-items: flex-end;
|
|
12
|
-
max-width: 90%;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&_variant_system,
|
|
16
|
-
&_variant_assistant {
|
|
17
|
-
align-items: flex-start;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&_btn-hover {
|
|
21
|
-
#{$block}__actions {
|
|
22
|
-
visibility: hidden;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:hover {
|
|
26
|
-
#{$block}__actions {
|
|
27
|
-
visibility: visible;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__actions {
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
gap: var(--g-spacing-3);
|
|
36
|
-
|
|
37
|
-
&_reverse {
|
|
38
|
-
flex-direction: row-reverse;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}button-group';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-wrap: wrap;
|
|
8
|
-
gap: var(--g-spacing-1);
|
|
9
|
-
|
|
10
|
-
&_or_vertical {
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&_or_horizontal {
|
|
16
|
-
flex-direction: row;
|
|
17
|
-
align-items: center;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables.scss';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}prompt-input-body';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
flex: 1;
|
|
9
|
-
align-self: stretch;
|
|
10
|
-
|
|
11
|
-
&__textarea {
|
|
12
|
-
width: 100%;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&__textarea-control {
|
|
16
|
-
resize: none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.g-text-area_disabled {
|
|
20
|
-
--_--background-color: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables.scss';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}prompt-input-footer';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: flex-end;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
align-self: stretch;
|
|
10
|
-
gap: var(--g-spacing-1);
|
|
11
|
-
|
|
12
|
-
&__action-button {
|
|
13
|
-
color: var(--g-color-text-secondary);
|
|
14
|
-
|
|
15
|
-
&:hover {
|
|
16
|
-
color: var(--g-color-text-primary);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&__content {
|
|
21
|
-
display: flex;
|
|
22
|
-
align-items: center;
|
|
23
|
-
flex: 1;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables.scss';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}prompt-input-header';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
gap: var(--g-spacing-2);
|
|
10
|
-
align-self: stretch;
|
|
11
|
-
|
|
12
|
-
&__context-items {
|
|
13
|
-
display: flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
gap: var(--g-spacing-1);
|
|
16
|
-
flex-wrap: wrap;
|
|
17
|
-
flex: 1;
|
|
18
|
-
min-width: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&__context-indicator {
|
|
22
|
-
display: flex;
|
|
23
|
-
align-items: center;
|
|
24
|
-
flex-shrink: 0;
|
|
25
|
-
margin-left: auto;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
@use '../../../styles/functions' as *;
|
|
3
|
-
|
|
4
|
-
$block: '.#{variables.$ns}suggestions';
|
|
5
|
-
|
|
6
|
-
#{$block} {
|
|
7
|
-
&__container {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-direction: column;
|
|
10
|
-
gap: var(--g-spacing-2);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&__title {
|
|
14
|
-
padding-bottom: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: flex-start;
|
|
19
|
-
align-content: flex-start;
|
|
20
|
-
gap: var(--g-spacing-2) var(--g-spacing-2);
|
|
21
|
-
align-self: stretch;
|
|
22
|
-
flex-wrap: wrap;
|
|
23
|
-
|
|
24
|
-
&_layout_grid {
|
|
25
|
-
flex-direction: row;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&_layout_list {
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&_layout_list &__button {
|
|
33
|
-
width: 100%;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&__button {
|
|
37
|
-
padding: spacing(2) spacing(4);
|
|
38
|
-
height: 100%;
|
|
39
|
-
box-shadow: none;
|
|
40
|
-
|
|
41
|
-
.g-button__text {
|
|
42
|
-
width: 100%;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&__button-content {
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: row;
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: space-between;
|
|
51
|
-
flex: 1;
|
|
52
|
-
gap: spacing(1);
|
|
53
|
-
min-width: 0;
|
|
54
|
-
|
|
55
|
-
&_text-align_left {
|
|
56
|
-
justify-content: flex-start;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&_text-align_center {
|
|
60
|
-
justify-content: center;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&_text-align_right {
|
|
64
|
-
justify-content: flex-end;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&__button-text {
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
text-overflow: ellipsis;
|
|
71
|
-
white-space: nowrap;
|
|
72
|
-
min-width: 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&__button-text-wrap {
|
|
76
|
-
word-break: break-word;
|
|
77
|
-
white-space: normal;
|
|
78
|
-
min-width: 0;
|
|
79
|
-
text-align: left;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&__button-icon {
|
|
83
|
-
width: 16px;
|
|
84
|
-
height: 16px;
|
|
85
|
-
color: var(--g-color-text-hint);
|
|
86
|
-
flex-shrink: 0;
|
|
87
|
-
display: flex;
|
|
88
|
-
align-items: center;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}tabs';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
width: 100%;
|
|
8
|
-
flex-direction: row;
|
|
9
|
-
align-items: flex-start;
|
|
10
|
-
gap: var(--g-spacing-2);
|
|
11
|
-
overflow: scroll hidden;
|
|
12
|
-
white-space: nowrap;
|
|
13
|
-
padding: var(--g-spacing-1) 0;
|
|
14
|
-
|
|
15
|
-
scrollbar-width: thin;
|
|
16
|
-
transition: scrollbar-color 0.3s ease-in-out;
|
|
17
|
-
scrollbar-color: transparent transparent;
|
|
18
|
-
|
|
19
|
-
&:hover {
|
|
20
|
-
scrollbar-color: var(--g-color-base-generic-medium) transparent;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&::-webkit-scrollbar {
|
|
24
|
-
height: 6px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&::-webkit-scrollbar-track {
|
|
28
|
-
background: transparent;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&::-webkit-scrollbar-thumb {
|
|
32
|
-
background-color: transparent;
|
|
33
|
-
border-radius: 3px;
|
|
34
|
-
transition: background-color 0.3s ease-in-out;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:hover::-webkit-scrollbar-thumb {
|
|
38
|
-
background-color: var(--g-color-base-generic-medium);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&__tab {
|
|
42
|
-
flex-shrink: 0;
|
|
43
|
-
cursor: default;
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}tool-footer';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: center;
|
|
9
|
-
|
|
10
|
-
&__left {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
gap: var(--g-spacing-2);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
@use '../../../styles/variables';
|
|
2
|
-
|
|
3
|
-
$block: '.#{variables.$ns}tool-header';
|
|
4
|
-
|
|
5
|
-
#{$block} {
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: center;
|
|
9
|
-
height: 24px;
|
|
10
|
-
gap: var(--g-spacing-2);
|
|
11
|
-
|
|
12
|
-
&__left {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
align-items: center;
|
|
16
|
-
gap: var(--g-spacing-2);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__right {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
gap: var(--g-spacing-3);
|
|
23
|
-
}
|
|
24
|
-
}
|