@wistia/ui 1.15.1 → 2.0.0-beta.2fe7a24c.8943b30

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
@@ -4498,7 +4498,7 @@ declare const Stack: PolymorphicComponent<typeof DEFAULT_ELEMENT, StackProps>;
4498
4498
  //#endregion
4499
4499
  //#region src/components/Switch/Switch.d.ts
4500
4500
  type SwitchSizeType = "lg" | "md" | "sm";
4501
- type SwitchProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label" | "size"> & {
4501
+ type SwitchProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label" | "role" | "size"> & {
4502
4502
  /**
4503
4503
  * The alignment of the switch relative to the label
4504
4504
  */
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v1.15.1
3
+ * @license @wistia/ui v2.0.0-beta.2fe7a24c.8943b30
4
4
  *
5
5
  * Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -9342,6 +9342,7 @@ const Switch = ({ align = "left", checked, disabled = false, id, label, descript
9342
9342
  name,
9343
9343
  onChange,
9344
9344
  required,
9345
+ role: "switch",
9345
9346
  type: "checkbox",
9346
9347
  value
9347
9348
  }), /* @__PURE__ */ jsx(FormControlLabel, {