@protonradio/proton-ui 0.7.20 → 0.7.21

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.d.ts CHANGED
@@ -599,7 +599,7 @@ declare interface SwitchProps {
599
599
  /**
600
600
  * The string used for the input label. Forwarded to `aria-label`.
601
601
  */
602
- label: string;
602
+ label?: string;
603
603
  /**
604
604
  * The text or component to be rendered as the Switch's description.
605
605
  */
package/dist/index.es.js CHANGED
@@ -9625,7 +9625,7 @@ const Kv = dt(
9625
9625
  onClear: () => c == null ? void 0 : c(),
9626
9626
  label: e
9627
9627
  }), f = M(null), { inputProps: p, clearButtonProps: m } = Ap(
9628
- { ...d, placeholder: e },
9628
+ { ...d, placeholder: e, "aria-label": e },
9629
9629
  d,
9630
9630
  f
9631
9631
  ), { value: y, setValue: g } = d, C = () => {