@fluid-topics/ft-number-field 1.2.10 → 1.2.11
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.
|
@@ -103,17 +103,17 @@ Also for action icons.`,e.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
103
103
|
.ft-typography {
|
|
104
104
|
vertical-align: inherit;
|
|
105
105
|
}
|
|
106
|
-
`,Oe=[Object.keys(ut).map(a=>de(a))];var ve=h(F()),x=h(W());var g={fontSize:x.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:x.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:x.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:x.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:x.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:x.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:x.FtCssVariableFactory.extend("--ft-input-label-border-color","",x.designSystemVariables.colorOutline),textColor:x.FtCssVariableFactory.extend("--ft-input-label-text-color","",x.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:x.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",x.designSystemVariables.colorOnSurfaceDisabled),
|
|
106
|
+
`,Oe=[Object.keys(ut).map(a=>de(a))];var ve=h(F()),x=h(W());var g={fontSize:x.FtCssVariableFactory.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:x.FtCssVariableFactory.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:x.FtCssVariableFactory.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:x.FtCssVariableFactory.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:x.FtCssVariableFactory.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:x.FtCssVariableFactory.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:x.FtCssVariableFactory.extend("--ft-input-label-border-color","",x.designSystemVariables.colorOutline),textColor:x.FtCssVariableFactory.extend("--ft-input-label-text-color","",x.designSystemVariables.colorOnSurfaceMedium),disabledTextColor:x.FtCssVariableFactory.extend("--ft-input-label-disabled-text-color","",x.designSystemVariables.colorOnSurfaceDisabled),backgroundColor:x.FtCssVariableFactory.extend("--ft-input-label-background-color","",x.designSystemVariables.colorSurface),borderRadius:x.FtCssVariableFactory.extend("--ft-input-label-border-radius","",x.designSystemVariables.borderRadiusS),colorError:x.FtCssVariableFactory.external(x.designSystemVariables.colorError,"Design system")},Ne=ve.css`
|
|
107
107
|
.ft-input-label {
|
|
108
108
|
position: absolute;
|
|
109
109
|
inset: 0;
|
|
110
110
|
display: flex;
|
|
111
|
-
background-color: ${g.
|
|
112
|
-
border-radius: ${g.
|
|
111
|
+
background-color: ${g.backgroundColor};
|
|
112
|
+
border-radius: ${g.borderRadius} ${g.borderRadius} 0 0;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.ft-input-label--outlined {
|
|
116
|
-
border-radius: ${g.
|
|
116
|
+
border-radius: ${g.borderRadius};
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.ft-input-label {
|
|
@@ -205,20 +205,20 @@ Also for action icons.`,e.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
205
205
|
.ft-input-label--outlined:before {
|
|
206
206
|
border-left-width: 1px;
|
|
207
207
|
border-left-style: solid;
|
|
208
|
-
border-radius: ${g.
|
|
208
|
+
border-radius: ${g.borderRadius} 0 0 ${g.borderRadius};
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
.ft-input-label--outlined:after {
|
|
212
212
|
border-right-width: 1px;
|
|
213
213
|
border-right-style: solid;
|
|
214
|
-
border-radius: 0 ${g.
|
|
214
|
+
border-radius: 0 ${g.borderRadius} ${g.borderRadius} 0;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
218
218
|
padding: 2px 4px;
|
|
219
219
|
z-index: ${g.raisedZIndex};
|
|
220
|
-
background-color: ${g.
|
|
221
|
-
border-radius: ${g.
|
|
220
|
+
background-color: ${g.backgroundColor};
|
|
221
|
+
border-radius: ${g.borderRadius};
|
|
222
222
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
223
223
|
}
|
|
224
224
|
|
|
@@ -151,17 +151,17 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
151
151
|
.ft-typography {
|
|
152
152
|
vertical-align: inherit;
|
|
153
153
|
}
|
|
154
|
-
`,Oc=[Object.keys(ar).map(r=>dc(r))];var M={fontSize:t.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:t.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:t.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:t.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:t.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:t.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:t.extend("--ft-input-label-border-color","",H.colorOutline),textColor:t.extend("--ft-input-label-text-color","",H.colorOnSurfaceMedium),disabledTextColor:t.extend("--ft-input-label-disabled-text-color","",H.colorOnSurfaceDisabled),
|
|
154
|
+
`,Oc=[Object.keys(ar).map(r=>dc(r))];var M={fontSize:t.create("--ft-input-label-font-size","","SIZE","14px"),raisedFontSize:t.create("--ft-input-label-raised-font-size","","SIZE","11px"),raisedZIndex:t.create("--ft-input-label-outlined-raised-z-index","","NUMBER","2"),verticalSpacing:t.create("--ft-input-label-vertical-spacing","","SIZE","4px"),horizontalSpacing:t.create("--ft-input-label-horizontal-spacing","","SIZE","12px"),labelMaxWidth:t.create("--ft-input-label-max-width","","SIZE","100%"),borderColor:t.extend("--ft-input-label-border-color","",H.colorOutline),textColor:t.extend("--ft-input-label-text-color","",H.colorOnSurfaceMedium),disabledTextColor:t.extend("--ft-input-label-disabled-text-color","",H.colorOnSurfaceDisabled),backgroundColor:t.extend("--ft-input-label-background-color","",H.colorSurface),borderRadius:t.extend("--ft-input-label-border-radius","",H.borderRadiusS),colorError:t.external(H.colorError,"Design system")},Ec=k`
|
|
155
155
|
.ft-input-label {
|
|
156
156
|
position: absolute;
|
|
157
157
|
inset: 0;
|
|
158
158
|
display: flex;
|
|
159
|
-
background-color: ${M.
|
|
160
|
-
border-radius: ${M.
|
|
159
|
+
background-color: ${M.backgroundColor};
|
|
160
|
+
border-radius: ${M.borderRadius} ${M.borderRadius} 0 0;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.ft-input-label--outlined {
|
|
164
|
-
border-radius: ${M.
|
|
164
|
+
border-radius: ${M.borderRadius};
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
.ft-input-label {
|
|
@@ -253,20 +253,20 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
|
|
|
253
253
|
.ft-input-label--outlined:before {
|
|
254
254
|
border-left-width: 1px;
|
|
255
255
|
border-left-style: solid;
|
|
256
|
-
border-radius: ${M.
|
|
256
|
+
border-radius: ${M.borderRadius} 0 0 ${M.borderRadius};
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
.ft-input-label--outlined:after {
|
|
260
260
|
border-right-width: 1px;
|
|
261
261
|
border-right-style: solid;
|
|
262
|
-
border-radius: 0 ${M.
|
|
262
|
+
border-radius: 0 ${M.borderRadius} ${M.borderRadius} 0;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
.ft-input-label--outlined.ft-input-label--raised .ft-input-label--floating-text {
|
|
266
266
|
padding: 2px 4px;
|
|
267
267
|
z-index: ${M.raisedZIndex};
|
|
268
|
-
background-color: ${M.
|
|
269
|
-
border-radius: ${M.
|
|
268
|
+
background-color: ${M.backgroundColor};
|
|
269
|
+
border-radius: ${M.borderRadius};
|
|
270
270
|
top: calc((var(--ft-typography-caption-line-height) / -2) + 2px);
|
|
271
271
|
}
|
|
272
272
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluid-topics/ft-number-field",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.11",
|
|
4
4
|
"description": "A number field input component.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Lit"
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@fluid-topics/ft-wc-utils": "1.2.
|
|
22
|
+
"@fluid-topics/ft-wc-utils": "1.2.11",
|
|
23
23
|
"lit": "3.1.0"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "e064cf26299976a55c5adb3c602fed2dc076557b"
|
|
26
26
|
}
|