@odx/ui 3.4.1 → 3.4.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @odx/ui
2
2
 
3
+ ## 3.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - a0b9ae3: Use browser native text decoration for links
8
+
9
+ ## 3.4.2
10
+
11
+ ### Patch Changes
12
+
13
+ - ce320b1: Automatically break words in card titles with long words
14
+
3
15
  ## 3.4.1
4
16
 
5
17
  ### Patch Changes
package/core-theme.css CHANGED
@@ -3155,6 +3155,7 @@ html body .odx-fs-italic {
3155
3155
  .odx-card--launch-tile .odx-card__title, .odx-card--launch-tile-centered .odx-card__title {
3156
3156
  font-size: calc(var(--odx-vertical-rythm-base-size) * 0.8334);
3157
3157
  line-height: calc(var(--odx-vertical-rythm-base-size) * 1.25);
3158
+ overflow-wrap: anywhere;
3158
3159
  font-weight: var(--odx-typography-font-weight-medium);
3159
3160
  letter-spacing: var(--odx-typography-font-weight-medium-letter-spacing);
3160
3161
  -webkit-box-orient: block-axis;
@@ -4333,41 +4334,20 @@ html body .odx-fs-italic {
4333
4334
  outline-color: transparent;
4334
4335
  pointer-events: none;
4335
4336
  }
4336
- .odx-link::before {
4337
- transition-delay: 0ms;
4338
- transition-duration: var(--odx-v-transition-duration);
4339
- transition-property: width;
4340
- transition-timing-function: var(--odx-v-transition-easing-fn);
4341
- background-color: currentcolor;
4342
- bottom: 1px;
4343
- content: "";
4344
- height: 1px;
4345
- left: 50%;
4346
- position: absolute;
4347
- transform: translateX(-50%);
4348
- width: 0;
4349
- }
4350
4337
  @media (hover: hover){
4351
4338
  .odx-link:hover {
4352
4339
  color: var(--odx-c-link-hover);
4353
- }
4354
- }
4355
- @media (hover: hover){
4356
- .odx-link:hover::before {
4357
- width: 98%;
4340
+ text-decoration: underline;
4358
4341
  }
4359
4342
  }
4360
4343
  .odx-link:active {
4361
4344
  color: var(--odx-c-link-active);
4362
4345
  }
4363
4346
  .odx-link.is-disabled {
4364
- color: var(--odx-c-link-disabled) !important;
4347
+ color: var(--odx-c-link-disabled);
4365
4348
  pointer-events: none;
4366
4349
  text-decoration: none;
4367
4350
  }
4368
- .odx-link.is-disabled::before {
4369
- content: none;
4370
- }
4371
4351
 
4372
4352
  .odx-list {
4373
4353
  display: block;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odx/ui",
3
- "version": "3.4.1",
3
+ "version": "3.4.3",
4
4
  "author": "Drägerwerk AG & Co.KGaA",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "peerDependencies": {
@@ -86,6 +86,7 @@
86
86
  #{$root}__title {
87
87
  font-size: dimensions.get-size(math.div(20, 24));
88
88
  line-height: dimensions.get-size(math.div(30, 24));
89
+ overflow-wrap: anywhere;
89
90
 
90
91
  @include typography.font-weight(medium);
91
92
  @include typography.line-clamp(3);
@@ -11,25 +11,9 @@
11
11
  position: relative;
12
12
  user-select: auto;
13
13
 
14
- &::before {
15
- @include motion.transition(width);
16
-
17
- background-color: currentcolor;
18
- bottom: 1px;
19
- content: '';
20
- height: 1px;
21
- left: 50%;
22
- position: absolute;
23
- transform: translateX(-50%);
24
- width: 0;
25
- }
26
-
27
14
  &:hover {
28
15
  color: var(--odx-c-link-hover);
29
-
30
- &::before {
31
- width: 98%;
32
- }
16
+ text-decoration: underline;
33
17
  }
34
18
 
35
19
  &:active {
@@ -37,12 +21,8 @@
37
21
  }
38
22
 
39
23
  &.is-disabled {
40
- color: var(--odx-c-link-disabled) !important;
24
+ color: var(--odx-c-link-disabled);
41
25
  pointer-events: none;
42
26
  text-decoration: none;
43
-
44
- &::before {
45
- content: none;
46
- }
47
27
  }
48
28
  }