@wistia/ui 0.13.1-beta.dfa62396.22fa8d9 → 0.13.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.13.1-beta.dfa62396.22fa8d9
3
+ * @license @wistia/ui v0.13.1
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -10680,13 +10680,11 @@ var StyledInput = (0, import_styled_components56.default)(Input)`
10680
10680
  }
10681
10681
 
10682
10682
  && {
10683
- ${({ $variant }) => variantStyleMap[$variant]}
10684
- /* The input font styles (edit mode) needs the same font styles as Heading */
10685
- --wui-input-font-size: var(--font-size);
10686
- --wui-input-font-weight: var(--font-weight);
10687
- --wui-input-line-height: var(--line-height);
10683
+ --wui-input-font-size: var(--wui-typography-heading-1-size);
10684
+ --wui-input-font-weight: var(--wui-typography-heading-1-weight);
10685
+ --wui-input-line-height: var(--wui-typography-heading-1-line-height);
10688
10686
 
10689
- font-family: var(--font-family);
10687
+ font-family: var(--wui-typography-heading-1-family);
10690
10688
  width: 100%;
10691
10689
  padding: var(--wui-space-02);
10692
10690
  border: none;
@@ -10718,7 +10716,6 @@ var EditableHeading = ({
10718
10716
  onEditingChange,
10719
10717
  tooltipText = "Click to edit title",
10720
10718
  ariaLabel = "Edit title",
10721
- variant = "heading1",
10722
10719
  __forceEditing = false,
10723
10720
  editingDisabled = false
10724
10721
  }) => {
@@ -10765,7 +10762,7 @@ var EditableHeading = ({
10765
10762
  ref: headingRef,
10766
10763
  $editingDisabled: editingDisabled,
10767
10764
  onClick: () => handleSetEditing(true),
10768
- variant,
10765
+ variant: "heading1",
10769
10766
  children: value
10770
10767
  }
10771
10768
  );
@@ -10777,7 +10774,6 @@ var EditableHeading = ({
10777
10774
  StyledInput,
10778
10775
  {
10779
10776
  $height: headingHeight,
10780
- $variant: variant,
10781
10777
  autoFocus: true,
10782
10778
  fullWidth: true,
10783
10779
  onBlur: handleFinishEditing,