@lumx/core 3.12.1-alpha.5 → 3.12.1-alpha.7

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
@@ -40,7 +40,7 @@
40
40
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
41
41
  },
42
42
  "sideEffects": false,
43
- "version": "3.12.1-alpha.5",
43
+ "version": "3.12.1-alpha.7",
44
44
  "devDependencies": {
45
45
  "@babel/core": "^7.26.10",
46
46
  "@babel/plugin-proposal-class-properties": "^7.18.6",
@@ -5,17 +5,18 @@
5
5
  .#{$lumx-base-prefix}-link {
6
6
  @include lumx-link;
7
7
 
8
+ &__left-icon {
9
+ margin-right: $lumx-spacing-unit-tiny;
10
+ }
11
+
12
+ &__right-icon {
13
+ margin-left: $lumx-spacing-unit-tiny;
14
+ }
15
+
8
16
  &:disabled,
9
17
  &[aria-disabled="true"] {
10
18
  @include lumx-state-disabled-input;
11
19
  }
12
-
13
- // Fix icon alignment
14
- & .#{$lumx-base-prefix}-icon {
15
- &, & svg {
16
- display: inline;
17
- }
18
- }
19
20
  }
20
21
 
21
22
  /* Link colors
@@ -1,5 +1,6 @@
1
1
  @mixin lumx-link-base() {
2
- display: inline;
2
+ display: inline-flex;
3
+ align-items: center;
3
4
  padding: 0;
4
5
  text-align: inherit;
5
6
  text-decoration: none;
@@ -8,26 +9,10 @@
8
9
  border: none;
9
10
  outline: none;
10
11
 
11
- // Inherit parent typography
12
- &:not(#{&}--has-typography) {
13
- font-family: inherit;
14
- font-size: inherit;
15
- font-style: inherit;
16
- font-weight: inherit;
17
- line-height: inherit;
18
- }
19
-
20
12
  &:hover,
21
- &[data-lumx-hover],
22
13
  &[data-focus-visible-added] {
23
14
  text-decoration: underline;
24
15
  }
25
-
26
- &[data-focus-visible-added],
27
- &:focus-visible {
28
- outline: 1px auto currentColor;
29
- outline-offset: 2px;
30
- }
31
16
  }
32
17
 
33
18
  @mixin lumx-link-color($color, $variant) {
@@ -116,7 +116,6 @@
116
116
  // When using object-fit:cover + ratio 1/1, Chrome switches to pixelated downsizing algo
117
117
  // https://stackoverflow.com/a/77059936
118
118
  // The following prevent this so the image is correctly downsized using blurring effect
119
- overflow-clip-margin: unset;
120
119
 
121
120
  @supports not (aspect-ratio: 1 / 1) {
122
121
  position: absolute;