@wistia/ui 0.15.12-beta.b27f1407.ee5496a → 0.15.12-beta.dc4eb744.2eece8b
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 +19 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +19 -17
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.15.12-beta.
|
|
3
|
+
* @license @wistia/ui v0.15.12-beta.dc4eb744.2eece8b
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -13987,24 +13987,26 @@ import styled62, { css as css34 } from "styled-components";
|
|
|
13987
13987
|
import { useState as useState18, useRef as useRef16 } from "react";
|
|
13988
13988
|
import { Fragment as Fragment8, jsx as jsx276, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
13989
13989
|
var StyledInput = styled62(Input)`
|
|
13990
|
-
|
|
13991
|
-
|
|
13992
|
-
|
|
13990
|
+
input {
|
|
13991
|
+
&:not([rows]) {
|
|
13992
|
+
min-height: unset;
|
|
13993
|
+
}
|
|
13993
13994
|
|
|
13994
|
-
|
|
13995
|
-
|
|
13996
|
-
|
|
13997
|
-
|
|
13998
|
-
|
|
13999
|
-
|
|
13995
|
+
&& {
|
|
13996
|
+
${({ $variant }) => variantStyleMap[$variant]}
|
|
13997
|
+
/* The input font styles (edit mode) needs the same font styles as Heading */
|
|
13998
|
+
--wui-input-font-size: var(--font-size);
|
|
13999
|
+
--wui-input-font-weight: var(--font-weight);
|
|
14000
|
+
--wui-input-line-height: var(--line-height);
|
|
14000
14001
|
|
|
14001
|
-
|
|
14002
|
-
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14002
|
+
font-family: var(--font-family);
|
|
14003
|
+
width: 100%;
|
|
14004
|
+
padding: var(--wui-space-02);
|
|
14005
|
+
border: none;
|
|
14006
|
+
height: ${({ $height }) => `${$height}px`};
|
|
14007
|
+
min-height: ${({ $height }) => `${$height}px`};
|
|
14008
|
+
resize: none;
|
|
14009
|
+
}
|
|
14008
14010
|
}
|
|
14009
14011
|
`;
|
|
14010
14012
|
var editableStyles = css34`
|