yt-chat-components 1.9.8 → 1.9.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-chat-components",
3
- "version": "1.9.8",
3
+ "version": "1.9.9",
4
4
  "main": "build/static/js/bundle.min.js",
5
5
  "module": "build/static/js/bundle.min.js",
6
6
  "types": "build/static/js/index.d.ts",
@@ -67,6 +67,7 @@ const style = `
67
67
  display: flex;
68
68
  flex-direction: column;
69
69
  justify-content: space-between;
70
+ background: unset;
70
71
  }
71
72
  .p_toolDialog .p_sign{
72
73
  width: calc(100vw - 140px);
@@ -144,6 +145,7 @@ const style = `
144
145
  display: flex;
145
146
  align-items: center;
146
147
  justify-content: space-between;
148
+ padding: unset;
147
149
  }
148
150
 
149
151
  .p_toolDialog .p_toolLeft .p_historyDialog .p_historyTitle .p_historyImg {
@@ -219,6 +221,10 @@ const style = `
219
221
  align-items: center;
220
222
  }
221
223
 
224
+ .p_toolDialog .p_toolLeft .p_historyDialog .p_historyList .p_historyItem .p_activeHistoryName {
225
+ color: #fff !important;
226
+ }
227
+
222
228
  .p_toolDialog .p_toolRight {
223
229
  flex: 1;
224
230
  background: #f5f5f5;
@@ -291,6 +297,7 @@ const style = `
291
297
  border-radius: 11px;
292
298
  border: 1px solid #1974FF;
293
299
  transition: all 0.2s ease; /* 添加过渡动画 */
300
+ margin-top: unset;
294
301
  }
295
302
 
296
303
  .p_newDialog:hover {
@@ -306,6 +313,7 @@ const style = `
306
313
 
307
314
  .p_newDialog .p_newDialogText {
308
315
  margin-left: 6px;
316
+ color: unset;
309
317
  }
310
318
  .p_footer{
311
319
  text-align: center;
@@ -480,6 +488,7 @@ export class ToolDialogV2 extends React.Component {
480
488
  footerStyle,
481
489
  isHideTabSelector,
482
490
  dialogStyle,
491
+ signStyle,
483
492
  footerContent
484
493
  } = this.props;
485
494
  const { currentFlow = {} } = this.state;
@@ -488,7 +497,7 @@ export class ToolDialogV2 extends React.Component {
488
497
  <style dangerouslySetInnerHTML={{ __html: style }}></style>
489
498
  <div className="p_toolDialog">
490
499
  {/*对话上边的学校标志,定位到左上角header上端*/}
491
- <div className={'p_sign'} style={dialogStyle} >
500
+ <div className={'p_sign'} style={signStyle||dialogStyle} >
492
501
  <img src={signUrl} style={{ width: 600, marginTop: '1.5rem', }}/>
493
502
  </div>
494
503
  <div className={"dialog_box"} style={dialogStyle}>