yt-chat-components 0.9.5 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-chat-components",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
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",
@@ -2350,17 +2350,15 @@ input::-ms-input-placeholder { /* Microsoft Edge */
2350
2350
  }
2351
2351
 
2352
2352
  .w_tagListClass {
2353
- // position: absolute;
2354
2353
  width: 100%;
2355
2354
  height: fit-content;
2356
- // background: #F9FAFB;
2357
2355
  display: flex;
2358
2356
  align-items: center;
2359
2357
  padding: 8px 0 8px 10px;
2360
2358
  flex-wrap: wrap;
2361
2359
  gap: 8px;
2362
-
2363
- .w_tagItemBox {
2360
+ }
2361
+ .w_tagListClass .w_tagItemBox {
2364
2362
  padding: 8px 12px;
2365
2363
  display: flex;
2366
2364
  align-items: center;
@@ -2372,36 +2370,34 @@ input::-ms-input-placeholder { /* Microsoft Edge */
2372
2370
  border: 1px solid #4B4FFF;
2373
2371
  cursor: pointer;
2374
2372
 
2375
- &:hover,&:active {
2376
- background: linear-gradient( 270deg, #828EFE 0%, #4B4FFF 100%);
2377
- .w_tagImgh {
2378
- filter: brightness(100);
2379
- }
2380
- .w_tagItemText {
2381
- color: #fff;
2382
- }
2383
- }
2384
- .w_tagImgh{
2373
+ }
2374
+ .w_tagListClass .w_tagItemBox:hover, .w_tagListClass .w_tagItemBox:active {
2375
+ background: linear-gradient( 270deg, #828EFE 0%, #4B4FFF 100%);
2376
+ }
2377
+ .w_tagListClass .w_tagItemBox:hover .w_tagImgh,.w_tagListClass .w_tagItemBox:active .w_tagImgh {
2378
+ filter: brightness(100);
2379
+ }
2380
+
2381
+ .w_tagListClass .w_tagItemBox:hover .w_tagItemText, .w_tagListClass .w_tagItemBox:active .w_tagItemText {
2382
+ color: #fff;
2383
+ }
2384
+ .w_tagListClass .w_tagItemBox .w_tagImgh{
2385
2385
  width: 16px;
2386
2386
  height: 16px;
2387
- }
2388
-
2389
- .w_tagItemText {
2387
+ }
2388
+ .w_tagListClass .w_tagItemBox .w_tagItemText {
2390
2389
  width: fit-content;
2391
2390
  padding-top: 2px;
2392
2391
  color: #1552FF;
2393
2392
  font-size: 14px;
2394
- }
2395
-
2396
- .w_tagImg {
2393
+ }
2394
+ .w_tagListClass .w_tagItemBox .w_tagImg {
2397
2395
  margin-left: 6px;
2398
2396
  width: 12px;
2399
2397
  height: 12px;
2400
2398
  background-repeat: no-repeat;
2401
2399
  background-size: cover;
2402
- }
2403
2400
  }
2404
- }
2405
2401
 
2406
2402
  .w_inputBox {
2407
2403
  width: calc(100% - 16px);
@@ -2412,7 +2408,8 @@ input::-ms-input-placeholder { /* Microsoft Edge */
2412
2408
  border-radius: 30px;
2413
2409
  background: #FFFFFF;
2414
2410
  transition: height 0.2s ease;
2415
- textarea {
2411
+ }
2412
+ .w_inputBox textarea {
2416
2413
  resize: none;
2417
2414
  min-height: 48px;
2418
2415
  max-height: 96px;
@@ -2429,15 +2426,11 @@ input::-ms-input-placeholder { /* Microsoft Edge */
2429
2426
  border-top-left-radius: 50px;
2430
2427
  border-bottom-left-radius: 50px;
2431
2428
  }
2432
- textarea::-webkit-scrollbar {
2433
- display: none; /* Chrome, Safari, and Opera */
2429
+
2430
+ .w_inputBox textarea::-webkit-scrollbar {
2431
+ display: none;
2434
2432
  }
2435
- }
2436
-
2437
- /**
2438
- * 输入框上方的标签问题列表
2439
- */
2440
-
2433
+
2441
2434
  .w_send_voice_box {
2442
2435
  height: 23px;
2443
2436
  display: flex;