@hh.ru/magritte-ui-ai-response 1.1.4 → 1.1.6
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/AIResponse.js +1 -1
- package/FormattedText.js +1 -1
- package/Quote.js +1 -1
- package/Widget.js +1 -1
- package/ai-response-By6nB5tO.js +5 -0
- package/ai-response-By6nB5tO.js.map +1 -0
- package/index.css +12 -12
- package/index.js +1 -1
- package/package.json +9 -9
- package/ai-response-8IStjFto.js +0 -5
- package/ai-response-8IStjFto.js.map +0 -1
package/AIResponse.js
CHANGED
|
@@ -6,7 +6,7 @@ import { AIResponseFormattedText } from './FormattedText.js';
|
|
|
6
6
|
import { AIResponseQuote } from './Quote.js';
|
|
7
7
|
import { AIResponseWidget } from './Widget.js';
|
|
8
8
|
import { IconDefaultPropsContext } from '@hh.ru/magritte-ui-icon';
|
|
9
|
-
import { s as styles } from './ai-response-
|
|
9
|
+
import { s as styles } from './ai-response-By6nB5tO.js';
|
|
10
10
|
import '@hh.ru/magritte-ui-text-list';
|
|
11
11
|
import '@hh.ru/magritte-ui-title';
|
|
12
12
|
import '@hh.ru/magritte-ui-typography';
|
package/FormattedText.js
CHANGED
|
@@ -5,7 +5,7 @@ import classnames from 'classnames';
|
|
|
5
5
|
import { TextListDefaultPropsContext } from '@hh.ru/magritte-ui-text-list';
|
|
6
6
|
import { TitleDefaultPropsContext } from '@hh.ru/magritte-ui-title';
|
|
7
7
|
import { TextDefaultPropsContext } from '@hh.ru/magritte-ui-typography';
|
|
8
|
-
import { s as styles } from './ai-response-
|
|
8
|
+
import { s as styles } from './ai-response-By6nB5tO.js';
|
|
9
9
|
|
|
10
10
|
const DEFAULT_TITLE_PROPS = {
|
|
11
11
|
size: 'small',
|
package/Quote.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { TextDefaultPropsContext, Text } from '@hh.ru/magritte-ui-typography';
|
|
6
|
-
import { s as styles } from './ai-response-
|
|
6
|
+
import { s as styles } from './ai-response-By6nB5tO.js';
|
|
7
7
|
|
|
8
8
|
const DEFAULT_TITLE_PROPS = {
|
|
9
9
|
typography: 'subtitle-2-semibold',
|
package/Widget.js
CHANGED
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { Text } from '@hh.ru/magritte-ui-typography';
|
|
6
|
-
import { s as styles } from './ai-response-
|
|
6
|
+
import { s as styles } from './ai-response-By6nB5tO.js';
|
|
7
7
|
|
|
8
8
|
const AIResponseWidget = forwardRef(({ children, className, title, description, ...props }, ref) => {
|
|
9
9
|
return (jsxs("div", { ...props, className: classnames(className, styles.aiResponseWidget), "data-qa": "ai-response-widget", ref: ref, children: [title && (jsxs("div", { className: styles.aiResponseWidgetHeader, "data-qa": "ai-response-widget-header", children: [jsx("div", { className: styles.aiResponseWidgetTitle, "data-qa": "ai-response-widget-title", children: jsx(Text, { typography: "label-3-regular", style: "secondary", ellipsis: true, children: title }) }), description && (jsx("div", { className: styles.aiResponseWidgetDescription, "data-qa": "ai-response-widget-description", children: jsx(Text, { typography: "label-3-regular", style: "secondary", ellipsis: true, children: description }) }))] })), children] }));
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
var styles = {"ai-response":"magritte-ai-response___fHP9l_1-1-6","aiResponse":"magritte-ai-response___fHP9l_1-1-6","ai-response-formatted-text":"magritte-ai-response-formatted-text___qlnHr_1-1-6","aiResponseFormattedText":"magritte-ai-response-formatted-text___qlnHr_1-1-6","ai-response-quote":"magritte-ai-response-quote___EPf0K_1-1-6","aiResponseQuote":"magritte-ai-response-quote___EPf0K_1-1-6","ai-response-quote-body":"magritte-ai-response-quote-body___XcSxJ_1-1-6","aiResponseQuoteBody":"magritte-ai-response-quote-body___XcSxJ_1-1-6","ai-response-widget":"magritte-ai-response-widget___793mH_1-1-6","aiResponseWidget":"magritte-ai-response-widget___793mH_1-1-6","ai-response-widget-header":"magritte-ai-response-widget-header___-0dPU_1-1-6","aiResponseWidgetHeader":"magritte-ai-response-widget-header___-0dPU_1-1-6","ai-response-widget-title":"magritte-ai-response-widget-title___cXgvh_1-1-6","aiResponseWidgetTitle":"magritte-ai-response-widget-title___cXgvh_1-1-6","ai-response-widget-description":"magritte-ai-response-widget-description___cpMDO_1-1-6","aiResponseWidgetDescription":"magritte-ai-response-widget-description___cpMDO_1-1-6","ai-response-actions":"magritte-ai-response-actions___mWyV8_1-1-6","aiResponseActions":"magritte-ai-response-actions___mWyV8_1-1-6"};
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
5
|
+
//# sourceMappingURL=ai-response-By6nB5tO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-response-By6nB5tO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/index.css
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
:root{
|
|
2
|
-
--magritte-color-background-tertiary-v25-
|
|
2
|
+
--magritte-color-background-tertiary-v25-1-1:#DCE3EB;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.magritte-night-theme{
|
|
6
|
-
--magritte-color-background-tertiary-v25-
|
|
6
|
+
--magritte-color-background-tertiary-v25-1-1:#474747;
|
|
7
7
|
}
|
|
8
|
-
.magritte-ai-response___fHP9l_1-1-
|
|
8
|
+
.magritte-ai-response___fHP9l_1-1-6{
|
|
9
9
|
display:flex;
|
|
10
10
|
flex-direction:column;
|
|
11
11
|
gap:16px;
|
|
12
12
|
padding:0 16px;
|
|
13
13
|
}
|
|
14
|
-
.magritte-ai-response-formatted-text___qlnHr_1-1-
|
|
14
|
+
.magritte-ai-response-formatted-text___qlnHr_1-1-6{
|
|
15
15
|
display:flex;
|
|
16
16
|
flex-direction:column;
|
|
17
17
|
gap:12px;
|
|
18
18
|
}
|
|
19
|
-
.magritte-ai-response-quote___EPf0K_1-1-
|
|
19
|
+
.magritte-ai-response-quote___EPf0K_1-1-6{
|
|
20
20
|
display:flex;
|
|
21
21
|
flex-direction:column;
|
|
22
22
|
gap:8px;
|
|
23
23
|
}
|
|
24
|
-
.magritte-ai-response-quote-body___XcSxJ_1-1-
|
|
25
|
-
border-left:2px solid var(--magritte-color-background-tertiary-v25-
|
|
24
|
+
.magritte-ai-response-quote-body___XcSxJ_1-1-6{
|
|
25
|
+
border-left:2px solid var(--magritte-color-background-tertiary-v25-1-1);
|
|
26
26
|
padding-left:12px;
|
|
27
27
|
}
|
|
28
|
-
.magritte-ai-response-widget___793mH_1-1-
|
|
28
|
+
.magritte-ai-response-widget___793mH_1-1-6{
|
|
29
29
|
display:flex;
|
|
30
30
|
flex-direction:column;
|
|
31
31
|
gap:12px;
|
|
32
32
|
}
|
|
33
|
-
.magritte-ai-response-widget-header___-0dPU_1-1-
|
|
33
|
+
.magritte-ai-response-widget-header___-0dPU_1-1-6{
|
|
34
34
|
display:flex;
|
|
35
35
|
gap:12px;
|
|
36
36
|
overflow:hidden;
|
|
37
37
|
}
|
|
38
|
-
.magritte-ai-response-widget-title___cXgvh_1-1-
|
|
38
|
+
.magritte-ai-response-widget-title___cXgvh_1-1-6{
|
|
39
39
|
flex:1 1 auto;
|
|
40
40
|
min-width:0;
|
|
41
41
|
}
|
|
42
|
-
.magritte-ai-response-widget-description___cpMDO_1-1-
|
|
42
|
+
.magritte-ai-response-widget-description___cpMDO_1-1-6{
|
|
43
43
|
flex:0 9999 auto;
|
|
44
44
|
min-width:24px;
|
|
45
45
|
text-align:right;
|
|
46
46
|
}
|
|
47
|
-
.magritte-ai-response-actions___mWyV8_1-1-
|
|
47
|
+
.magritte-ai-response-actions___mWyV8_1-1-6{
|
|
48
48
|
display:flex;
|
|
49
49
|
flex-wrap:wrap;
|
|
50
50
|
gap:2px;
|
package/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import './FormattedText.js';
|
|
|
7
7
|
import '@hh.ru/magritte-ui-text-list';
|
|
8
8
|
import '@hh.ru/magritte-ui-title';
|
|
9
9
|
import '@hh.ru/magritte-ui-typography';
|
|
10
|
-
import './ai-response-
|
|
10
|
+
import './ai-response-By6nB5tO.js';
|
|
11
11
|
import './Quote.js';
|
|
12
12
|
import './Widget.js';
|
|
13
13
|
import '@hh.ru/magritte-ui-icon';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-ai-response",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
"prepack": "yarn root:prepack $(pwd)",
|
|
13
13
|
"postpublish": "yarn root:postpublish $(pwd)",
|
|
14
14
|
"stylelint-check": "yarn root:stylelint-check $(pwd)",
|
|
15
|
-
"
|
|
15
|
+
"lint-check": "yarn root:lint-check $(pwd)",
|
|
16
16
|
"ts-config": "yarn root:ts-config $(pwd)",
|
|
17
17
|
"ts-check": "yarn root:ts-check $(pwd)",
|
|
18
18
|
"test": "yarn root:test $(pwd)",
|
|
19
19
|
"watch": "yarn root:watch $(pwd)"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@hh.ru/magritte-design-tokens": "25.
|
|
23
|
-
"@hh.ru/magritte-ui-icon": "15.1.
|
|
24
|
-
"@hh.ru/magritte-ui-mock-component": "1.1.
|
|
25
|
-
"@hh.ru/magritte-ui-text-list": "1.1.
|
|
26
|
-
"@hh.ru/magritte-ui-title": "8.3.
|
|
27
|
-
"@hh.ru/magritte-ui-typography": "5.3.
|
|
22
|
+
"@hh.ru/magritte-design-tokens": "25.1.1",
|
|
23
|
+
"@hh.ru/magritte-ui-icon": "15.1.3",
|
|
24
|
+
"@hh.ru/magritte-ui-mock-component": "1.1.8",
|
|
25
|
+
"@hh.ru/magritte-ui-text-list": "1.1.47",
|
|
26
|
+
"@hh.ru/magritte-ui-title": "8.3.12",
|
|
27
|
+
"@hh.ru/magritte-ui-typography": "5.3.14"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"classnames": ">=2.3.2",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"publishConfig": {
|
|
34
34
|
"access": "public"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "46d606980abbb523a41afba452c0a852ee902864"
|
|
37
37
|
}
|
package/ai-response-8IStjFto.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
2
|
-
var styles = {"ai-response":"magritte-ai-response___fHP9l_1-1-4","aiResponse":"magritte-ai-response___fHP9l_1-1-4","ai-response-formatted-text":"magritte-ai-response-formatted-text___qlnHr_1-1-4","aiResponseFormattedText":"magritte-ai-response-formatted-text___qlnHr_1-1-4","ai-response-quote":"magritte-ai-response-quote___EPf0K_1-1-4","aiResponseQuote":"magritte-ai-response-quote___EPf0K_1-1-4","ai-response-quote-body":"magritte-ai-response-quote-body___XcSxJ_1-1-4","aiResponseQuoteBody":"magritte-ai-response-quote-body___XcSxJ_1-1-4","ai-response-widget":"magritte-ai-response-widget___793mH_1-1-4","aiResponseWidget":"magritte-ai-response-widget___793mH_1-1-4","ai-response-widget-header":"magritte-ai-response-widget-header___-0dPU_1-1-4","aiResponseWidgetHeader":"magritte-ai-response-widget-header___-0dPU_1-1-4","ai-response-widget-title":"magritte-ai-response-widget-title___cXgvh_1-1-4","aiResponseWidgetTitle":"magritte-ai-response-widget-title___cXgvh_1-1-4","ai-response-widget-description":"magritte-ai-response-widget-description___cpMDO_1-1-4","aiResponseWidgetDescription":"magritte-ai-response-widget-description___cpMDO_1-1-4","ai-response-actions":"magritte-ai-response-actions___mWyV8_1-1-4","aiResponseActions":"magritte-ai-response-actions___mWyV8_1-1-4"};
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
5
|
-
//# sourceMappingURL=ai-response-8IStjFto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-response-8IStjFto.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|