@wistia/ui 3.8.4 → 3.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#4810](https://github.com/wistia/vhs/pull/4810) [`2286471`](https://github.com/wistia/vhs/commit/228647135a12e599fd8ba28f331f65fc30d7de85) Thanks [@natashatorres](https://github.com/natashatorres)! - `WistiaLogo` has a `black` variant that fills the whole logo, brandmark and logotype, with black.
8
+
3
9
  ## 3.8.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -4639,7 +4639,7 @@ type WistiaLogoProps = Omit<ComponentPropsWithoutRef<"svg">, "height" | "href">
4639
4639
  /**
4640
4640
  * Style of the logo
4641
4641
  */
4642
- variant?: "dark" | "light" | "standard";
4642
+ variant?: "black" | "dark" | "light" | "standard";
4643
4643
  /**
4644
4644
  * If true, the logo will be optically centered within its container
4645
4645
  */
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v3.8.4
3
+ * @license @wistia/ui v3.9.0
4
4
  *
5
5
  * Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -1547,8 +1547,8 @@ const LINK_ATTRIBUTES = [
1547
1547
  "aria-owns",
1548
1548
  "id"
1549
1549
  ];
1550
- const createAriaHider = (containerNode, selector = "body > :not(script)") => {
1551
- const candidates = [...document.querySelectorAll(selector)];
1550
+ const createAriaHider = (containerNode) => {
1551
+ const candidates = [...document.querySelectorAll("body > :not(script)")];
1552
1552
  const heldNodes = /* @__PURE__ */ new Set();
1553
1553
  const update = () => {
1554
1554
  const regions = getTrapRegions(containerNode);
@@ -17698,7 +17698,12 @@ const WistiaLogo = ({ description, height = 100, hoverColor, href, iconOnly = fa
17698
17698
  const primaryColor = "#2949e5";
17699
17699
  const darkColor = "#000934";
17700
17700
  const lightColor = "#ffffff";
17701
+ const blackColor = "#000000";
17701
17702
  const VARIANT_COLORS = {
17703
+ black: {
17704
+ brandmark: blackColor,
17705
+ logotype: blackColor
17706
+ },
17702
17707
  standard: {
17703
17708
  brandmark: primaryColor,
17704
17709
  logotype: darkColor