@lumx/core 3.12.0 → 3.12.1-alpha.0

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,17 +40,17 @@
40
40
  "update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
41
41
  },
42
42
  "sideEffects": false,
43
- "version": "3.12.0",
43
+ "version": "3.12.1-alpha.0",
44
44
  "devDependencies": {
45
- "@babel/core": "^7.18.13",
45
+ "@babel/core": "^7.26.10",
46
46
  "@babel/plugin-proposal-class-properties": "^7.18.6",
47
- "@babel/plugin-proposal-export-default-from": "^7.18.10",
47
+ "@babel/plugin-proposal-export-default-from": "^7.25.9",
48
48
  "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6",
49
- "@babel/plugin-proposal-object-rest-spread": "^7.18.9",
50
- "@babel/plugin-proposal-optional-chaining": "^7.18.9",
51
- "@babel/plugin-proposal-private-property-in-object": "^7.18.6",
52
- "@babel/preset-env": "^7.18.10",
53
- "@babel/preset-typescript": "^7.18.6",
49
+ "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
50
+ "@babel/plugin-proposal-optional-chaining": "^7.21.0",
51
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
52
+ "@babel/preset-env": "^7.26.9",
53
+ "@babel/preset-typescript": "^7.26.0",
54
54
  "autoprefixer": "^9.7.4",
55
55
  "clean-webpack-plugin": "^3.0.0",
56
56
  "copy-webpack-plugin": "^5.1.1",
@@ -20,4 +20,13 @@
20
20
  &--theme-dark {
21
21
  @include lumx-input-label(lumx-base-const("theme", "DARK"));
22
22
  }
23
+
24
+ /** When there is a custom typography, we create a more specific selector so that it overrides the typo added by the mixin `lumx-input-label` */
25
+ &--has-custom-typography {
26
+ @each $key, $style in $lumx-typography-interface {
27
+ &.#{$lumx-base-prefix}-typography-#{$key} {
28
+ @include lumx-typography($key);
29
+ }
30
+ }
31
+ }
23
32
  }
@@ -5,18 +5,17 @@
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
-
16
8
  &:disabled,
17
9
  &[aria-disabled="true"] {
18
10
  @include lumx-state-disabled-input;
19
11
  }
12
+
13
+ // Fix icon alignment
14
+ & .#{$lumx-base-prefix}-icon {
15
+ &, & svg {
16
+ display: inline;
17
+ }
18
+ }
20
19
  }
21
20
 
22
21
  /* Link colors
@@ -1,6 +1,5 @@
1
1
  @mixin lumx-link-base() {
2
- display: inline-flex;
3
- align-items: center;
2
+ display: inline;
4
3
  padding: 0;
5
4
  text-align: inherit;
6
5
  text-decoration: none;
@@ -10,6 +9,7 @@
10
9
  outline: none;
11
10
 
12
11
  &:hover,
12
+ &[data-lumx-hover],
13
13
  &[data-focus-visible-added] {
14
14
  text-decoration: underline;
15
15
  }
@@ -17,6 +17,12 @@
17
17
 
18
18
  @mixin lumx-link-color($color, $variant) {
19
19
  color: lumx-color-variant($color, $variant);
20
+
21
+ &[data-focus-visible-added],
22
+ &:focus-visible {
23
+ outline: 1px auto lumx-color-variant($color, $variant);
24
+ outline-offset: 2px;
25
+ }
20
26
  }
21
27
 
22
28
  @mixin lumx-link($color: "primary", $variant: "N") {