rbro-tat-uds 1.0.35 → 1.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/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -1245,7 +1245,7 @@ See https://s-c.sh/2BAXzed for more info.`),window[Je]+=1);const S1=e=>d.createE
|
|
1245
1245
|
-webkit-appearance: none;
|
1246
1246
|
margin: 0;
|
1247
1247
|
}
|
1248
|
-
`,Hi=e=>e&&typeof e=="string"&&Ri.includes(e)?e:"text",Pi=({id:e,type:t="text",name:r,placeholder:o,value:a,setValue:l,size:c="medium",intent:u="default",loading:g=!1,clearButton:h=!1,leftText:y,rightText:m,leftButtonIcon:v,rightButtonIcon:$,rightButtonOnClick:E,...R})=>{const I=()=>{l("")};return s.jsxs(Vi,{$leftButtonIcon:v,$leftText:y,$rightButtonIcon:$,$rightText:m,$rightButtonOnClick:E,$size:c,$intent:u,$disabled:R.disabled,$clearButton:h,$loading:g,children:[(v||y&&typeof y=="string")&&s.jsxs("div",{children:[y&&typeof y=="string"&&s.jsx("span",{children:y}),v&&s.jsx(A,{icon:v,size:20,color:R.disabled?n.gray_300:n.gray_500})]}),s.jsx(zi,{...R,$size:c,$intent:u,$type:t,id:e,name:r,type:Hi(t),placeholder:o,value:a,onChange:k=>{l(k.target.value)},onKeyDown:k=>["e","E","+","-"].includes(k.key)&&k.preventDefault()}),g?s.jsx(pt,{style:{opacity:R.disabled?.3:1},size:20}):($||m&&typeof m=="string"||u&&u==="success"||h)&&s.jsxs("div",{children:[m&&typeof m=="string"&&u!=="success"&&s.jsx("span",{children:m}),($||u==="success"||h&&!!a)&&s.jsx(A,{onClick:R.disabled?void 0:$?E:I,style:{cursor:E?"pointer":"default"},icon:u==="success"?"checkmark_filled":$||"clear_filled",size:20,color:R.disabled?n.gray_300:u==="success"?n.success_600:n.gray_500})]})]})},_n={info:n.gray_700,success:n.success_600,danger:n.danger_500},Fi=C.div`
|
1248
|
+
`,Hi=e=>e&&typeof e=="string"&&Ri.includes(e)?e:"text",Pi=({id:e,type:t="text",name:r,placeholder:o,value:a,setValue:l,size:c="medium",intent:u="default",loading:g=!1,clearButton:h=!1,leftText:y,rightText:m,leftButtonIcon:v,rightButtonIcon:$,rightButtonOnClick:E,...R})=>{const I=()=>{l("")};return s.jsxs(Vi,{$leftButtonIcon:v,$leftText:y,$rightButtonIcon:$,$rightText:m,$rightButtonOnClick:E,$size:c,$intent:u,$disabled:R.disabled,$clearButton:h,$loading:g,children:[(v||y&&typeof y=="string")&&s.jsxs("div",{children:[y&&typeof y=="string"&&s.jsx("span",{children:y}),v&&s.jsx(A,{icon:v,size:20,color:R.disabled?n.gray_300:n.gray_500})]}),s.jsx(zi,{...R,$size:c,$intent:u,$type:t,id:e,name:r,type:Hi(t),placeholder:o,value:a,onChange:k=>{l(k.target.value)},onKeyDown:k=>{t==="number"&&["e","E","+","-"].includes(k.key)&&k.preventDefault()}}),g?s.jsx(pt,{style:{opacity:R.disabled?.3:1},size:20}):($||m&&typeof m=="string"||u&&u==="success"||h)&&s.jsxs("div",{children:[m&&typeof m=="string"&&u!=="success"&&s.jsx("span",{children:m}),($||u==="success"||h&&!!a)&&s.jsx(A,{onClick:R.disabled?void 0:$?E:I,style:{cursor:E?"pointer":"default"},icon:u==="success"?"checkmark_filled":$||"clear_filled",size:20,color:R.disabled?n.gray_300:u==="success"?n.success_600:n.gray_500})]})]})},_n={info:n.gray_700,success:n.success_600,danger:n.danger_500},Fi=C.div`
|
1249
1249
|
display: flex;
|
1250
1250
|
flex-direction: column;
|
1251
1251
|
gap: 8px;
|