shekel-fe-shared-lib 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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
border-color: #C21919 !important;
|
|
66
66
|
box-shadow: 0 0 0 2px rgba(194, 25, 25, 0.1) !important;
|
|
67
67
|
}
|
|
68
|
-
`}),e.jsx(B.Input,{ref:l,className:`${n} ${a}`,status:o?"error":r,...i,style:{height:"44px",borderRadius:"12px",...i.style}}),o&&e.jsxs("div",{className:"flex items-center mt-1 text-xs text-[#C21919]",children:[e.jsx("svg",{className:"w-3 h-3 mr-1",fill:"currentColor",viewBox:"0 0 20 20",children:e.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"})}),o]}),!o&&s&&e.jsx("div",{className:"mt-1 text-xs text-gray-500",children:s})]})});r2.displayName="InputBase";const a0=({control:t,name:o,error:s,...n})=>{var l;const{field:r,fieldState:i}=P({control:t,name:o});return e.jsx(r2,{...n,...r,error:s??((l=i.error)==null?void 0:l.message)})},w2=w.forwardRef(({control:t,name:o,...s},n)=>t&&o?e.jsx(a0,{control:t,name:o,...s}):e.jsx(r2,{ref:n,name:o,...s}));w2.displayName="Input";const n2=w.forwardRef(({label:t,error:o,helperText:s,className:n="",status:r,...i},l)=>{const c=`password-input-custom ${n} ${o?"password-input-error-state":""}`;return e.jsxs("div",{className:"w-full",children:[t&&e.jsxs("label",{className:"block text-sm font-medium mb-2",style:{color:o?"#C21919":"#181918"},children:[t,i.required&&e.jsx("span",{style:{color:"#C21919"},children:"*"})]}),e.jsx("style",{children:o&&`
|
|
68
|
+
`}),e.jsx(B.Input,{ref:l,className:`${n} ${a}`,status:o?"error":r,...i,style:{height:"44px",borderRadius:"12px",padding:"4px 11px",...i.style}}),o&&e.jsxs("div",{className:"flex items-center mt-1 text-xs text-[#C21919]",children:[e.jsx("svg",{className:"w-3 h-3 mr-1",fill:"currentColor",viewBox:"0 0 20 20",children:e.jsx("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"})}),o]}),!o&&s&&e.jsx("div",{className:"mt-1 text-xs text-gray-500",children:s})]})});r2.displayName="InputBase";const a0=({control:t,name:o,error:s,...n})=>{var l;const{field:r,fieldState:i}=P({control:t,name:o});return e.jsx(r2,{...n,...r,error:s??((l=i.error)==null?void 0:l.message)})},w2=w.forwardRef(({control:t,name:o,...s},n)=>t&&o?e.jsx(a0,{control:t,name:o,...s}):e.jsx(r2,{ref:n,name:o,...s}));w2.displayName="Input";const n2=w.forwardRef(({label:t,error:o,helperText:s,className:n="",status:r,...i},l)=>{const c=`password-input-custom ${n} ${o?"password-input-error-state":""}`;return e.jsxs("div",{className:"w-full",children:[t&&e.jsxs("label",{className:"block text-sm font-medium mb-2",style:{color:o?"#C21919":"#181918"},children:[t,i.required&&e.jsx("span",{style:{color:"#C21919"},children:"*"})]}),e.jsx("style",{children:o&&`
|
|
69
69
|
.password-input-error-state .ant-input-group-addon {
|
|
70
70
|
border-color: #C21919 !important;
|
|
71
71
|
}
|