@wistia/ui 1.15.0 → 1.15.1-beta.3e0ac07e.4f0f6f1
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 +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -4
- package/CHANGELOG.md +0 -2349
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.
|
|
3
|
+
* @license @wistia/ui v1.15.1-beta.3e0ac07e.4f0f6f1
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -3124,7 +3124,7 @@ const DiamondIcon = (props) => /* @__PURE__ */ jsx("svg", {
|
|
|
3124
3124
|
viewBox: "0 0 24 24",
|
|
3125
3125
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3126
3126
|
children: /* @__PURE__ */ jsx("path", {
|
|
3127
|
-
d: "
|
|
3127
|
+
d: "M10.2261 2.96726H17.4195C17.7215 2.96726 18.0039 3.11832 18.1714 3.36961L21.7847 8.78953C21.787 8.79292 21.7884 8.79686 21.7906 8.80027C21.8118 8.833 21.8303 8.86734 21.8472 8.90281C21.851 8.91072 21.8554 8.91827 21.8589 8.92625C21.8756 8.96395 21.8885 9.00324 21.8999 9.04344C21.9024 9.0522 21.9046 9.06099 21.9068 9.0698C21.9245 9.14049 21.9361 9.21431 21.9361 9.29051C21.9361 9.3 21.9344 9.30941 21.9341 9.31883C21.9337 9.33123 21.9331 9.34356 21.9322 9.35594C21.9259 9.44284 21.9066 9.52562 21.8775 9.60398C21.875 9.61074 21.8733 9.61778 21.8707 9.62449C21.8551 9.66332 21.8375 9.70084 21.8169 9.7368C21.8124 9.7448 21.8071 9.75235 21.8023 9.76023C21.7801 9.7965 21.757 9.83207 21.73 9.86473C21.729 9.86598 21.7281 9.86738 21.7271 9.86863L13.1832 20.1196C13.1486 20.1709 13.1104 20.2188 13.0669 20.2612L12.6939 20.7085C12.5223 20.9141 12.2674 21.0327 11.9996 21.0327C11.7319 21.0326 11.4777 20.914 11.3062 20.7085L10.9361 20.2641C10.8811 20.2129 10.8318 20.1551 10.7906 20.0903L2.27299 9.86863C2.27195 9.86738 2.2711 9.86598 2.27007 9.86473C2.24302 9.83194 2.2191 9.79666 2.19682 9.76023C2.19201 9.75235 2.18672 9.74479 2.18217 9.7368C2.16169 9.70087 2.14394 9.66329 2.12846 9.62449C2.1258 9.61779 2.12413 9.61074 2.12163 9.60398C2.09256 9.52569 2.07319 9.44275 2.06694 9.35594C2.06604 9.34357 2.06538 9.33122 2.06499 9.31883C2.06469 9.30942 2.06401 9.29999 2.06401 9.29051C2.06401 9.21439 2.0746 9.14042 2.09233 9.0698C2.09455 9.061 2.09668 9.05219 2.09917 9.04344C2.12387 8.95637 2.16052 8.8745 2.20854 8.80027C2.21084 8.79671 2.21302 8.79307 2.21538 8.78953L5.82866 3.36961L5.89702 3.27976C6.06735 3.0827 6.31647 2.96726 6.58061 2.96726H10.1822C10.1968 2.96708 10.2114 2.96673 10.2261 2.96726ZM11.9957 17.9712L14.3882 10.1938H9.60893L11.9957 17.9712ZM16.2798 10.1938L14.6265 15.5649L19.1021 10.1938H16.2798ZM9.36479 15.5561L7.72026 10.1938H4.89702L9.36479 15.5561ZM16.2642 8.38719H19.3443L16.9361 4.7739H15.0601L16.2642 8.38719ZM4.65483 8.38719H7.73491L8.93999 4.7739H7.06401L4.65483 8.38719ZM9.63921 8.38719H14.3589L13.1558 4.7739H10.8453L9.63921 8.38719Z",
|
|
3128
3128
|
fill: "currentColor"
|
|
3129
3129
|
})
|
|
3130
3130
|
});
|
|
@@ -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, {
|