@donglegeyu/company-ui 1.3.0 → 1.3.1
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/dist/cjs/shared-components/CompanyAiAssistant/index.js +1 -0
- package/dist/cjs/shared-components/CompanyAiAssistant/index.scss +24 -8
- package/dist/es/shared-components/CompanyAiAssistant/index.js +1 -0
- package/dist/es/shared-components/CompanyAiAssistant/index.scss +24 -8
- package/package.json +1 -1
|
@@ -253,6 +253,7 @@ function AssistantPanel({
|
|
|
253
253
|
"--caa-radius": `${token.borderRadius}px`,
|
|
254
254
|
"--caa-radius-sm": `${token.borderRadiusSM}px`,
|
|
255
255
|
"--caa-radius-lg": `${token.borderRadiusLG}px`,
|
|
256
|
+
"--caa-shadow": token.boxShadowTertiary,
|
|
256
257
|
"--caa-font-size": `${token.fontSize}px`,
|
|
257
258
|
"--caa-font-size-xs": "12px",
|
|
258
259
|
"--caa-font-size-lg": "17px",
|
|
@@ -354,26 +354,42 @@
|
|
|
354
354
|
padding: 12px 12px 12px 4px;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
|
-
//
|
|
358
|
-
&__sender {
|
|
359
|
-
background: var(--caa-bg);
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
// ===== 引用区:引用条(tag / 恢复按钮)+ Sender 的纵向容器 =====
|
|
357
|
+
// ===== 输入卡片:引用行在上、输入行在下(视觉容器由 input-area 承担) =====
|
|
363
358
|
&__input-area {
|
|
364
359
|
display: flex;
|
|
365
360
|
flex-direction: column;
|
|
366
361
|
gap: 4px;
|
|
367
362
|
min-width: 0;
|
|
363
|
+
padding: 8px 12px;
|
|
364
|
+
background: var(--caa-bg);
|
|
365
|
+
border-radius: calc(var(--caa-radius) * 2);
|
|
366
|
+
box-shadow: var(--caa-shadow);
|
|
367
|
+
|
|
368
|
+
// 剥掉 Sender 自身的卡片外壳(阴影/边框/圆角/内边距),避免双重容器
|
|
369
|
+
// 选择器嵌套提升特异性,自然覆盖 CSS-in-JS 的 .ant-sender-main 样式
|
|
370
|
+
.company-ai-assistant__sender {
|
|
371
|
+
background: transparent;
|
|
372
|
+
border: none;
|
|
373
|
+
border-radius: 0;
|
|
374
|
+
box-shadow: none;
|
|
375
|
+
|
|
376
|
+
&:focus-within {
|
|
377
|
+
box-shadow: none;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.ant-sender-content {
|
|
381
|
+
padding: 0;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
368
384
|
}
|
|
369
385
|
|
|
386
|
+
// 引用行:tag / 引用按钮独占一行(输入行在下方)
|
|
370
387
|
&__ref-bar {
|
|
371
388
|
display: flex;
|
|
372
|
-
align-items: center;
|
|
373
389
|
min-width: 0;
|
|
374
390
|
}
|
|
375
391
|
|
|
376
|
-
// 引用 tag:@ + 页签名 +
|
|
392
|
+
// 引用 tag:@ + 页签名 + 关闭(选中引用态,独占输入卡片首行)
|
|
377
393
|
&__ref-tag {
|
|
378
394
|
display: inline-flex;
|
|
379
395
|
align-items: center;
|
|
@@ -306,6 +306,7 @@ function AssistantPanel(_ref5) {
|
|
|
306
306
|
"--caa-radius": "".concat(token.borderRadius, "px"),
|
|
307
307
|
"--caa-radius-sm": "".concat(token.borderRadiusSM, "px"),
|
|
308
308
|
"--caa-radius-lg": "".concat(token.borderRadiusLG, "px"),
|
|
309
|
+
"--caa-shadow": token.boxShadowTertiary,
|
|
309
310
|
"--caa-font-size": "".concat(token.fontSize, "px"),
|
|
310
311
|
"--caa-font-size-xs": "12px",
|
|
311
312
|
"--caa-font-size-lg": "17px",
|
|
@@ -354,26 +354,42 @@
|
|
|
354
354
|
padding: 12px 12px 12px 4px;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
|
-
//
|
|
358
|
-
&__sender {
|
|
359
|
-
background: var(--caa-bg);
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
// ===== 引用区:引用条(tag / 恢复按钮)+ Sender 的纵向容器 =====
|
|
357
|
+
// ===== 输入卡片:引用行在上、输入行在下(视觉容器由 input-area 承担) =====
|
|
363
358
|
&__input-area {
|
|
364
359
|
display: flex;
|
|
365
360
|
flex-direction: column;
|
|
366
361
|
gap: 4px;
|
|
367
362
|
min-width: 0;
|
|
363
|
+
padding: 8px 12px;
|
|
364
|
+
background: var(--caa-bg);
|
|
365
|
+
border-radius: calc(var(--caa-radius) * 2);
|
|
366
|
+
box-shadow: var(--caa-shadow);
|
|
367
|
+
|
|
368
|
+
// 剥掉 Sender 自身的卡片外壳(阴影/边框/圆角/内边距),避免双重容器
|
|
369
|
+
// 选择器嵌套提升特异性,自然覆盖 CSS-in-JS 的 .ant-sender-main 样式
|
|
370
|
+
.company-ai-assistant__sender {
|
|
371
|
+
background: transparent;
|
|
372
|
+
border: none;
|
|
373
|
+
border-radius: 0;
|
|
374
|
+
box-shadow: none;
|
|
375
|
+
|
|
376
|
+
&:focus-within {
|
|
377
|
+
box-shadow: none;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
.ant-sender-content {
|
|
381
|
+
padding: 0;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
368
384
|
}
|
|
369
385
|
|
|
386
|
+
// 引用行:tag / 引用按钮独占一行(输入行在下方)
|
|
370
387
|
&__ref-bar {
|
|
371
388
|
display: flex;
|
|
372
|
-
align-items: center;
|
|
373
389
|
min-width: 0;
|
|
374
390
|
}
|
|
375
391
|
|
|
376
|
-
// 引用 tag:@ + 页签名 +
|
|
392
|
+
// 引用 tag:@ + 页签名 + 关闭(选中引用态,独占输入卡片首行)
|
|
377
393
|
&__ref-tag {
|
|
378
394
|
display: inline-flex;
|
|
379
395
|
align-items: center;
|