@smilodon/core 1.17.0 → 1.18.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/README.md +10 -2
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.umd.js +4 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -5540,7 +5540,9 @@
|
|
|
5540
5540
|
`;
|
|
5541
5541
|
const slot = container.querySelector('slot[name="arrow"]');
|
|
5542
5542
|
slot?.addEventListener('slotchange', () => {
|
|
5543
|
-
|
|
5543
|
+
// Do not flatten: flattening can expose the built-in SVG fallback
|
|
5544
|
+
// as an assigned element after the last custom arrow is removed.
|
|
5545
|
+
if (slot.assignedElements().length > 0) {
|
|
5544
5546
|
this.setAttribute('data-custom-arrow', 'true');
|
|
5545
5547
|
}
|
|
5546
5548
|
else {
|
|
@@ -6269,7 +6271,7 @@
|
|
|
6269
6271
|
}
|
|
6270
6272
|
|
|
6271
6273
|
:host([data-custom-arrow="true"]) .dropdown-arrow-container:hover {
|
|
6272
|
-
background-color: transparent;
|
|
6274
|
+
background-color: var(--select-arrow-hover-bg, transparent);
|
|
6273
6275
|
}
|
|
6274
6276
|
|
|
6275
6277
|
.dropdown-arrow {
|