@fluid-topics/ft-text-area 1.0.40 → 1.0.42
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.
|
@@ -3,7 +3,6 @@ import { designSystemVariables, FtCssVariableFactory, setVariable } from "@fluid
|
|
|
3
3
|
import { FtTypographyBody1CssVariables } from "@fluid-topics/ft-typography/build/ft-typography.css";
|
|
4
4
|
import { FtInputLabelCssVariables } from "@fluid-topics/ft-input-label/build/ft-input-label.css";
|
|
5
5
|
import { FtRippleCssVariables } from "@fluid-topics/ft-ripple/build/ft-ripple.css";
|
|
6
|
-
import { FtIconCssVariables } from "@fluid-topics/ft-icon";
|
|
7
6
|
export const FtTextAreaCssVariables = {
|
|
8
7
|
fontSize: FtCssVariableFactory.create("--ft-text-area-font-size", "SIZE", "14px"),
|
|
9
8
|
labelSize: FtCssVariableFactory.create("--ft-text-area-label-size", "SIZE", "11px"),
|
|
@@ -68,7 +67,7 @@ export const styles = css `
|
|
|
68
67
|
color: ${FtTextAreaCssVariables.colorOnSurface};
|
|
69
68
|
|
|
70
69
|
padding: 0 ${FtTextAreaCssVariables.horizontalSpacing};
|
|
71
|
-
margin: calc(${FtTextAreaCssVariables.verticalSpacing} + ${FtTextAreaCssVariables.labelSize} / 2) 0
|
|
70
|
+
margin: calc(${FtTextAreaCssVariables.verticalSpacing} + ${FtTextAreaCssVariables.labelSize} / 2) 0 ${FtTextAreaCssVariables.verticalSpacing} 0;
|
|
72
71
|
|
|
73
72
|
border: none;
|
|
74
73
|
background: none;
|
|
@@ -95,7 +94,7 @@ export const styles = css `
|
|
|
95
94
|
|
|
96
95
|
.ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
|
|
97
96
|
align-self: stretch;
|
|
98
|
-
margin-bottom:
|
|
97
|
+
margin-bottom: ${FtTextAreaCssVariables.verticalSpacing};
|
|
99
98
|
margin-top: calc(${FtTextAreaCssVariables.labelSize} + 2 * ${FtTextAreaCssVariables.verticalSpacing});
|
|
100
99
|
}
|
|
101
100
|
|
|
@@ -483,7 +483,7 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
483
483
|
color: ${Fe.colorOnSurface};
|
|
484
484
|
|
|
485
485
|
padding: 0 ${Fe.horizontalSpacing};
|
|
486
|
-
margin: calc(${Fe.verticalSpacing} + ${Fe.labelSize} / 2) 0
|
|
486
|
+
margin: calc(${Fe.verticalSpacing} + ${Fe.labelSize} / 2) 0 ${Fe.verticalSpacing} 0;
|
|
487
487
|
|
|
488
488
|
border: none;
|
|
489
489
|
background: none;
|
|
@@ -510,7 +510,7 @@ const H=Symbol.for(""),K=t=>{if((null==t?void 0:t.r)===H)return null==t?void 0:t
|
|
|
510
510
|
|
|
511
511
|
.ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
|
|
512
512
|
align-self: stretch;
|
|
513
|
-
margin-bottom:
|
|
513
|
+
margin-bottom: ${Fe.verticalSpacing};
|
|
514
514
|
margin-top: calc(${Fe.labelSize} + 2 * ${Fe.verticalSpacing});
|
|
515
515
|
}
|
|
516
516
|
|
|
@@ -590,7 +590,7 @@ class Xe extends zt{constructor(t){if(super(t),this.et=q,t.type!==Ct)throw Error
|
|
|
590
590
|
color: ${zi.colorOnSurface};
|
|
591
591
|
|
|
592
592
|
padding: 0 ${zi.horizontalSpacing};
|
|
593
|
-
margin: calc(${zi.verticalSpacing} + ${zi.labelSize} / 2) 0
|
|
593
|
+
margin: calc(${zi.verticalSpacing} + ${zi.labelSize} / 2) 0 ${zi.verticalSpacing} 0;
|
|
594
594
|
|
|
595
595
|
border: none;
|
|
596
596
|
background: none;
|
|
@@ -617,7 +617,7 @@ class Xe extends zt{constructor(t){if(super(t),this.et=q,t.type!==Ct)throw Error
|
|
|
617
617
|
|
|
618
618
|
.ft-text-area--filled:not(.ft-text-area--no-label) .ft-text-area--input {
|
|
619
619
|
align-self: stretch;
|
|
620
|
-
margin-bottom:
|
|
620
|
+
margin-bottom: ${zi.verticalSpacing};
|
|
621
621
|
margin-top: calc(${zi.labelSize} + 2 * ${zi.verticalSpacing});
|
|
622
622
|
}
|
|
623
623
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-text-area",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.42",
|
|
4
4
|
"description": "A fluidtopics text field",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-resizer": "1.0.
|
|
23
|
-
"@fluid-topics/ft-ripple": "1.0.
|
|
24
|
-
"@fluid-topics/ft-wc-utils": "1.0.
|
|
22
|
+
"@fluid-topics/ft-resizer": "1.0.42",
|
|
23
|
+
"@fluid-topics/ft-ripple": "1.0.42",
|
|
24
|
+
"@fluid-topics/ft-wc-utils": "1.0.42",
|
|
25
25
|
"lit": "2.7.2"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "8d5d152b4d5499b0501061b4f8ee5eb427ac6aa7"
|
|
28
28
|
}
|