@wistia/ui 0.6.16-beta.6ad7f83d.3afc068 → 0.6.16

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.6.16-beta.6ad7f83d.3afc068
3
+ * @license @wistia/ui v0.6.16
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -9863,12 +9863,12 @@ var Header = import_styled_components58.default.header`
9863
9863
  display: flex;
9864
9864
  order: 1;
9865
9865
  gap: var(--wui-space-01);
9866
- /* ensure ModalCloseButton is right-aligned */
9867
- justify-content: ${({ $hideTitle }) => $hideTitle ? "flex-end" : "space-between"};
9866
+ margin-bottom: var(--wui-space-03);
9867
+ justify-content: space-between;
9868
9868
 
9869
9869
  /* DialogTitle creates an h2 element which inherits some margin */
9870
9870
  h2 {
9871
- margin: 0 0 var(--wui-space-03);
9871
+ margin-top: 0;
9872
9872
  }
9873
9873
  `;
9874
9874
  var Title = (0, import_styled_components58.default)(import_react_dialog2.Title)`
@@ -9883,7 +9883,7 @@ var ModalHeader = ({
9883
9883
  hideCloseButton
9884
9884
  }) => {
9885
9885
  const TitleComponent = hideTitle ? /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(ScreenReaderOnly, { children: /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Title, { children: title }) }) : /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(Title, { children: title });
9886
- return /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(Header, { $hideTitle: hideTitle, children: [
9886
+ return /* @__PURE__ */ (0, import_jsx_runtime234.jsxs)(Header, { children: [
9887
9887
  TitleComponent,
9888
9888
  hideCloseButton ? null : /* @__PURE__ */ (0, import_jsx_runtime234.jsx)(ModalCloseButton, {})
9889
9889
  ] });