@salesforcedevs/dx-components 1.40.5-topic-alpha.4 → 1.40.5-topic-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/package.json +1 -1
- package/src/modules/dx/button/button.css +4 -14
- package/src/modules/dx/dropdownOption/dropdownOption.css +14 -4
- package/src/modules/dx/popover/popover.css +3 -1
- package/src/modules/dx/searchResults/coveo.css +18001 -0
- package/src/modules/dx/tooltip/microtip.css +269 -0
- package/src/modules/dx/treeItem/treeItem.css +4 -0
- package/src/modules/dx/treeTile/treeTile.css +38 -0
package/package.json
CHANGED
|
@@ -306,20 +306,10 @@
|
|
|
306
306
|
box-shadow: var(--dx-c-button-custom-border-shadow-hover, none);
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
/*
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
outline-offset: var(--dx-c-button-custom-focus-offset-active, 0);
|
|
314
|
-
box-shadow: var(
|
|
315
|
-
--dx-c-button-custom-focus-shadow-active,
|
|
316
|
-
var(--dx-c-button-custom-border-shadow-hover, none)
|
|
317
|
-
);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/* Keyboard focus. Keep last so it wins over hover and the open state (:host
|
|
321
|
-
lifts it above the custom and icon-only hover rules). The
|
|
322
|
-
outline survives Windows high-contrast mode; the white band does not. */
|
|
309
|
+
/* Keyboard focus only; an open menu alone shows no ring. Keep last so it wins
|
|
310
|
+
over hover and the open state (:host lifts it above the custom and icon-only
|
|
311
|
+
hover rules). The outline survives Windows high-contrast mode; the white band
|
|
312
|
+
does not. */
|
|
323
313
|
:host .button:focus-visible,
|
|
324
314
|
:host .button:focus-visible:hover,
|
|
325
315
|
:host([aria-expanded="true"]) .button:focus-visible {
|
|
@@ -12,11 +12,16 @@
|
|
|
12
12
|
width: var(--shape-width);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
/* The vertical stroke of the "L" runs up to the top edge of the option: the
|
|
16
|
+
top padding plus the space above the shape inside the line box. */
|
|
15
17
|
.indented-shape::after {
|
|
16
18
|
background-color: var(--background);
|
|
17
19
|
bottom: 0;
|
|
18
20
|
content: "";
|
|
19
|
-
height:
|
|
21
|
+
height: calc(
|
|
22
|
+
var(--dx-g-spacing-sm) +
|
|
23
|
+
(var(--dx-g-spacing-lg) + var(--wide) - var(--dx-g-spacing-xs)) / 2
|
|
24
|
+
);
|
|
20
25
|
position: absolute;
|
|
21
26
|
width: var(--wide);
|
|
22
27
|
}
|
|
@@ -70,6 +75,7 @@
|
|
|
70
75
|
.option-indented .option_details {
|
|
71
76
|
align-items: center;
|
|
72
77
|
flex-direction: row;
|
|
78
|
+
justify-content: flex-start;
|
|
73
79
|
gap: 0;
|
|
74
80
|
}
|
|
75
81
|
|
|
@@ -147,14 +153,18 @@
|
|
|
147
153
|
max-width: calc(100vw - var(--dx-g-spacing-lg) * 4);
|
|
148
154
|
}
|
|
149
155
|
|
|
156
|
+
/* Each "L" starts xs past the first letter of the label above it. A label
|
|
157
|
+
sits one shape plus its sm margin after its own "L", so each level steps in
|
|
158
|
+
by that much plus xs. */
|
|
150
159
|
.option-indented:not([data-index="0"]) {
|
|
151
|
-
--base-indentation: calc(
|
|
160
|
+
--base-indentation: calc(
|
|
161
|
+
var(--shape-width) + var(--dx-g-spacing-sm) + var(--dx-g-spacing-xs)
|
|
162
|
+
);
|
|
152
163
|
--shape-width: 8px;
|
|
153
164
|
|
|
154
|
-
/* One sm step past the first option's lg left padding. */
|
|
155
165
|
padding-left: calc(
|
|
156
166
|
var(--indentation, 0px) + var(--dx-g-spacing-lg) +
|
|
157
|
-
var(--dx-g-spacing-
|
|
167
|
+
var(--dx-g-spacing-xs)
|
|
158
168
|
);
|
|
159
169
|
}
|
|
160
170
|
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
padding: var(--popover-padding);
|
|
30
30
|
overflow-y: auto;
|
|
31
31
|
transition: var(--popover-transition);
|
|
32
|
-
transition-delay: 0.02s;
|
|
33
32
|
transform: translateY(var(--dx-g-spacing-xs));
|
|
34
33
|
opacity: 0;
|
|
35
34
|
}
|
|
@@ -40,6 +39,9 @@
|
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
.popover-container_open .popover {
|
|
42
|
+
/* Delay only on open. A closing delay keeps the menu visible for a frame
|
|
43
|
+
after its container hides, while it moves (a flash above the trigger). */
|
|
44
|
+
transition-delay: 0.02s;
|
|
43
45
|
opacity: 1;
|
|
44
46
|
transform: var(--popover-container-open-transform);
|
|
45
47
|
}
|