@oat-sa/tao-core-ui 3.16.0 → 3.16.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oat-sa/tao-core-ui",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "displayName": "TAO Core UI",
5
5
  "description": "UI libraries of TAO",
6
6
  "scripts": {
@@ -97,11 +97,13 @@ legend.cke_voice_label {
97
97
  }
98
98
 
99
99
  .txt-dashed {
100
- text-decoration: underline dashed;
100
+ text-decoration: underline;
101
+ text-decoration-style: dashed;
101
102
  }
102
103
 
103
104
  .txt-wavy {
104
- text-decoration: underline wavy;
105
+ text-decoration: underline;
106
+ text-decoration-style: wavy;
105
107
  }
106
108
 
107
109
  .txt-strike {
@@ -500,24 +500,36 @@ body {
500
500
  font-size: inherit;
501
501
  }
502
502
  .txt-dashed {
503
- text-decoration: underline dashed;
503
+ text-decoration: underline;
504
+ text-decoration-style: dashed;
504
505
  }
505
506
 
506
507
  .txt-wavy {
507
- text-decoration: underline wavy;
508
+ text-decoration: underline;
509
+ text-decoration-style: wavy;
508
510
  }
509
511
 
510
512
  .txt-strike {
511
513
  text-decoration: line-through;
512
514
  }
515
+
516
+ .qti-item ruby rt {
517
+ span {
518
+ &.txt-underline,
519
+ &.txt-dashed,
520
+ &.txt-wavy,
521
+ &.txt-strike {
522
+ // hide text decorations on ruby tags (ckeditor fix)
523
+ text-decoration: none;
524
+ }
525
+ }
526
+ }
513
527
 
514
528
  .writing-mode-vertical-rl {
529
+ text-underline-position: right;
515
530
  .txt-dashed,
516
531
  .txt-underline {
517
- text-underline-offset: 0.2em;
518
- }
519
- .txt-underline {
520
- text-underline-position: right;
532
+ text-underline-offset: 0.1em;
521
533
  }
522
534
  .txt-subscript {
523
535
  inset-block-start: -0.9em;
@@ -537,10 +549,9 @@ body {
537
549
  }
538
550
  }
539
551
 
540
- .writing-mode-vertical-rl[data-useragent-browser='safari'] .txt-underline {
541
- // for Safari < 18.2 which doesn't support "text-underline-position: right"
542
- text-decoration: none;
543
- border-right: 1px solid currentColor;
552
+ .writing-mode-vertical-rl[data-useragent-browser='safari'] .txt-dashed,
553
+ .txt-underline {
554
+ text-underline-offset: 0;
544
555
  }
545
556
 
546
557
  .txt-combine-upright-all {
package/src/css/basic.css CHANGED
@@ -1463,23 +1463,26 @@ html .txt-underline {
1463
1463
  font-size: inherit;
1464
1464
  }
1465
1465
  html .txt-dashed {
1466
- -webkit-text-decoration: underline dashed;
1467
- text-decoration: underline dashed;
1466
+ text-decoration: underline;
1467
+ text-decoration-style: dashed;
1468
1468
  }
1469
1469
  html .txt-wavy {
1470
- -webkit-text-decoration: underline wavy;
1471
- text-decoration: underline wavy;
1470
+ text-decoration: underline;
1471
+ text-decoration-style: wavy;
1472
1472
  }
1473
1473
  html .txt-strike {
1474
1474
  text-decoration: line-through;
1475
1475
  }
1476
- html .writing-mode-vertical-rl .txt-dashed,
1477
- html .writing-mode-vertical-rl .txt-underline {
1478
- text-underline-offset: 0.2em;
1476
+ html .qti-item ruby rt span.txt-underline, html .qti-item ruby rt span.txt-dashed, html .qti-item ruby rt span.txt-wavy, html .qti-item ruby rt span.txt-strike {
1477
+ text-decoration: none;
1479
1478
  }
1480
- html .writing-mode-vertical-rl .txt-underline {
1479
+ html .writing-mode-vertical-rl {
1481
1480
  text-underline-position: right;
1482
1481
  }
1482
+ html .writing-mode-vertical-rl .txt-dashed,
1483
+ html .writing-mode-vertical-rl .txt-underline {
1484
+ text-underline-offset: 0.1em;
1485
+ }
1483
1486
  html .writing-mode-vertical-rl .txt-subscript {
1484
1487
  inset-block-start: -0.9em;
1485
1488
  bottom: 0;
@@ -1494,9 +1497,9 @@ html .writing-mode-vertical-rl .txt-wavy ruby rt {
1494
1497
  position: relative;
1495
1498
  inset-block-start: -0.8em;
1496
1499
  }
1497
- html .writing-mode-vertical-rl[data-useragent-browser=safari] .txt-underline {
1498
- text-decoration: none;
1499
- border-right: 1px solid currentColor;
1500
+ html .writing-mode-vertical-rl[data-useragent-browser=safari] .txt-dashed,
1501
+ html .txt-underline {
1502
+ text-underline-offset: 0;
1500
1503
  }
1501
1504
  html .txt-combine-upright-all {
1502
1505
  text-combine-upright: all;
@@ -5297,13 +5300,13 @@ legend.cke_voice_label {
5297
5300
  }
5298
5301
 
5299
5302
  .txt-dashed {
5300
- -webkit-text-decoration: underline dashed;
5301
- text-decoration: underline dashed;
5303
+ text-decoration: underline;
5304
+ text-decoration-style: dashed;
5302
5305
  }
5303
5306
 
5304
5307
  .txt-wavy {
5305
- -webkit-text-decoration: underline wavy;
5306
- text-decoration: underline wavy;
5308
+ text-decoration: underline;
5309
+ text-decoration-style: wavy;
5307
5310
  }
5308
5311
 
5309
5312
  .txt-strike {