@lumx/core 4.1.1-alpha.1 → 4.1.1-alpha.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/lumx.css
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
/** LUMX THEME */
|
|
2
|
+
/** LUMX THEME */
|
|
3
|
+
/* stylelint-disable custom-property-pattern, max-line-length, scss/dollar-variable-pattern, length-zero-no-unit */
|
|
3
4
|
/**
|
|
4
5
|
* Do not edit directly
|
|
5
6
|
* Generated on Mon, 13 Jan 2025 09:24:38 GMT
|
|
@@ -685,7 +686,8 @@
|
|
|
685
686
|
* Warning: These will be removed in the next major version.
|
|
686
687
|
*/
|
|
687
688
|
/* stylelint-disable custom-property-pattern */
|
|
688
|
-
/** @deprecated: replaced with $lumx-progress-circular-size-map */
|
|
689
|
+
/** @deprecated: replaced with $lumx-progress-circular-size-map */
|
|
690
|
+
/**
|
|
689
691
|
* 1. https://github.com/philipwalton/flexbugs/blob/master/README.md#flexbug-3
|
|
690
692
|
*/
|
|
691
693
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
@@ -10883,6 +10885,19 @@ table {
|
|
|
10883
10885
|
flex: 1 1 auto;
|
|
10884
10886
|
min-height: 0;
|
|
10885
10887
|
}
|
|
10888
|
+
.lumx-slideshow__wrapper--mode-scroll-snap {
|
|
10889
|
+
overflow-x: auto;
|
|
10890
|
+
scroll-snap-type: x mandatory;
|
|
10891
|
+
scrollbar-width: none;
|
|
10892
|
+
}
|
|
10893
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
10894
|
+
.lumx-slideshow__wrapper--mode-scroll-snap {
|
|
10895
|
+
scroll-behavior: smooth;
|
|
10896
|
+
}
|
|
10897
|
+
}
|
|
10898
|
+
.lumx-slideshow__wrapper--mode-scroll-snap::-webkit-scrollbar {
|
|
10899
|
+
display: none;
|
|
10900
|
+
}
|
|
10886
10901
|
.lumx-slideshow__controls {
|
|
10887
10902
|
margin-top: 16px;
|
|
10888
10903
|
}
|
|
@@ -10897,6 +10912,7 @@ table {
|
|
|
10897
10912
|
overflow: hidden;
|
|
10898
10913
|
max-width: 100%;
|
|
10899
10914
|
flex: 0 0 100%;
|
|
10915
|
+
scroll-snap-align: start;
|
|
10900
10916
|
}
|
|
10901
10917
|
|
|
10902
10918
|
/* Slideshow item
|
|
@@ -12827,6 +12843,7 @@ table {
|
|
|
12827
12843
|
}
|
|
12828
12844
|
.lumx-user-block__name {
|
|
12829
12845
|
outline: none;
|
|
12846
|
+
overflow-wrap: break-word;
|
|
12830
12847
|
font-size: 14px;
|
|
12831
12848
|
font-weight: var(--lumx-typography-interface-subtitle1-font-weight);
|
|
12832
12849
|
line-height: 20px;
|
|
@@ -12854,10 +12871,12 @@ table {
|
|
|
12854
12871
|
font-size: 14px;
|
|
12855
12872
|
font-weight: var(--lumx-typography-interface-body1-font-weight);
|
|
12856
12873
|
line-height: 20px;
|
|
12874
|
+
overflow-wrap: break-word;
|
|
12857
12875
|
}
|
|
12858
12876
|
.lumx-user-block--size-m .lumx-user-block__field::after {
|
|
12859
12877
|
margin: 0 4px;
|
|
12860
12878
|
content: "•";
|
|
12879
|
+
word-break: break-all;
|
|
12861
12880
|
}
|
|
12862
12881
|
.lumx-user-block--size-m .lumx-user-block__field:last-child::after {
|
|
12863
12882
|
display: none;
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"url": "https://github.com/lumapps/design-system/issues"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@lumx/icons": "^4.1.1-alpha.
|
|
9
|
+
"@lumx/icons": "^4.1.1-alpha.3",
|
|
10
10
|
"classnames": "^2.3.2",
|
|
11
11
|
"focus-visible": "^5.0.2",
|
|
12
12
|
"lodash": "4.17.23",
|
|
@@ -33,10 +33,11 @@
|
|
|
33
33
|
"generate:design-tokens": "yarn node style-dictionary/index.cjs",
|
|
34
34
|
"build": "rollup -c",
|
|
35
35
|
"test": "vitest run",
|
|
36
|
+
"type-check": "yarn tsc -p tsconfig.json",
|
|
36
37
|
"update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
|
|
37
38
|
},
|
|
38
39
|
"sideEffects": false,
|
|
39
|
-
"version": "4.1.1-alpha.
|
|
40
|
+
"version": "4.1.1-alpha.3",
|
|
40
41
|
"devDependencies": {
|
|
41
42
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
42
43
|
"@testing-library/dom": "^10.4.1",
|
|
@@ -47,18 +48,18 @@
|
|
|
47
48
|
"glob": "^7.1.6",
|
|
48
49
|
"jsdom": "^27.2.0",
|
|
49
50
|
"postcss": "^8.5.6",
|
|
50
|
-
"rollup": "^4.
|
|
51
|
+
"rollup": "^4.56.0",
|
|
51
52
|
"rollup-plugin-cleaner": "^1.0.0",
|
|
52
53
|
"rollup-plugin-copy": "^3.5.0",
|
|
53
54
|
"rollup-plugin-ts-paths-resolve": "^1.7.1",
|
|
54
|
-
"sass": "
|
|
55
|
+
"sass": "1.70.0",
|
|
55
56
|
"style-dictionary": "^3.9.0",
|
|
56
57
|
"tinycolor2": "^1.4.1",
|
|
57
58
|
"typescript": "^5.4.3",
|
|
58
59
|
"version-changelog": "^3.1.1",
|
|
59
|
-
"vite": "^
|
|
60
|
+
"vite": "^7.3.1",
|
|
60
61
|
"vite-tsconfig-paths": "^5.1.4",
|
|
61
|
-
"vitest": "^
|
|
62
|
+
"vitest": "^4.0.18"
|
|
62
63
|
},
|
|
63
64
|
"stableVersion": "4.1.0"
|
|
64
65
|
}
|
|
@@ -38,6 +38,20 @@
|
|
|
38
38
|
flex: 1 1 auto;
|
|
39
39
|
min-height: 0;
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
&--mode-scroll-snap {
|
|
43
|
+
overflow-x: auto;
|
|
44
|
+
scroll-snap-type: x mandatory;
|
|
45
|
+
scrollbar-width: none;
|
|
46
|
+
|
|
47
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
48
|
+
scroll-behavior: smooth;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&::-webkit-scrollbar {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
41
55
|
}
|
|
42
56
|
|
|
43
57
|
&__controls {
|
|
@@ -57,6 +71,7 @@
|
|
|
57
71
|
overflow: hidden;
|
|
58
72
|
max-width: 100%;
|
|
59
73
|
flex: 0 0 100%;
|
|
74
|
+
scroll-snap-align: start;
|
|
60
75
|
}
|
|
61
76
|
|
|
62
77
|
/* Slideshow item
|
|
@@ -147,7 +162,7 @@
|
|
|
147
162
|
width: $item-size*2;
|
|
148
163
|
border-radius: $lumx-border-radius;
|
|
149
164
|
border-width: 0;
|
|
150
|
-
|
|
165
|
+
|
|
151
166
|
&[data-focus-visible-added] {
|
|
152
167
|
@include lumx-state(lumx-base-const("state", "FOCUS"), lumx-base-const("emphasis", "LOW"), "primary");
|
|
153
168
|
}
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
|
|
53
53
|
&__name {
|
|
54
54
|
outline: none;
|
|
55
|
+
overflow-wrap: break-word;
|
|
55
56
|
|
|
56
57
|
#{$self}--size-xs & {
|
|
57
58
|
@include lumx-typography("body1");
|
|
@@ -83,11 +84,13 @@
|
|
|
83
84
|
|
|
84
85
|
&__field {
|
|
85
86
|
@include lumx-typography("body1");
|
|
87
|
+
overflow-wrap: break-word;
|
|
86
88
|
|
|
87
89
|
#{$self}--size-m & {
|
|
88
90
|
&::after {
|
|
89
91
|
margin: 0 math.div($lumx-spacing-unit, 2);
|
|
90
92
|
content: "•";
|
|
93
|
+
word-break: break-all;
|
|
91
94
|
}
|
|
92
95
|
|
|
93
96
|
&:last-child::after {
|