@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/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
- if (slot.assignedElements({ flatten: true }).length > 0) {
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 {