@wistia/ui 0.2.1 → 0.3.1

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.2.1
3
+ * @license @wistia/ui v0.3.1
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -5967,9 +5967,11 @@ var propsForFlexChildren = /* @__PURE__ */ new Set(["alignSelf", "basis", "grow"
5967
5967
  var getGapStyle = (gap) => {
5968
5968
  if ((0, import_type_guards14.isNotNil)(gap)) {
5969
5969
  if ((0, import_type_guards14.isRecord)(gap)) {
5970
- return Object.entries(gap).map(([key, value]) => `${key}-gap: ${value};`).join("");
5970
+ return Object.entries(gap).map(([key, value]) => {
5971
+ return `${key}-gap: var(--wui-${value})};`;
5972
+ }).join("");
5971
5973
  }
5972
- return `gap: ${gap.toString()};`;
5974
+ return `gap: var(--wui-${gap.toString()})};`;
5973
5975
  }
5974
5976
  return void 0;
5975
5977
  };
@@ -6099,7 +6101,7 @@ var ButtonGroupComponent = import_styled_components24.default.div`
6099
6101
 
6100
6102
  /* this helps ensure that primary buttons appear at the top of the column */
6101
6103
  flex-direction: ${({ $align }) => $align === "right" ? "column-reverse" : "column"};
6102
- gap: var(--wui-space-04);
6104
+ gap: var(--wui-space-02);
6103
6105
  align-items: center;
6104
6106
  justify-content: ${({ $align }) => getAlignment($align)};
6105
6107
  width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};