@lumx/core 4.1.1-alpha.0 → 4.1.1-alpha.2
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/types/index.d.ts
CHANGED
|
@@ -19,3 +19,5 @@ export type { ObjectValues } from './ObjectValues';
|
|
|
19
19
|
export type { HasRequiredLinkHref } from './HasRequiredLinkHref';
|
|
20
20
|
export type { HasPolymorphicAs } from './HasPolymorphicAs';
|
|
21
21
|
export type { CommonRef } from './CommonRef';
|
|
22
|
+
export type { HasAriaDisabled } from './HasAriaDisabled';
|
|
23
|
+
export type { AriaAttributes } from './AriaAttributes';
|
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
|
|
@@ -12797,6 +12813,7 @@ table {
|
|
|
12797
12813
|
.lumx-user-block {
|
|
12798
12814
|
display: flex;
|
|
12799
12815
|
align-items: center;
|
|
12816
|
+
min-width: 0;
|
|
12800
12817
|
}
|
|
12801
12818
|
.lumx-user-block--orientation-vertical {
|
|
12802
12819
|
flex-direction: column;
|
|
@@ -12819,13 +12836,12 @@ table {
|
|
|
12819
12836
|
.lumx-user-block__wrapper {
|
|
12820
12837
|
display: flex;
|
|
12821
12838
|
flex-direction: column;
|
|
12839
|
+
min-width: 0;
|
|
12822
12840
|
}
|
|
12823
12841
|
.lumx-user-block--orientation-vertical .lumx-user-block__wrapper {
|
|
12824
12842
|
align-items: center;
|
|
12825
12843
|
}
|
|
12826
12844
|
.lumx-user-block__name {
|
|
12827
|
-
width: -moz-fit-content;
|
|
12828
|
-
width: fit-content;
|
|
12829
12845
|
outline: none;
|
|
12830
12846
|
font-size: 14px;
|
|
12831
12847
|
font-weight: var(--lumx-typography-interface-subtitle1-font-weight);
|
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.2",
|
|
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.2",
|
|
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
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
|
+
min-width: 0;
|
|
12
13
|
|
|
13
14
|
&--orientation-vertical {
|
|
14
15
|
flex-direction: column;
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
&__wrapper {
|
|
43
44
|
display: flex;
|
|
44
45
|
flex-direction: column;
|
|
46
|
+
min-width: 0;
|
|
45
47
|
|
|
46
48
|
#{$self}--orientation-vertical & {
|
|
47
49
|
align-items: center;
|
|
@@ -49,14 +51,12 @@
|
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
&__name {
|
|
52
|
-
width: fit-content;
|
|
53
54
|
outline: none;
|
|
54
55
|
|
|
55
56
|
#{$self}--size-xs & {
|
|
56
57
|
@include lumx-typography("body1");
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
|
|
60
60
|
@include lumx-typography("subtitle1");
|
|
61
61
|
|
|
62
62
|
#{$self}--orientation-vertical & {
|