@gravity-ui/aikit 2.7.0 → 2.7.1-beta.9cedd61361943cd0ba3f67bdeee91a18e3e00cfc.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/build/cjs/components/atoms/MarkdownRenderer/MarkdownRenderer.css +23 -4
- package/build/cjs/components/molecules/BaseMessage/BaseMessage.css +2 -0
- package/build/cjs/components/organisms/AssistantMessage/AssistantMessage.css +1 -0
- package/build/cjs/components/organisms/MessageList/MessageList.css +2 -0
- package/build/cjs/components/templates/ChatContent/ChatContent.css +1 -0
- package/build/cjs/package.json +1 -1
- package/build/cjs/themes/common.css +3 -0
- package/build/cjs/themes/variables.css +3 -0
- package/build/esm/components/atoms/MarkdownRenderer/MarkdownRenderer.css +23 -4
- package/build/esm/components/molecules/BaseMessage/BaseMessage.css +2 -0
- package/build/esm/components/organisms/AssistantMessage/AssistantMessage.css +1 -0
- package/build/esm/components/organisms/MessageList/MessageList.css +2 -0
- package/build/esm/components/templates/ChatContent/ChatContent.css +1 -0
- package/build/esm/package.json +1 -1
- package/build/esm/themes/common.css +3 -0
- package/build/esm/themes/variables.css +3 -0
- package/package.json +1 -1
|
@@ -87,18 +87,37 @@
|
|
|
87
87
|
display: none;
|
|
88
88
|
}
|
|
89
89
|
.g-aikit-markdown-renderer {
|
|
90
|
+
width: 100%;
|
|
90
91
|
max-width: 100%;
|
|
92
|
+
min-width: 0;
|
|
91
93
|
overflow-x: auto;
|
|
92
|
-
/*
|
|
94
|
+
/*
|
|
95
|
+
* Override @diplodoc/transform `.yfm table` (inline-block + max-width: 100%).
|
|
96
|
+
* min-width: 100% — narrow tables fill the message; width: max-content — wide tables grow.
|
|
97
|
+
* Horizontal scroll lives on this root (min-width: 0 on flex ancestors required).
|
|
98
|
+
*/
|
|
93
99
|
}
|
|
94
100
|
.g-aikit-markdown-renderer table {
|
|
101
|
+
display: table;
|
|
95
102
|
table-layout: auto;
|
|
96
103
|
word-break: normal;
|
|
97
|
-
min-width: 100%;
|
|
98
104
|
width: max-content;
|
|
105
|
+
min-width: 100%;
|
|
106
|
+
max-width: none;
|
|
107
|
+
overflow: visible;
|
|
99
108
|
}
|
|
100
|
-
.g-aikit-markdown-renderer th
|
|
101
|
-
.g-aikit-markdown-renderer td {
|
|
109
|
+
.g-aikit-markdown-renderer table th {
|
|
102
110
|
word-break: normal;
|
|
103
111
|
white-space: nowrap;
|
|
112
|
+
overflow: visible;
|
|
113
|
+
text-overflow: clip;
|
|
114
|
+
}
|
|
115
|
+
.g-aikit-markdown-renderer table td {
|
|
116
|
+
max-width: var(--g-aikit-markdown-renderer-table-cell-max-width);
|
|
117
|
+
word-break: normal;
|
|
118
|
+
white-space: normal;
|
|
119
|
+
/* Wrap multi-word text at spaces within max-width; do not break tokens at hyphens */
|
|
120
|
+
overflow-wrap: normal;
|
|
121
|
+
overflow: visible;
|
|
122
|
+
text-overflow: clip;
|
|
104
123
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
min-height: 0;
|
|
7
|
+
min-width: 0;
|
|
7
8
|
flex: 1;
|
|
8
9
|
align-self: stretch;
|
|
9
10
|
}
|
|
@@ -11,6 +12,7 @@
|
|
|
11
12
|
display: flex;
|
|
12
13
|
flex-direction: column;
|
|
13
14
|
gap: var(--g-spacing-4);
|
|
15
|
+
min-width: 0;
|
|
14
16
|
}
|
|
15
17
|
.g-aikit-message-list_virtualized {
|
|
16
18
|
overflow: hidden;
|
package/build/cjs/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.7.0","type":"commonjs","sideEffects":["*.css","*.scss"]}
|
|
1
|
+
{"version":"2.7.1-beta.9cedd61361943cd0ba3f67bdeee91a18e3e00cfc.0","type":"commonjs","sideEffects":["*.css","*.scss"]}
|
|
@@ -87,18 +87,37 @@
|
|
|
87
87
|
display: none;
|
|
88
88
|
}
|
|
89
89
|
.g-aikit-markdown-renderer {
|
|
90
|
+
width: 100%;
|
|
90
91
|
max-width: 100%;
|
|
92
|
+
min-width: 0;
|
|
91
93
|
overflow-x: auto;
|
|
92
|
-
/*
|
|
94
|
+
/*
|
|
95
|
+
* Override @diplodoc/transform `.yfm table` (inline-block + max-width: 100%).
|
|
96
|
+
* min-width: 100% — narrow tables fill the message; width: max-content — wide tables grow.
|
|
97
|
+
* Horizontal scroll lives on this root (min-width: 0 on flex ancestors required).
|
|
98
|
+
*/
|
|
93
99
|
}
|
|
94
100
|
.g-aikit-markdown-renderer table {
|
|
101
|
+
display: table;
|
|
95
102
|
table-layout: auto;
|
|
96
103
|
word-break: normal;
|
|
97
|
-
min-width: 100%;
|
|
98
104
|
width: max-content;
|
|
105
|
+
min-width: 100%;
|
|
106
|
+
max-width: none;
|
|
107
|
+
overflow: visible;
|
|
99
108
|
}
|
|
100
|
-
.g-aikit-markdown-renderer th
|
|
101
|
-
.g-aikit-markdown-renderer td {
|
|
109
|
+
.g-aikit-markdown-renderer table th {
|
|
102
110
|
word-break: normal;
|
|
103
111
|
white-space: nowrap;
|
|
112
|
+
overflow: visible;
|
|
113
|
+
text-overflow: clip;
|
|
114
|
+
}
|
|
115
|
+
.g-aikit-markdown-renderer table td {
|
|
116
|
+
max-width: var(--g-aikit-markdown-renderer-table-cell-max-width);
|
|
117
|
+
word-break: normal;
|
|
118
|
+
white-space: normal;
|
|
119
|
+
/* Wrap multi-word text at spaces within max-width; do not break tokens at hyphens */
|
|
120
|
+
overflow-wrap: normal;
|
|
121
|
+
overflow: visible;
|
|
122
|
+
text-overflow: clip;
|
|
104
123
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
min-height: 0;
|
|
7
|
+
min-width: 0;
|
|
7
8
|
flex: 1;
|
|
8
9
|
align-self: stretch;
|
|
9
10
|
}
|
|
@@ -11,6 +12,7 @@
|
|
|
11
12
|
display: flex;
|
|
12
13
|
flex-direction: column;
|
|
13
14
|
gap: var(--g-spacing-4);
|
|
15
|
+
min-width: 0;
|
|
14
16
|
}
|
|
15
17
|
.g-aikit-message-list_virtualized {
|
|
16
18
|
overflow: hidden;
|
package/build/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.7.0","type":"module","sideEffects":["*.css","*.scss"]}
|
|
1
|
+
{"version":"2.7.1-beta.9cedd61361943cd0ba3f67bdeee91a18e3e00cfc.0","type":"module","sideEffects":["*.css","*.scss"]}
|