freemium-ui 2.0.34 → 2.0.36
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/lib/index.cjs.js +12 -12
- package/lib/index.js +12 -12
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/lib/index.cjs.js
CHANGED
|
@@ -2187,7 +2187,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),Cc=yr.textarea`
|
|
|
2187
2187
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
2188
2188
|
background-color: ${({theme:e})=>e.colors.fill.surface};
|
|
2189
2189
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
2190
|
-
direction: ${({theme:e})=>e.direction};
|
|
2190
|
+
direction: ${({theme:e,forceInputDir:t})=>t||e.direction};
|
|
2191
2191
|
&::placeholder {
|
|
2192
2192
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
2193
2193
|
font-size: ${({theme:e})=>e.typography.primary.fontSize};
|
|
@@ -2233,7 +2233,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),Cc=yr.textarea`
|
|
|
2233
2233
|
font-size: ${({theme:e})=>e.typography.primary.fontSize};
|
|
2234
2234
|
line-height: ${({theme:e})=>e.typography.primary.lineHeight};
|
|
2235
2235
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
2236
|
-
direction: ${({theme:e})=>e.direction};
|
|
2236
|
+
direction: ${({theme:e,forceInputDir:t})=>t||e.direction};
|
|
2237
2237
|
div.end-adornment {
|
|
2238
2238
|
display: grid;
|
|
2239
2239
|
place-content: center;
|
|
@@ -2280,23 +2280,23 @@ htmlFor:g.id,className:"input-label",...f
|
|
|
2280
2280
|
},t,t&&l&&e.createElement(ko,null,"*")),e.createElement(Ec,{
|
|
2281
2281
|
className:"input-container",disabled:g.disabled,$isErrored:c,...m,
|
|
2282
2282
|
forceInputDir:v},r&&e.createElement("div",{className:"start-label"
|
|
2283
|
-
},r),e.createElement(Mc,{className:"input-basic"
|
|
2284
|
-
className:"start-adornment"},o),e.createElement(zc,{
|
|
2285
|
-
"aria-invalid":c,ref:y,style:u,forceInputDir:v
|
|
2283
|
+
},r),e.createElement(Mc,{className:"input-basic",forceInputDir:v
|
|
2284
|
+
},o&&e.createElement("div",{className:"start-adornment"},o),e.createElement(zc,{
|
|
2285
|
+
maxLength:p,...g,"aria-invalid":c,ref:y,style:u,forceInputDir:v
|
|
2286
2286
|
}),s&&(p||0)>0&&e.createElement("div",{className:"end-max-length"
|
|
2287
2287
|
},`${"string"==typeof g.value?g.value.length:`${g.value||""}`.length}/${p||0}`),i&&e.createElement("div",{
|
|
2288
2288
|
className:"end-adornment"},i)),a&&e.createElement("div",{className:"end-label"
|
|
2289
|
-
},a)),c&&h&&e.createElement(wc,null,h)))),Hc=e.forwardRef((({label:t,inline:n,startLabel:r,startAdornment:o,endLabel:a,endAdornment:i,isRequired:l,isErrored:c,showCount:s,inputStyle:u,style:d,errorText:h,maxLength:p,...
|
|
2290
|
-
$inline:n,$isErrored:c,disabled:
|
|
2291
|
-
htmlFor:
|
|
2289
|
+
},a)),c&&h&&e.createElement(wc,null,h)))),Hc=e.forwardRef((({label:t,inline:n,startLabel:r,startAdornment:o,endLabel:a,endAdornment:i,isRequired:l,isErrored:c,showCount:s,inputStyle:u,style:d,errorText:h,maxLength:p,forceInputDir:f,...m},v)=>e.createElement(Sc,{
|
|
2290
|
+
$inline:n,$isErrored:c,disabled:m.disabled,style:d},e.createElement(Ho,{
|
|
2291
|
+
htmlFor:m.id,className:"input-label"
|
|
2292
2292
|
},t,t&&l&&e.createElement(ko,null,"*")),e.createElement(Ec,{
|
|
2293
|
-
className:"input-container",disabled:
|
|
2293
|
+
className:"input-container",disabled:m.disabled,$isErrored:c
|
|
2294
2294
|
},r&&e.createElement("div",{className:"start-label"},r),e.createElement(Mc,{
|
|
2295
|
-
className:"input-basic",style:{flexDirection:"column"}
|
|
2295
|
+
className:"input-basic",style:{flexDirection:"column"},forceInputDir:f
|
|
2296
2296
|
},o&&e.createElement("div",{className:"start-adornment"},o),e.createElement(Cc,{
|
|
2297
|
-
maxLength:p,...
|
|
2297
|
+
maxLength:p,...m,"aria-invalid":c,ref:v,style:u,forceInputDir:f
|
|
2298
2298
|
}),s&&(p||0)>0&&e.createElement(xc,{isTa:!0,className:"end-max-length"
|
|
2299
|
-
},`${"string"==typeof
|
|
2299
|
+
},`${"string"==typeof m.value?m.value.length:`${m.value||""}`.length}/${p||0}`),i&&e.createElement("div",{
|
|
2300
2300
|
className:"end-adornment"},i)),a&&e.createElement("div",{className:"end-label"
|
|
2301
2301
|
},a)),c&&h&&e.createElement(wc,null,h)))),Dc={mini:2,small:2.5,medium:4,big:5
|
|
2302
2302
|
},kc={slow:1,medium:.7,fast:.4},Ac={mini:12,small:16,medium:24,big:32
|
package/lib/index.js
CHANGED
|
@@ -2181,7 +2181,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),jc=Or.textarea`
|
|
|
2181
2181
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
2182
2182
|
background-color: ${({theme:e})=>e.colors.fill.surface};
|
|
2183
2183
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
2184
|
-
direction: ${({theme:e})=>e.direction};
|
|
2184
|
+
direction: ${({theme:e,forceInputDir:t})=>t||e.direction};
|
|
2185
2185
|
&::placeholder {
|
|
2186
2186
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
2187
2187
|
font-size: ${({theme:e})=>e.typography.primary.fontSize};
|
|
@@ -2227,7 +2227,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),jc=Or.textarea`
|
|
|
2227
2227
|
font-size: ${({theme:e})=>e.typography.primary.fontSize};
|
|
2228
2228
|
line-height: ${({theme:e})=>e.typography.primary.lineHeight};
|
|
2229
2229
|
color: ${({theme:e})=>e.colors.text.primary};
|
|
2230
|
-
direction: ${({theme:e})=>e.direction};
|
|
2230
|
+
direction: ${({theme:e,forceInputDir:t})=>t||e.direction};
|
|
2231
2231
|
div.end-adornment {
|
|
2232
2232
|
display: grid;
|
|
2233
2233
|
place-content: center;
|
|
@@ -2274,23 +2274,23 @@ htmlFor:g.id,className:"input-label",...f
|
|
|
2274
2274
|
},e,e&&l&&t.createElement(Xo,null,"*")),t.createElement(Gc,{
|
|
2275
2275
|
className:"input-container",disabled:g.disabled,$isErrored:c,...m,
|
|
2276
2276
|
forceInputDir:v},r&&t.createElement("div",{className:"start-label"
|
|
2277
|
-
},r),t.createElement(Yc,{className:"input-basic"
|
|
2278
|
-
className:"start-adornment"},o),t.createElement(Uc,{
|
|
2279
|
-
"aria-invalid":c,ref:y,style:u,forceInputDir:v
|
|
2277
|
+
},r),t.createElement(Yc,{className:"input-basic",forceInputDir:v
|
|
2278
|
+
},o&&t.createElement("div",{className:"start-adornment"},o),t.createElement(Uc,{
|
|
2279
|
+
maxLength:p,...g,"aria-invalid":c,ref:y,style:u,forceInputDir:v
|
|
2280
2280
|
}),s&&(p||0)>0&&t.createElement("div",{className:"end-max-length"
|
|
2281
2281
|
},`${"string"==typeof g.value?g.value.length:`${g.value||""}`.length}/${p||0}`),i&&t.createElement("div",{
|
|
2282
2282
|
className:"end-adornment"},i)),a&&t.createElement("div",{className:"end-label"
|
|
2283
|
-
},a)),c&&h&&t.createElement(Bc,null,h)))),Zc=t.forwardRef((({label:e,inline:n,startLabel:r,startAdornment:o,endLabel:a,endAdornment:i,isRequired:l,isErrored:c,showCount:s,inputStyle:u,style:d,errorText:h,maxLength:p,...
|
|
2284
|
-
$inline:n,$isErrored:c,disabled:
|
|
2285
|
-
htmlFor:
|
|
2283
|
+
},a)),c&&h&&t.createElement(Bc,null,h)))),Zc=t.forwardRef((({label:e,inline:n,startLabel:r,startAdornment:o,endLabel:a,endAdornment:i,isRequired:l,isErrored:c,showCount:s,inputStyle:u,style:d,errorText:h,maxLength:p,forceInputDir:f,...m},v)=>t.createElement(Kc,{
|
|
2284
|
+
$inline:n,$isErrored:c,disabled:m.disabled,style:d},t.createElement(qo,{
|
|
2285
|
+
htmlFor:m.id,className:"input-label"
|
|
2286
2286
|
},e,e&&l&&t.createElement(Xo,null,"*")),t.createElement(Gc,{
|
|
2287
|
-
className:"input-container",disabled:
|
|
2287
|
+
className:"input-container",disabled:m.disabled,$isErrored:c
|
|
2288
2288
|
},r&&t.createElement("div",{className:"start-label"},r),t.createElement(Yc,{
|
|
2289
|
-
className:"input-basic",style:{flexDirection:"column"}
|
|
2289
|
+
className:"input-basic",style:{flexDirection:"column"},forceInputDir:f
|
|
2290
2290
|
},o&&t.createElement("div",{className:"start-adornment"},o),t.createElement(jc,{
|
|
2291
|
-
maxLength:p,...
|
|
2291
|
+
maxLength:p,...m,"aria-invalid":c,ref:v,style:u,forceInputDir:f
|
|
2292
2292
|
}),s&&(p||0)>0&&t.createElement(Wc,{isTa:!0,className:"end-max-length"
|
|
2293
|
-
},`${"string"==typeof
|
|
2293
|
+
},`${"string"==typeof m.value?m.value.length:`${m.value||""}`.length}/${p||0}`),i&&t.createElement("div",{
|
|
2294
2294
|
className:"end-adornment"},i)),a&&t.createElement("div",{className:"end-label"
|
|
2295
2295
|
},a)),c&&h&&t.createElement(Bc,null,h)))),Xc={mini:2,small:2.5,medium:4,big:5
|
|
2296
2296
|
},Jc={slow:1,medium:.7,fast:.4},Qc={mini:12,small:16,medium:24,big:32
|
package/lib/package.json
CHANGED