freemium-ui 2.0.89 → 2.0.90
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 +5 -5
- package/lib/index.js +5 -5
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/lib/index.cjs.js
CHANGED
|
@@ -3812,6 +3812,7 @@ value:""}):null,Array.from(L)):null))
|
|
|
3812
3812
|
className:`input-helper ${t.className??""}`.trim()},t.children),hm=yr.textarea`
|
|
3813
3813
|
resize: none !important;
|
|
3814
3814
|
border: unset;
|
|
3815
|
+
flex: 1;
|
|
3815
3816
|
padding: ${({$showLineNumbers:e})=>e?"6px 12px":"unset"};
|
|
3816
3817
|
outline: unset;
|
|
3817
3818
|
font-weight: ${({theme:e})=>e.typography.primary.fontWeight};
|
|
@@ -3874,7 +3875,6 @@ className:`input-helper ${t.className??""}`.trim()},t.children),hm=yr.textarea`
|
|
|
3874
3875
|
display: flex;
|
|
3875
3876
|
flex: 1;
|
|
3876
3877
|
gap: 4px;
|
|
3877
|
-
flex-direction: ${({$showLineNumbers:e})=>e?"row":"column"};
|
|
3878
3878
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
3879
3879
|
font-size: ${({theme:e})=>e.typography.primary.fontSize};
|
|
3880
3880
|
line-height: ${({theme:e})=>e.typography.primary.lineHeight};
|
|
@@ -3898,7 +3898,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),hm=yr.textarea`
|
|
|
3898
3898
|
direction: ${({theme:e})=>e.direction};
|
|
3899
3899
|
`,gm=yr.div`
|
|
3900
3900
|
max-height: ${({$rows:e,theme:t})=>e?`calc(${t.typography.primary.fontSize} * ${1.5*e} + 16px)`:"unset"};
|
|
3901
|
-
padding: ${({$showLineNumbers:e})=>e?"0
|
|
3901
|
+
padding: ${({$showLineNumbers:e})=>e?"0":"6px 12px"};
|
|
3902
3902
|
overflow: ${({$showLineNumbers:e})=>e?"hidden":"unset"};
|
|
3903
3903
|
display: flex;
|
|
3904
3904
|
border: 1px solid
|
|
@@ -3944,9 +3944,9 @@ const y=e.useRef(null),b=e.useRef(null),w=e.useMemo((()=>(v.value||"").split("\n
|
|
|
3944
3944
|
},t,t&&l&&e.createElement(Lo,null,"*")),e.createElement(gm,{
|
|
3945
3945
|
className:"input-container",disabled:v.disabled,$isErrored:c,$showLineNumbers:m,
|
|
3946
3946
|
$rows:v.rows},r&&e.createElement("div",{className:"start-label"
|
|
3947
|
-
},r),e.createElement(mm,{className:"input-basic"
|
|
3948
|
-
|
|
3949
|
-
},w.map(((t,n)=>e.createElement("span",{key:n
|
|
3947
|
+
},r),e.createElement(mm,{className:"input-basic",style:{
|
|
3948
|
+
flexDirection:m?"row":"column"},$forceInputDir:p,$showLineNumbers:m
|
|
3949
|
+
},m&&e.createElement(fm,{ref:y},w.map(((t,n)=>e.createElement("span",{key:n
|
|
3950
3950
|
},n+1)))),o&&e.createElement("div",{className:"start-adornment"
|
|
3951
3951
|
},o),e.createElement(hm,{maxLength:f,...v,"aria-invalid":c,ref:g??b,style:u,
|
|
3952
3952
|
$forceInputDir:p,$showLineNumbers:m,onScroll:e=>{const{current:t}=g||b
|
package/lib/index.js
CHANGED
|
@@ -3773,6 +3773,7 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
|
|
|
3773
3773
|
className:`input-helper ${e.className??""}`.trim()},e.children),Tm=Or.textarea`
|
|
3774
3774
|
resize: none !important;
|
|
3775
3775
|
border: unset;
|
|
3776
|
+
flex: 1;
|
|
3776
3777
|
padding: ${({$showLineNumbers:e})=>e?"6px 12px":"unset"};
|
|
3777
3778
|
outline: unset;
|
|
3778
3779
|
font-weight: ${({theme:e})=>e.typography.primary.fontWeight};
|
|
@@ -3835,7 +3836,6 @@ className:`input-helper ${e.className??""}`.trim()},e.children),Tm=Or.textarea`
|
|
|
3835
3836
|
display: flex;
|
|
3836
3837
|
flex: 1;
|
|
3837
3838
|
gap: 4px;
|
|
3838
|
-
flex-direction: ${({$showLineNumbers:e})=>e?"row":"column"};
|
|
3839
3839
|
font-family: ${({theme:e})=>e.typography.fontFamily};
|
|
3840
3840
|
font-size: ${({theme:e})=>e.typography.primary.fontSize};
|
|
3841
3841
|
line-height: ${({theme:e})=>e.typography.primary.lineHeight};
|
|
@@ -3859,7 +3859,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),Tm=Or.textarea`
|
|
|
3859
3859
|
direction: ${({theme:e})=>e.direction};
|
|
3860
3860
|
`,Nm=Or.div`
|
|
3861
3861
|
max-height: ${({$rows:e,theme:t})=>e?`calc(${t.typography.primary.fontSize} * ${1.5*e} + 16px)`:"unset"};
|
|
3862
|
-
padding: ${({$showLineNumbers:e})=>e?"0
|
|
3862
|
+
padding: ${({$showLineNumbers:e})=>e?"0":"6px 12px"};
|
|
3863
3863
|
overflow: ${({$showLineNumbers:e})=>e?"hidden":"unset"};
|
|
3864
3864
|
display: flex;
|
|
3865
3865
|
border: 1px solid
|
|
@@ -3905,9 +3905,9 @@ const w=h(null),C=h(null),z=r((()=>(y.value||"").split("\n")),[y.value])
|
|
|
3905
3905
|
},e,e&&c&&t.createElement(Jo,null,"*")),t.createElement(Nm,{
|
|
3906
3906
|
className:"input-container",disabled:y.disabled,$isErrored:s,$showLineNumbers:g,
|
|
3907
3907
|
$rows:y.rows},o&&t.createElement("div",{className:"start-label"
|
|
3908
|
-
},o),t.createElement(Rm,{className:"input-basic"
|
|
3909
|
-
|
|
3910
|
-
},z.map(((e,n)=>t.createElement("span",{key:n
|
|
3908
|
+
},o),t.createElement(Rm,{className:"input-basic",style:{
|
|
3909
|
+
flexDirection:g?"row":"column"},$forceInputDir:v,$showLineNumbers:g
|
|
3910
|
+
},g&&t.createElement(Pm,{ref:w},z.map(((e,n)=>t.createElement("span",{key:n
|
|
3911
3911
|
},n+1)))),a&&t.createElement("div",{className:"start-adornment"
|
|
3912
3912
|
},a),t.createElement(Tm,{maxLength:m,...y,"aria-invalid":s,ref:b??C,style:d,
|
|
3913
3913
|
$forceInputDir:v,$showLineNumbers:g,onScroll:e=>{const{current:t}=b||C
|
package/lib/package.json
CHANGED