@lumx/core 3.11.4-alpha.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/js/constants/design-tokens.js +2 -2
- package/js/constants/design-tokens.min.js +1 -1
- package/js/constants/design-tokens.min.js.map +1 -1
- package/js/constants/index.js +4 -4
- package/js/constants/index.min.js +1 -1
- package/js/constants/index.min.js.map +1 -1
- package/js/constants/keycodes.js +2 -2
- package/js/constants/keycodes.min.js +1 -1
- package/js/constants/keycodes.min.js.map +1 -1
- package/js/custom-colors.js +90 -88
- package/js/custom-colors.min.js +1 -1
- package/js/custom-colors.min.js.map +1 -1
- package/js/date-picker.js +446 -412
- package/js/date-picker.min.js +1 -1
- package/js/date-picker.min.js.map +1 -1
- package/js/utils.js +574 -574
- package/js/utils.min.js +1 -1
- package/js/utils.min.js.map +1 -1
- package/lumx.css +1 -1
- package/lumx.min.css +1 -1
- package/package.json +8 -8
- package/scss/components/input-label/_index.scss +9 -0
- package/scss/components/link/_index.scss +7 -8
- package/scss/components/link/_mixins.scss +8 -2
- package/scss/components/user-block/_index.scss +8 -1
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.
|
|
43
|
+
"version": "3.12.1-alpha.0",
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@babel/core": "^7.
|
|
45
|
+
"@babel/core": "^7.26.10",
|
|
46
46
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
47
|
-
"@babel/plugin-proposal-export-default-from": "^7.
|
|
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.
|
|
50
|
-
"@babel/plugin-proposal-optional-chaining": "^7.
|
|
51
|
-
"@babel/plugin-proposal-private-property-in-object": "^7.
|
|
52
|
-
"@babel/preset-env": "^7.
|
|
53
|
-
"@babel/preset-typescript": "^7.
|
|
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
|
|
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") {
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
&--orientation-horizontal {
|
|
18
|
+
#{$self}__after {
|
|
19
|
+
margin: 0 0 0 $lumx-spacing-unit-big;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
17
23
|
&__avatar {
|
|
18
24
|
#{$self}--orientation-horizontal#{$self}--size-xs & {
|
|
19
25
|
margin-right: $lumx-spacing-unit;
|
|
@@ -109,7 +115,8 @@
|
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
&__action,
|
|
112
|
-
&__actions
|
|
118
|
+
&__actions,
|
|
119
|
+
&__after {
|
|
113
120
|
margin-top: $lumx-spacing-unit * 2;
|
|
114
121
|
}
|
|
115
122
|
}
|