@lumx/core 4.25.1-alpha.4 → 4.25.1-alpha.5
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/components-and-utils.css
CHANGED
|
@@ -8359,7 +8359,7 @@ table {
|
|
|
8359
8359
|
margin: 8px 0;
|
|
8360
8360
|
background-color: var(--lumx-color-dark-L5);
|
|
8361
8361
|
}
|
|
8362
|
-
.lumx-list-section:
|
|
8362
|
+
.lumx-list-section:has(+ :not(.lumx-list-divider, [hidden], :empty))::after {
|
|
8363
8363
|
content: "";
|
|
8364
8364
|
display: block;
|
|
8365
8365
|
height: 1px;
|
|
@@ -26,12 +26,6 @@ export interface RenderOptionContext {
|
|
|
26
26
|
isSelected: boolean;
|
|
27
27
|
/** Resolved description string (from `getOptionDescription`), if any. Should be forwarded as `description`. */
|
|
28
28
|
description?: string | null;
|
|
29
|
-
/**
|
|
30
|
-
* Selection state icon to render after the option label
|
|
31
|
-
* (single selection: check circle when selected, blank radio otherwise; multiple selection: checkbox).
|
|
32
|
-
* Should be forwarded as `after` (appended after any custom `after` content).
|
|
33
|
-
*/
|
|
34
|
-
after?: JSXElement;
|
|
35
29
|
}
|
|
36
30
|
export interface BaseSelectProps<O> {
|
|
37
31
|
/** List of option objects. */
|
package/lumx.css
CHANGED
|
@@ -9040,7 +9040,7 @@ table {
|
|
|
9040
9040
|
margin: 8px 0;
|
|
9041
9041
|
background-color: var(--lumx-color-dark-L5);
|
|
9042
9042
|
}
|
|
9043
|
-
.lumx-list-section:
|
|
9043
|
+
.lumx-list-section:has(+ :not(.lumx-list-divider, [hidden], :empty))::after {
|
|
9044
9044
|
content: "";
|
|
9045
9045
|
display: block;
|
|
9046
9046
|
height: 1px;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@floating-ui/dom": "^1.7.5",
|
|
10
|
-
"@lumx/icons": "^4.25.1-alpha.
|
|
10
|
+
"@lumx/icons": "^4.25.1-alpha.5",
|
|
11
11
|
"classnames": "^2.3.2",
|
|
12
12
|
"focus-visible": "^5.0.2",
|
|
13
13
|
"lodash": "4.18.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"update-version-changelog": "yarn version-changelog ../../CHANGELOG.md"
|
|
67
67
|
},
|
|
68
68
|
"sideEffects": false,
|
|
69
|
-
"version": "4.25.1-alpha.
|
|
69
|
+
"version": "4.25.1-alpha.5",
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
72
72
|
"@testing-library/dom": "^10.4.1",
|
|
@@ -158,10 +158,11 @@
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
// Insert a divider after each section that is not
|
|
162
|
-
//
|
|
163
|
-
//
|
|
164
|
-
|
|
161
|
+
// Insert a divider after each section followed by visible content, i.e. a next sibling that is not:
|
|
162
|
+
// - an explicit divider
|
|
163
|
+
// - a hidden element (the next visible section's ::before handles the divider)
|
|
164
|
+
// - empty (like the infinite scroll sentinel)
|
|
165
|
+
&:has(+ :not(#{$divider}, [hidden], :empty)) {
|
|
165
166
|
&::after {
|
|
166
167
|
content: '';
|
|
167
168
|
display: block;
|