@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 +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.20.
|
|
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
|
|
16119
|
-
|
|
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 = "
|
|
16247
|
+
textSize = "body2",
|
|
16244
16248
|
...otherProps
|
|
16245
16249
|
}) => {
|
|
16246
16250
|
const responsiveTextSize = useResponsiveProp(textSize);
|