@wistia/ui 0.18.3-beta.a90ddf43.95aaf02 → 0.18.3-beta.e98f53f4.66dc5b8

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.18.3-beta.a90ddf43.95aaf02
3
+ * @license @wistia/ui v0.18.3-beta.e98f53f4.66dc5b8
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -73,6 +73,7 @@ __export(index_exports, {
73
73
  ComboboxOption: () => ComboboxOption,
74
74
  ContextMenu: () => ContextMenu,
75
75
  ContrastControls: () => ContrastControls,
76
+ CustomizableThemeWrapper: () => CustomizableThemeWrapper,
76
77
  DataCard: () => DataCard,
77
78
  DataCardHoverArrow: () => DataCardHoverArrow,
78
79
  DataCardTrend: () => DataCardTrend,
@@ -6871,13 +6872,13 @@ var SpeedIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
6871
6872
 
6872
6873
  // src/components/Icon/icons/SpinnerIcon.tsx
6873
6874
  var import_jsx_runtime169 = require("react/jsx-runtime");
6874
- var SpinnerIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)(
6875
+ var SpinnerIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
6875
6876
  "svg",
6876
6877
  {
6877
6878
  ...props,
6878
6879
  viewBox: "0 0 24 24",
6879
6880
  xmlns: "http://www.w3.org/2000/svg",
6880
- children: [
6881
+ children: /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)("g", { children: [
6881
6882
  /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(
6882
6883
  "path",
6883
6884
  {
@@ -6895,10 +6896,10 @@ var SpinnerIcon = (props) => /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)(
6895
6896
  keyTimes: "0;1",
6896
6897
  repeatCount: "indefinite",
6897
6898
  type: "rotate",
6898
- values: "0 0 0;360 0 0"
6899
+ values: "0 12 12;360 12 12"
6899
6900
  }
6900
6901
  )
6901
- ]
6902
+ ] })
6902
6903
  }
6903
6904
  );
6904
6905
 
@@ -18209,9 +18210,6 @@ var getRelativeMousePosition = (elem, mouseEvent) => {
18209
18210
  left: relativeLeft
18210
18211
  };
18211
18212
  };
18212
- var hasValidThumbnailUrl = (thumbnailUrl) => {
18213
- return (0, import_type_guards74.isNotNil)(thumbnailUrl) && (0, import_type_guards74.isNonEmptyString)(thumbnailUrl);
18214
- };
18215
18213
  var Thumbnail = (0, import_react100.forwardRef)(
18216
18214
  ({
18217
18215
  gradientBackground = "defaultMidOne",
@@ -18230,7 +18228,7 @@ var Thumbnail = (0, import_react100.forwardRef)(
18230
18228
  const storyboardElementRef = (0, import_react100.useRef)(null);
18231
18229
  const [cursorPosition, setCursorPosition] = (0, import_react100.useState)(null);
18232
18230
  const backgroundUrl = (0, import_react100.useMemo)(
18233
- () => thumbnailImageType === "square" && hasValidThumbnailUrl(thumbnailUrl) ? thumbnailUrl : void 0,
18231
+ () => thumbnailImageType === "square" && (0, import_type_guards74.isNotNil)(thumbnailUrl) ? thumbnailUrl : void 0,
18234
18232
  [thumbnailImageType, thumbnailUrl]
18235
18233
  );
18236
18234
  const isScrubbable = (0, import_type_guards74.isNotNil)(storyboard);
@@ -18281,7 +18279,7 @@ var Thumbnail = (0, import_react100.forwardRef)(
18281
18279
  width
18282
18280
  }
18283
18281
  );
18284
- } else if (hasValidThumbnailUrl(thumbnailUrl)) {
18282
+ } else if ((0, import_type_guards74.isNotNil)(thumbnailUrl)) {
18285
18283
  thumbnailContent = /* @__PURE__ */ (0, import_jsx_runtime328.jsx)(
18286
18284
  ThumbnailImage,
18287
18285
  {
@@ -18611,6 +18609,26 @@ var SplitButton = ({
18611
18609
  ] });
18612
18610
  };
18613
18611
  SplitButton.displayName = "SplitButton_UI";
18612
+
18613
+ // src/components/CustomizableThemeWrapper/CustomizableThemeWrapper.tsx
18614
+ var import_styled_components131 = require("styled-components");
18615
+ var import_jsx_runtime332 = require("react/jsx-runtime");
18616
+ var StyledCustomizableThemeWrapper = import_styled_components131.styled.div(
18617
+ (props) => props.$overrides
18618
+ );
18619
+ var CustomizableThemeWrapper = ({
18620
+ children,
18621
+ overrides,
18622
+ ...props
18623
+ }) => /* @__PURE__ */ (0, import_jsx_runtime332.jsx)(
18624
+ StyledCustomizableThemeWrapper,
18625
+ {
18626
+ ...props,
18627
+ $overrides: overrides,
18628
+ children
18629
+ }
18630
+ );
18631
+ CustomizableThemeWrapper.displayName = "CustomizableThemeWrapper_UI";
18614
18632
  // Annotate the CommonJS export names for ESM import in node:
18615
18633
  0 && (module.exports = {
18616
18634
  ActionButton,
@@ -18647,6 +18665,7 @@ SplitButton.displayName = "SplitButton_UI";
18647
18665
  ComboboxOption,
18648
18666
  ContextMenu,
18649
18667
  ContrastControls,
18668
+ CustomizableThemeWrapper,
18650
18669
  DataCard,
18651
18670
  DataCardHoverArrow,
18652
18671
  DataCardTrend,