@wistia/ui 0.20.9 → 0.20.10-beta.3ec4a56f.4136798

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.ts CHANGED
@@ -2748,7 +2748,7 @@ declare const Mark: {
2748
2748
  displayName: string;
2749
2749
  };
2750
2750
 
2751
- type MarkdownTextSize = 'body-2' | 'body-3';
2751
+ type MarkdownTextSize = 'body2' | 'body3';
2752
2752
 
2753
2753
  type MarkdownProps = ComponentProps<typeof ReactMarkdown> & {
2754
2754
  /**
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.20.9
3
+ * @license @wistia/ui v0.20.10-beta.3ec4a56f.4136798
4
4
  *
5
5
  * Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -16115,8 +16115,12 @@ import ReactMarkdown from "react-markdown";
16115
16115
 
16116
16116
  // src/css/baseMarkdownCss.tsx
16117
16117
  import { css as css39 } from "styled-components";
16118
- var baseMarkdownCss = (textSize = "body-2") => css39`
16119
- --wui-markdown-base-unit: var(--wui-typography-${textSize}-size);
16118
+ var textSizeToTokenMap = {
16119
+ body2: "--wui-typography-body-2-size",
16120
+ body3: "--wui-typography-body-3-size"
16121
+ };
16122
+ var baseMarkdownCss = (textSize = "body2") => css39`
16123
+ --wui-markdown-base-unit: var(${textSizeToTokenMap[textSize]});
16120
16124
 
16121
16125
  font-size: var(--wui-markdown-base-unit);
16122
16126
 
@@ -16240,7 +16244,7 @@ var StyledMarkdownWrapper = styled76.div`
16240
16244
  `;
16241
16245
  var Markdown = ({
16242
16246
  children,
16243
- textSize = "body-2",
16247
+ textSize = "body2",
16244
16248
  ...otherProps
16245
16249
  }) => {
16246
16250
  const responsiveTextSize = useResponsiveProp(textSize);