@wistia/ui 0.8.10 → 0.8.11-beta.8d7ca362.24ef8eb

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.mts CHANGED
@@ -2703,18 +2703,21 @@ type StackProps = {
2703
2703
  /**
2704
2704
  * The gap between each item in the stack. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
2705
2705
  * TODO: add link to Spacing docs
2706
+ *
2706
2707
  */
2707
- gap?: Spacings;
2708
+ gap?: ResponsiveObject<Spacings> | Spacings;
2708
2709
  /**
2709
2710
  * Vertical is equivalent to `flex-direction: column;`, horizontal is equivalent to `flex-direction: row;`.
2710
2711
  * The default behavior is `vertical`. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
2711
2712
  */
2712
- direction?: 'horizontal' | 'vertical';
2713
+ direction?: ResponsiveObject<'horizontal' | 'vertical'> | 'horizontal' | 'vertical';
2713
2714
  /**
2714
2715
  * Controls how items are aligned along the cross-axis.
2715
2716
  * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
2717
+ *
2718
+ * @type 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch' | ResponsiveObject<'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch'>
2716
2719
  */
2717
- alignItems?: AlignItemsType;
2720
+ alignItems?: AlignItemsType | ResponsiveObject<AlignItemsType>;
2718
2721
  renderAs?: ElementType;
2719
2722
  };
2720
2723
  /**
package/dist/index.d.ts CHANGED
@@ -2703,18 +2703,21 @@ type StackProps = {
2703
2703
  /**
2704
2704
  * The gap between each item in the stack. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
2705
2705
  * TODO: add link to Spacing docs
2706
+ *
2706
2707
  */
2707
- gap?: Spacings;
2708
+ gap?: ResponsiveObject<Spacings> | Spacings;
2708
2709
  /**
2709
2710
  * Vertical is equivalent to `flex-direction: column;`, horizontal is equivalent to `flex-direction: row;`.
2710
2711
  * The default behavior is `vertical`. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
2711
2712
  */
2712
- direction?: 'horizontal' | 'vertical';
2713
+ direction?: ResponsiveObject<'horizontal' | 'vertical'> | 'horizontal' | 'vertical';
2713
2714
  /**
2714
2715
  * Controls how items are aligned along the cross-axis.
2715
2716
  * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
2717
+ *
2718
+ * @type 'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch' | ResponsiveObject<'baseline' | 'center' | 'flex-end' | 'flex-start' | 'stretch'>
2716
2719
  */
2717
- alignItems?: AlignItemsType;
2720
+ alignItems?: AlignItemsType | ResponsiveObject<AlignItemsType>;
2718
2721
  renderAs?: ElementType;
2719
2722
  };
2720
2723
  /**
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.8.10
3
+ * @license @wistia/ui v0.8.11-beta.8d7ca362.24ef8eb
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -1478,7 +1478,7 @@ var UIProvider = ({ children }) => {
1478
1478
  return /* @__PURE__ */ jsx3(UIProviderNestingContext.Provider, { value: true, children: /* @__PURE__ */ jsx3(AriaLiveProvider, { children: /* @__PURE__ */ jsxs(TooltipProvider, { children: [
1479
1479
  /* @__PURE__ */ jsx3(GlobalStyle, {}),
1480
1480
  children,
1481
- process.env["NODE_ENV"] !== "test" && /* @__PURE__ */ jsx3(ToastProvider, {})
1481
+ /* @__PURE__ */ jsx3(ToastProvider, {})
1482
1482
  ] }) }) });
1483
1483
  };
1484
1484