(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2366],{8213:function(e,s,r){Promise.resolve().then(r.bind(r,6578))},6578:function(e,s,r){"use strict";r.r(s),r.d(s,{default:function(){return V}});var i=r(4004),n=r(4978),c=r(65),d=r(9819),t=r(6739),l=r(5227),a=r(271),o=r(721),h=r(9524),x=r(988),j=r(4300),Z=r(2433),p=r(6551),f=r(8420),m=r(1753),u=r(9132),w=r(2161),b=r(8730),v=r(770),y=r(180),g=r(2190),_=r(4231),C=r(5536),P=r(1966),I=r(3375),k=r(3686),F=r(7098),A=r(9426),N=r(5891),T=r(5123),L=r(7354),R=r(1467),$=r(5527),q=r(1209),D=r(9513),E=r(959),O=r(2614),S=()=>{let{fragmentId:e,setFragmentId:s}=(0,n.useContext)(E.Z),r=e=>{s(e.target.hash)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(j.Z,{variant:"h3",fw:"semibold",children:"Table of Contents"}),(0,i.jsxs)($.Z,{indent:!1,children:[(0,i.jsx)(q.Z,{onClick:r,children:(0,i.jsx)(x.Z,{variant:"transparent",href:"#create-password-field-api",active:/#create-password-field-api$/.test(e),"data-testid":"create_password_field_api",children:"CreatePasswordField API"})}),(0,i.jsx)(q.Z,{onClick:r,children:(0,i.jsx)(x.Z,{variant:"transparent",href:"#import",active:/#import$/.test(e),"data-testid":"import",children:"Import"})}),(0,i.jsx)(q.Z,{onClick:r,children:(0,i.jsx)(x.Z,{variant:"transparent",href:"#create-password-field-props",active:/#create-password-field-props$/.test(e),"data-testid":"create_password_field_props",children:"CreatePasswordField Props"})}),(0,i.jsx)(D.Z,{}),(0,i.jsx)(q.Z,{onClick:r,children:(0,i.jsx)(x.Z,{variant:"transparent",fw:"bold",href:"#system-props",active:/#system-props$/.test(e),"data-testid":"system_props",children:"System Props"})})]}),(0,i.jsx)(O.Z,{})]})},z=r(9362),B=r(176),G=r(1064);let M=(0,c.zo)(d.Z).withConfig({componentId:"sc-8bf1bc2f-0"})(["width:100%;"]);function V(){let e=(0,C.Z)({query:{media:"(min-width: 1281px)"}}),s=(0,C.Z)({query:{media:"(max-width: 1280px)"}}),r=(0,C.Z)({query:{media:"(max-width: 768px)"}}),n=["create-password-field-api","import","create-password-field-props","system-props",...G.Z];return(0,i.jsx)(z.Z,{children:(0,i.jsxs)(t.Z,{children:[(0,i.jsx)(N.Z,{currentPage:"root/core/children"}),(0,i.jsxs)(l.Z,{display:"flex",children:[e&&(0,i.jsx)(a.Z,{children:(0,i.jsx)(o.Z,{fluid:!0,children:(0,i.jsx)(R.Z,{})})}),(0,i.jsxs)(M,{borderLeft:r?"none":s?"none":"dark",borderRight:r?"none":"dark",children:[(0,i.jsx)(l.Z,{borderBottom:"dark",children:(0,i.jsx)(o.Z,{children:(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(x.Z,{variant:"transparent",href:"/core",width:"auto","data-testid":"breadcrumbs_core",children:"core"}),(0,i.jsx)(P.Z,{}),(0,i.jsx)(j.Z,{variant:"body2",children:"api"}),(0,i.jsx)(P.Z,{}),(0,i.jsx)(x.Z,{variant:"transparent",href:"/core/api/react-create-password-field",active:!0,width:"auto","data-testid":"breadcrumbs_react_create_password_field",children:"react-create-password-field"})]})})}),(0,i.jsxs)(o.Z,{fluid:!1,children:[(0,i.jsxs)(Z.Z,{id:"create-password-field-api",children:[(0,i.jsx)(j.Z,{variant:"h1",children:"React CreatePasswordField API"}),(0,i.jsx)(j.Z,{variant:"body1",children:"API reference for the React CreatePasswordField component from Modj.js. Learn about how to use the CreatePasswordField component and all the valid props that can be supplied to this component."})]}),(0,i.jsxs)(Z.Z,{id:"import",children:[(0,i.jsx)(j.Z,{variant:"h2",children:"Import "}),(0,i.jsx)(p.Z,{variant:"filled",notched:!0,type:"script",fileName:(0,i.jsxs)(l.Z,{display:"flex",alignItems:"center",gap:4,children:[(0,i.jsx)(I.Z,{height:"2em",width:"1.5em"}),(0,i.jsx)(j.Z,{variant:"small",fs:1,children:"App.jsx"})]}),headerContent:(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(f.Z,{arrow:!0,el:(0,i.jsx)(x.Z,{variant:"icon",href:"https://github.com/modjs-org/modjs/tree/main/packages/core/src/components/CreatePasswordField",target:"_blank","data-testid":"import_github",children:(0,i.jsx)(k.Z,{})}),children:(0,i.jsx)(m.Z,{displayPosition:"left",children:(0,i.jsx)(j.Z,{variant:"small",color:"white",children:"View Source on Github"})})})}),children:"import { CreatePasswordField } from '@modjs/core'"})]}),(0,i.jsxs)(Z.Z,{id:"create-password-field-props",pb:"normal",mt:16,children:[(0,i.jsx)(j.Z,{variant:"h2",children:"CreatePasswordField Props"}),(0,i.jsx)(j.Z,{variant:"body1",children:"The following props are specific to the CreatePasswordField component and can be applied to this component."}),(0,i.jsxs)(u.Z,{children:[(0,i.jsx)(w.Z,{children:(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(v.Z,{children:"Name"}),(0,i.jsx)(v.Z,{children:"Type"}),(0,i.jsx)(v.Z,{children:"Default"}),(0,i.jsx)(v.Z,{children:"Description"})]})}),(0,i.jsxs)(y.Z,{children:[(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"variant"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:'"filled" "outlined" "transparent"'})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:'"filled"'})}),(0,i.jsx)(g.Z,{children:"Applies different styles based on variant."})]}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"notched"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"boolean"})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"false"})}),(0,i.jsx)(g.Z,{children:"If true, the component will have notched effect."})]}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"minLength"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"number"})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"8"})}),(0,i.jsx)(g.Z,{children:"The minimum length of the field."})]}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"maxLength"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"number"})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"32"})}),(0,i.jsx)(g.Z,{children:"The maximum length of the field."})]}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"autoComplete"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"string"})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:'"off"'})}),(0,i.jsx)(g.Z,{children:"Controls whether the field can be auto completed by the browser."})]}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"placeholder"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"string"})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:'"New Password *"'})}),(0,i.jsx)(g.Z,{children:"Placeholder for the component."})]}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"type"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"string"})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:'"password"'})}),(0,i.jsx)(g.Z,{children:"Type of the component."})]}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"name"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"string"})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:'"new-password"'})}),(0,i.jsx)(g.Z,{children:"Name of the component."})]}),(0,i.jsxs)(b.Z,{children:[(0,i.jsx)(g.Z,{children:"id"}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:"string"})}),(0,i.jsx)(g.Z,{children:(0,i.jsx)(_.Z,{color:"success",children:'"new-password"'})}),(0,i.jsx)(g.Z,{children:"Id of the component."})]})]})]})]}),(0,i.jsx)(L.Z,{}),(0,i.jsxs)(l.Z,{display:"flex",justifyContent:"space-between",my:32,children:[(0,i.jsxs)(x.Z,{href:"/core/api/react-copy-response",variant:"inline",display:"flex",alignItems:"center","data-testid":"prev_copy_response_api",children:[(0,i.jsx)(F.Z,{}),"CopyResponse API"]}),(0,i.jsxs)(x.Z,{href:"/core/api/react-drawer",variant:"inline",display:"flex",alignItems:"center","data-testid":"next_drawer_api",children:["Drawer API",(0,i.jsx)(A.Z,{})]})]})]}),(0,i.jsx)(T.Z,{})]}),(0,i.jsx)(B.Z,{defaultFragmentId:"#create-password-field-api",sections:n,children:(0,i.jsx)(S,{})})]})]})})}}},function(e){e.O(0,[4293,65,6071,4663,8322,3375,1041,8470,9594,1744],function(){return e(e.s=8213)}),_N_E=e.O()}]);