@wistia/ui 0.2.1 → 0.3.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/dist/index.cjs +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.
|
|
3
|
+
* @license @wistia/ui v0.3.0
|
|
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]) =>
|
|
5970
|
+
return Object.entries(gap).map(([key, value]) => {
|
|
5971
|
+
return `${key}-gap: var(--wui-${value})};`;
|
|
5972
|
+
}).join("");
|
|
5971
5973
|
}
|
|
5972
|
-
return `gap:
|
|
5974
|
+
return `gap: var(--wui-${gap.toString()})};`;
|
|
5973
5975
|
}
|
|
5974
5976
|
return void 0;
|
|
5975
5977
|
};
|