@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.cjs
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
|
*
|
|
@@ -14137,24 +14137,26 @@ var import_styled_components81 = __toESM(require("styled-components"));
|
|
|
14137
14137
|
var import_react63 = require("react");
|
|
14138
14138
|
var import_jsx_runtime276 = require("react/jsx-runtime");
|
|
14139
14139
|
var StyledInput = (0, import_styled_components81.default)(Input)`
|
|
14140
|
-
|
|
14141
|
-
|
|
14142
|
-
|
|
14140
|
+
input {
|
|
14141
|
+
&:not([rows]) {
|
|
14142
|
+
min-height: unset;
|
|
14143
|
+
}
|
|
14143
14144
|
|
|
14144
|
-
|
|
14145
|
-
|
|
14146
|
-
|
|
14147
|
-
|
|
14148
|
-
|
|
14149
|
-
|
|
14145
|
+
&& {
|
|
14146
|
+
${({ $variant }) => variantStyleMap[$variant]}
|
|
14147
|
+
/* The input font styles (edit mode) needs the same font styles as Heading */
|
|
14148
|
+
--wui-input-font-size: var(--font-size);
|
|
14149
|
+
--wui-input-font-weight: var(--font-weight);
|
|
14150
|
+
--wui-input-line-height: var(--line-height);
|
|
14150
14151
|
|
|
14151
|
-
|
|
14152
|
-
|
|
14153
|
-
|
|
14154
|
-
|
|
14155
|
-
|
|
14156
|
-
|
|
14157
|
-
|
|
14152
|
+
font-family: var(--font-family);
|
|
14153
|
+
width: 100%;
|
|
14154
|
+
padding: var(--wui-space-02);
|
|
14155
|
+
border: none;
|
|
14156
|
+
height: ${({ $height }) => `${$height}px`};
|
|
14157
|
+
min-height: ${({ $height }) => `${$height}px`};
|
|
14158
|
+
resize: none;
|
|
14159
|
+
}
|
|
14158
14160
|
}
|
|
14159
14161
|
`;
|
|
14160
14162
|
var editableStyles = import_styled_components81.css`
|