@sebgroup/green-core 3.12.2 → 3.12.3

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.
@@ -24,8 +24,9 @@ const style = css`
24
24
  var(--gds-avatar-cutout-enabled, 0)
25
25
  );
26
26
  --_effective-overlap: calc(var(--_overlap) * var(--_grouped-enabled));
27
- --_effective-cutout-radius: calc(
28
- var(--_cutout-radius) * var(--_grouped-enabled)
27
+ --_effective-cutout-radius: max(
28
+ 0.001px,
29
+ calc(var(--_cutout-radius) * var(--_grouped-enabled))
29
30
  );
30
31
  --_cutout-right-offset: calc(
31
32
  var(--_size) / 2 + var(--_effective-overlap)
@@ -108,7 +109,7 @@ const style = css`
108
109
  mask-image: radial-gradient(
109
110
  circle var(--_effective-cutout-radius) at
110
111
  calc(100% + var(--_cutout-right-offset)) 50%,
111
- #0000 calc(var(--_effective-cutout-radius) - 0.1px),
112
+ #0000 max(0px, calc(var(--_effective-cutout-radius) - 0.1px)),
112
113
  #000 var(--_effective-cutout-radius)
113
114
  );
114
115
  }
@@ -143,7 +143,7 @@ let GdsSegmentedControl = class extends withLayoutChildProps(
143
143
  ?inert=${!this._showPrevButton}
144
144
  id="btn-prev"
145
145
  @click=${__privateGet(this, _scrollLeft)}
146
- aria-label=${msg("Scroll right")}
146
+ aria-label=${msg("Scroll left")}
147
147
  >
148
148
  <gds-icon-chevron-left />
149
149
  </button>